143 Commits

Author SHA1 Message Date
jst%mozilla.org
116af3ce87 Fixing bug 366082. Prevent Adobe Acrobat from loading URLs other than http:, https:, or ftp: w/o specifying a target. r+sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@219081 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 19:50:37 +00:00
bent.mozilla%gmail.com
17ce909e89 Bug 367059 - 'Reversed assertion test in PopException ("Uh, no NPP exception to pop!")'. r=josh, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@218541 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 21:06:38 +00:00
joshmoz%gmail.com
8132f7fdfa follow-up to the fix for bug 344425, supporting NP_GetEntryPoints on Intel Mac OS X. Use NPAPI error values. b=344425
git-svn-id: svn://10.0.0.236/trunk@212148 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 06:40:48 +00:00
joshmoz%gmail.com
07ed0da561 support NP_GetEntryPoints on Intel Mac OS X. If NP_GEP does not exist, we still try to use main() for compatibility. b=344425 r=sayrer sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@212124 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-21 19:32:30 +00:00
dbaron%dbaron.org
b3ece9b8b4 Be more careful pushing/popping contexts. b=352264 r=jst sr=bzbarsky/jst
git-svn-id: svn://10.0.0.236/trunk@209916 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 22:58:11 +00:00
mrbkap%gmail.com
449e20d4f6 Fix GC hazards in the plugin code. Add a "close friend" API for JSTempValueRooters for use from C++. bug 347054, r=brendan sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@206518 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 20:39:45 +00:00
timeless%mozdev.org
9aa4ffcfad Bug 336968 Function: _getvalue does not dereference "result" after assigning to *result
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@200826 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-25 07:34:52 +00:00
timeless%mozdev.org
0838fdb344 Bug 336968 Function: _getvalue does not dereference "result" after assigning to *result
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@200824 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-25 07:18:48 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
mrbkap%gmail.com
0b7523274b Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan
git-svn-id: svn://10.0.0.236/trunk@199768 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 22:39:55 +00:00
mark%moxienet.com
64a5651436 333121 BROKEN_PLUGIN_HACK (313347) can be removed. A fixed Flash plugin is available (8.0.27/x86) and was included with Mac OS X 10.4.6/x86. r=josh sr=pink
git-svn-id: svn://10.0.0.236/trunk@195272 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 18:29:16 +00:00
jst%mozilla.jstenback.com
dc4b19a5f8 Landing fix for bug 296159. Adding support for NPObject enumeration to npruntime. Patch by alfred.peng@sun.com, r=mrbkap@gmail.com, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@191449 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 00:13:38 +00:00
mark%moxienet.com
79e6a5bc5d 313347 Flash plugin crashes browser on Mac OS X/x86. Work around broken plugin's bugs with BROKEN_PLUGIN_HACK. r=josh sr=bryner
git-svn-id: svn://10.0.0.236/trunk@190142 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 21:11:21 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
joshmoz%gmail.com
f0136cd3e8 don't free TVector glue that wasn't allocated on Intel Macs. Patch by Eric Albert. b=313347 r=mento sr=smfr
git-svn-id: svn://10.0.0.236/trunk@184174 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-05 02:25:32 +00:00
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