Commit Graph

1049 Commits

Author SHA1 Message Date
Benjamin Smedberg
d3a66ed55a Bug 649558 - Move modules/plugin/base to dom/plugins/base, r=josh
--HG--
rename : modules/plugin/base/src/Makefile.in => dom/plugins/base/Makefile.in
rename : modules/plugin/base/src/PluginPRLibrary.cpp => dom/plugins/base/PluginPRLibrary.cpp
rename : modules/plugin/base/src/PluginPRLibrary.h => dom/plugins/base/PluginPRLibrary.h
rename : modules/plugin/base/public/npapi.h => dom/plugins/base/npapi.h
rename : modules/plugin/base/public/npfunctions.h => dom/plugins/base/npfunctions.h
rename : modules/plugin/base/public/npruntime.h => dom/plugins/base/npruntime.h
rename : modules/plugin/base/public/nptypes.h => dom/plugins/base/nptypes.h
rename : modules/plugin/base/public/nsIHTTPHeaderListener.idl => dom/plugins/base/nsIHTTPHeaderListener.idl
rename : modules/plugin/base/public/nsIPlugin.idl => dom/plugins/base/nsIPlugin.idl
rename : modules/plugin/base/public/nsIPluginDocument.idl => dom/plugins/base/nsIPluginDocument.idl
rename : modules/plugin/base/public/nsIPluginHost.idl => dom/plugins/base/nsIPluginHost.idl
rename : modules/plugin/base/public/nsIPluginInputStream.idl => dom/plugins/base/nsIPluginInputStream.idl
rename : modules/plugin/base/public/nsIPluginInstance.idl => dom/plugins/base/nsIPluginInstance.idl
rename : modules/plugin/base/public/nsIPluginInstanceOwner.idl => dom/plugins/base/nsIPluginInstanceOwner.idl
rename : modules/plugin/base/public/nsIPluginStreamInfo.idl => dom/plugins/base/nsIPluginStreamInfo.idl
rename : modules/plugin/base/public/nsIPluginStreamListener.idl => dom/plugins/base/nsIPluginStreamListener.idl
rename : modules/plugin/base/public/nsIPluginTag.idl => dom/plugins/base/nsIPluginTag.idl
rename : modules/plugin/base/public/nsIPluginTagInfo.idl => dom/plugins/base/nsIPluginTagInfo.idl
rename : modules/plugin/base/src/nsJSNPRuntime.cpp => dom/plugins/base/nsJSNPRuntime.cpp
rename : modules/plugin/base/src/nsJSNPRuntime.h => dom/plugins/base/nsJSNPRuntime.h
rename : modules/plugin/base/src/nsNPAPIPlugin.cpp => dom/plugins/base/nsNPAPIPlugin.cpp
rename : modules/plugin/base/src/nsNPAPIPlugin.h => dom/plugins/base/nsNPAPIPlugin.h
rename : modules/plugin/base/src/nsNPAPIPluginInstance.cpp => dom/plugins/base/nsNPAPIPluginInstance.cpp
rename : modules/plugin/base/src/nsNPAPIPluginInstance.h => dom/plugins/base/nsNPAPIPluginInstance.h
rename : modules/plugin/base/src/nsNPAPIPluginStreamListener.cpp => dom/plugins/base/nsNPAPIPluginStreamListener.cpp
rename : modules/plugin/base/src/nsNPAPIPluginStreamListener.h => dom/plugins/base/nsNPAPIPluginStreamListener.h
rename : modules/plugin/base/src/nsPluginDirServiceProvider.cpp => dom/plugins/base/nsPluginDirServiceProvider.cpp
rename : modules/plugin/base/src/nsPluginDirServiceProvider.h => dom/plugins/base/nsPluginDirServiceProvider.h
rename : modules/plugin/base/public/nsPluginError.h => dom/plugins/base/nsPluginError.h
rename : modules/plugin/base/src/nsPluginHost.cpp => dom/plugins/base/nsPluginHost.cpp
rename : modules/plugin/base/src/nsPluginHost.h => dom/plugins/base/nsPluginHost.h
rename : modules/plugin/base/public/nsPluginLogging.h => dom/plugins/base/nsPluginLogging.h
rename : modules/plugin/base/src/nsPluginManifestLineReader.h => dom/plugins/base/nsPluginManifestLineReader.h
rename : modules/plugin/base/src/nsPluginModule.cpp => dom/plugins/base/nsPluginModule.cpp
rename : modules/plugin/base/src/nsPluginNativeWindow.cpp => dom/plugins/base/nsPluginNativeWindow.cpp
rename : modules/plugin/base/public/nsPluginNativeWindow.h => dom/plugins/base/nsPluginNativeWindow.h
rename : modules/plugin/base/src/nsPluginNativeWindowGtk2.cpp => dom/plugins/base/nsPluginNativeWindowGtk2.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowOS2.cpp => dom/plugins/base/nsPluginNativeWindowOS2.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowQt.cpp => dom/plugins/base/nsPluginNativeWindowQt.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowWin.cpp => dom/plugins/base/nsPluginNativeWindowWin.cpp
rename : modules/plugin/base/src/nsPluginSafety.h => dom/plugins/base/nsPluginSafety.h
rename : modules/plugin/base/src/nsPluginStreamListenerPeer.cpp => dom/plugins/base/nsPluginStreamListenerPeer.cpp
rename : modules/plugin/base/src/nsPluginStreamListenerPeer.h => dom/plugins/base/nsPluginStreamListenerPeer.h
rename : modules/plugin/base/src/nsPluginTags.cpp => dom/plugins/base/nsPluginTags.cpp
rename : modules/plugin/base/src/nsPluginTags.h => dom/plugins/base/nsPluginTags.h
rename : modules/plugin/base/public/nsPluginsCID.h => dom/plugins/base/nsPluginsCID.h
rename : modules/plugin/base/src/nsPluginsDir.h => dom/plugins/base/nsPluginsDir.h
rename : modules/plugin/base/src/nsPluginsDirDarwin.cpp => dom/plugins/base/nsPluginsDirDarwin.cpp
rename : modules/plugin/base/src/nsPluginsDirOS2.cpp => dom/plugins/base/nsPluginsDirOS2.cpp
rename : modules/plugin/base/src/nsPluginsDirUnix.cpp => dom/plugins/base/nsPluginsDirUnix.cpp
rename : modules/plugin/base/src/nsPluginsDirUtils.h => dom/plugins/base/nsPluginsDirUtils.h
rename : modules/plugin/base/src/nsPluginsDirWin.cpp => dom/plugins/base/nsPluginsDirWin.cpp
rename : modules/plugin/base/public/nspluginroot.idl => dom/plugins/base/nspluginroot.idl
2011-04-26 17:38:43 -04:00
Josh Aas
1593af8e53 Bug 606641: Cleanup for plugin initialization. r=bz 2011-04-28 16:08:33 -04:00
Josh Aas
6eddb218f5 Bug 653349: Clean up nsPluginHost::FindPluginForType. r=jst 2011-04-28 16:06:15 -04:00
Josh Aas
13b58b2bd4 Bug 468678: Remove support for resource (.rsrc) files in Mac OS X plugins. r=smichaud 2011-04-28 16:02:35 -04:00
Cameron McCormack
a6e786942e Bug 652501 - Part 2: Make existing plugin crash reftests clean up after themselves. r=roc 2011-04-26 15:02:38 +12:00
Justin Lebar
5bc75b222e Bug 647273 - Remove nsIContentUtils and nsIContentUtils2. r=sicking
--HG--
extra : rebase_source : 8a99a1401b7d7427bed4a136e0b38c475f6473a2
2011-04-14 13:58:36 -07:00
Mike Hommey
bc8882e163 Bug 650263 - Filter by toolkit instead of by OS to decide whether to go into modules/plugin/test. r=ted 2011-04-22 10:31:59 +02:00
Masayuki Nakano
816d0ec482 Bug 347185 Adding automated tests r=roc 2011-04-21 08:54:43 +09:00
Cameron McCormack
b2639700c4 Bug 541707: Ensure iframes in plugin crash tests don't load before the containing document is ready. r=bent 2011-04-21 08:43:44 +12:00
Phil Ringnalda
8973704236 Bug 650594 - plugin-transform-1.html unexpectedly passes on Android, annotate that we don't actually care about pass or fail in the !haveTestPlugin case, r=roc 2011-04-17 09:44:20 -07:00
Mike Hommey
f2e0cbff28 Bug 643690 part 1 - Avoid requiring libstdc++ symbol versions > GLIBCXX_3.4.8 (gcc > 4.1). r=ted,r=tglek 2011-04-15 11:03:17 +02:00
Ehsan Akhgari
ea4ca1529d Back out changeset 457757151653 (bug 647273) for breaking the Windows builds 2011-04-14 16:56:05 -04:00
Justin Lebar
a465f21ce6 Bug 647273 - Remove nsIContentUtils and nsIContentUtils2. r=sicking
--HG--
extra : rebase_source : dd7ff32cc758e62f914d283754d68ddc87cdcc7c
2011-04-14 10:58:27 -07:00
Klaus Ernst
264dffe643 Bug 640601: Allow Flash 10.2+ to load OOP on more Mac OS X machines. r=josh 2011-04-13 12:57:46 -07:00
Chris Leary
329e16e64e Merge mozilla-central to tracemonkey. 2011-04-11 16:54:01 -07:00
Jeff Walden
0266764efe Fix JS_InstanceOf to work correctly again with a null obj, and to assert same-compartment only if called when an error might be reported. rs=luke 2011-04-11 15:36:06 -07:00
Ehsan Akhgari
3bbe7bc47c Bug 617539 - Remove nsIContentUtils_MOZILLA_2_0_BRANCH by backing out changeset 5e1f1bb2bb87 (bug 631412) which had added that class 2011-04-11 16:16:56 -04:00
Benjamin Smedberg
6620f620d9 Bug 617539 - Remove nsIPluginHost_MOZILLA_2_0_BRANCH, nsIPluginInstanceOwner_MOZILLA_2_0_BRANCH, and nsIPluginInstance_MOZILLA_2_0_BRANCH; r=jst 2011-04-11 16:00:30 -04:00
Chris Jones
52ddba559b Bug 647600: Restore null checks. r=bsmedberg 2011-04-06 12:28:02 -05:00
Dave Huang
3ac18766a1 Bug 648511 - Firefox plugin scan doesn't find full Acrobat installation, only Acrobat reader, r=bsmedberg
--HG--
extra : rebase_source : b4a7b06a5cc4fdc8a2a16398455a1e7d35ace14e
2011-04-08 13:57:24 -07:00
Ehsan Akhgari
73dd5db57d Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Mitchell Field
59b853fca5 Bug 647118 - Remove support for --disable-plugins. r=glandium 2011-04-02 01:41:46 +11:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
29f9a86daa Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Scott Greenlay
69adecf208 Bug 596078: Remove old 4.x plugin directory scan. Patch by Scott Greenlay and Josh Aas. r=bsmedberg 2011-03-31 14:26:57 -04:00
Chris Leary
733f538571 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Josh Aas
b925f0cf5f Bug 645289: Correctly calculate whether or not a given plugin has running instances. r=bsmedberg 2011-03-29 16:43:18 -04:00
Chris Leary
78ceed9ab7 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Robert O'Callahan
77ab860b5c Bug 644832. Windowless plugins inside CSS transforms should be rendered. r=tnikkel 2011-04-01 10:33:46 +13:00
Ehsan Akhgari
f4575bfe5e Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ehsan Akhgari
ca0a27ab24 Merge cedar into mozilla-central 2011-03-29 10:39:07 -04:00
Phil Ringnalda
6655ca0a51 Bug 641738 - Intermittent test_pluginstream_seek_close.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - frameLoaded is not defined, r=bsmedberg 2011-03-15 22:52:23 -07:00
Phil Ringnalda
84774db8b6 Get rid of DOS line endings 2011-03-14 20:14:57 -07:00
Justin Lebar
7e2c5ae50d Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Taras Glek
6ec1b37748 Bug 611840 - Don't fsync pluginreg.dat; r=josh 2011-03-27 17:40:59 -04:00
Matheus Kerschbaum
355ae99518 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Benjamin Smedberg
f99bfbc516 Bug 638171 - FireFox does not read Java Plugin Info.plist correctly.; r=jst,joshmoz 2011-03-24 14:43:37 -04:00
Josh Aas
fc34f968eb Bug 641621: Fix bug in which we misinterpret an NPError return value as an nsresult. r=bsmedberg 2011-03-23 11:46:09 -07:00
Josh Aas
216a98a72e Bug 638145: Remove NPAPI plugin SDK. Replaced by npapi-sdk project on Google Code. r=bsmedberg 2011-03-23 11:44:46 -07:00
Kyle Huey
782df80bf2 Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Joel Maher
a2a84ed8a8 Bug 636753 - annotate reftest manifests to note tests that fail on Android (1 of 2). r=dbaron a=test-only 2011-03-18 11:54:13 -04:00
Benjamin Smedberg
5a7728f990 Tests for bug 634534 (destroy a stream while a part-request has been requested but OnStartRequest has not yet fired). Fixed test_pluginstream_seek_close.html so that the first iframe onload (for about:blank) is not used with the test. a=blocker-test
--HG--
extra : rebase_source : e2034212a7cb89aed5f0782c4d412954ea1470a8
2011-02-23 10:47:17 -05:00
Benjamin Smedberg
50f38e9094 Bug 634534 - Firefox 4 (and probably earlier versions) crash when they make a byte-range request and then call NPN_DestroyStream while both the "main" request and the byte-range request are active. This affects Silverlight on mac, and almost certainly Acrobat on Windows.
Instead of tracking a single request in nsPluginStreamListenerPeer::mRequest, track all the currently pending requests with nsPluginStreamListenerPeer::mRequests, and make sure that they are all cancelled when the stream is destroyed. r=josh sr=bz a=blocker

--HG--
extra : rebase_source : e6da19a0edb2cd283bdb92f14e925ac9b96157ec
2011-02-23 10:47:25 -05:00
Benjamin Smedberg
7c6b002c22 Revert bug 634534 because of test failures (test_visibility.html timing out, and neverending.sjs data leaking into other plugin tests?) 2011-02-23 16:04:35 -05:00
Benjamin Smedberg
b70550d556 Bug 634534 - Firefox 4 (and probably earlier versions) crash when they make a byte-range request and then call NPN_DestroyStream while both the "main" request and the byte-range request are active. This affects Silverlight on mac, and almost certainly Acrobat on Windows.
Instead of tracking a single request in nsPluginStreamListenerPeer::mRequest, track all the currently pending requests with nsPluginStreamListenerPeer::mRequests, and make sure that they are all cancelled when the stream is destroyed. r=josh sr=bz a=blocker
2011-02-23 10:47:25 -05:00
Benjamin Smedberg
1481e5c51f Tests for bug 634534 (destroy a stream while a part-request has been requested but OnStartRequest has not yet fired)
--HG--
extra : rebase_source : b29a496f75aacb57b8b9f285358278380580babd
2011-02-23 10:47:17 -05:00