1395 Commits

Author SHA1 Message Date
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
gerv%gerv.net
f8d1f365ca Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@186771 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-31 16:02:07 +00:00
pete.zha%sun.com
d947736ab0 bug 321065 memory leak in nsJSNPRuntime.cpp
patch=alfred.peng@sun.com
r=dbaron
sr=brendan


git-svn-id: svn://10.0.0.236/trunk@186400 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-22 03:16:16 +00:00
cls%seawood.org
acb2af0480 Fix header export rules for parallel builds.
Bug #319460 r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@185994 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 17:25:26 +00:00
masayuki%d-toybox.com
d418ba0b34 Bug 317486 Some plug-ins may eat WM_SETFOCUS / WM_KILLFOCUS patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r=ere, sr=roc
git-svn-id: svn://10.0.0.236/trunk@185689 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-05 05:59:23 +00:00
jst%mozilla.jstenback.com
856851dc6a Fixing bug 318270. Fix refcount problem in ns4xPluginInstance::GetDOMWindow() that lead to crashes due to window objects being deleted too quickly. r=mrbkap@gmail.com, r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@185557 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 00:50:19 +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
dae7b0629a 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@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +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
bzbarsky%mit.edu
35e5e54798 Look for the wrapper in the right scope -- GetWrappedNativeOfNativeObject won't
fix up the scope for us.  Bug 309044 re-fix, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@185134 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 15:51:41 +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
bzbarsky%mit.edu
9b767b43fc Fix bug 316025 -- no need to create a wrapper on plugin teardown if we don't
have one already.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@184477 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 20:38:41 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +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
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
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
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
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
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