586 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
sayrer%gmail.com
4b8ca2af78 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@209419 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 04:35:17 +00:00
sayrer%gmail.com
8ef3690d14 Bug 346954. feed MIME types trigger plugin reloads. Check for the file in the cache before we root around in the bundles and executables. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@208729 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 18:58:38 +00:00
bzbarsky%mit.edu
a03439b0a2 Don't show the plugin wizard for plugins that are actually disabled (only Java
at the moment).  Bug 344923, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@207202 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 02:13:24 +00:00
dveditz%cruzio.com
f869942298 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin


git-svn-id: svn://10.0.0.236/trunk@200610 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:07:30 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
timeless%mozdev.org
adc085ea1f Bug 336989 Useless null check of aOwner in nsPluginHostImpl::InstantiateEmbeddedPlugin
Also fixing a spelling error which happens to appear in pluginhostimpl and xpconnect sample
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@198970 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:23:45 +00:00
mark%moxienet.com
1c1171ff7f 339238 Java doesn't work when MRJPlugin.plugin is a symbolic link. CFBundleCopyExecutableURL doesn't return a proper URL for bundles whose roots are referred to by symlink. Resolve bundle paths when they are symbolic links. r=josh sr=darin
git-svn-id: svn://10.0.0.236/trunk@198465 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-26 17:56:18 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
gavin%gavinsharp.com
1c0d90bb52 Bug 334687: Possible null pointer dereference in nsPluginHostImpl.cpp, patch by Ryan Flint <rflint@dslr.net>, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195648 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 17:25:48 +00:00
leon.sha%sun.com
7fe75840bb Bug 106386 Correct misspellings in source code.
Patch by Alfred.Peng@Sun.COM.
timeless: review+


git-svn-id: svn://10.0.0.236/trunk@195634 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 07:11:32 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
leon.sha%sun.com
6bc97c9b94 Bug 293987 Mozilla cannot open PDF document via proxy and It crash after close the tab when it loaded.
Patch by leon.sha@sun.com
darin: review+
shaver: superreview+


git-svn-id: svn://10.0.0.236/trunk@189938 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 08:13:51 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
1510aacc39 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
bzbarsky%mit.edu
2cf85892c1 Don't leak void array members on early return. Bug 273022, patch by jpl24
<jlurz24@gmail.com>, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@187814 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 03:40:06 +00:00
joshmoz%gmail.com
be393ff026 Update old email addresses for Josh Aas.
git-svn-id: svn://10.0.0.236/trunk@186993 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 17:07:01 +00:00
cbiesinger%web.de
699b5b54d1 bug 322319 patch by Christian Franke <Franke@computer.org> r=biesi sr=jst
git-svn-id: svn://10.0.0.236/trunk@186977 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 13:12:46 +00:00
cbiesinger%web.de
ec7f2d3bc5 Bug 316455 Remove nsIPluginInstanceOwner::PluginNotAvailable, which is pointless
now that plugin loading has been rewritten in bug 1156 / bug 309521
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186777 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-01 11:28:35 +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
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
joshmoz%gmail.com
b9122e4f74 remove XP_MAC, cleanup. b=281889 r=mento sr=smfr
git-svn-id: svn://10.0.0.236/trunk@184408 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 17:45:59 +00:00
bsmedberg%covad.net
d2bfe31839 Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst
git-svn-id: svn://10.0.0.236/trunk@184401 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 16:19:44 +00:00
bzbarsky%mit.edu
56fc0d4534 When java is disabled in preferences, the plugin host shouldn't claim it's
supported.  Bug 310021, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@184213 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 18:34:03 +00:00