1367 Commits

Author SHA1 Message Date
blassey%mozilla.com
ca294d36ae backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox
git-svn-id: svn://10.0.0.236/trunk@247139 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 22:56:48 +00:00
blassey%mozilla.com
e7090aa85c switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247132 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 21:39:35 +00:00
mats.palmgren%bredband.net
9ab69fdc0b Hang when reloading page with plugin. b=420884 r+sr=jst a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@247078 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 07:14:58 +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
83f2b161c1 Landing fix for bug 328675. Working around a real player plugin bug where it recurses to death in certain circumstances. Patch by martijn.martijn@gmail.com, r+sr=jst@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@246622 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 04:35:20 +00:00
jst%mozilla.org
9500237e99 Fixing bug 414639. Don't prevent SetWindow() from being called on a Java plugin whose width or height is 0. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@244446 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 02:32:38 +00:00
jst%mozilla.org
456f40ce6c Fixing bug 408257. Make JS executed from plugins reset the slow script timeout if not called from within JS. r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@243647 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 05:34:17 +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
jst%mozilla.org
de63e533a4 Fixing bug 411040. Make NPN_RemoveProperty() return false if the property wasn't deleted (due to silent failure per ecma). r+sr+a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@242855 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 21:44:06 +00:00
reed%reedloden.com
bbe4da4745 Bug 333701 - "Hopefully useless null check in nsPluginStreamListenerPeer::Initialize" [p=ispiked@gmail.com (Adam Guthrie) r=biesi a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@242285 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-03 06:22:50 +00:00
jst%mozilla.org
bb905ff424 Fixing bug 406251. Make NPVariant to jsval conversion do the right thing with large integer values. r+sr=peterv@propagandism.org, a=dsicore@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@240370 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 00:33:48 +00:00
jst%mozilla.org
1f9be6cc6e Fixing bug 406040. Paving the way for the new NPRuntime enabled Java plugin, making Firefox able to find the new plugin when installed alongside the old plugin. Patch by kenneth.russell@sun.com, r=robert.bugzilla@gmail.com, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@240206 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 08:12:22 +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
406a26faf3 Fixing bug 386493. Work around WMP plugin bug where it's unable to process incoming data while waiting for initialiation streams. r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@239188 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 06:07:10 +00:00
reed%reedloden.com
b10b2f07d7 Bug 398313 - "Java plugin doesn't show up in disabled state (Add-ons Manager)" [p=Mossop r+sr=jst a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238890 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 09:06:40 +00:00
jst%mozilla.org
d217e1186f Fixing bug 398446. Make sure any JS exceptions thrown while plugins invoke JS are reported before we return control to the plugin. r+sr=mrbkap@gmail.com, a=dsicore@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@238585 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-06 17:56:03 +00:00
jst%mozilla.org
781a3ccd47 Fixing bug 401053. Make sure to initialize LiveConnect any time a Java applet is loaded, no matter what markup was used to load the applet. r+sr=dveditz@cruzio.com, a=dsicore@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@238400 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-31 22:52:11 +00:00
jst%mozilla.org
3fec1c19ba Fixing bug 400619. Make sure to push the JS context onto the JS context stack in NP_HasProperty() to make sure the JS calls in that function work even when called w/o any JS on the stack. r+sr=jonas@sickin.cc, a=drivers.
git-svn-id: svn://10.0.0.236/trunk@238176 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-25 22:21:04 +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
ginn.chen%sun.com
a4f4f7e6b1 Fix bustage bug 397992
git-svn-id: svn://10.0.0.236/trunk@237069 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 10:31:18 +00:00
ginn.chen%sun.com
5189bb7e7f Bug 397992 Gtk-CRITICAL assertion `GTK_IS_WIDGET (widget)' failed at exit Firefox
r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@237068 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 10:07:17 +00:00
sayrer%gmail.com
dedc247d0e Bug 396828. 'Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread' within ns4xPluginInstance::Stop. r=jst, sr=brendan, a=jst
git-svn-id: svn://10.0.0.236/trunk@236938 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-30 06:19:52 +00:00
reed%reedloden.com
7bde555731 Bug 386844 - "Crash when running Java Applets [@ XSync - JavaPluginInstance5::SetWindow]" (move ws_info and xtbin code from ns4xPluginInstance to nsPluginNativeWindowGtk2) [p=karlt r+sr+a1.9=jst]
git-svn-id: svn://10.0.0.236/trunk@236906 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 07:08:14 +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
jag%tty.nl
bcbca15783 Bug 394139: Replace a bunch of NS_DEFINE_CIDs with CONTRACTIDs. r=/sr=/a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@233931 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 13:05:02 +00:00
flamingice%sourmilk.net
08a43fa27e Bug 392125, Java plugin doesn't stay disabled on restart when disabled via plugin manager, r+sr=jst, a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@233865 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-04 18:19:31 +00:00
jst%mozilla.org
38384a58b8 Fixing bug 394086. Pave the way for java applets that are scriptable using NPRuntime. r+sr=cbiesinger@gmx.at
git-svn-id: svn://10.0.0.236/trunk@233263 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 00:28:33 +00:00
jst%mozilla.org
e6ebedbee1 Fixing bug 392505. Make nsNPObjWrapper::GetNewOrUsed() remove entries from the right hash table when out of memory. r+sr=peterv@propagandism.org, a=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@233172 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-27 23:55:47 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
bzbarsky%mit.edu
b9d92a233a Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal
and a uri.  Get the URI from the principal.  Bug 391438, r+sr+a=sicking


git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
jst%mozilla.org
4abaf2e122 Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@231758 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:30:30 +00:00
jst%mozilla.org
73f819209c Fixing bug 391182. Remove bogus assertion introduced by one of the fixes for bug 347743. r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@231757 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:25:03 +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
bzbarsky%mit.edu
3811c88532 Use the principal doing the load to decide on the URI to pass to content
policies.  This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system.  Bug 388597, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
sharparrow1%yahoo.com
d4c4831d97 Part 1 of bug 347743, try 2. Patch by Johnny Stenback, r=brendan, sr=jonas, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@231536 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 17:19:55 +00:00
sharparrow1%yahoo.com
fe76890851 Back out for bug 347743.
git-svn-id: svn://10.0.0.236/trunk@231535 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 16:49:59 +00:00
sharparrow1%yahoo.com
05341b3180 Part 1 of bug 347743. Patch by Johnny Stenback, r=brendan, sr=jonas, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@231534 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 16:36:03 +00:00
flamingice%sourmilk.net
31620acf83 Bug 367816, mimeTypes[] array not refreshed on Java installation, r+sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@231447 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-03 22:57:54 +00:00
flamingice%sourmilk.net
cb341d9364 Bug 389486, Move pluginreg.dat to profile directory, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@231041 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 07:01:22 +00:00
flamingice%sourmilk.net
a4b1d9a5e0 Bug 388977, Only compile nsPluginDirServiceProvider.cpp on Windows, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@230386 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 20:34:51 +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
flamingice%sourmilk.net
499adb6a0e Bug 330511, Plugin-in blocklisting, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229935 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 00:28:06 +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
philringnalda%gmail.com
07b658c1fe Bug 387067 - Quiet printfs in nsPluginHostImpl.cpp, patch by Ryan Jones <sciguyryan@gmail.com>, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229518 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-09 00:36:33 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
flamingice%sourmilk.net
d0107de688 Bug 382367, Add support for enabling and disabling individual plugins, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229281 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 21:42:35 +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
roc+%cs.cmu.edu
8d279490c0 Bug 384845. Make the NPSetWindowCallbackStruct memory associated with
window->ws_info available before SetWindow is called, and disable the plugin
window GtkSocket or xtbin creation for windowless plugins.
patch by Karl Tomlinson, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@229218 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 03:29:47 +00:00
flamingice%sourmilk.net
407cc47b6e Backing out bug 382367 due to potential crashes (bug 386160)
git-svn-id: svn://10.0.0.236/trunk@228941 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 17:51:10 +00:00