Commit Graph

729 Commits

Author SHA1 Message Date
scc%mozilla.org
f75af5e15f if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 02:48:08 +00:00
edburns%acm.org
757fe3cde1 r=av
a=waterson
bug=51919

This fix makes it so nsIPluginManager::PostURL() works correctly in the
case of a null target and non-null streamListener.

The fix was to add parameters to NewPluginURLStream() for headers and
post data:

   NS_IMETHOD
-  NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance, nsIPluginStreamListener *aListener);
+  NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance,
+                     nsIPluginStreamListener *aListener,
+                     void *aPostData = nsnull, PRUint32 aPostDataLen = 0,
+                     const char *aHeadersData = nsnull,
+                     PRUint32 aHeadersDataLen = 0);

And to add a new method to correctly send the headers to the channel:

+  NS_IMETHOD
+  AddHeadersToChannel(const char *aHeadersData, PRUint32 aHeadersDataLen,
+                      nsIChannel *aGenericChannel);

Files in this fix:

M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginHostImpl.h
2000-09-08 23:58:36 +00:00
morse%netscape.com
f1dd1c89b4 bug 51338, cookie nag box not modal, r=mstoltz 2000-09-07 07:00:36 +00:00
edburns%acm.org
8ee33dddde 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.
2000-09-05 19:03:56 +00:00
dbaron%fas.harvard.edu
01f01c4890 Fixing scc's typo to fix harpoon orange, etc. r=scc 2000-09-04 01:19:36 +00:00
scc%mozilla.org
daa61fe5b5 we think the fix is in to support the original form, so back to the original form we go 2000-09-04 00:50:50 +00:00
scc%mozilla.org
90c34a3a99 and here we are, back to square one. 2000-09-03 08:25:02 +00:00
scc%mozilla.org
aa10bae8a2 I'll try anything, now 2000-09-03 03:25:42 +00:00
scc%mozilla.org
2accda54de OK, nothing has worked yet. It's time to roll out the big guns: |NS_READABLE_CAST| 2000-09-03 02:50:18 +00:00
scc%mozilla.org
15c68c67b7 hack to fix pravda and speedracer bustage 2000-09-03 01:38:38 +00:00
scc%mozilla.org
3093bd5ab5 hack to fix pravda bustage 2000-09-03 00:25:42 +00:00
locka%iol.ie
ecebe2ac21 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
edburns%acm.org
6929c922f5 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.
2000-08-24 19:49:08 +00:00
saari%netscape.com
0920228fbd fix for 46938, make sure full content area plugins can still get key events once you've clicked on them 2000-08-24 05:04:06 +00:00
jst%netscape.com
9abec73fbe 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 2000-08-23 17:27:06 +00:00
mccabe%netscape.com
4f49fe305a Further tweak to 39933.
Add a comment mentioning the possible need to implement nsISecurityCheckedComponent.
2000-08-23 00:24:07 +00:00
mccabe%netscape.com
29923e8750 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
2000-08-23 00:20:24 +00:00
warren%netscape.com
5135afda02 Removed reference to nsIBaseStream 2000-08-22 09:50:45 +00:00
warren%netscape.com
e05eef45e9 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 2000-08-22 07:03:33 +00:00
av%netscape.com
037e5ee9c5 49515, fixing incorrect handling nsPluginInfo struct which prevented
Mac plugins from working, patch by beard, r=av
2000-08-21 21:31:28 +00:00
scc%mozilla.org
77d446201a fixing code that relied on implicit string construction 2000-08-19 21:44:26 +00:00
cltbld%netscape.com
a8b78d24bb Need to declare nsIFile to make WS 5.0 happy -cls 2000-08-19 05:44:34 +00:00
av%netscape.com
c4bedc79a7 Addressing #48856, added argument null-check before passing it to nsCStringKey::nsCStringKey()
patch by warren, r=av
2000-08-18 21:53:03 +00:00
av%netscape.com
8439416960 Part of 46490 fix, r=adamlock 2000-08-17 19:26:15 +00:00
warren%netscape.com
84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
av%netscape.com
01ca1eb997 Fixing 39534, patch by sean, r=av 2000-08-07 22:10:07 +00:00
av%netscape.com
0ff6c8206b Fixing 47360, patch by sean@beatnik.com, r=av 2000-08-07 21:51:19 +00:00
mkaply%us.ibm.com
474c320967 r=mkaply, a=brendan
Tinderbox break - Should have been info.fExtensionArray
2000-08-03 02:20:17 +00:00
av%netscape.com
0c06d16845 Fixing Unix redness 2000-08-02 23:36:30 +00:00
av%netscape.com
a371acfc89 Fixing 45895, r=waterson 2000-08-02 23:01:35 +00:00
av%netscape.com
299bf1f85a Fixing 46573, r=serge 2000-08-02 21:35:45 +00:00
cls%seawood.org
01c0f7aed5 The ports tinderboxes were inconveniently down so this bustage was hidden for the past week. Bug #45698 2000-07-28 05:43:24 +00:00
warren%netscape.com
2b01440bc0 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 2000-07-25 05:45:56 +00:00
waterson%netscape.com
f364059419 Brownian hacking to fix build bustage. 2000-07-22 03:17:55 +00:00
waterson%netscape.com
b9428404ee Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH. r=av 2000-07-22 02:11:04 +00:00
waterson%netscape.com
b83d0b4407 Bug 45698. Fix Win32 build bustage. Checked in from wrong machine. 2000-07-22 01:58:55 +00:00
waterson%netscape.com
3b56e5fda1 Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av 2000-07-22 01:34:13 +00:00
edburns%acm.org
5b7c874d34 bug=23157
r=av
a=waterson

Don't use hard coded 2000.  Instead use sizeof(path).
2000-07-22 00:48:26 +00:00
edburns%acm.org
8bc3199379 bug=23157
ra=av
This fix makes it so the plugins directory is correctly located
in the embedding case.
2000-07-21 00:27:36 +00:00
edburns%acm.org
9969ad3c8a 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.
2000-07-20 22:53:32 +00:00
edburns%acm.org
0ac863d889 bug=16677
a=av
r=stanley.ho

This fix causes nsPluginHostImpl::FindProxyForURL to honor
the "no proxies for" list.
2000-07-20 19:09:50 +00:00
waterson%netscape.com
a9988fbc1f Bug 37622. The rest of the patch that I somehow missed the first time around. r=blizzard,pavlov 2000-07-20 01:40:54 +00:00
edburns%acm.org
e86c9acda8 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.
2000-07-20 01:16:52 +00:00
waterson%netscape.com
eb10ce3a1a 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. 2000-07-19 23:46:43 +00:00
waterson%netscape.com
a5fbd61475 Remove debugging cruft I left in. 2000-07-19 23:24:35 +00:00
waterson%netscape.com
b95b383548 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 2000-07-19 21:43:46 +00:00
Jerry.Kirk%Nexwarecorp.com
8edb23803e 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
2000-07-17 13:06:50 +00:00
jst%netscape.com
e5da6444bc Fixing nsbeta2+ bug 44022. Loading javascript: URL's from a plugin wasn't always working. r=vidur@netscape.com 2000-07-13 02:44:14 +00:00
pavlov%netscape.com
3f7d6ee2fe 4.x unix plugin changes for bug 37477 r=pollmann, av 2000-07-11 21:44:39 +00:00
bnesse%netscape.com
9c230e7301 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. 2000-07-11 20:08:05 +00:00
av%netscape.com
d98110ff32 #22954, fixing Mac glitch, r=brade 2000-07-10 23:54:31 +00:00
cls%seawood.org
e87a1b7b11 Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061 2000-07-10 07:13:31 +00:00
av%netscape.com
b2d01667e4 #22954, adding unix and mac flavors, r=pierre 2000-07-09 22:26:44 +00:00
av%netscape.com
bc8b5454f3 Addressing 22954, r=mscott 2000-07-07 00:10:54 +00:00
av%netscape.com
8fbbc3c0cf Addressing 22954, removed tag info query for full page plugins, r=edburns@acm.org 2000-07-06 21:44:38 +00:00
av%netscape.com
5ab221439c #43500, making the default plugin part of the build on Windows, r=pollmann 2000-07-05 22:51:34 +00:00
cls%seawood.org
bca014f1bb Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
edburns%acm.org
2a2fd82d21 a=av
bug=23775
This is the last bit of the checkin that George Drapeau started
for bug 23775.  He didn't finish due to conflicts with this file
and, being the good engineer that he is, he waited for the author
to return from vacation.

George said I could check this in under the same approval for
the rest of 23775.
2000-06-30 17:31:02 +00:00
cls%seawood.org
1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
av%netscape.com
f873e68c74 Addressing 22954, patch by amusil, r=av 2000-06-29 21:48:09 +00:00
av%netscape.com
adf7a1d3bd Addressing 22954, patch by amusil, r=av 2000-06-29 21:42:13 +00:00
av%netscape.com
fd2b832699 Not part of the build yet. Default plugin. 2000-06-26 22:30:38 +00:00
av%netscape.com
1c2f557756 Addressing 41197, r=serge 2000-06-22 23:17:50 +00:00
av%netscape.com
ab2d009de3 Part of 23667 fix, r=sean@beatnik.com 2000-06-22 22:51:36 +00:00
av%netscape.com
2c527d1b10 Part of 23667 fix, r=nisheeth 2000-06-22 22:36:37 +00:00
rpotts%netscape.com
cf3e824449 DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer 2000-06-22 05:38:07 +00:00
av%netscape.com
6c45a7674d Addressing #23667 patch by sean@beatnik.com, r=av, a=brendan 2000-06-21 22:57:17 +00:00
av%netscape.com
569653202b Filtering plugins from old installation down to three as per decision in 23856, r=amusil 2000-06-21 01:44:55 +00:00
beard%netscape.com
1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
edburns%acm.org
b3ebbaa566 bug=41197
r=av
a=waterson.

This checkin makes it possible to use the default plugin even
for Java.
2000-06-20 21:04:52 +00:00
av%netscape.com
8ee7f8d303 Fixing 38094 with patch by sean@beatnik.com, ra=brendan@mozilla.org 2000-06-16 22:27:16 +00:00
av%netscape.com
2198066fed Addressing bug #41276, r=sean@beatnik.com 2000-06-15 01:07:27 +00:00
rusty.lynch%intel.com
0a2c498177 (Re)Fix for bug #23546
a=brendan@mozilla.org
2000-06-14 17:58:49 +00:00
mccabe%netscape.com
8451066326 Makefile fix, thanks to Dan Veditz. Should fix bustage. 2000-06-14 02:40:00 +00:00
mccabe%netscape.com
2ffd75fe72 Backing out for now to fix bustage. 2000-06-14 02:33:45 +00:00
mccabe%netscape.com
64e925ab99 Fix to 39911, which nsbeta+ 38495 depends on.
Build nsIScriptablePlugin.idl on Unix and Windows.

a=beard
2000-06-14 01:21:39 +00:00
beard%netscape.com
62ace3f5bd project to compile nsIScriptablePlugin.idl for mccabe. bug #39911, a=beard, r=mccabe 2000-06-14 01:14:35 +00:00
mccabe%netscape.com
2b35af1344 Part of fix for 39911, which is a dependency of nsbeta+ bug 38495.
Interface for plugins to expose to advertise a scriptable peer object and the interface that XPConnect should expose it with.

r=sechevarria@beatnik.com,beard@netscape.com
a=beard@netscape.com

NOTE This is not yet built on any platform.
2000-06-14 01:04:06 +00:00
av%netscape.com
42ff6eabbe Addressing #41276, r=sechevarria@beatnik.com 2000-06-13 23:23:13 +00:00
av%netscape.com
94bf01f465 Addressing #41276, r=edburns 2000-06-13 23:16:05 +00:00
slamm%netscape.com
ed7b6044f0 Ignore generated Makefile. 2000-06-05 21:40:07 +00:00
rusty.lynch%intel.com
c678310751 Fixed Linux support for viewing the current text as a label
in the plugin drawing rectangle.  This is part of a fix for
bug #25068. a=ekrock
2000-06-05 20:35:32 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mkaply%us.ibm.com
2a25295dbd # 37239
r = rusty.lynch, a = brendan
OS/2 bringup - OS/2 doesn't go down these XP_PC paths
2000-06-02 22:32:53 +00:00
rusty.lynch%intel.com
79196ab9b1 Adding the SANE plugin as an example Linux XPCOM plugin.
This check-in related to bug #25068.  This isn't part of the build.
2000-06-02 04:11:45 +00:00
cls%seawood.org
f33a9d9028 Removing a leftover unused header that's killing a HPUX build. Bug 37025 r=dmose 2000-06-01 00:11:52 +00:00
mkaply%us.ibm.com
3c92f20cee # 37239
r = mkaply, a = brendan
OS/2 bringup continues on M16 - port memory leak fix - OS/2 only
2000-05-30 14:36:43 +00:00
av%netscape.com
50f4214fa6 nsbeta2+ fix for 17551, approved by PDT team, r=amusil 2000-05-26 22:14:39 +00:00
mkaply%us.ibm.com
66b4b578c4 # 37239
r = mkaply, a = brendan
OS/2 bringup continues on M16 - OS/2 only changes for new string
2000-05-25 14:39:17 +00:00
mkaply%us.ibm.com
67e14638ca # 37239
r = rusty.lynch, a = brendan
OS/2 bringup continues on M16 - Change XP_PC #ifdef to have !defined XP_OS2
2000-05-25 14:30:56 +00:00
warren%netscape.com
534c3f9212 Lowercased handleEvent 2000-05-25 08:29:10 +00:00
cls%seawood.org
a63714b4e6 More OS/2 fixes. Bug #34106 Batch 17 & 18. r=pavlov 2000-05-21 11:23:34 +00:00
warren%netscape.com
afbcb4a48c New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
sfraser%netscape.com
9d0f0840c6 Remove linkage with NetworkModular.shlb 2000-05-17 06:36:59 +00:00
cls%seawood.org
f8f7701766 Beos fix for Bug #38249. Thanks to Justin Morey <justin@68k.org> for the patch. 2000-05-17 04:38:13 +00:00
av%netscape.com
2dd7b6738c Removing binary 2000-05-16 06:01:46 +00:00
av%netscape.com
aca30a0c1c Adding project file 2000-05-16 05:39:18 +00:00
av%netscape.com
504adffd65 Removing corrupted project file 2000-05-16 05:38:29 +00:00
av%netscape.com
007fbfcc38 Not part of the build 2000-05-16 05:24:31 +00:00
av%netscape.com
35546bb744 Adding xpcom.lib to the plugin DK 2000-05-16 05:07:47 +00:00
av%netscape.com
4e57025d20 Adding xpcom.lib to the plugin DK 2000-05-16 05:00:34 +00:00
av%netscape.com
27a1a5c764 Removing wrong file 2000-05-16 04:36:29 +00:00
av%netscape.com
6c9b20c4e9 Adding xpcom.lib to the plugin DK 2000-05-16 04:30:46 +00:00
av%netscape.com
466d39a7bd Removing wrong file 2000-05-16 04:25:20 +00:00
av%netscape.com
1e86e07e29 Adding new project file 2000-05-16 04:07:02 +00:00
av%netscape.com
e63d20b897 removing old project file 2000-05-16 04:06:07 +00:00
av%netscape.com
2c6565607d Adding makefile to the plugin DK which would allow to pull headers from appropriate places 2000-05-16 03:59:14 +00:00
av%netscape.com
6eb96c8643 Adding xpcom.lib to the plugin DK 2000-05-16 03:55:35 +00:00
av%netscape.com
0c1b8af7ce Adding idl compiler to the plugin DK 2000-05-16 03:49:31 +00:00
sdv%sparc.spb.su
f9e1b07b33 sdv@sparc.spb.su
added a hook to notify Java DOM component
when a plugin is being instantiated
r=idk@eng.sun.com
2000-05-16 00:22:30 +00:00
jdunn%netscape.com
6ddb637571 adding XPCOM libs to LDOPTS since there are dependencies and AIX needs
to resolve all at link time
2000-05-15 21:13:05 +00:00
michael.lowe%bigfoot.com
ea7c30bd13 Fix some leaks, and other problems found using BoundsChecker r=bryner@uiuc.edu 2000-05-14 09:18:43 +00:00
jim_nance%yahoo.com
318c844a28 Fix 37025. Slightly modified version of Rusty Lynches patch. r=jim_nance@yahoo.com 2000-05-13 12:39:16 +00:00
cls%seawood.org
0bb93593f4 Build the npsimple test plugin by default. Bug 38249 2000-05-13 07:42:31 +00:00
cls%seawood.org
ac8b98306f Added -DMOZ_WIDGET_<toolkit> for each toolkit that is enabled. Tweaked legacy plugin support so that it will compile when not using gtk. Bug 38145 2000-05-13 04:41:56 +00:00
av%netscape.com
307f4b983d Adding zero check on a char pointer before sending it to printf. 2000-05-12 00:46:07 +00:00
av%netscape.com
11b2e62a42 Plugin DK, not part of the build, hopefully no duplicate files this time. 2000-05-11 22:13:06 +00:00
av%netscape.com
67457c0759 Stanley Ho's patch to fix 19222 2000-05-10 23:29:21 +00:00
av%netscape.com
f55128b4ee This will fix 27558 2000-05-09 00:56:29 +00:00
av%netscape.com
b400dfc1ec Code clean up 2000-05-09 00:37:52 +00:00
av%netscape.com
9d284392c8 Fixing 38273 2000-05-08 01:14:29 +00:00
av%netscape.com
8db39e94c6 Fixing 38274 2000-05-08 01:08:15 +00:00
rusty.lynch%intel.com
adcaf14f83 Fix for bug #797. -r=av 2000-05-06 06:00:48 +00:00
mj%digicool.com
416e094610 Really backing out avs files this time. 2000-05-05 13:21:58 +00:00
av%netscape.com
2284b35757 Not part of the build 2000-05-05 05:33:18 +00:00
av%netscape.com
d8def353a3 Not a part of the build 2000-05-05 05:05:09 +00:00
av%netscape.com
80a224276f Fixing typo in the debug output string 2000-05-03 22:34:28 +00:00
sfraser%netscape.com
633589f48e Fix access paths to remove old freenav path. 2000-05-03 05:32:39 +00:00
av%netscape.com
a0ee0f3a8a Fixing release leaks for plugin instance, bug #37915 2000-05-02 22:27:58 +00:00
colin%theblakes.com
c7201a29ec Link in toolkit. r=cls 2000-05-02 10:19:23 +00:00
av%netscape.com
b60edde878 Cleaning up addref/release pairs for plugin instance 2000-04-26 06:19:26 +00:00
jim_nance%yahoo.com
e9b2c2f7ee Fix Tru64 bustage. r=blizzard 2000-04-25 02:22:51 +00:00
cls%seawood.org
8df9167f1c Build fixes for BeOS. Bug 36924 & bug 36926. Thanks to Justin Morey <justin@68k.org> for the patches. 2000-04-25 02:05:08 +00:00
hoa.nguyen%intel.com
d9959a44f8 Fixed a bug where the browser would die try to dlopen gtkxtbin
when loading a legacy plugin (on Linux.) This is still part of the
bug fix for #31012
-r=sspitzer
2000-04-23 01:01:23 +00:00
mscott%netscape.com
aedfead0f9 fix build breakage for windows and mac. 2000-04-22 21:47:01 +00:00
sspitzer%netscape.com
ffbebb6147 fix build bustage. 2000-04-22 21:41:59 +00:00
hoa.nguyen%intel.com
6ceb9673f4 Adding legacy plug-in support for Linux. These changes depend on a new gtkxtbin library.
This applies to bug #31012. r=blizzard
2000-04-22 20:50:22 +00:00
av%netscape.com
87c1849b52 Fixing memory leak during start up, #35912 2000-04-22 00:04:24 +00:00
av%netscape.com
8527043efd #26893, moved GetDOMElement from nsIPluginTagInfo to nsIPluginTagInfo2.h 2000-04-18 21:44:56 +00:00
jband%netscape.com
69515eea3b NOT PART OF SEAMONKEY BUILD. Improve sample to show calling of [scriptable] xpcom interface methods directly from JavaScript using xpconnect. This should work on all platforms, but currently the visuals in the plugin are only updated on Windows. See bug 32150. r=av 2000-04-16 18:51:02 +00:00
mstoltz%netscape.com
6a76f09450 Made prefapi.h private and removed all #includes of it outside of libpref. r=norris 2000-04-15 03:43:09 +00:00
av%netscape.com
942eabd0da Eliminated creation of invalid pointers which causes crash for some plugins, r=serge 2000-04-13 22:34:49 +00:00
tbogard%aol.net
630216d09d When the object goes away due to the last ref on the object, make sure to Destroy() so we free everything up that is usually done there. 2000-04-13 02:52:34 +00:00
jband%netscape.com
bb561d08ba NOT PART OF SEAMONKEY BUILD. Make plugin sample work on windows. It looks like this has been unable to compile on windows since someone added Unix only includes outside the #ifdef XP_UNIX block about *nine* months ago. There were also a few places where it was causing crashes. I'm not very confident in the rest of this code. 2000-04-12 08:35:15 +00:00
scc%netscape.com
c5c503948f making string conversions explicit 2000-04-03 11:20:35 +00:00
scc%netscape.com
7f12694e41 making string conversions explicit 2000-04-03 09:20:26 +00:00
cls%seawood.org
cd487cbabb Set SHORT_LIBNAME in cases that library name will exceed 8 chars for OS/2. Bug #34106 a=leaf 2000-04-01 10:18:48 +00:00
av%netscape.com
8f89e6a0ae Fix for 33536, r=serge 2000-03-29 23:58:42 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
rickg%netscape.com
794e353349 removed reference to nsString2 2000-03-26 23:30:52 +00:00
rickg%netscape.com
879014aa87 removed reference to nsString2 2000-03-26 09:13:32 +00:00
scc%netscape.com
c159ce9031 small changes to clients of string converting APIs 2000-03-26 09:07:50 +00:00
av%netscape.com
11231d848e Fixing mismatching delete's found by Purify, r=waqar 2000-03-23 00:45:49 +00:00
rhp%netscape.com
4e23d61267 Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589 2000-03-15 01:47:36 +00:00
av%netscape.com
b2e11193ec Fix for 29688, ignorin Java plugin found in 4.x installation; r=stanley.ho@eng.sun.com, a=rickg 2000-03-15 01:27:30 +00:00
pavlov%netscape.com
2062d07f92 fix mac bustage 2000-03-14 07:42:31 +00:00
pavlov%netscape.com
0442a847fa add defined(RHAPSODY) around the XP_MAC lines 2000-03-14 06:16:13 +00:00
rickg%netscape.com
ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
tbogard%aol.net
a069a1170c ContentViewer Initialization now take an nsIWidget instead of a native window. Set status using the nsIWebBrowserChrome interface instead of the old nsIBrowserWindow interface. 2000-03-11 01:25:34 +00:00
dougt%netscape.com
d97829c49f Making the debug target include the debug prefix file. Checkin for warren. 2000-03-06 00:59:54 +00:00
warren%netscape.com
0d12f3b2a4 Adding pluginDebugPrefix.h 2000-03-06 00:53:47 +00:00
warren%netscape.com
b9eb7f33da Attempt to fix the mac bustage. NS_CurrentThread is only defined for debug builds. 2000-03-05 23:16:28 +00:00
av%netscape.com
52a1708dcd Fix for 27755 on behalf of stanley.ho@eng.Sun.COM, r=av, a=rickg 2000-03-03 00:53:45 +00:00
tbogard%aol.net
4eec4fb506 nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
mkaply%us.ibm.com
5eb928c520 # 25555
r= beard@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-28 15:00:30 +00:00
bruce%cybersight.com
bd75c76d80 Fix for a memory leak. a=waterson,r=dougt 2000-02-22 23:47:25 +00:00
av%netscape.com
114e4ad148 Fixin bug 15210 -- using more specific call CreatePluginInstance
instead of CreateInstance, r=idk@eng.sun.com
2000-02-15 23:24:10 +00:00
av%netscape.com
8395d3af87 Fixing 27469, r=waqar 2000-02-12 01:43:02 +00:00
av%netscape.com
20adb1ce82 Cleaning up. No changes in executable code. 2000-02-08 01:31:16 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
davidm%netscape.com
643d194472 Bug 25949 update access paths for codewarrior update. 2000-02-06 04:38:30 +00:00
av%netscape.com
80ad5c1a9a Fixing 26639, r=serge 2000-02-06 01:57:35 +00:00
av%netscape.com
3b5e5656c3 Fix 797, r=amusil. Added fail return on not finding a plugin for known mime type 2000-02-03 00:06:28 +00:00
av%netscape.com
a1f35cf694 Fixing #21938. Enabled for Windows only. r=pollmann 2000-02-01 00:42:52 +00:00
av%netscape.com
56f0cdee15 Introducing flags to specify plugins dir location.
Not used yet. Getting ready for 21938.
2000-01-28 00:49:09 +00:00
dcone%netscape.com
e31204f271 support for regression testing. r=rods 2000-01-26 15:14:41 +00:00
av%netscape.com
56ca2bc9c3 Fix for #18679 setting new stream to plugins seekable until netlib is ready to give this info r=vidur 2000-01-19 00:28:41 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
av%netscape.com
67ea41bb94 Bug 22598. r=vidur 2000-01-05 01:18:38 +00:00
av%netscape.com
8000907d29 Fixing 16519, r=VYV03354@nifty.ne.jp 1999-12-22 21:53:14 +00:00
tbogard%aol.net
22cbc2c1bb Fixing some places when talking to the webshell object to start talking through the new docshell interfaces. 1999-12-18 02:09:29 +00:00
blizzard%redhat.com
d87f0b4f02 fix for bug 19559. fix the test plugin on linux. r=pavlov 1999-12-07 23:50:00 +00:00
tbogard%aol.net
a4d3aa2f8b 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:36:54 +00:00
drapeau%eng.sun.com
b12618788f Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
Build').  Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found.  The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.

r=drapeau@eng.sun.com.  Fix contributed by Jayashri Visvanathan
(visvan@eng.sun.com).
1999-12-03 00:26:09 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
buster%netscape.com
93551f1751 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
jdunn%netscape.com
e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
idk%eng.sun.com
100ca0becf Fix for bug 15217
r = akhil.arora@eng.sun.com, netscape.public.mozilla.java, netscape.public.mozilla.plugins
Added hook for pluglet-engine.
In case there are no handlers for some MIME type this hook would be using.
This fix does not create any dependencies on java-plugin module.
1999-11-16 04:18:59 +00:00
tbogard%aol.net
8c8bbce9a7 Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
tbogard%aol.net
d855c6540f Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov 1999-11-14 10:12:21 +00:00
cls%seawood.org
5623bc37a7 Removing use of unneeded dbm module from win32 build 1999-11-14 00:52:48 +00:00
law%netscape.com
41d554cbdd Fix bustage by backing out some CallQueryInterface calls (for Travis); r=travis@netscape.com 1999-11-13 08:20:53 +00:00
tbogard%aol.net
131348416b Changed storage of of the container to hold simply nsISupports as the mContainer instead of nsIContentViewerContainer. Changed calls to QueryCapability to use the nsIInterfaceRequestor::GetInterface(). r=scc 1999-11-13 07:36:28 +00:00
akhil.arora%sun.com
64fe994491 17809 r=av the sun c++ 5.0 compiler's version of strchr returns const char*
This fix is needed in order to be able to build with this compiler
1999-11-12 23:55:01 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
dp%netscape.com
b17616fba6 bug#16742 Fixing delete on nsISupports. Thanks for patch from <heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing operating on refcnt directly. r=dp 1999-10-24 04:41:17 +00:00
ramiro%fateware.com
08a78b615b Use "(NSINSTALL) -D" instead of direct "mkdir" r=shaver. 1999-10-21 21:35:37 +00:00
edburns%acm.org
9f4fce65e4 Bug: 15606
r=shaver
approver=av

I would like to take the time to personally thank Mike Shaver for all the hard
work he has done to make this bugfix possible.
1999-10-21 21:09:21 +00:00
waterson%netscape.com
bdfcaec321 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 03:05:10 +00:00
rpotts%netscape.com
9ced2151e2 Removed 2 *extra* calls to NS_RELEASE in failure cases... 1999-10-10 06:58:42 +00:00
warren%netscape.com
bb32e6e730 Fixed refcounting problem and possible out-of-memory condition. r=kipp 1999-10-10 02:08:08 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
edburns%acm.org
d1c91a8922 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=15607
Approved by: av@netscape.com
Reviewed by: av@netscape.com

/**

 * This method queries the prefs for proxy information.

 * It has been tested and is known to work in the following three cases

 * when no proxy host or port is specified

 * when only the proxy host is specified

 * when only the proxy port is specified

 * This method conforms to the return code specified in

 * http://developer.netscape.com/docs/manuals/proxy/adminnt/autoconf.htm#1020923

 * with the exception that multiple values are not implemented.

 */

NS_IMETHODIMP nsPluginHostImpl::FindProxyForURL(const char* url, char* *result)
1999-10-09 01:18:02 +00:00
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
beard%netscape.com
01f6019676 changed from directly using "MSL ShLibRuntime.Lib" to using "NSLibraryStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:37:53 +00:00
av%netscape.com
70e29c914b Fixing #13783 (garbage-pointer dereference) 1999-10-02 00:41:03 +00:00
av%netscape.com
623fb2e74d Fixing dereferencing null-pointer. Caused crash, #14496 1999-10-01 20:10:39 +00:00
warren%netscape.com
a09aff1048 Fixed leaked path string. 1999-09-26 07:02:06 +00:00
av%netscape.com
a39abecf84 Workaround to make RealAudio plugin work 1999-09-21 00:07:20 +00:00
warren%netscape.com
0d13aa6282 fixed leaked service manager in nsPluginFactory 1999-09-20 20:53:06 +00:00
beard%netscape.com
6085e98af3 scanning Plugins folder under the application now. 1999-09-18 22:40:36 +00:00
rpotts%netscape.com
5e3abb4bed Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:55:13 +00:00
warren%netscape.com
7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
ramiro%netscape.com
e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
briano%netscape.com
775e13bce8 General cleanup. 1999-09-14 02:51:42 +00:00
briano%netscape.com
0e85815036 General cleanup. 1999-09-10 00:37:14 +00:00
warren%netscape.com
40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
rpotts%netscape.com
bd2ff8a805 bug #11376. I added GetContentLength to nsIChannel so the content length can be gotten from a channel... 1999-09-09 05:13:31 +00:00
dougt%netscape.com
d674f8af60 Adding buffered output to nsIFileStream.
Renaming nsIFile to nsIOpenFile.
commenting out a testcase in FilesTest.cpp which fails.  evil, i know.
1999-09-08 20:12:35 +00:00
mgleeson1%netscape.com
5d211da01c added #ifndef for HPUX11 around #define _INT32 1999-09-03 22:17:16 +00:00
cyeh%netscape.com
bef3eb8080 Remove useless NGLAYOUT_PLUGINS define. 1999-09-02 18:21:11 +00:00
cyeh%netscape.com
11cc154cdb Remove NGLAYOUT_PLUGINS useless define. 1999-09-02 18:18:31 +00:00
av%netscape.com
6183868b93 Fix for #7125 1999-09-01 19:58:57 +00:00
av%netscape.com
ee1bdd4cef Fix for #9211 1999-09-01 19:58:22 +00:00
cyeh%netscape.com
1729151e74 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:24:51 +00:00
ramiro%netscape.com
18b5e04d18 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
hoa.nguyen%intel.com
eed306cb0e Extended the example to create a simple button with label. 1999-08-31 00:12:15 +00:00
hoa.nguyen%intel.com
bf54286613 Added the proper Mozilla Toolkit flags. 1999-08-31 00:11:06 +00:00
gagan%netscape.com
5124c48251 More mem leak fixes that were showing up originating in nsStdURL in bruce's log. 1999-08-27 10:23:41 +00:00
rpotts%netscape.com
0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
mccabe%netscape.com
a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
mccabe%netscape.com
17cdc659d1 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
mccabe%netscape.com
381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
tbogard%aol.net
08975c300d Fixed Mac.. 1999-08-19 06:29:05 +00:00
tbogard%aol.net
57feff30c2 XPCOM Cleanup: Fixed Aggregation macros in nsAgg.h to do aggregation correctly. Fixed usages and implementation of aggregation using these macros through out the tree. 1999-08-19 05:36:30 +00:00
beard%netscape.com
53b68810ba reverting GetDocumentBase() to be consistent with other accessors. If we decide to change this, let's change ALL of them. 1999-08-03 02:51:39 +00:00
hoa.nguyen%intel.com
7188783d86 Fixed and errant return condition in SetupPluginInstance(). 1999-08-03 00:17:55 +00:00
hoa.nguyen%intel.com
7bd8e1c0a0 Added a parameter to the embed tag for testing. 1999-08-02 23:20:41 +00:00
hoa.nguyen%intel.com
f565103cc1 Added some debug printf's. Added support for parameter passing in SimplePluginInstance::Initialize. 1999-08-02 23:19:29 +00:00
beard%netscape.com
753dd5b871 sizeof(mode) field was dependent on compiler settings, now nsPluginPrint.mode is always a PRUint16. 1999-08-02 21:44:54 +00:00
av%netscape.com
244d54562a Cleaning memory allocation bug #9855 1999-07-30 23:51:53 +00:00
blizzard%redhat.com
fe8fd51bc4 fix linux startup bustage. reviewed by sspitzer, approved by cyeh. 1999-07-29 19:42:55 +00:00
mscott%netscape.com
23fef95974 fix build breakage by including config.mak 1999-07-29 03:28:00 +00:00
hoa.nguyen%intel.com
cc33418985 Sample HTML page with embed tag for the test XPCOM plugin. 1999-07-27 02:48:34 +00:00
hoa.nguyen%intel.com
591faaf135 Added embed-test.html to Makefile. 1999-07-27 02:47:41 +00:00
av%netscape.com
89a6d3df46 fixing bug #7499 1999-07-27 01:30:55 +00:00
dougt%netscape.com
5adb63dcaf Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
rickg%netscape.com
6476768c6c removed warning 1999-07-26 02:05:35 +00:00