128 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
b8e0480ec5 Keep the results of EvaluateStringWithValue properly alive while we're using
them, and make sure we don't GC the xbl property getter when we create the
setter.  Bug 299205, r=jst, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@180397 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 15:44:59 +00:00
bzbarsky%mit.edu
45fb1a27d9 Attempt to fix some plugin leaks. Bug 302737, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@180214 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 17:17:25 +00:00
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
joshmoz%gmail.com
c77e3c84e0 don't translate mach-o function pointers to CFM unless we're on ppc Mac OS X. b=303345 r=pinkerton sr=smfr a=asa
git-svn-id: svn://10.0.0.236/trunk@177309 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 04:29:34 +00:00
jst%mozilla.jstenback.com
c9a2d89818 Fixing bug 176079. Provide an API for plugins to control whether popups are enabled or not. Disable popups by default from plugins, but enable/disable popups while handling user input events (mouse click, keydown etc) on the platforms where it's possible (Win32 and Mac), but do that only if the plugin doesn't support the popup enabling/disabling API. r+sr+a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174814 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-18 06:06:45 +00:00
joshmoz%gmail.com
b3c8eed3c3 gcc 4 fixes for Mac OS X. part 1 of the landing. Patch by Mark Mentovai. b=294244 r=josh sr=darin a=dbaron
git-svn-id: svn://10.0.0.236/trunk@174618 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 03:49:26 +00:00
joshmoz%gmail.com
8ed8827e98 get rid of 68k mac and classic mac os references from plugin code. cleanup only. no bug. r=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@174532 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-13 22:31:39 +00:00
cbiesinger%web.de
e64ebdba57 Bug 292114 InstantiateFullPagePlugin should take nsIURI*, not nsString&
r=jst sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@172865 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 12:11:45 +00:00
jst%mozilla.jstenback.com
720ecb1e38 Nuke useless whitespace.
git-svn-id: svn://10.0.0.236/trunk@171024 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 00:37:58 +00:00
jst%mozilla.jstenback.com
02ccab8728 Tidy up this code a bit, no code changes other than removing an unused variable.
git-svn-id: svn://10.0.0.236/trunk@171023 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 00:34:39 +00:00
jst%mozilla.jstenback.com
cfe5c7a8d0 Renaming incorrectly named argument.
git-svn-id: svn://10.0.0.236/trunk@171021 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 00:14:59 +00:00
jst%mozilla.jstenback.com
c545964071 Renaming incorrectly named argument.
git-svn-id: svn://10.0.0.236/trunk@171020 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 00:14:13 +00:00
jst%mozilla.jstenback.com
ea56e33ec6 Fixing bug 281744. Remove dead code and unnecessary code. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@169698 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 23:17:57 +00:00
cst%andrew.cmu.edu
61b7d5c1b3 Bug 281295 plugin/ should not use deprecated nsIPref
Patch by Vidar Braut Haarr <bugmail@q1n.org>, r=timeless sr=alecf


git-svn-id: svn://10.0.0.236/trunk@168892 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:56:03 +00:00
cbiesinger%web.de
72abc69452 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@161471 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-30 13:52:20 +00:00
cbiesinger%web.de
d45c666770 Bug 242150 implement NPN_GetValue of NPNVisOfflineBool
patch by William Bardwell <wbardwel@curl.com> r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@161470 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-30 13:25:28 +00:00
jst%mozilla.jstenback.com
7c3d6831bb Fixing bug 257191. Adding NPN_InvokeDefault() and renaming NPN_Call() to NPN_Invoke() in the npruntime plugin scriptability API. Also fix a problem with property getters on plugin objects. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161466 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-30 04:31:16 +00:00
jst%mozilla.jstenback.com
6077056f8a Fixing bug 256944. Adding NPClass argument to NPAllocateFunctionPtr to make it easier to work with dynamic NPClasses. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161370 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 00:58:44 +00:00
jst%mozilla.jstenback.com
5c1fe97158 Fixing bug 256898. Initialize all NPN callback functions, and correct an error in the prototype for NPN_IdentifierIsString(). r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161282 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 22:32:41 +00:00
jst%mozilla.jstenback.com
3b04c93333 Fixing bug 253570. Add NPP arguments to select new NPN_ methods to make implementation easier and safer. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@160110 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 04:00:05 +00:00
jst%mozilla.jstenback.com
58ccff4abd Fixing bug 250666. Implementing the NPAPI extensions for npruntime plugin scriptability. r+sr=brendan@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159061 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-12 15:53:22 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
bryner%brianryner.com
b529f0941d Attempting to fix btek bustage
git-svn-id: svn://10.0.0.236/trunk@154685 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-11 09:21:33 +00:00
jst%mozilla.jstenback.com
91b79bc5a5 Fixing bug 237076 (and bug 89270 too). Make our plugin stream code deal with cases where we're getting data off of the network faster than the plugin can handle it. Suspend the incoming request when the plugin says it can't handle more data, then keep feeding the plugin that we got so far until it's done with it, and then resume the network request. r=brendan@mozilla.org, sr=darin@meer.net, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@154683 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-11 05:33:17 +00:00
mkaply%us.ibm.com
afcc122bc8 #218685
r=mkaply, sr=blizzard (platform specific), a=mkaply
From pedemonte - remove some unnecessary (and wrong) OS/2 specific code in 4.x plugin support


git-svn-id: svn://10.0.0.236/trunk@149555 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 19:47:36 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
robin.lu%sun.com
19186c6546 patch for bug 189229 : xembed for plugins
patched by robin.lu@sun.com r=joshua.xia@sun.com sr=blizzard@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@146940 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 01:44:41 +00:00
bryner%brianryner.com
a4342aad58 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146622 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:56:05 +00:00
jaggernaut%netscape.com
567b41cdd7 Ah, gotta love macros
git-svn-id: svn://10.0.0.236/trunk@144998 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 11:48:19 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
seawood%netscape.com
4da846686f Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140220 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 06:54:52 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
dbaron%dbaron.org
855a1b80fa Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136019 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:35:09 +00:00
seawood%netscape.com
8ae058aa20 Add support for loading cfm plugins in OSX mach-o builds.
Changes backported from the CHIMERA_M1_0_1_BRANCH branch.
Bug #155256 r=peterl sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@133054 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 01:24:57 +00:00
peterlubczynski%netscape.com
addf218c82 Removing redundant NPNVDOMDocument added earlier in bug 169513, r=av sr=rpotts a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@132653 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-29 22:54:10 +00:00
peterlubczynski%netscape.com
8e03e4e94b Fixing bug 169513, Add the means to obtain the DOM from a plugin r=adamlock sr=beard
git-svn-id: svn://10.0.0.236/trunk@131221 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 02:57:21 +00:00
av%netscape.com
3cf944f3c5 Bug 104298 -- clean up in plugin module, r=serge, r=bnesse, sr=beard
git-svn-id: svn://10.0.0.236/trunk@131101 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 21:31:41 +00:00
serge%netscape.com
20e002757e fix 164043,Mozilla crashes in calls to NPN_Status [trunk], r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@129955 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 20:21:47 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
blizzard%redhat.com
d79e1399fd Bug #166138. modules/plugins changes for gtk2. r=serge,sr=blizzard patch by robin.lu@sun.com
git-svn-id: svn://10.0.0.236/trunk@128703 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 14:45:02 +00:00
serge%netscape.com
4f75363dc8 fix #44196 improperly parented modal dialog in nsPluginHostImpl.cpp, r=av, sr=beard
git-svn-id: svn://10.0.0.236/trunk@122466 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 00:56:38 +00:00
peterlubczynski%netscape.com
abdd039225 Fix for sending the correct URL from GetURLNotify/PostURLNotify to URLNotify and fixing a crash with Flash 6 when URLNotify is called before NewStream. Bug 131626 r=av sr=beard
git-svn-id: svn://10.0.0.236/trunk@118123 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 15:23:35 +00:00
mkaply%us.ibm.com
8020fa1c9b #134693
r=serge, sr=beard, a=asa
OS/2 only - change current dir to plugins directory when starting plugin


git-svn-id: svn://10.0.0.236/trunk@117965 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 23:36:06 +00:00
seawood%netscape.com
bfd788cd4d Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski


git-svn-id: svn://10.0.0.236/trunk@117612 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:02:39 +00:00
mkaply%us.ibm.com
0f725d9ba6 #132600
r=searge, sr=beard, a=asa
Refactor 4xplugin code so XP_OS2 section is more clear


git-svn-id: svn://10.0.0.236/trunk@117459 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 03:04:37 +00:00
av%netscape.com
5d29852870 Fix for 116357 -- NPAPI plugins should have an ability to stay in memory beyond page life time, patch by peterl, r=av, sr=beard, a=asa
git-svn-id: svn://10.0.0.236/trunk@117428 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 23:42:32 +00:00
peterlubczynski%netscape.com
31acb3ae38 Fixing not calling URLNotify with null data and also a few other times, bug 127259 r=serge sr=beard a=shaver
git-svn-id: svn://10.0.0.236/trunk@116463 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 04:24:45 +00:00
rginda%netscape.com
362831b18c fix incorrect bracing, r=beard
git-svn-id: svn://10.0.0.236/trunk@113269 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 01:32:43 +00:00
beard%netscape.com
3f185a60cd Fix for bug #118003. r=peterl, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@113255 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 00:17:18 +00:00