Commit Graph

94 Commits

Author SHA1 Message Date
Makoto Kato
3db74d9643 Bug 1126185 - Need hook CreateFileA for Windows 8 RTM. r=bsmedberg 2015-02-04 00:33:39 +09:00
John Schoenick
66f0317645 Bug 1061967 part 2 - Bonus whitespace cleanup. r=bsmedberg 2015-01-30 10:54:19 -05:00
John Schoenick
8be13dbd8b Bug 1061967 part 1 - Move checking for special-cased plugin types to a central spot. r=bsmedberg 2015-01-30 10:54:19 -05:00
Makoto Kato
a869102bab Bug 1123966 - Use FILE_FLAG_DELETE_ON_CLOSE instead of RemoveFile. r=akloyz 2015-01-25 15:37:39 +09:00
Jim Mathies
3580fbc187 Bug 1092121 - Get plugin quirks modes and nsPluginInstanceOwner::GetNetscapeWindow working with remote content. r=billm 2015-01-23 04:10:52 -06:00
Kyle Huey
3f5b8810c4 Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Steven Michaud
d0aeab7de5 Bug 1118615 - Flash hangs displaying a camera/microphone access dialog in HiDPI mode, workaround. r=mstange 2015-01-16 12:16:44 -06:00
Aaron Klotz
a8e715cce8 Bug 998863: Asynchronous Plugin Initialization, Part 5: PluginModuleChild changes; r=jimm 2014-12-29 16:13:01 -07:00
Phil Ringnalda
4227fff1a3 Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
CLOSED TREE

Backed out changeset 076d1d47d601 (bug 1070755)
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz
25923032b0 Bug 998863: Asynchronous Plugin Initialization, Part 5: PluginModuleChild changes; r=jimm 2014-12-24 17:56:22 -07:00
Benjamin Smedberg
c5bf7a3d77 Bug 1108035 - Add a preference that allows us to disable Flash protected mode from within Firefox. We do this by hooking CreateFileW and replacing the Flash config file with our own. r=aklotz 2014-12-12 10:19:06 -05:00
Mike Conley
136e538abf Bug 1008435 - Let the Gecko Profiler work with child processes. r=BenWa,smaug.
We now allow profiling the content process for e10s, and plugin processes.
2014-11-18 12:50:25 -05:00
Bill McCloskey
c49d4cbef6 Bug 1093693 - [e10s] Don't use sync messages between plugins and chrome process (r=jimm) 2014-11-18 21:46:01 -08:00
Bill McCloskey
7061e6eaa0 Bug 641685 - Start plugins from the chrome process in e10s (r=bsmedberg)
This patch has a few side effects:
1. Plugins in the chrome process are "mirrored" to all content processes,
although this mirroring is currently imperfect (bug 1090576)
2. Plugins are no longer sorted by modification date in nsPluginHost.
3. Plugin exceptions are no longer propagated to JS code. They are ignored.
2014-10-29 08:05:36 -07:00
Bill McCloskey
ea4cd2e4e8 Bug 641685 - Make plugin object map a singleton in the plugin process (r=bsmedberg)
This patches moves the object map (which tracks the PluginScriptableObjectChild
and PluginInstanceChild for a given NPObject) from the PluginModuleChild to
a global variable. This change prepares the way for having multiple PluginModuleChild
instances in a given plugin process.
2014-10-29 08:04:51 -07:00
Bill McCloskey
e5e5debbf4 Bug 1081353 - Eliminate PPluginIdentifier (r=bsmedberg) 2014-10-20 09:47:25 -07:00
Robert O'Callahan
864665b3b1 Bug 1072528. Part 1: Remove plugin-related code. r=bsmedberg 2014-09-24 16:35:00 -04:00
Josh Aas
4e35cfb6da Bug 1011225: Improve e10s process naming on OS X. Patch started by Benoit Girard, completed by Josh Aas. r=njn,benwa 2014-08-26 12:03:09 -05:00
Bill McCloskey
a1fb9412e0 Bug 1050604 - Get IPDL tests passing again (r=bent) 2014-08-20 12:49:11 -07:00
Jim Mathies
2b5a34b919 Bug 874437 - Only enable ipc sync wait deferred Windows message handling for plugin protocols, everything else should use standard blocking waits. r=bsmedberg 2014-08-15 12:12:37 -05:00
Emilio Pozuelo Monfort
9f2994085d Bug 624422 - Clean up MOZ_WIDGET_GTK usages. r=karlt
Based on a patch from Mike Hommey.
2014-05-28 04:23:00 -04:00
John Schoenick
314fbc4e26 Bug 980625 - Fix minor leak in PluginModuleChild::Init found by LSAN. r=josh 2014-03-12 11:47:46 -07:00
Benjamin Smedberg
5064bec7b3 Bug 778866 - Abort from the I/O thread on abnormal shutdown of a plugin-process, in case the main thread is wedged and the Firefox process has already been killed, r=cjones 2014-03-04 12:17:01 -05:00
Ehsan Akhgari
860f2c1f29 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Birunthan Mohanathas
88a0348924 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo 2013-12-08 21:52:54 -05:00
Jacek Caban
62a166fdfc Bug 944427 - Fixed char16_t/wchar_t mismatch in dom/ r=bsmedberg 2013-12-04 13:19:38 +01:00
Birunthan Mohanathas
08cf444a2b Bug 784739 - Switch from NULL to nullptr in dom/plugins/ipc/; r=ehsan 2013-10-23 16:34:46 -04:00
David Anderson
b4cb2d8837 Rename IPDL's RPC to Interrupt (bug 910020, r=bent). 2013-09-30 17:27:45 -07:00
David Anderson
d2c237dd72 Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent). 2013-09-27 18:42:08 -07:00
Robert O'Callahan
51222bdd45 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
Doug Turner
7767c0773f Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
David Zbarsky
df0a410d40 Bug 885804: Renaming in content/dom r=jlebar 2013-07-08 11:48:39 -04:00
Martin Stransky
2f346a68a7 Bug 879515 - Port GTK2 to GTK3 - dom/plugins fixes. r=karlt 2013-06-10 08:36:26 -04:00
Benoit Girard
fb221d781b Bug 853358 - Add plugin profiling support. r=ehsan,bsmedberg 2013-03-21 10:17:23 +01:00
Georg Fritzsche
97832bc8c5 Bug 824069 - Check if entry is in object map. r=bsmedberg 2013-01-15 17:02:11 +01:00
Benoit Girard
e0f18a00d8 Bug 825620 - Refactor plugin quirks on OSX to properly initialize values. r=smichaud 2013-01-02 16:05:03 -05:00
Georg Fritzsche
bb92462f25 Bug 823559 - Make _convertpoint fail instead of abort when called from outside the plugin thread. r=bsmedberg 2012-12-20 20:47:46 +01:00
Steven Michaud
f2e28aeb91 Bug 804606 - Stop Flash from crashing in CoreGraphics mode on accessing "our" CGContextRef outside of the call we use to pass it. r=bgirard 2012-12-16 16:39:29 -06:00
Isaac Aggrey
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Mike Hommey
4b3af52225 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Jan Beich
73e784c7bf Bug 753046 - Apply libc++ fixes after OS_BSD changes. r=cjones 2012-08-28 23:17:07 +02:00
Martin Husemann
958bfb58ac Bug 753046 - Add IPC support for BSDs, dom/plugins/ipc part. r=cjones 2012-08-28 23:16:13 +02:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Benjamin Smedberg
a0049a456e Bug 700583 - Null-check our way out of crashes on both mobile and desktop in pr_FindSymbolInLib caused by plugin code where the plugin fails to load correctly, r=josh 2012-08-21 14:38:51 -04:00
Ben Turner
c8df603ac2 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones. 2012-08-16 00:02:32 -04:00
Martin Stransky
9f2071c211 Bug 544088 - Support Xt plugins OOP. r=karlt 2012-08-01 16:34:08 -04:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Martin Stransky
9f24c66177 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Ryan VanderMeulen
183a1466e1 Backout a07e9d98a7c6 (Bug 627699) due to build bustage. 2012-06-21 20:56:10 -04:00