1811 Commits

Author SHA1 Message Date
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
joshmoz%gmail.com
f0136cd3e8 don't free TVector glue that wasn't allocated on Intel Macs. Patch by Eric Albert. b=313347 r=mento sr=smfr
git-svn-id: svn://10.0.0.236/trunk@184174 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-05 02:25:32 +00:00
jst%mozilla.jstenback.com
cb8100fda5 Fixing bug 309044. Fix problem with errors being thrown if a plugin element for a scriptable plugin is being used after the plugin element was removed from the DOM tree. r=mrbkap@gmail.com/bzbarsky@mit.edu, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@184122 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 01:01:08 +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
bzbarsky%mit.edu
6ef51f82b9 Fix bug 297832. Patch by David H. Gutteridge <dhgutteridge@hotmail.com>, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@181809 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 03:02:20 +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
masayuki%d-toybox.com
34356f5802 Bug 306209 Should fire NS_FOCUSCONTENT event on nsPluginInstanceOwner by clicking plugin's content patch by VYV03354@nifty.ne.jp r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@180488 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 09:41:37 +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
bzbarsky%mit.edu
b8e0480ec5 Keep the results of EvaluateStringWithValue properly alive while we're using
them, and make sure we don't GC the xbl property getter when we create the
setter.  Bug 299205, r=jst, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@180397 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 15:44:59 +00:00
cbiesinger%web.de
b3be3bfd29 bug 307879 destroy the stream in the nullplugin
r=jst sr=darin


git-svn-id: svn://10.0.0.236/trunk@180291 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 16:06:31 +00:00
bzbarsky%mit.edu
45fb1a27d9 Attempt to fix some plugin leaks. Bug 302737, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@180214 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 17:17:25 +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
cbiesinger%web.de
16e3eb564e bug 301052 call NPN_{Push,Pop}PopupsEnabledState around window opening
functions, so that they don't get blocked
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@179790 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 12:54:11 +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
smfr%smfr.org
1a7cd8ad68 Fix bug 306177: fix the "click here to get the plugin" action of the Default Plugin by enabling popups from the plugin. r=mark, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@179636 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 19:30:32 +00:00
smfr%smfr.org
8d7f1b51a8 Fix the signatures of NPN_PushPopupsEnabledState(), NPN_PopPopupsEnabledState() (fallout from bug 176079). r/sr=jst, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@179199 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 15:09:27 +00:00
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +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
c77e3c84e0 don't translate mach-o function pointers to CFM unless we're on ppc Mac OS X. b=303345 r=pinkerton sr=smfr a=asa
git-svn-id: svn://10.0.0.236/trunk@177309 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 04:29:34 +00:00
joshmoz%gmail.com
711071fb82 bustage fix. I typed the wrong bug number into the comment for the original patch. b=297600
git-svn-id: svn://10.0.0.236/trunk@177285 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 07:54:50 +00:00
joshmoz%gmail.com
6e91a4c53b Verify (on Mac OS X only) that plugins are useable. Among other things, now we don't load CFM plugins on x86 Macs (CFM executables can't be used on x86 Macs). Note: This patch considers Universal Binary plugins to be useable, but we don't actually support them yet. We should and we will soon. b=191749 r=mento sr=smfr a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177284 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 07:12:11 +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
timeless%mozdev.org
786bcf4000 Bug 300572 FF11a2 Crash in [@ js_SetSlotThreadSafe] with new Shockwave Flash beta 8.0 b434
r=jst sr=jst a=shaver


git-svn-id: svn://10.0.0.236/trunk@176321 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 12:36:55 +00:00
pete.zha%sun.com
45016d4837 bug 293972 npruntime API does not support ambiguous members
r=jst sr=brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@176078 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 02:36:41 +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
33b7e8bdaf Bug 283542 OOM crash [@ nsSanePluginInstance::GetDeviceOptions][@ nsSanePluginInstance::GetActiveDevice]
patch by b.jacques@planet.nl r=jst sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@175467 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:28:17 +00:00
joshmoz%gmail.com
9f29512f53 better support for per-build configuration. patch by Mark Mentovai. b=296900 r=josh r=cls a=asa
git-svn-id: svn://10.0.0.236/trunk@174865 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 19:24:51 +00:00
jst%mozilla.jstenback.com
cb97d7d6da Fixing bugstage.
git-svn-id: svn://10.0.0.236/trunk@174816 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-18 07:59:49 +00:00
jst%mozilla.jstenback.com
29d3488af3 Fixing bugstage.
git-svn-id: svn://10.0.0.236/trunk@174815 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-18 07:17:11 +00:00
jst%mozilla.jstenback.com
c9a2d89818 Fixing bug 176079. Provide an API for plugins to control whether popups are enabled or not. Disable popups by default from plugins, but enable/disable popups while handling user input events (mouse click, keydown etc) on the platforms where it's possible (Win32 and Mac), but do that only if the plugin doesn't support the popup enabling/disabling API. r+sr+a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174814 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-18 06:06:45 +00:00
pkw%us.ibm.com
98e07328d3 Bug 297807 - Java 1.4.2 SR2 plug-in and later cause Mozilla to crash.
r=mozilla@kaply.com, sr=darin@meer.net, a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@174777 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 17:02:05 +00:00
dougt%meer.net
5ad50e9b43 * Fixes some build problems when trying to build non-static. (removing link
libraries that don't exist on Windows CE)

* Taking xxx advice and making GetNAME always return a GDI forcing us to use
GetTextMetrics instead of GetFontData (which doesn't exist on Windows CE)

* Windows CE on ARM doesn't support C++ exceptions.  In the windows plugin code
uses catches to ensure that the plugins don't crash mozilla.  On windows ce on
arm, we have no choice but to disable CALL_SAFETY_ON.

* On Windows CE, VerQueryValue internal structure can not be modified so
callers must do a bit of string conversion.

* Disabling more code in nsOSHelperAppService for Windows CE.

* Enabling the Windows Registry code in XPCOM since the Window CE shunt now
supports the limited set needed (all but notification).

Bug=297683, r=Ere Maijala, sr=Dan Veditz, a=Asa


git-svn-id: svn://10.0.0.236/trunk@174725 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 21:20:45 +00:00
joshmoz%gmail.com
b3c8eed3c3 gcc 4 fixes for Mac OS X. part 1 of the landing. Patch by Mark Mentovai. b=294244 r=josh sr=darin a=dbaron
git-svn-id: svn://10.0.0.236/trunk@174618 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 03:49:26 +00:00
joshmoz%gmail.com
8ed8827e98 get rid of 68k mac and classic mac os references from plugin code. cleanup only. no bug. r=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@174532 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-13 22:31:39 +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
dougt%meer.net
c4e6e2a6f1 Bug 295481. WINCE Fixes. This includes changes to make the makefiles do the right thing if we try to build Minimo and XUL together. These changes rs=bsmedberg. Further WINCE fixes in GFX and Widget. r=emaijala, sr=rbs, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174301 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 16:48:44 +00:00
joshmoz%gmail.com
c9caca1b15 build on Xcode 2.1 which uses per-build configuration build directories. b=296900 r=josh r=cls r=bsmedberg a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@174270 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 02:50:56 +00:00
cls%seawood.org
68e80d111a Path translation fixes for msys.
Thanks to Howard Chu <hyc@symas.com> for the patches.
Bug #294122 r=cls a=shaver


git-svn-id: svn://10.0.0.236/trunk@174033 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 04:00:37 +00:00
joshmoz%gmail.com
a44a0993d3 more bustage fixes for Mac OS X 10.4 build patch. by Mark Mentovai. b=292530
git-svn-id: svn://10.0.0.236/trunk@173985 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 21:15:09 +00:00
joshmoz%gmail.com
3acd8a928a more bustage fixes for Mac OS X 10.4 "Tiger" build patch, by Mark Mentovai. b=292530
git-svn-id: svn://10.0.0.236/trunk@173978 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 20:52:53 +00:00
joshmoz%gmail.com
86c38128da fix building on Mac OS X 10.3.x "Panther". Patch by Mark Mentovai. b=292530 r=me
git-svn-id: svn://10.0.0.236/trunk@173971 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 20:13:21 +00:00
joshmoz%gmail.com
e578f68c52 more Mac OS X 10.4 "Tiger" build stuff. Patch my Mark Mentovai. b=292530 r=josh r=pinkerton r=cls sr=bryner a=brendan
git-svn-id: svn://10.0.0.236/trunk@173954 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 18:53:30 +00:00
bugzilla%arlen.demon.co.uk
2652a93dfa Bug 259325 build error on OpenBSD
p=ajschult@verizon.net r=benjamin sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@173607 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 21:49:42 +00:00
bzbarsky%mit.edu
27a294faff Removing bogus semicolon. Bug 289051, problem found by lvcipriani@yahoo.com
git-svn-id: svn://10.0.0.236/trunk@173368 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 17:49:43 +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