560 Commits

Author SHA1 Message Date
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
jst%mozilla.jstenback.com
8baedd20f5 Fixing bug 311388, crash in nsPluginHostImpl::IsPluginEnabledForExtension(). What seems to be the problem here is that when a plugin is first seen and it does not support any file extensions we end up with a null mExtensionsArray in a nsPluginInfo object, and all other places in the code already check for this, but not IsPluginEnabledForExtension(). r=mrbkap@gmail.com, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@182565 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 00:28:35 +00:00
cbiesinger%web.de
054912c09e bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@180762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 19:14:30 +00:00
bzbarsky%mit.edu
46732657ad Fix bug 300756. Make sure we can find a JS context when tearing down plugins
even with fastback enabled. Patch by jst, r=shaver@mozilla.org, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@180462 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-17 03:40:08 +00:00
cbiesinger%web.de
d3f83af35c return a better error code when content policy blocked the load
followup to bug 305565, r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@179798 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 16:32:52 +00:00
brendan%mozilla.org
632884c220 Branch version of patch for bug 305565 (r/sr=jst/bz).
git-svn-id: svn://10.0.0.236/trunk@179771 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 02:39:51 +00:00
joshmoz%gmail.com
2de703e3a3 bustage fix from bug 303815
git-svn-id: svn://10.0.0.236/trunk@177318 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 08:26:19 +00:00
joshmoz%gmail.com
c33f5ab374 clean up Mac OS X plugin scriptability check so that it works with x86 Macs and uses pre-defined Apple macros for executable file headers instead of hard-coding them. b=303815 r=mento sr=smfr a=asa
git-svn-id: svn://10.0.0.236/trunk@177317 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 08:03:41 +00:00
joshmoz%gmail.com
d417c6262f clean up old mac code and comments. b=191567 r=dougt sr=smfr a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177283 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 07:05:09 +00:00
bzbarsky%mit.edu
4c3650c08a Make content-encoded plugin data work even if there is no content-length
header.  Bug 300438, r=jst, sr=darin, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176453 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 18:29:34 +00:00
dougt%meer.net
e434493cac Making plugins work on Windows CE. There many crashes do to subclassing. This addresses those problem by not subclassing. This is WinCE only. r/sr=jst. a=asa. Relanding
git-svn-id: svn://10.0.0.236/trunk@176036 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 19:08:20 +00:00
dougt%meer.net
3bc42cf974 Backing out my changes in the last few hours because Chase is tagging the tree. (the tree was open, but he was tagging)
git-svn-id: svn://10.0.0.236/trunk@175970 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-12 22:01:25 +00:00
dougt%meer.net
63c068e38a Making plugins work on Windows CE. There many crashes do to subclassing. This addresses those problem by not subclassing. This is WinCE only. r/sr=jst. a=asa
git-svn-id: svn://10.0.0.236/trunk@175969 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-12 21:52:35 +00:00
timeless%mozdev.org
b048e1083d Bug 292348 NewEmbededPluginStream misspelled
patch by pythonesque+bugzilla@gmail.com r=jst sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@174323 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 23:42:15 +00:00
timeless%mozdev.org
9bd876db45 Bug 207306 plugin host should be destoryed on Observe() "NS_XPCOM_SHUTDOWN_OBSERVER_ID" rarther than on "quit-application"
patch by bugspam.Callek@gmail.com r=jst sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@172933 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-01 22:28:46 +00:00
cbiesinger%web.de
cbe02fbeff 292355 send the document's URI as referrer, instead of the document's base URI
r=jst sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@172927 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-01 13:08:14 +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
darin%meer.net
2dde554a7c fixes regression bug 287690 "applet crashes Firefox" r=dmose
git-svn-id: svn://10.0.0.236/trunk@171221 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 21:33:12 +00:00
darin%meer.net
c7bc8f9e5d landing patch for bug 282442 "Provide interface for configuring proxies" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171190 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 03:41:33 +00:00
bsmedberg%covad.net
f4f72beaa1 Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey)
git-svn-id: svn://10.0.0.236/trunk@170499 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 04:38:35 +00:00
ben%bengoodger.com
d7fb3e8ff7 282106 - need a reliable way to disable full page plugins. make plugin host disable disabled full page plugins on initialization. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@169838 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 09:05:15 +00:00
jst%mozilla.jstenback.com
e6d8023709 Fixing bug 281284. Don't share the plugin temp directory among all users on the same system, and don't delete directories we didn't create. r=peterv@propagandism.org, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@169137 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-11 23:37:51 +00:00
dbaron%dbaron.org
2b0e25d7a2 Fix common misspelling of delimiter and delimited (de-limit-er, not deli-meter). b=106386 r=timeless
git-svn-id: svn://10.0.0.236/trunk@168825 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 00:49:25 +00:00
jst%mozilla.jstenback.com
62b4118e13 Fixing bug 280664. Do security check for URI loads, no matter what plugin they come from. r=dveditz@cruzio.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@168797 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 16:54:11 +00:00
silver%warwickcompsoc.co.uk
30f9569ff8 Bug 188557 - Fix chrome: URL for brand.properties.
r=kairo
sr=bz


git-svn-id: svn://10.0.0.236/trunk@168527 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-30 17:58:04 +00:00
timeless%mozdev.org
52e1f91c42 Bug 273056 PluginArrayImpl::GetLength should not throw if there's no plugin host, and PluginArrayImpl::GetPlugins should handle no plugin host and failure from mPluginHost->GetPlugins
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@167888 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 14:41:45 +00:00
neil%parkwaycc.co.uk
b0c4944d0a Bug 188557 Application name should not be hard-coded in "Illegal plug-in operation" dialog p=bugmail@q1n.org r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@167666 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 12:46:52 +00:00