242 Commits

Author SHA1 Message Date
jst%mozilla.org
4ac99f461f 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
git-svn-id: svn://10.0.0.236/trunk@237500 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 01:24:29 +00:00
roc+%cs.cmu.edu
99b7b3f9f7 Bug 386537. Provide a reliable way for plugins to detect whether windowless mode is available. patch by karlt, r+sr=jst, a=jonas
git-svn-id: svn://10.0.0.236/trunk@234001 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 01:45:09 +00:00
jst%mozilla.org
38384a58b8 Fixing bug 394086. Pave the way for java applets that are scriptable using NPRuntime. r+sr=cbiesinger@gmx.at
git-svn-id: svn://10.0.0.236/trunk@233263 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 00:28:33 +00:00
flamingice%sourmilk.net
499adb6a0e Bug 330511, Plugin-in blocklisting, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229935 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 00:28:06 +00:00
jst%mozilla.org
8d1e562b75 Fixing bug 386773. Add implementation for NPN_PluginThreadAsyncCall(). r=joshmoz@gmail.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@229765 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 23:25:46 +00:00
flamingice%sourmilk.net
d0107de688 Bug 382367, Add support for enabling and disabling individual plugins, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229281 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 21:42:35 +00:00
flamingice%sourmilk.net
407cc47b6e Backing out bug 382367 due to potential crashes (bug 386160)
git-svn-id: svn://10.0.0.236/trunk@228941 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 17:51:10 +00:00
flamingice%sourmilk.net
f41f184e12 Bug 382367, Add support for enabling and disabling individual plugins, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@228913 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 00:56:09 +00:00
flamingice%sourmilk.net
862c224695 Bug 380984, NPAPI symbols hidden in libnullplugin.so and libunixprintplugin.so, Patch by Karl Tomlinson, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@228794 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 00:41:08 +00:00
timeless%mozdev.org
5bf97dd24f Bug 370063 OpenBSD: sync with reality - they define uint32_t and bool
changes 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.org
correct spelling thanks to vicviq@gmail.com
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@224211 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-05 11:21:59 +00:00
joshmoz%gmail.com
3de7a673b3 Implement CoreGraphics NPAPI Drawing Model. NPAPI plugins now have the option to render using CoreGraphics instead of Quickdraw. b=344427 r=sfraser sr=jst
git-svn-id: svn://10.0.0.236/trunk@222440 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 01:07:58 +00:00
jst%mozilla.org
d63e915fd9 Landing fix from dmeketa@macromedia.com for bug 299054. Adding support for exposing HTTP headers on plugin streams. r=joshmoz@gmail.com, sr=jst@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@221997 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-16 23:53:16 +00:00
joshmoz%gmail.com
3de2326b72 remove backward adapter plugin code for 3.0/4.0 plugin compat. nobody should be using it any more and in any case it doesn't belong in the samples directory. b=373155 sr=jst
git-svn-id: svn://10.0.0.236/trunk@221839 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-13 22:18:04 +00:00
bzbarsky%mit.edu
a03439b0a2 Don't show the plugin wizard for plugins that are actually disabled (only Java
at the moment).  Bug 344923, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@207202 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 02:13:24 +00:00
joshmoz%gmail.com
678551aa57 Remove 68k code compat from npupp.h, significantly reducing the size and complexity of the file. b=344942 r=mento sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@203122 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 15:39:29 +00:00
joshmoz%gmail.com
54b37d7ad8 clean up old Mac classic code and fix nsplugin.h interface comment to point out that it was a failed experiment. b=281889 r=mento sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@202067 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 19:47:32 +00:00
bryner%brianryner.com
f54a32de83 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/trunk@195006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 22:58:23 +00:00
jst%mozilla.jstenback.com
dc4b19a5f8 Landing fix for bug 296159. Adding support for NPObject enumeration to npruntime. Patch by alfred.peng@sun.com, r=mrbkap@gmail.com, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@191449 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 00:13:38 +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
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
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
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
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
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
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
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
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
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
jst%mozilla.jstenback.com
a4ba4915da Updating NPPVariable comments per cbiesinger@gmx.at.
git-svn-id: svn://10.0.0.236/trunk@170456 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 20:03:43 +00:00
jst%mozilla.jstenback.com
74ef97ed88 Adding new file, removing old file to fix bugstage.
git-svn-id: svn://10.0.0.236/trunk@170448 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 17:50:52 +00:00
jst%mozilla.jstenback.com
3d9d095352 Fixing bug 188938. Adding the ability for plugins to participate in form submission. r=bzbarsky@mit.edu, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@170445 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 17:01:22 +00:00
timeless%mozdev.org
5b41db1b0d Bug 273056 PluginArrayImpl::GetLength should not throw if there's no plugin host, and PluginArrayImpl::GetPlugins should handle no plugin host and failure from mPluginHost->GetPlugins
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@167875 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 07:57:04 +00:00
jst%mozilla.jstenback.com
4134face66 Landing the low-level code for using the plugin finder service from the aviary branch. Bug 244125 etc.
git-svn-id: svn://10.0.0.236/trunk@167276 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-05 00:21:06 +00:00
cls%seawood.org
2d4f0a22bd Add --disable-plugins build option.
Bug #266750 r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@164696 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 07:10:49 +00:00
bryner%brianryner.com
fddb0a9ccd Add HPUX to the list of platforms that use inttypes.h. Bug 239465, r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161802 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 22:56:55 +00:00
jst%mozilla.jstenback.com
f33e5a0132 Fixing build bustage on OpenBSD 3.5 (bug 256877). Patch by ju1i3n.news@free.fr and jon@rekai.net, r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161581 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 16:56:51 +00:00
jst%mozilla.jstenback.com
23e7b773fa Landing fix for bug 251939. Fixing IRIX build bustage. Patch by grobi_2000@yahoo.de, r=bryner@brianryner.com, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161563 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 00:32:03 +00:00
jst%mozilla.jstenback.com
585b204718 Fixing build bustage on BeOS (bug 257442). Patch by thesuckiestemail@yahoo.se, r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161490 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-30 19:05:11 +00:00
jst%mozilla.jstenback.com
7c3d6831bb Fixing bug 257191. Adding NPN_InvokeDefault() and renaming NPN_Call() to NPN_Invoke() in the npruntime plugin scriptability API. Also fix a problem with property getters on plugin objects. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161466 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-30 04:31:16 +00:00
jst%mozilla.jstenback.com
6077056f8a Fixing bug 256944. Adding NPClass argument to NPAllocateFunctionPtr to make it easier to work with dynamic NPClasses. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161370 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 00:58:44 +00:00
jst%mozilla.jstenback.com
5c1fe97158 Fixing bug 256898. Initialize all NPN callback functions, and correct an error in the prototype for NPN_IdentifierIsString(). r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161282 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 22:32:41 +00:00
jst%mozilla.jstenback.com
3b04c93333 Fixing bug 253570. Add NPP arguments to select new NPN_ methods to make implementation easier and safer. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@160110 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 04:00:05 +00:00
jst%mozilla.jstenback.com
1e437966ff Fixing bug 252085. Make the new plugin code build on OSF/1. Change suggested by alpha@culzean.org, r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159484 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-19 17:44:48 +00:00
jst%mozilla.jstenback.com
b637fb281b One more try, attempting to make gcc 2.95.2 happy again.
git-svn-id: svn://10.0.0.236/trunk@159371 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 22:29:33 +00:00
jst%mozilla.jstenback.com
a73204f1de See if GCC > 2.91 can grok stdbool.h
git-svn-id: svn://10.0.0.236/trunk@159357 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 18:57:49 +00:00
timeless%mozdev.org
a7ae8309bf Bug 251300 stdint.h missing in FreeBSD
patch by jon@rekai.net r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@159213 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:57:48 +00:00
jst%mozilla.jstenback.com
c1e6f5dcc2 BSD/OS's sys/types.h defines int32_t and u_int32_t, but not uint32_t. Geez.
git-svn-id: svn://10.0.0.236/trunk@159156 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-13 22:15:51 +00:00
jst%mozilla.jstenback.com
f81e14068d Attempting to fix bsdi bustage one more time.
git-svn-id: svn://10.0.0.236/trunk@159124 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-13 05:36:26 +00:00