155 Commits

Author SHA1 Message Date
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
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