Commit Graph

302 Commits

Author SHA1 Message Date
Johnny Stenback
345c76bbcc First part of the fix for bug 435334. Move the JVM auth tools from the OJI code into the plugin code. The code in question is in no way dependent on OJI and will be completely removed once the NPAPI has support for what this code offers. r=joshmoz@gmail.com, sr=jonas@sicking.cc
--HG--
rename : modules/oji/public/nsIJVMAuthTools.idl => modules/plugin/base/public/nsIJVMAuthTools.idl
rename : modules/oji/src/nsJVMAuthTools.cpp => modules/plugin/base/src/nsJVMAuthTools.cpp
rename : modules/oji/src/nsJVMAuthTools.h => modules/plugin/base/src/nsJVMAuthTools.h
2008-06-27 12:27:40 -07:00
Johnny Stenback
de3d3fb4db Fixing bug 441923. Stop our SDK sample plugins from crashing on destruction. r+sr=jonas@sicking.cc 2008-06-25 17:00:59 -07:00
Johnny Stenback
7311e73894 Fixing bug 433880. Stop the flash player from crashing when entering full-screen mode. Patch by mats.palmgren@bredband.net, r+sr=jst@mozilla.org 2008-06-18 16:55:38 -07:00
"Doug Turner ext:(%22)
30df99659b Removing Minimo references. b=405705, r=ted 2008-06-16 13:57:42 -07:00
mozilla@weilbacher.org
c662101f83 [OS/2] Bug 433220: fix Thunderbird build break on OS/2, r=mkaply 2008-05-11 13:49:57 -07:00
mozilla@weilbacher.org
21c73c58a0 [OS/2] Bug 421988: add ipluginw to the trunk source tree and build it by default to (re-)enable Java plugins, r=mkaply, a1.9=beltzner 2008-05-01 14:03:36 -07:00
pavlov@pavlov.net
b19f959e02 bug 422024. work around bad plugins causing a crash by using the wrong allocator to allocate. r/sr=jst 2008-04-30 17:17:54 -07:00
gavin@gavinsharp.com
6b243c5e13 Fix wrapping nit from bug 412770 2008-04-23 16:32:50 -07:00
gavin@gavinsharp.com
4d28dbad79 Bug 412770: Add ability to monitor plug-ins at run-time, patch by Fima Kachinski <xrayon@gmail.com>, r+sr=roc, sr=jst, a=beltzner 2008-04-23 16:24:21 -07:00
mats.palmgren@bredband.net
1b3c4d7918 Stop QuickTime and Flip4Mac plugins directly when requested (not off an event). b=426524 r+sr=jst a1.9=beltzner 2008-04-16 13:06:48 -07:00
alfred.peng@sun.com
19e85d635e Bug 426565. Firefox 3 crashes with Java applets. r+sr=jst,a=dsicore. 2008-04-05 21:38:27 -07:00
timeless@mozdev.org
5e0fcde278 Bug 423414 wmp called npapi on the wrong thread crashing [@ JS_RestoreFrameChain] r=jst a=beltzner 2008-03-30 08:23:21 -07:00
timeless@mozdev.org
58e9dcde09 Bug 425398 passed 0 identifier [@ NS_ConvertUTF8toUTF16 - doGetIdentifier - _getstringidentifier] r=jst sr=jst a=beltzner 2008-03-30 07:55:42 -07:00
timeless@mozdev.org
e03e3fc844 backing out 2008-03-30 07:41:47 -07:00
timeless@mozdev.org
d16166d275 Bug 425398 passed 0 identifier [@ NS_ConvertUTF8toUTF16 - doGetIdentifier - _getstringidentifier] r=jst sr=jst a=beltzner 2008-03-30 07:26:43 -07:00
jst@mozilla.org
f5ff3db7a8 Fixing bug 424019. Fix problem with NPN_RemoveProperty() claiming it removed a property when it in fact didn't. r+sr=brendan@mozilla.org 2008-03-28 15:29:14 -07:00
timeless@mozdev.org
74aa6aed94 Bug 424226 Immediate Fx crash when starting venkman [@ nsPluginHostImpl::TrySetUpPluginInstance] r=jst sr=jsr a=shaver 2008-03-24 23:00:31 -07:00
dbaron@dbaron.org
f31447da64 Fixing asymmetry between what timeless landed for bug 394114 and what he backed out. 2008-03-19 15:05:04 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
dtownsend@oxymoronical.com
2f48918fdb Bug 419582: Unblocklisted plugin should be set to enable on startup. r+sr=jst 2008-03-18 03:38:15 -07:00
masayuki@d-toybox.com
a1475802c9 Bug 422079 Plugin names need to be converted to Unicode r+sr=jst, b1.9=jst 2008-03-17 14:58:59 -07:00
jst@mozilla.org
8912c24ea4 Followup fix for bug 406251, make NPVariant.intValue be a signed int so negative ints can be passed through safely. r+sr=jonas@sicking.cc 2008-03-13 17:48:20 -07:00
jst@mozilla.org
9b1a09d45b Landing fix for compiler warning bug 421992. Patch by mats.palmgren@bredband.net, r+sr+a=jst@mozilla.org 2008-03-12 17:26:18 -07:00
blassey@mozilla.com
3c99833e3e backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com
eeea24bde6 switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
masayuki@d-toybox.com
b295ce78a1 Bug 420285 Internationalize plugin tag and plugin host r=jst, sr=bzbarsky, b1.9=jst 2008-03-10 00:07:15 -07:00
reed@reedloden.com
7ee17f0b65 Bug 283342 - "Many windows don't set window classes" (add a window class to the Default Plugin's window) [p=sandreas41@yahoo.com r+sr=jst a1.9=beltzner] 2008-03-08 01:55:28 -08:00
blassey@mozilla.com
92c51991b0 backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com
9bc9e44b40 switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
mats.palmgren@bredband.net
786059e5f5 Hang when reloading page with plugin. b=420884 r+sr=jst a=blocking1.9 2008-03-04 23:14:58 -08:00
jst@mozilla.org
16e1932c1a Fixing bug 410946. Prevent plugins from being destroyed while there's code from those plugins on the stack. r+sr=bzbarsky@mit.edu, a=beltzner@mozilla.com 2008-02-28 18:06:00 -08:00
jst@mozilla.org
19dbcf31bd Landing fix for bug 328675. Working around a real player plugin bug where it recurses to death in certain circumstances. Patch by martijn.martijn@gmail.com, r+sr=jst@mozilla.org. 2008-02-26 20:35:20 -08:00
reed@reedloden.com
20b54b4e82 Bug 411463 - "AIX Compilation error with compiler option -qlanglvl=stdc99 for trunk build source npunix.c : mozilla/modules/plugin/samples/default/unix/npunix.c", line 556.62: 1506-068 (S) Operation between types "void*" and "void*" is not allowed" [p=shailen.n.jain@gmail.com (Shailen) r+sr=jst a1.9=schrep] 2008-02-13 03:29:56 -08:00
jag@tty.nl
77b084dde7 Bug 333308: make clean and make distclean miss various files. r=bsmedberg, a=schrep 2008-02-09 02:37:42 -08:00
jst@mozilla.org
1e100ea8d9 Fixing bug 414639. Don't prevent SetWindow() from being called on a Java plugin whose width or height is 0. r+sr=peterv@propagandism.org 2008-01-29 18:32:38 -08:00
jst@mozilla.org
cc046216a1 Fixing bug 408257. Make JS executed from plugins reset the slow script timeout if not called from within JS. r+sr=jonas@sicking.cc 2008-01-20 21:34:17 -08:00
jst@mozilla.org
c1fc2e8264 Fixing bug 410853. Make NPN_Evaluate() pass in a sensible script file name argument when possible to get the appropriate wrapper automation when necessary. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2008-01-14 16:51:29 -08:00
jst@mozilla.org
f24cd056e8 Fixing bug 411040. Make NPN_RemoveProperty() return false if the property wasn't deleted (due to silent failure per ecma). r+sr+a=brendan@mozilla.org 2008-01-10 13:44:06 -08:00
reed@reedloden.com
fe25517a28 Bug 333701 - "Hopefully useless null check in nsPluginStreamListenerPeer::Initialize" [p=ispiked@gmail.com (Adam Guthrie) r=biesi a1.9=beltzner] 2008-01-02 22:22:50 -08:00
jst@mozilla.org
2edc3eed02 Fixing bug 406251. Make NPVariant to jsval conversion do the right thing with large integer values. r+sr=peterv@propagandism.org, a=dsicore@mozilla.com 2007-12-03 16:33:48 -08:00
jst@mozilla.org
62949b7761 Fixing bug 406040. Paving the way for the new NPRuntime enabled Java plugin, making Firefox able to find the new plugin when installed alongside the old plugin. Patch by kenneth.russell@sun.com, r=robert.bugzilla@gmail.com, sr=jst@mozilla.org 2007-12-01 00:12:22 -08:00
joshmoz@gmail.com
233673d62a clean up mac default plugin. b=373070 r=mento sr=jst a=schrep 2007-11-14 22:23:46 -08:00
joshmoz@gmail.com
3670c07737 Fix npapi so that drawing models users can compile properly. Need NPPV version of NPNVpluginDrawingModel. Original patch by Shane Caraveo. API compat patch for WebKit is WebKit bug 15946, WebKit patch by Josh committed. b=403418 r=josh sr=jst 2007-11-13 12:02:03 -08:00
jst@mozilla.org
7ba82652d3 Fixing bug 386493. Work around WMP plugin bug where it's unable to process incoming data while waiting for initialiation streams. r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu 2007-11-11 22:07:10 -08:00
reed@reedloden.com
ae7d90ecef Bug 398313 - "Java plugin doesn't show up in disabled state (Add-ons Manager)" [p=Mossop r+sr=jst a=blocking1.9+] 2007-11-07 01:06:40 -08:00
jst@mozilla.org
841f9202a9 Fixing bug 398446. Make sure any JS exceptions thrown while plugins invoke JS are reported before we return control to the plugin. r+sr=mrbkap@gmail.com, a=dsicore@mozilla.com 2007-11-06 09:56:03 -08:00
jst@mozilla.org
8ed8c5149f Fixing bug 401053. Make sure to initialize LiveConnect any time a Java applet is loaded, no matter what markup was used to load the applet. r+sr=dveditz@cruzio.com, a=dsicore@mozilla.com 2007-10-31 15:52:11 -07:00
jst@mozilla.org
ed086ba697 Fixing bug 400619. Make sure to push the JS context onto the JS context stack in NP_HasProperty() to make sure the JS calls in that function work even when called w/o any JS on the stack. r+sr=jonas@sickin.cc, a=drivers. 2007-10-25 15:21:04 -07:00
jst@mozilla.org
2f5c99810e Fixing bug 393928. Lazily initialize liveconnect, and only initialize it when we can't find a Java plugin that supports NPRuntime. When a Java plugin that supports NPRuntime is found, use NPRuntime to expose liveconnect functionality (i.e. window.java and window.Packages). r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu, a=jonas@sicking.cc 2007-10-09 18:24:28 -07:00
ginn.chen@sun.com
a648e072e1 Fix bustage bug 397992 2007-10-02 03:31:18 -07:00
ginn.chen@sun.com
f42510958f Bug 397992 Gtk-CRITICAL assertion `GTK_IS_WIDGET (widget)' failed at exit Firefox r+sr+a=roc 2007-10-02 03:07:17 -07:00
sayrer@gmail.com
cf1bde53af Bug 396828. 'Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread' within ns4xPluginInstance::Stop. r=jst, sr=brendan, a=jst 2007-09-29 23:19:52 -07:00
reed@reedloden.com
47141f5b4d Bug 386844 - "Crash when running Java Applets [@ XSync - JavaPluginInstance5::SetWindow]" (move ws_info and xtbin code from ns4xPluginInstance to nsPluginNativeWindowGtk2) [p=karlt r+sr+a1.9=jst] 2007-09-29 00:08:14 -07:00
jst@mozilla.org
c030bb9978 Adding npruntime scriptability sample. A dumb sample, but it's all we've got an I have no time to make it better now. Not part of the build. 2007-09-21 11:35:38 -07:00
ted.mielczarek@gmail.com
2d598a484f bug 395246 - link null plugin with static CRT to avoid Microsoft.VC80.CRT SxS errors. r=bsmedberg a=mconnor 2007-09-17 11:22:55 -07:00
roc+@cs.cmu.edu
23aeeaf03a Bug 386537. Provide a reliable way for plugins to detect whether windowless mode is available. patch by karlt, r+sr=jst, a=jonas 2007-09-05 18:45:08 -07:00
jag@tty.nl
9198e9c4b8 Bug 394139: Replace a bunch of NS_DEFINE_CIDs with CONTRACTIDs. r=/sr=/a=bsmedberg 2007-09-05 06:04:54 -07:00
flamingice@sourmilk.net
fac9f6462e Bug 392125, Java plugin doesn't stay disabled on restart when disabled via plugin manager, r+sr=jst, a=blocking1.9 2007-09-04 11:19:31 -07:00
jst@mozilla.org
f967dad17e Fixing bug 394086. Pave the way for java applets that are scriptable using NPRuntime. r+sr=cbiesinger@gmx.at 2007-08-28 17:28:32 -07:00
jst@mozilla.org
d8904e65bd Fixing bug 392505. Make nsNPObjWrapper::GetNewOrUsed() remove entries from the right hash table when out of memory. r+sr=peterv@propagandism.org, a=jst@mozilla.org 2007-08-27 16:55:47 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
96ec7b6a69 Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking 2007-08-09 22:35:08 -07:00
jst@mozilla.org
73674fd85b Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org 2007-08-09 15:30:30 -07:00
jst@mozilla.org
8118d98159 Fixing bug 391182. Remove bogus assertion introduced by one of the fixes for bug 347743. r+sr=jonas@sicking.cc 2007-08-09 15:25:03 -07:00
jst@mozilla.org
45bb02e550 Attempting to fix bug 354380. Add safe guard against prematurely deleted scriptable plugin objects. r=mrbkap@gmail.com, sr=jonas@sicking.cc 2007-08-09 15:22:26 -07:00
bzbarsky@mit.edu
73073f4f3b Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
sharparrow1@yahoo.com
7e0e89e71b Part 1 of bug 347743, try 2. Patch by Johnny Stenback, r=brendan, sr=jonas, a=blocking1.9+ 2007-08-06 10:19:55 -07:00
sharparrow1@yahoo.com
e86f96fa55 Back out for bug 347743. 2007-08-06 09:49:59 -07:00
sharparrow1@yahoo.com
ef354e3fbc Part 1 of bug 347743. Patch by Johnny Stenback, r=brendan, sr=jonas, a=blocking1.9+ 2007-08-06 09:36:03 -07:00
flamingice@sourmilk.net
b943b3a8ee Bug 367816, mimeTypes[] array not refreshed on Java installation, r+sr+a=jst 2007-08-03 15:57:54 -07:00
flamingice@sourmilk.net
85b8b3b3a2 Bug 389486, Move pluginreg.dat to profile directory, r+sr=jst 2007-07-26 00:01:22 -07:00
flamingice@sourmilk.net
c032f010d2 Bug 388977, Only compile nsPluginDirServiceProvider.cpp on Windows, r+sr=jst 2007-07-20 13:34:51 -07:00
flamingice@sourmilk.net
61fea5c930 Bug 330108, ISO C++ forbids casting between pointer-to-function and pointer-to-object (use PR_FindFunctionSymbol), r=jst, sr=biesi 2007-07-17 13:02:43 -07:00
flamingice@sourmilk.net
76b4af864e Bug 330511, Plugin-in blocklisting, r+sr=jst 2007-07-13 17:28:05 -07:00
jst@mozilla.org
0de7a6f973 Attempting to fix Solaris build bustage (bug 386773). Patch by ginn.chen@sun.com, r+sr=jst@mozilla.org 2007-07-12 13:38:11 -07:00
jst@mozilla.org
cfb5411441 Fixing bug 386773. Add implementation for NPN_PluginThreadAsyncCall(). r=joshmoz@gmail.com, sr=brendan@mozilla.org 2007-07-11 16:25:45 -07:00
philringnalda@gmail.com
0611695a51 Bug 387067 - Quiet printfs in nsPluginHostImpl.cpp, patch by Ryan Jones <sciguyryan@gmail.com>, r+sr=jst 2007-07-08 17:36:33 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
flamingice@sourmilk.net
492ccc0d82 Bug 382367, Add support for enabling and disabling individual plugins, r+sr=jst 2007-07-03 14:42:35 -07:00
roc+@cs.cmu.edu
b8625507f4 Bug 384988. Provide toplevel window to plugins for WM_TRANSIENT_FOR of dialog boxes. patch by Karl Tomlinson,r+sr=roc,jst 2007-07-02 20:41:34 -07:00
roc+@cs.cmu.edu
71fc801e9d Bug 384845. Make the NPSetWindowCallbackStruct memory associated with
window->ws_info available before SetWindow is called, and disable the plugin
window GtkSocket or xtbin creation for windowless plugins.
patch by Karl Tomlinson, r+sr=jst
2007-07-02 20:29:47 -07:00
flamingice@sourmilk.net
34b5ed06fe Backing out bug 382367 due to potential crashes (bug 386160) 2007-06-28 10:51:10 -07:00
flamingice@sourmilk.net
d984521567 Bug 382367, Add support for enabling and disabling individual plugins, r+sr=jst 2007-06-27 17:56:08 -07:00
flamingice@sourmilk.net
adc66522b8 Bug 380984, NPAPI symbols hidden in libnullplugin.so and libunixprintplugin.so, Patch by Karl Tomlinson, r+sr=jst 2007-06-26 17:41:08 -07:00
kherron@fmailbox.com
fd55a81c64 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -07:00
jst@mozilla.org
dd6c74a75e Landing fix for bug 342810. Fixing leak of nsRunnable (huge leak on some flash sites). Patch by jmathies@mozilla.com, r+sr=jst@mozilla.com 2007-06-15 09:23:45 -07:00
bzbarsky@mit.edu
29ed0de3d0 Make plug-in loads of javascript: URIs execute synchronously. Bug 364028,r=biesi, sr=jst 2007-06-13 15:42:07 -07:00
mozilla@weilbacher.org
a614a85c71 Bug 380196: Kill QT graphics code, p=sciguyryan, r/sr=roc 2007-06-10 15:13:08 -07:00
bzbarsky@mit.edu
c9d86f7034 Fix refcounting of some event objects to not leak. Bug 342810, investigationby Jim Mathies <jmathies@mozilla.com>, r+sr=jst 2007-06-07 14:41:46 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
mats.palmgren@bredband.net
dfbd9d77a5 Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc 2007-04-30 16:52:44 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
jst@mozilla.org
a591b886e0 Possible fix for bug 354595. Deal with PL_DHashTableOperate() returning null as it does when out of memory. Fix found by raymond@lala.com, r+sr=jonas@sicking.cc 2007-04-17 16:10:20 -07:00
timeless@mozdev.org
b2d6d9a7f1 Bug 370063 OpenBSD: sync with reality - they define uint32_t and boolchanges by one of pvalchev@openbsd.org, wilfried@openbsd.org, robert@openbsd.org, or naddy@openbsd.org (or at least Martynas Venckus thinks it was one of them)patch by martynas@openbsd.orgcorrect spelling thanks to vicviq@gmail.comr=jst sr=jst 2007-04-05 04:21:59 -07:00
joshmoz@gmail.com
afce05fcf1 URLs requested by plugins should trigger content policies. Patch by Wladimir Palant. b=375435 r=josh sr=jst 2007-04-04 18:56:32 -07:00
emaijala@kolumbus.fi
3523806928 Fix for bug 293062: Mozilla should read HKEY_CURRENT_USER\Software\MozillaPluginr=neilsr=roc 2007-04-03 08:56:31 -07:00
mozilla@weilbacher.org
fc72df22f6 [OS/2] Bug 373444: fix build break in debug builds, r=benjamin 2007-03-29 13:08:04 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
joshmoz@gmail.com
094f428519 Implement CoreGraphics NPAPI Drawing Model. NPAPI plugins now have the option to render using CoreGraphics instead of Quickdraw. b=344427 r=sfraser sr=jst 2007-03-26 18:07:57 -07:00
mats.palmgren@bredband.net
4a56ed14fd Hold a strong ref on the plugin instance to prevent destruction of the plugin native window object while processing the event. b=374229 r=emaijala sr=roc 2007-03-24 02:45:51 -07:00
jst@mozilla.org
d8f3712698 s/!NS_SUCCEEDED/NS_FAILED/ for bug 299054. 2007-03-23 13:35:04 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00