edburns%acm.org
f4ed6ebe07
This was tested on win32, and is known to build on win32 and solaris.
...
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders. However, nothing is being done with
these parameters. This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.
Important assumptions made by this fix:
* postHeadersLength is the correct length for postHeaders.
* postHeaders is a buffer of headers in the form
"HeaderName: HeaderValue\r\n"
each header, including the last, MUST be followed by "\r\n".
To affect this fix I had to modify the following files:
M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h
Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
git-svn-id: svn://10.0.0.236/trunk@78153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 19:03:56 +00:00
dbaron%fas.harvard.edu
54d7d67487
Fixing scc's typo to fix harpoon orange, etc. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@78094 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 01:19:36 +00:00
scc%mozilla.org
987c59caba
we think the fix is in to support the original form, so back to the original form we go
...
git-svn-id: svn://10.0.0.236/trunk@78092 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 00:50:50 +00:00
scc%mozilla.org
8d79857f8d
and here we are, back to square one.
...
git-svn-id: svn://10.0.0.236/trunk@78070 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 08:25:02 +00:00
scc%mozilla.org
6916463750
I'll try anything, now
...
git-svn-id: svn://10.0.0.236/trunk@78057 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 03:25:42 +00:00
scc%mozilla.org
98679d961e
OK, nothing has worked yet. It's time to roll out the big guns: |NS_READABLE_CAST|
...
git-svn-id: svn://10.0.0.236/trunk@78055 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 02:50:18 +00:00
scc%mozilla.org
7a8da7c16b
hack to fix pravda and speedracer bustage
...
git-svn-id: svn://10.0.0.236/trunk@78050 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 01:38:38 +00:00
scc%mozilla.org
a68b29cf43
hack to fix pravda bustage
...
git-svn-id: svn://10.0.0.236/trunk@78046 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 00:25:42 +00:00
locka%iol.ie
09805179ae
API changes for embedding. b=46847, r=dougt, a=valeski
...
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
edburns%acm.org
55b6e21cf5
bug=36212
...
a=waterson,av
r=av,waterson
Here is what I believe to be the correct fix.
This post correspondes to the fix,
second iteration attachments.
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp
This checkin modifies nsIPluginInstanceOwner::GetURL
to have a length parameter for the post data.
git-svn-id: svn://10.0.0.236/trunk@77101 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:49:08 +00:00
saari%netscape.com
6a6cd5a218
fix for 46938, make sure full content area plugins can still get key events once you've clicked on them
...
git-svn-id: svn://10.0.0.236/trunk@77061 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 05:04:06 +00:00
jst%netscape.com
7e0575bfee
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
mccabe%netscape.com
4f32b85e2b
Further tweak to 39933.
...
Add a comment mentioning the possible need to implement nsISecurityCheckedComponent.
git-svn-id: svn://10.0.0.236/trunk@76918 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:24:07 +00:00
mccabe%netscape.com
30a169a26c
Fix to 39933.
...
Make the sample plugin implement nsIScriptablePlugin, and update sample .html file with an (unused!) JavaScript evaluator for poking at the plugin.
r=jst
a=ekrock
git-svn-id: svn://10.0.0.236/trunk@76917 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:20:24 +00:00
warren%netscape.com
e892283b73
Removed reference to nsIBaseStream
...
git-svn-id: svn://10.0.0.236/trunk@76884 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 09:50:45 +00:00
warren%netscape.com
f29b00bbe4
Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
...
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +00:00
av%netscape.com
67133458bf
49515, fixing incorrect handling nsPluginInfo struct which prevented
...
Mac plugins from working, patch by beard, r=av
git-svn-id: svn://10.0.0.236/trunk@76796 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 21:31:28 +00:00
scc%mozilla.org
3dc16d7d10
fixing code that relied on implicit string construction
...
git-svn-id: svn://10.0.0.236/trunk@76724 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:44:26 +00:00
cltbld%netscape.com
eca3370810
Need to declare nsIFile to make WS 5.0 happy -cls
...
git-svn-id: svn://10.0.0.236/trunk@76686 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 05:44:34 +00:00
av%netscape.com
adf2c05ade
Addressing #48856 , added argument null-check before passing it to nsCStringKey::nsCStringKey()
...
patch by warren, r=av
git-svn-id: svn://10.0.0.236/trunk@76654 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 21:53:03 +00:00
av%netscape.com
f4cecefbae
Part of 46490 fix, r=adamlock
...
git-svn-id: svn://10.0.0.236/trunk@76564 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 19:26:15 +00:00
warren%netscape.com
e5706a7236
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
av%netscape.com
cb9f96e62b
Fixing 39534, patch by sean, r=av
...
git-svn-id: svn://10.0.0.236/trunk@75730 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 22:10:07 +00:00
av%netscape.com
08395413fb
Fixing 47360, patch by sean@beatnik.com, r=av
...
git-svn-id: svn://10.0.0.236/trunk@75729 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 21:51:19 +00:00
mkaply%us.ibm.com
08b40967ac
r=mkaply, a=brendan
...
Tinderbox break - Should have been info.fExtensionArray
git-svn-id: svn://10.0.0.236/trunk@75465 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 02:20:17 +00:00
av%netscape.com
289e4953d8
Fixing Unix redness
...
git-svn-id: svn://10.0.0.236/trunk@75442 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 23:36:30 +00:00
av%netscape.com
4a24980381
Fixing 45895, r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75437 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 23:01:35 +00:00
av%netscape.com
9ef05d47be
Fixing 46573, r=serge
...
git-svn-id: svn://10.0.0.236/trunk@75413 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 21:35:45 +00:00
cls%seawood.org
04d7dbe793
The ports tinderboxes were inconveniently down so this bustage was hidden for the past week. Bug #45698
...
git-svn-id: svn://10.0.0.236/trunk@75012 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:43:24 +00:00
warren%netscape.com
997161d193
Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
...
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
waterson%netscape.com
396e1c3d7e
Brownian hacking to fix build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@74632 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 03:17:55 +00:00
waterson%netscape.com
73838f0ece
Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH. r=av
...
git-svn-id: svn://10.0.0.236/trunk@74628 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 02:11:04 +00:00
waterson%netscape.com
5dc75db588
Bug 45698. Fix Win32 build bustage. Checked in from wrong machine.
...
git-svn-id: svn://10.0.0.236/trunk@74627 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:58:55 +00:00
waterson%netscape.com
9ea597c1b1
Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av
...
git-svn-id: svn://10.0.0.236/trunk@74624 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:34:13 +00:00
edburns%acm.org
b3341a1012
bug=23157
...
r=av
a=waterson
Don't use hard coded 2000. Instead use sizeof(path).
git-svn-id: svn://10.0.0.236/trunk@74618 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 00:48:26 +00:00
edburns%acm.org
beab87ba88
bug=23157
...
ra=av
This fix makes it so the plugins directory is correctly located
in the embedding case.
git-svn-id: svn://10.0.0.236/trunk@74567 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 00:27:36 +00:00
edburns%acm.org
9b331dead2
bug=43280
...
a=av
r=av
Add a "don't show this dialog again" feature to the
"No Default Plugin Dialog". In addition, don't display the dialog
more than once per mime-type per session.
git-svn-id: svn://10.0.0.236/trunk@74561 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 22:53:32 +00:00
edburns%acm.org
8c18443bc0
bug=16677
...
a=av
r=stanley.ho
This fix causes nsPluginHostImpl::FindProxyForURL to honor
the "no proxies for" list.
git-svn-id: svn://10.0.0.236/trunk@74542 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 19:09:50 +00:00
waterson%netscape.com
ab0efcd0f0
Bug 37622. The rest of the patch that I somehow missed the first time around. r=blizzard,pavlov
...
git-svn-id: svn://10.0.0.236/trunk@74514 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:40:54 +00:00
edburns%acm.org
65086659fd
a=av
...
r=av
bug=38848
This bug enables nsIPluginHostImpl::GetValue(nsPluginManagerVariable_XDisplay)
to function correctly.
Thanks to Chris Waterson.
This has been built on win32 and solaris.
git-svn-id: svn://10.0.0.236/trunk@74511 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:16:52 +00:00
waterson%netscape.com
8f34ddafd2
Bug 37622. Hackery to get <embed hidden='true'> to work. Check hidden attribute; if set, size to (0, 0) and don't create a widget. r=pavlov,blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@74497 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 23:46:43 +00:00
waterson%netscape.com
8684478ba7
Remove debugging cruft I left in.
...
git-svn-id: svn://10.0.0.236/trunk@74494 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 23:24:35 +00:00
waterson%netscape.com
6c20af3ad5
Bug 37522. Implement ns4xPlugin::GetMIMEDescription() and ns4xPlugin::GetValue(); alter nsPluginsDirUNIX to use these routines (instead of directly calling the NP_* routine) while grovelling through 4.x plugins. r=av
...
git-svn-id: svn://10.0.0.236/trunk@74481 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:43:46 +00:00
Jerry.Kirk%Nexwarecorp.com
106990278f
This test relies on GTK libraries and header files, it is not
...
buildable on other non-GTK unix builds, like Photon. This change to
the Makefile makes sure this test is only built if GTK is enabled.
r=cls
git-svn-id: svn://10.0.0.236/trunk@74314 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 13:06:50 +00:00
jst%netscape.com
d32b36fc15
Fixing nsbeta2+ bug 44022. Loading javascript: URL's from a plugin wasn't always working. r=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@74144 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 02:44:14 +00:00
pavlov%netscape.com
61c5a61fcc
4.x unix plugin changes for bug 37477 r=pollmann, av
...
git-svn-id: svn://10.0.0.236/trunk@74034 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 21:44:39 +00:00
bnesse%netscape.com
6e87c2f462
Moved code which was initalizing the memory allocation service from the constructor into the CreatePlugin function because it wasn't being called early enough for some plugins. Need to proceed on Bug 19931. r=av.
...
git-svn-id: svn://10.0.0.236/trunk@74018 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:08:05 +00:00
av%netscape.com
6899b34dd6
#22954 , fixing Mac glitch, r=brade
...
git-svn-id: svn://10.0.0.236/trunk@73969 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:54:31 +00:00
cls%seawood.org
50a5bb697c
Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061
...
git-svn-id: svn://10.0.0.236/trunk@73904 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 07:13:31 +00:00
av%netscape.com
8bfea858f8
#22954 , adding unix and mac flavors, r=pierre
...
git-svn-id: svn://10.0.0.236/trunk@73898 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-09 22:26:44 +00:00