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
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
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
bzbarsky%mit.edu
63d4f0df54
Don't hand ownership of stuff allocated with nsMemory to the JS engine just like that. Bug 353108, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@221055 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 02:30:26 +00:00
asqueella%gmail.com
4852fb3149
Bug 368185 - Clean up plugin files; changing class declarations to use macros
...
p=Kevin Zhang <kevin.heart@gmail.com>
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@220486 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-17 18:44:42 +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
86b284ddcc
back out part of 346954 to fix Flash when migrating a profile from PPC to x86. b=356694 r=sayrer sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@214964 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 16:43:17 +00:00
gavin%gavinsharp.com
ca1da199fb
Bug 333387: crash [@ ns4xPluginInstance::Print], patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@214769 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 14:51:52 +00:00
timeless%mozdev.org
c6467de559
Bug 106386 Correct misspellings in source code
...
r=glennrp@gmail.com , bclary@bclary.com rs=brendan
git-svn-id: svn://10.0.0.236/trunk@214560 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 23:02:18 +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