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
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
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
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
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
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
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
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
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
shaver%mozilla.org
5972af244f
Bug 292373: fix plugin bustage on Windows from bug 291229's landing.
...
Patch from dougt, r+sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@172917 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-30 16:15:08 +00:00
dougt%meer.net
3d7bcc8055
Windows CE build changes. This addresses most of the outstanding Windows
...
CE compilation issues.
This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript. This change is based on bug 242518. See comment 36.
This patch also removes the unused enum in transformiix . See bug
292118.
r/sr = dveditz/shaver
b = 291229
a = asa
git-svn-id: svn://10.0.0.236/trunk@172870 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 13:33:49 +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
timeless%mozdev.org
b11b0ba533
Bug 283540 OOM mlk [@ NS_NewPluginPostDataStream]
...
patch by jlurz24@gmail.com r=timeless sr=jst
git-svn-id: svn://10.0.0.236/trunk@171475 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:33:00 +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