pavlov%pavlov.net
09bcd91aea
bug 422024. work around bad plugins causing a crash by using the wrong allocator to allocate. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@251011 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-01 00:17:54 +00:00
gavin%gavinsharp.com
fb38d94c5a
Fix wrapping nit from bug 412770
...
git-svn-id: svn://10.0.0.236/trunk@250734 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 23:32:50 +00:00
gavin%gavinsharp.com
47bd194bf5
Bug 412770: Add ability to monitor plug-ins at run-time, patch by Fima Kachinski <xrayon@gmail.com>, r+sr=roc, sr=jst, a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@250732 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 23:24:21 +00:00
timeless%mozdev.org
902ba9d078
Bug 423414 wmp called npapi on the wrong thread crashing [@ JS_RestoreFrameChain]
...
r=jst a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248866 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-30 15:23:21 +00:00
timeless%mozdev.org
51c949da69
Bug 425398 passed 0 identifier [@ NS_ConvertUTF8toUTF16 - doGetIdentifier - _getstringidentifier]
...
r=jst sr=jst a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248865 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-30 14:55:42 +00:00
timeless%mozdev.org
61a5f8d8da
backing out
...
git-svn-id: svn://10.0.0.236/trunk@248864 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-30 14:41:47 +00:00
timeless%mozdev.org
8a1c7f5713
Bug 425398 passed 0 identifier [@ NS_ConvertUTF8toUTF16 - doGetIdentifier - _getstringidentifier]
...
r=jst sr=jst a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248863 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-30 14:26:43 +00:00
jst%mozilla.org
ed52909cca
Fixing bug 410946. Prevent plugins from being destroyed while there's code from those plugins on the stack. r+sr=bzbarsky@mit.edu, a=beltzner@mozilla.com
...
git-svn-id: svn://10.0.0.236/trunk@246771 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 02:06:00 +00:00
jst%mozilla.org
767825b65d
Fixing bug 410853. Make NPN_Evaluate() pass in a sensible script file name argument when possible to get the appropriate wrapper automation when necessary. r=jonas@sicking.cc, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@243080 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 00:51:29 +00:00
joshmoz%gmail.com
d2150b170c
Fix npapi so that drawing models users can compile properly. Need NPPV version of NPNVpluginDrawingModel. Original patch by Shane Caraveo. API compat patch for WebKit is WebKit bug 15946, WebKit patch by Josh committed. b=403418 r=josh sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@239352 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 20:02:03 +00:00
jst%mozilla.org
4ac99f461f
Fixing bug 393928. Lazily initialize liveconnect, and only initialize it when we can't find a Java plugin that supports NPRuntime. When a Java plugin that supports NPRuntime is found, use NPRuntime to expose liveconnect functionality (i.e. window.java and window.Packages). r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu, a=jonas@sicking.cc
...
git-svn-id: svn://10.0.0.236/trunk@237500 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 01:24:29 +00:00
roc+%cs.cmu.edu
99b7b3f9f7
Bug 386537. Provide a reliable way for plugins to detect whether windowless mode is available. patch by karlt, r+sr=jst, a=jonas
...
git-svn-id: svn://10.0.0.236/trunk@234001 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 01:45:09 +00:00
jst%mozilla.org
b696ec4e36
Attempting to fix bug 354380. Add safe guard against prematurely deleted scriptable plugin objects. r=mrbkap@gmail.com, sr=jonas@sicking.cc
...
git-svn-id: svn://10.0.0.236/trunk@231756 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:22:26 +00:00
flamingice%sourmilk.net
9fd94c867a
Bug 330108, ISO C++ forbids casting between pointer-to-function and pointer-to-object (use PR_FindFunctionSymbol), r=jst, sr=biesi
...
git-svn-id: svn://10.0.0.236/trunk@230126 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 20:02:43 +00:00
jst%mozilla.org
cef787c893
Attempting to fix Solaris build bustage (bug 386773). Patch by ginn.chen@sun.com, r+sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@229840 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:38:11 +00:00
jst%mozilla.org
8d1e562b75
Fixing bug 386773. Add implementation for NPN_PluginThreadAsyncCall(). r=joshmoz@gmail.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@229765 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 23:25:46 +00:00
roc+%cs.cmu.edu
49a0c5d642
Bug 384988. Provide toplevel window to plugins for WM_TRANSIENT_FOR of dialog boxes. patch by Karl Tomlinson,r+sr=roc,jst
...
git-svn-id: svn://10.0.0.236/trunk@229221 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 03:41:34 +00:00
flamingice%sourmilk.net
862c224695
Bug 380984, NPAPI symbols hidden in libnullplugin.so and libunixprintplugin.so, Patch by Karl Tomlinson, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@228794 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 00:41:08 +00:00
mats.palmgren%bredband.net
5162274ddd
Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@225306 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 23:52:44 +00:00
benjamin%smedbergs.us
7262cdad6d
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
...
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
joshmoz%gmail.com
3de7a673b3
Implement CoreGraphics NPAPI Drawing Model. NPAPI plugins now have the option to render using CoreGraphics instead of Quickdraw. b=344427 r=sfraser sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@222440 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 01:07:58 +00:00
joshmoz%gmail.com
8f5a2d1a64
return values of the correct type, other cleanup. no bug. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@222058 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 02:35:56 +00:00
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