Markus Stange
e2336b07a8
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=billm,njn
...
MozReview-Commit-ID: EROfGuYQ6a0
--HG--
extra : rebase_source : be0aa1b9c7963882e8e7d47964f2da5b670ab10a
extra : intermediate-source : e6f368f2d8741f2a9655b288d49b59fbbd6b90b7
extra : source : 51cdc2541486d5ddf2d385ec0459a9ec38b8775b
2017-05-30 15:06:14 -04:00
David Parks
3b7d1c27e9
Bug 1367806 - Fix ref counting of tasks for remoted Win32 methods in plugin processes. r=jimm
...
We were using the task after we .forget() it.
2017-05-26 13:19:54 -07:00
David Parks
f2774deb20
Bug 1363290 - Part 3: Proxy win32's SetCursorPos for plugins in chrome process. r=jimm, r=jed
...
SetCursorPos is used by Flash's relative cursor motion behavior. It is blocked by the plugin sandbox. This patch allows it to run by proxying it on the main process.
--HG--
extra : histedit_source : 85515d398c0c107c2258185c0591a943b26e724a
2017-05-16 14:47:09 -07:00
David Parks
9dac5ced13
Bug 1363290 - Part 1: Refactor PluginModuleChild's GetFileNameTask to extract PluginThreadTask. r=jimm
...
The extracted PluginThreadTask will also be used to hook the Win32 SetCursorPos method.
2017-05-16 14:39:59 -07:00
Phil Ringnalda
6368ef89e2
Backed out 5 changesets (bug 1330185, bug 1330184) for leaking an nsTArray_base from the plugin process on Win8
...
Backed out changeset e6f368f2d874 (bug 1330185)
Backed out changeset 2b8d50fcb20f (bug 1330184)
Backed out changeset dbe452a9eebb (bug 1330184)
Backed out changeset e13b9e798e16 (bug 1330184)
Backed out changeset 52489c7eadaf (bug 1330184)
MozReview-Commit-ID: 8L20BZ5E3t2
2017-05-22 19:45:35 -07:00
Markus Stange
9bf6b534a2
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=njn, r=billm
...
MozReview-Commit-ID: EROfGuYQ6a0
--HG--
extra : rebase_source : 3495ccc7700703cc587f571dfc12e46a682c29a2
extra : source : 51cdc2541486d5ddf2d385ec0459a9ec38b8775b
2017-05-22 13:47:02 -04:00
Markus Stange
42b5d166ec
Back out bug 1330184 and bug 1330185 because of test failures.
...
MozReview-Commit-ID: ILD4mevlSU6
2017-05-21 15:11:15 -04:00
Markus Stange
b5fdcd479d
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=njn, r=billm
...
MozReview-Commit-ID: EROfGuYQ6a0
--HG--
extra : rebase_source : de266bda4fc2d6532ff45a6d548b13cd0b4f7206
extra : histedit_source : ad5c4e140c068f17c51d5085fd88ac691e50ab4f
2017-05-21 14:06:50 -04:00
Lie Ryan
9db89db495
Bug 1352572 - Return NPERR_GENERIC_ERROR if plugin calls NPN_PostURLNotify(file=true); r=bsmedberg
...
NPN_PostURLNotify(file=true) is no longer supported in NPAPI.
MozReview-Commit-ID: 12JlYduC7R8
--HG--
extra : rebase_source : dc9bd752f74b727d003c1371211095bc6656b8d3
2017-05-06 07:27:08 +00:00
Lie Ryan
bdde925f5b
Bug 1352572 - Return an NPERR_GENERIC_ERROR if plugin tries to call NPN_PostURL(file=true); r=bsmedberg
...
NPN_PostURL(file=true) is no longer supported in NPAPI.
MozReview-Commit-ID: IyLJSj4bKRR
--HG--
extra : rebase_source : f684a634c649eb3bae4f802f43fe810d3d88f96b
2017-04-08 16:48:47 +00:00
Nicholas Nethercote
ea25e62e3c
Bug 1360471 (part 4) - Use a bitfield to represent profiler features. r=mstange.
...
Currently the profiler mostly uses an array of strings to represent which
features are available and in use. This patch changes the profiler core to use
a uint32_t bitfield, which is a much simpler and faster representation.
(nsProfiler and the profiler add-on still use the array of strings, alas.) The
new ProfilerFeature type defines the values in the bitfield.
One side-effect of this change is that profiler_feature_active() now can be
used to query all features. Previously it was just a subset.
Another side-effect is that profiler_get_available_features() no longer incorrectly
indicates support for Java and stack-walking when they aren't supported. (The
handling of task tracer support is unchanged, because the old code handled it
correctly.)
2017-05-01 14:23:34 +10:00
Nicholas Nethercote
cc78872f8c
Bug 1360471 (part 3) - Rename various "thread name filters" identifiers as "filters". r=mstange.
...
The new names are more concise and matches common usage elsewhere (e.g.
profiler_start() arguments).
This patch is similar to bug 1358074 part 5.
2017-05-01 13:42:53 +10:00
Petr Sumbera
df0c2aae53
Bug 1357451 - Add OS_SOLARIS ifdefs to various IPC code. r=kchen
...
--HG--
extra : rebase_source : 2720ac11f122f267408c2d01ab13ffe0a8181df2
2017-04-18 08:53:59 -07:00
Markus Stange
59446b4f09
Bug 1321617 - Tell the CrossProcessProfilerController whether a profile is a response to a GatherProfile request or whether it was sent because the process was exiting. r=mconley
...
MozReview-Commit-ID: BLkaeZqtRhv
--HG--
extra : rebase_source : b0271115a66afbf54d98b5bad61165f815f5bd8c
extra : histedit_source : 299cccc9cc8c06de4d61686ff49d2b0e7649da78
2017-04-12 16:44:31 -04:00
raouldc
b4261cfb61
Bug 1352576 - Removed all instances of NPN_GetAuthenticationInfo from the codebase r=bsmedberg
...
NPN_GetAuthenticationInfo is an NPAPI API we implemented for Java and since we only support Flash we no longer need it.
MozReview-Commit-ID: HxNn91QeaMB
--HG--
extra : rebase_source : 016320ce93bde525dbf1b74f50f8b60d141d31cd
2017-04-13 23:57:08 +12:00
Kyle Machulis
fd15c21a56
Bug 1350940 - Label Runnables in dom/plugins; r=bsmedberg
...
MozReview-Commit-ID: DCxeZUj6CEd
--HG--
extra : rebase_source : ff3c4f30530f289a69807c9762a18d40f2ffbc7d
2017-03-27 13:35:25 -07:00
Markus Stange
2a4fe61200
Bug 1321907 - Move cross process profiler controlling code from ContentParent and PluginModuleParent into a new class called CrossProcessProfilerController. r=mconley,njn
...
MozReview-Commit-ID: HY2iWHlDaEy
--HG--
extra : rebase_source : a91e7b40ea2dbd6d75c2d1a62c359d7ea983fe3c
2017-03-22 21:44:59 -04:00
Benjamin Smedberg
97d5872250
Bug 1338172 part C - Remove support for windowed mode plugins on Linux (GTK). r=jimm
...
MozReview-Commit-ID: 5rnxozEKCwn
--HG--
extra : rebase_source : 15fd86ebea076d10c068c8443dca60ecf50d74b2
extra : source : 907d9c3d104303eeb873d63d82286aeac015fd00
2017-02-09 10:05:00 -05:00
Benjamin Smedberg
c974a29a4b
Bug 1342141 part B - Use NP_EMBED as the mode for all plugins, whether they are full-page or not, r=jimm
...
MozReview-Commit-ID: BeB24ux8TEp
--HG--
extra : histedit_source : 74c556c04e56ae7e5d6c5cd8f42f49f358864bac
2017-02-23 12:37:42 -05:00
David Parks
8e150e4643
Bug 1284897 - Hook GetSaveFileNameW/GetOpenFileNameW to record and grant a sandboxed process permission to access user-chosen files. r=jimm
...
--HG--
extra : rebase_source : 024eae9f9657579debd38baba1526acfdca2385a
2017-02-08 11:38:40 -08:00
Sebastian Hengst
3db78708f4
Backed out changeset c35afe490583 (bug 1284897)
2017-02-21 23:13:20 +01:00
David Parks
7c0cff84c2
Bug 1284897 - Hook GetSaveFileNameW/GetOpenFileNameW to record and grant a sandboxed process permission to access user-chosen files. r=jimm
...
--HG--
extra : rebase_source : fcfe35521d457905d3205752343c2b9da9bef13d
extra : histedit_source : f44f572c1bc17d1ac8d8d1cef7ed35e5f8125b79
2017-02-08 11:38:40 -08:00
David Anderson
dfac09e59c
Remove PCrashReporter. (bug 1338310, r=billm)
2017-02-21 11:24:26 -08:00
Phil Ringnalda
87ae1a50e4
Backed out 5 changesets (bug 1284897) for mozilla::SandboxPermissions::RemovePermissionsForProcess crashes
...
Backed out changeset 19b2fcee13a9 (bug 1284897)
Backed out changeset a5171791437f (bug 1284897)
Backed out changeset 3ea8b8a18515 (bug 1284897)
Backed out changeset 21497a4e3bde (bug 1284897)
Backed out changeset 12e17d5f0fa9 (bug 1284897)
2017-02-16 22:14:15 -08:00
David Parks
32aabd5e62
Bug 1284897 - Hook GetSaveFileNameW/GetOpenFileNameW to record and grant a sandboxed process permission to access user-chosen files. r=jimm
2017-02-08 11:38:40 -08:00
Wes Kocher
3797956aa6
Merge m-c to inbound a=merge
...
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
David Anderson
3a24634204
Switch PPluginModule from PCrashReporter to shmem-based CrashReportHost/Client. (bug 1338281 part 5, r=billm)
2017-02-15 14:44:30 -08:00
Wes Kocher
4468d77e14
Backed out 5 changesets (bug 1338172) for linux crashtest failures a=backout
...
Backed out changeset 9ee6c6f4e59c (bug 1338172)
Backed out changeset 1c92fbfca20a (bug 1338172)
Backed out changeset 907d9c3d1043 (bug 1338172)
Backed out changeset e4994ab9d628 (bug 1338172)
Backed out changeset 6209f07e1f26 (bug 1338172)
MozReview-Commit-ID: 3f4xBRcGPqM
2017-02-14 14:31:54 -08:00
Benjamin Smedberg
69f1a9f11e
Bug 1338172 part C - Remove support for windowed mode plugins on Linux (GTK). r=jimm
...
MozReview-Commit-ID: 5rnxozEKCwn
--HG--
extra : rebase_source : 4aacde98aa1a57c16bbe951bc901d2b3020ce6be
extra : histedit_source : 75570fc49bcc942ff2f34ea3aabf831700c1ef52
2017-02-09 10:05:00 -05:00
Sylvestre Ledru
6adbd4e7f3
Bug 1338086 - Remove useless else blocks in order to reduce complexity in dom/plugins/ r=jimm
...
MozReview-Commit-ID: Bp1M9LW77Ia
--HG--
extra : rebase_source : 94cd6e84c313703c066d2dbdc152aca536c9f1e2
2017-02-09 10:33:57 +01:00
Makoto Kato
1b1e8ccc2f
Bug 1337299 - Remove old version compatibility into WinUtils. r=jimm
...
MozReview-Commit-ID: IBnnslpinzq
2017-02-10 12:06:23 +09:00
Carsten "Tomcat" Book
f0343913a8
Backed out changeset f4c6758e15f9 (bug 1307708) on developers request
2017-02-09 11:49:38 +01:00
Karl Tomlinson
671fdc9bae
bug 1331320 install X11 error handler through Xlib in plugin process as GTK2 does not use g_error r=glandium
...
MozReview-Commit-ID: 9Io2fABc2hI
--HG--
extra : rebase_source : 7da1b83d5003d49d0eaddd94509f50a40c043825
2017-01-13 20:50:58 +13:00
David Parks
2b771634a4
Bug 1307708 - Make the GetKeyState IPDL call sync (it was intr). r=jimm
...
This should avoid destruction messages from deleting the actor while the intr message is awaiting a response.
--HG--
extra : rebase_source : b45e8ffcfe6f63213a289aac874fd43cb71a54ec
2017-02-06 11:53:59 -08:00
Andrew McCreight
87a0a37e72
Bug 1333915, part 2 - Stop using bridges and spawns in plugins. r=jimm
...
The old code would do the content process portion of the open by
immediately sending a message back to the content process, but this
has some weird issues with nesting and priorities. Instead of doing
that, I return the endpoint for the content process back to the
original sync call. This requires more code changes, to thread the
endpoint along, but it is conceptually simpler.
Once I removed the bridges and got it working, I was just able to
remove the spawns from the IPDL file and it worked.
MozReview-Commit-ID: 1tfiJrV4jbV
--HG--
extra : rebase_source : 1ce0012d3f51b0cdebb1954cf473811a9d6c47a7
2017-01-25 14:17:17 -08:00
Andrew McCreight
b6f21443e2
Bug 1333915, part 1 - Don't open the channel in CommonInit. r=jimm
...
The next patch will open the channel differently in each case, so move
that code into the callers.
MozReview-Commit-ID: 4zkLTcoZhUu
--HG--
extra : rebase_source : 65e8bf90a628034914c5526c8efef9e61fc624ab
2017-01-25 16:15:44 -08:00
Ehsan Akhgari
c358786407
Bug 1334509 - Remove support for the NPNURLVCookie NPAPI; r=bsmedberg
2017-01-27 12:55:41 -05:00
Andrew McCreight
79f756b89f
Bug 1334221 - Remove the unused PluginModuleChild::mTransport field. r=jimm
...
MozReview-Commit-ID: 77zCom8y6Ty
--HG--
extra : rebase_source : 65543e73a9e5f64a60a83f3068c16c2ceb450b00
2017-01-25 16:29:46 -08:00
Ryan VanderMeulen
f48d45ad89
Backed out 3 changesets (bug 1331320) for frequent X_GetWindowAttributes crashes.
...
Backed out changeset fd57bcd5daf2 (bug 1331320)
Backed out changeset b272ced2faa9 (bug 1331320)
Backed out changeset cee10a2c348a (bug 1331320)
2017-01-17 11:31:43 -05:00
Karl Tomlinson
1c1fda6b1d
bug 1331320 install X11 error handler through Xlib in plugin process as GTK2 does not use g_error r=glandium
...
MozReview-Commit-ID: 9Io2fABc2hI
--HG--
extra : rebase_source : 7da1b83d5003d49d0eaddd94509f50a40c043825
2017-01-13 20:50:58 +13:00
Tomislav Jurin
348bfffc19
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Kan-Ru Chen
f8100451db
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Andi-Bogdan Postelnicu
4df235170d
Bug 1317241 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in dom/. r=baku
...
MozReview-Commit-ID: CST7fV4h20h
--HG--
extra : rebase_source : 663d24e9c15d7b42023f1557b75fb8dabfc9b6a9
2016-11-14 11:35:58 +02:00
Tom Schuster
774a8bf34d
Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan
2016-10-04 17:57:51 +02:00
David Parks
2e014f8e84
Bug 1303755 - Flash code using GetKeyState crashes attempting IPC from non-main thread. r=jimm
...
On Windows, when not already running on the main thread, post GetKeyState calls to main thread and wait for result with a semaphore.
--HG--
extra : rebase_source : 38c3b2fa678d2eb05681139de521177253942ff7
2016-09-19 13:41:45 -07:00
David Parks
17683f933c
Bug 1251202 - Implement Default Audio Device Notifications for NPAPI plugins on Windows. r=jimm
...
Adds plugin variables NPPVpluginRequiresAudioDeviceChanges and NPNVaudioDeviceChangeDetails on Windows.
--HG--
extra : rebase_source : ff18bbca9772352b18be1dfcde90570775e8d5cc
2016-09-19 14:05:41 -07:00
Makoto Kato
0d03e6a9b7
Bug 1180684 - Part 2. Hook GetKeyState on plugin process. r=aklotz
...
MozReview-Commit-ID: 3cCWMYYaTkn
--HG--
extra : rebase_source : 5350555661244ba0e3afe86bde12988270f9f7cf
2016-08-22 16:06:50 +09:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Jim Mathies
b5801fa3f7
Bug 1283274 - Disable windowless workaround if we detect a flash library that support async rendering. r=aklotz
...
MozReview-Commit-ID: 3RubBjRoeEa
2016-07-25 15:45:29 -05:00
Nicholas Nethercote
a913f99107
Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal.
...
Because bug 1282866 removed Qt support but missed a bunch of things.
* * *
Bug 1285554 - more
--HG--
extra : rebase_source : c48d2485f1fdf1c961e08d91651bbca41e3a1a53
2016-07-12 09:16:45 +10:00