1395 Commits

Author SHA1 Message Date
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
flamingice%sourmilk.net
f41f184e12 Bug 382367, Add support for enabling and disabling individual plugins, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@228913 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 00:56:09 +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
kherron%fmailbox.com
dd7c9d0784 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@228200 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-17 13:50:53 +00:00
jst%mozilla.org
00b2c57d72 Landing fix for bug 342810. Fixing leak of nsRunnable (huge leak on some flash sites). Patch by jmathies@mozilla.com, r+sr=jst@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@228121 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 16:23:45 +00:00
bzbarsky%mit.edu
84fb4a6c9d Make plug-in loads of javascript: URIs execute synchronously. Bug 364028,
r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@228006 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-13 22:42:08 +00:00
mozilla%weilbacher.org
c601a0b3b2 Bug 380196: Kill QT graphics code, p=sciguyryan, r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@227762 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-10 22:13:12 +00:00
bzbarsky%mit.edu
b01c3fd982 Fix refcounting of some event objects to not leak. Bug 342810, investigation
by Jim Mathies <jmathies@mozilla.com>, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@227671 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 21:41:46 +00:00
bzbarsky%mit.edu
d2d337437c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(0) to using this API.  Bug 378780.  API introduction part by me,
r+sr=jst.  Mass-changes done by taras using squash, r+sr=me


git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +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
jst%mozilla.org
bfd529c86c Possible fix for bug 354595. Deal with PL_DHashTableOperate() returning null as it does when out of memory. Fix found by raymond@lala.com, r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@224663 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 23:10:20 +00:00
timeless%mozdev.org
5bf97dd24f Bug 370063 OpenBSD: sync with reality - they define uint32_t and bool
changes by one of pvalchev@openbsd.org, wilfried@openbsd.org, robert@openbsd.org, or naddy@openbsd.org (or at least Martynas Venckus thinks it was one of them)
patch by martynas@openbsd.org
correct spelling thanks to vicviq@gmail.com
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@224211 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-05 11:21:59 +00:00
joshmoz%gmail.com
62981c2fe6 URLs requested by plugins should trigger content policies. Patch by Wladimir Palant. b=375435 r=josh sr=jst
git-svn-id: svn://10.0.0.236/trunk@224195 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-05 01:56:32 +00:00
emaijala%kolumbus.fi
7f76892a18 Fix for bug 293062: Mozilla should read HKEY_CURRENT_USER\Software\MozillaPlugin
r=neil
sr=roc


git-svn-id: svn://10.0.0.236/trunk@224080 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-03 15:56:31 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +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
mats.palmgren%bredband.net
da63a34e5c Hold a strong ref on the plugin instance to prevent destruction of the plugin native window object while processing the event. b=374229 r=emaijala sr=roc
git-svn-id: svn://10.0.0.236/trunk@222311 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-24 09:45:51 +00:00
jst%mozilla.org
e220a84a7f s/!NS_SUCCEEDED/NS_FAILED/ for bug 299054.
git-svn-id: svn://10.0.0.236/trunk@222284 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 20:35:04 +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
d63e915fd9 Landing fix from dmeketa@macromedia.com for bug 299054. Adding support for exposing HTTP headers on plugin streams. r=joshmoz@gmail.com, sr=jst@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@221997 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-16 23:53:16 +00:00
joshmoz%gmail.com
3de2326b72 remove backward adapter plugin code for 3.0/4.0 plugin compat. nobody should be using it any more and in any case it doesn't belong in the samples directory. b=373155 sr=jst
git-svn-id: svn://10.0.0.236/trunk@221839 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-13 22:18:04 +00:00
bzbarsky%mit.edu
ddbac936b1 We do want to execute javascript: URLs that plug-ins load. Bug 372346, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@221216 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 08:38:31 +00:00