Граф коммитов

636 Коммитов

Автор SHA1 Сообщение Дата
Eric Rahm 3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Steven Michaud 3c4efb8561 Bug 1154876 - Block calls to hooked methods off the plugin thread. r=spohl 2015-05-19 20:56:34 -05:00
Eric Rahm 4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Birunthan Mohanathas 735ccdd101 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj 2015-05-18 13:50:35 -07:00
Mike Hommey c917606f95 Bug 1043692 - Move DIST_INSTALL to moz.build. r=gps 2015-05-12 07:55:22 +09:00
Aaron Klotz e5f738ac2c Bug 1157237: Move invocation of async NPP_New to an async task; r=jimm
--HG--
extra : rebase_source : d637688cf112b4d4ed599c6cc45eebd908a67788
2015-05-06 01:53:51 -06:00
Aaron Klotz 7ae85d5d47 Bug 1156903: Add quirk flag that causes NPN_GetValue(NPNVdocumentOrigin) to return an empty string even when it fails; r=jimm
--HG--
extra : rebase_source : 73c726920f9f3187a41f2834f942e891efae9e28
2015-05-06 01:07:32 -06:00
Aaron Klotz acbeefcd97 Bug 1160298: Modify TaskFactory::NewTask to support variadic templates; r=gfritzsche 2015-04-30 14:23:24 -06:00
Mike Conley 91457c2516 Bug 1146955 - Unify pluginID for GMP and runID for NPAPI plugins to use the same internal incrementor. r=jesup, mrbkap.
--HG--
extra : rebase_source : bd7989a043f0b36f23ffc8d35a55a6110b09b163
extra : source : 175040b5d347dcbb31cf63f124f88ba1f53fda61
2015-04-27 15:09:45 -04:00
Mike Hommey 924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Aaron Klotz d5c84432d0 Bug 1156800: Post a task to send async NPP_New result from child to parent; r=jimm
--HG--
extra : rebase_source : ee89159fd7781496aef5fdd55cfe9b610338581d
2015-04-27 16:07:28 -06:00
Bill McCloskey ae2bb7ea61 Bug 1154898 - Avoid offline observer crash (r=aklotz) 2015-04-27 19:45:18 -07:00
Jim Mathies ed59f0c98f Bug 1155908 - Plugin crash reports should include the content process minidump. r=billm 2015-04-23 04:18:53 -05:00
Carsten "Tomcat" Book 8f421f43e9 Backed out changeset d6df8807c839 (bug 1155908) for bustage 2015-04-23 10:34:39 +02:00
Jim Mathies 8357773830 Bug 1155908 - Plugin crash reports should include the content process minidump. r=billm 2015-04-22 07:06:34 -05:00
Andrea Marchesini cb54385682 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Ehsan Akhgari 399276d5fc Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher 638b28b8e0 Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Ehsan Akhgari 3d21a05904 Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Aaron Klotz 489c281fe6 Bug 1155503: BrowserStreamParent should null out its NPStream pointer and we should check for it; r=jimm
--HG--
extra : rebase_source : 5dd15452653114a17e1b9504932cd71934b69c36
2015-04-20 17:04:33 -06:00
Nicolas Silva e887c595eb Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas 2015-04-21 17:22:30 +02:00
Nicolas Silva cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Aaron Klotz 9be46b97cf Bug 1152395: Ensure that NP_Shutdown respects async plugin init; r=jimm
--HG--
extra : rebase_source : 2fc1fda02d611303d18eb24a438ed2ac223a52f7
2015-04-08 11:31:18 -06:00
Mike Conley d95fcd35e3 Bug 1148012 - Expose run ID through nsIObjectLoadingContent.idl. r=josh,smaug.
The run ID for a plugin is retrieved and cached in the nsObjectLoadingContent
on plugin instantiation.

--HG--
extra : rebase_source : d1e87b7751e6367c482b2420aa43bfadbce5e3e8
2015-03-17 13:28:32 -04:00
Mike Conley 22a0f74e8f Bug 1148012 - Add a run ID for plugins to differentiate subsequent runs of the same plugins. r=jimm.
Normally, this could be served by the process ID of a plugin, however, run ID is meant
to be consumed by multi-process browser chrome code for telling different runs of a
plugin apart (for example, for searching the DOM for a crashed instance of a plugin,
while ensuring that we don't accidentally find newly spawned instances that have not
crashed). Exposing something as low-level as the process ID to browser chrome code
seemed like Too Much Information. Also, there is the extremely unlikely chance that
a process ID might be re-used immediately after the original process shuts down. This
run ID avoids that case, regardless of how unlikely.

--HG--
extra : rebase_source : 4f0072ef660645efdb26d8fa7c9f03dfc60a4f4a
2015-03-17 13:42:34 -04:00
Jim Mathies 46a2e007da Bug 1132874 - Simplify PPluginWidget protocol handling, and avoid sending async messages from the parent. Addresses a problem with sub protocols that are torn down randomly from either side of the connection. r=aklotz 2015-04-07 08:17:27 -05:00
Nicolas Silva 0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Aaron Klotz 161897ae0e Bug 1149358: Ensure that plugin streams are not manipulated by PluginAsyncSurrogate if plugin destruction is imminent; r=jimm
--HG--
extra : rebase_source : 440ecf2bd74fd5e28ed715e7e477d9fd55d18697
2015-04-01 16:53:47 -06:00
Bob Owen e4f543bb58 Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Bob Owen eef3ca5f6e Bug 1119878 Part 1: Change SandboxTarget to hold sandbox target services to provide functions. r=aklotz, r=glandium, r=cpearce 2015-04-01 09:40:35 +01:00
Aaron Klotz 3a239b4632 Bug 1133351: Part 1 - Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
--HG--
extra : rebase_source : ebb6b9c25565bd2721ee6537b2161511666e92ac
2015-03-25 20:54:23 -07:00
Mike Hommey c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Nicolas Silva e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Aaron Klotz 81d48654d0 Bug 1133351: Backed out 0cc8abe4e2bb for assertion failures; r=bustage 2015-03-28 06:08:26 -07:00
Phil Ringnalda e44926f4c1 Merge m-i to m-c, a=merge 2015-03-28 11:44:16 -07:00
Brad Lassey 3304765ba2 bug 1130976 - Flash context menu causes CPOW deadlock with AdBlock Plus, plugins should spin even loop in content process instead of the chrome process r=billm 2015-03-27 11:21:57 -04:00
Aaron Klotz e55e727569 Bug 1133351: Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
--HG--
extra : rebase_source : a14f07bce5c6c022f8141969bebce461cdaf006b
extra : amend_source : 19b9f98458218b896d4acbb36912935afcc34551
2015-03-25 20:54:23 -07:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Aaron Klotz 41e0657ba2 Bug 1145782: Add crash reporter annotations for async plugin init to parent and child processes; r=jimm
--HG--
extra : rebase_source : 8680b5577f8052c30c22eaa31ad34d4b92286fe5
2015-03-23 22:01:07 -06:00
Aaron Klotz f719fc245a Bug 1119565: Ensure that a plugin listener's stream type is always set, even when it is STREAM_TYPE_UNKNOWN; r=jimm
--HG--
extra : rebase_source : 96cf482e4f5508d2167088efdea785e3ee8c093a
2015-03-23 21:46:38 -06:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ehsan Akhgari 97b5f363cc Bug 579517 follow-up: Remove NSPR types that crept in 2015-03-16 21:15:10 -04:00
Aaron Klotz 30dc911b8c Bug 1135491: Part 1 - Add functions to notify plugin when a plugin destroy will be deferred; r=jimm
--HG--
extra : rebase_source : 20024e084d3a1c60c3ae14934ea46310c288949e
2015-02-27 12:59:07 -07:00
Aaron Klotz 1c5fc3bb80 Bug 1140683: Fix async plugin init using null plugin funcs on MacOSX; r=jimm
--HG--
extra : rebase_source : a354d758270b033f50c01ea93501c76d7e34a852
2015-03-09 12:10:02 -06:00
Jim Mathies a7954e5c2b Bug 1132874 - Improve protections against sending a parent plugin protocol shutdown message to the child after the child has torn down. r=aklotz 2015-03-10 06:33:20 -05:00
Aaron Klotz 56efb9658f Bug 1128768: Part 5 - Update plugin code to retrieve SWF file for hang annotations; r=jimm
--HG--
extra : rebase_source : e0604317f4556728b3fcfef0c601d0cdc5ad9476
2015-02-25 17:38:09 -07:00
Aaron Klotz 9692fd3226 Bug 1141093: Ensure that FinishInjectorInitTask::PostToMainThread is no longer executing before leaving FinishInjectorInitTask::Run; r=dmajor
--HG--
extra : rebase_source : 646412f0b979c41a713baf9eedee227a25402451
2015-03-09 19:23:34 -06:00
Phil Ringnalda 1129ae3cbd Backed out 2 changesets (bug 1138181, bug 1132874) for e10s crashes in browser_windowopen_reflows.js
CLOSED TREE

Backed out changeset fdf4671db324 (bug 1132874)
Backed out changeset ddd5517ce7d2 (bug 1138181)
2015-03-07 14:37:31 -08:00
Jim Mathies c0e9fddc57 Bug 1132874 - Improve protections against sending a parent plugin protocol shutdown message to the child after the child has torn down. r=aklotz 2015-03-07 14:14:04 -06:00
Aaron Klotz d1329c9051 Bug 1115438: Move PluginModuleParent's invocation of CreateToolhelp32Snapshot off the main thread; r=jimm
--HG--
rename : dom/plugins/ipc/ScopedMethodFactory.h => dom/plugins/ipc/TaskFactory.h
extra : rebase_source : fa4caf1f154974fd9994a8803db22c21c23d8cdf
2015-03-06 12:31:17 -07:00