Commit Graph

1623 Commits

Author SHA1 Message Date
dbaron%dbaron.org
fe8087e2b7 Landing patch from mrbkap: Fix GC hazards in the plugin code. Add a "close friend" API for JSTempValueRooters for use from C++. bug 347054, r=brendan sr=dbaron a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206783 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 23:20:48 +00:00
bzbarsky%mit.edu
e65f8a086f Attempt to fix some plugin leaks. Bug 302737, r+sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203220 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 03:18:30 +00:00
dveditz%cruzio.com
4f8722b7ce Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin, a=mconnor (1.8), a=jay (1.8.0)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200612 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:13:02 +00:00
mozilla%weilbacher.org
deded749fd [OS/2] Bug 259140 Update default plugin r/sr=mkaply, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200025 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 19:23:48 +00:00
dougt%meer.net
ffd09c50cc fixing build bustage on linux arm. b=319587 r=dougt. Minimo only.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198719 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 03:59:47 +00:00
dougt%meer.net
5a126f57f0 Disabling sample plugin on MINIMO. minimo-only. fixes build bustage.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198692 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 23:17:16 +00:00
gavin%gavinsharp.com
242b7d3085 Bug 265871: rename JavaScript console to Error console, patch by Kurt <supernova_00@yahoo.com>, r+a181=mconnor, ui-r=beltzner, sr=neil/bzbarsky
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198677 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 20:46:08 +00:00
mark%moxienet.com
5556f3706b 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 a/1.8.1=me (Mac-only)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198665 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 19:38:54 +00:00
wr%rosenauer.org
8af84ab7d8 Bug 329205 - 64-bit Firefox crashes when it fails to load libjavaplugin_oji.so plugin, r=timeless, sr=roc, a=jst, patch by ganesh.mozilla@gmail.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195232 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:06:48 +00:00
bryner%brianryner.com
9d432cea5f ifdef includes and inline function that requires MOZILLA_INTERNAL_API, so that this header can be pulled in from a standalone extension (bug 334870). r+b181=darin.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 22:58:23 +00:00
jst%mozilla.jstenback.com
a9aeb5a998 Landing fix for bug 328457. a=jst@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@192970 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 00:59:41 +00:00
mark%moxienet.com
78017995fa 322578 Support ppc<->x86 cross builds for Mac OS X. Remove asdecode. Building on Jaguar is no longer supported, although running on Jaguar still is. r=josh sr=pink a/1.8=josh a/1.8.0=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190528 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-18 21:25:37 +00:00
mark%moxienet.com
cb2ed1f8e0 313347 Flash plugin crashes browser on Mac OS X/x86. Work around broken plugin's bugs with BROKEN_PLUGIN_HACK. r=josh sr=bryner a/1.8=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190172 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 00:25:45 +00:00
joshmoz%gmail.com
16d3ce6669 On Intel Macs, don't free memory that was never allocated. Patch by Eric Albert. b=313347 r=mento
sr=smfr a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187080 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 18:06:10 +00:00
cbiesinger%web.de
3a784da6b0 bug 322319 patch by Christian Franke <Franke@computer.org>
r=biesi sr=jst a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187020 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 21:25:55 +00:00
mark%moxienet.com
7296f6b4aa 314432 Get rid of TVector glue in Default Plugin on Mac/Intel. r=josh a/1.8.0.1,1.8.1=bsmedberg
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@186942 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-04 20:49:49 +00:00
gavin%gavinsharp.com
d2db62849d Bug 309044 re-fix: Look for the wrapper in the right scope -- GetWrappedNativeOfNativeObject won't fix up the scope for us. Patch by bz, r+sr=jst, a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@186565 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-24 21:20:52 +00:00
bzbarsky%mit.edu
cb9135c2e5 Fix bug 316025 -- no need to create a wrapper on plugin teardown if we don't
have one already. r+sr=jst, a=mscott


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@184486 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 22:28:51 +00:00
jst%mozilla.jstenback.com
1286f1bacd 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, a=mtschrep@gmail.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@184171 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-05 01:10:43 +00:00
jst%mozilla.jstenback.com
0d743268b6 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, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182656 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 23:13:28 +00:00
bzbarsky%mit.edu
b75a5f17e8 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+a=brendan


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180398 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 15:46:32 +00:00
cbiesinger%web.de
387d766b78 bug 307879 destroy the stream in the nullplugin
r=jst sr=darin a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180362 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 11:44:12 +00:00
cbiesinger%web.de
6ad548e151 bug 301052 call NPN_{Push,Pop}PopupsEnabledState around window opening
functions, so that they don't get blocked
r+sr=jst a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180108 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 13:32:34 +00:00
cbiesinger%web.de
caf4efc195 return a better error code when content policy blocked the load
followup to bug 305565, r+sr=bz a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180107 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 13:29:52 +00:00
brendan%mozilla.org
b0f7de3258 Branch version of patch for bug 305565 (r/sr=jst/bz, a=drivers).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179770 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 02:37:27 +00:00
smfr%smfr.org
8ce871191b Fix bug 306177: allow the Default plugin to open popup windows, so that it works correctly. r=mark, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179647 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 23:42:11 +00:00
smfr%smfr.org
062cfd794a 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/branches/MOZILLA_1_8_BRANCH@179199 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 15:09:27 +00:00
jst%mozilla.jstenback.com
861dc33ace Fixing bug 300756. Make sure we can find a JS context when tearing down plugins even with fastback enabled. r=shaver@mozilla.org, sr=brendan@mozilla.org, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178647 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 23:04:17 +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