Commit Graph

158 Commits

Author SHA1 Message Date
Makoto Kato
bbf4de1ded 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
ffc915c2f6 Backed out changeset f4c6758e15f9 (bug 1307708) on developers request 2017-02-09 11:49:38 +01:00
Karl Tomlinson
e7e822508a bug 1331320 install X11 error handler through Xlib in plugin process as GTK2 does not use g_error r=glandium
MozReview-Commit-ID: 9Io2fABc2hI
2017-01-13 20:50:58 +13:00
David Parks
5691514b86 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.
2017-02-06 11:53:59 -08:00
Andrew McCreight
8f66878a7c 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
2017-01-25 14:17:17 -08:00
Andrew McCreight
e3f951dfe9 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
2017-01-25 16:15:44 -08:00
Ehsan Akhgari
d09487caeb Bug 1334509 - Remove support for the NPNURLVCookie NPAPI; r=bsmedberg 2017-01-27 12:55:41 -05:00
Andrew McCreight
83e0057493 Bug 1334221 - Remove the unused PluginModuleChild::mTransport field. r=jimm
MozReview-Commit-ID: 77zCom8y6Ty
2017-01-25 16:29:46 -08:00
Ryan VanderMeulen
124ebff07d 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
b8ad8372e6 bug 1331320 install X11 error handler through Xlib in plugin process as GTK2 does not use g_error r=glandium
MozReview-Commit-ID: 9Io2fABc2hI
2017-01-13 20:50:58 +13:00
Tomislav Jurin
9ff3007b90 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
1b9dd22e2d 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
dbc05f2e21 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
2016-11-14 11:35:58 +02:00
Tom Schuster
1b6fc2bed7 Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
David Parks
9c48c24945 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.
2016-09-19 13:41:45 -07:00
David Parks
ae5e8512ae Bug 1251202 - Implement Default Audio Device Notifications for NPAPI plugins on Windows. r=jimm
Adds plugin variables NPPVpluginRequiresAudioDeviceChanges and NPNVaudioDeviceChangeDetails on Windows.
2016-09-19 14:05:41 -07:00
Makoto Kato
8893b79119 Bug 1180684 - Part 2. Hook GetKeyState on plugin process. r=aklotz
MozReview-Commit-ID: 3cCWMYYaTkn
2016-08-22 16:06:50 +09:00
Kan-Ru Chen
a9b19d0584 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
2016-08-24 14:47:04 +08:00
Jim Mathies
38056fbe71 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
2e56b393d0 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
2016-07-12 09:16:45 +10:00
Lee Salzman
dbd438bc8a Bug 1286317 - part 2 - remove Qt widget usage from plugins. r=jrmuizel 2016-07-12 20:28:31 -04:00
David Anderson
ad7d54327f Clean up Transport memory management in IPDL. (bug 1283744, r=billm) 2016-07-06 18:51:20 -07:00
Kyle Huey
b91ceaea75 Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj 2016-05-05 01:44:59 -07:00
Carsten "Tomcat" Book
d10653e369 Backed out changeset fd833da413ad (bug 1268313) 2016-04-29 14:21:25 +02:00
Kyle Huey
b334682d78 Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
f3e34e67b3 Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -07:00
Peter Chang
00e7e59c88 Bug 1263499 - unify the QuickExit function, r=bsmedberg
MozReview-Commit-ID: DGJbyXULHPe
2016-04-11 16:12:33 +08:00
David Anderson
4686122c82 Revive NPAPI async drawing: stub code. (bug 1217665 part 1, r=aklotz) 2015-12-02 11:31:16 -08:00
Mike Conley
97fc9f775a Bug 1103094 - Start profiling subprocesses if the parent process is already profiling. r=BenWa 2015-08-11 14:26:27 -04:00
Birunthan Mohanathas
ac37dec517 Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Andrew McCreight
3289cbeb94 Bug 1212984 - HangMonitorChild should delete its Transport. r=billm
Also fix some minor comment typos.
2015-10-12 10:27:00 -07:00
Makoto Kato
14b5f018cf Bug 1202988 - Don't use GetTempPath for flash's mms.cfg hack for low integrity. r=aklotz 2015-09-09 17:30:57 +09:00
Bob Owen
0df3fee46d Bug 1182411 Part 1: Make plugin quirks available to the Parent as well as the Child. r=jimm 2015-08-12 16:00:25 +01:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Brad Lassey
6f3fecc1b0 bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Wes Kocher
1e193b542b Backed out changeset 9e0475a23d21 (bug 1158561) for assertions in test_clear_site_data.html CLOSED TREE 2015-07-01 16:25:26 -07:00
Brad Lassey
5f96379688 bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Ryan VanderMeulen
45d22e186e Backed out changesets 57bbe09f18f2 and 8353c823b8b5 (bug 1158561) for win32 build bustage.
CLOSED TREE
2015-07-01 12:11:41 -04:00
Brad Lassey
ffff931b1a bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Chris Peterson
8c77629af9 Bug 554186 - Part 1: Unimplement NPN_Status API. r=josh 2015-06-13 22:50:03 -07:00
Chris Peterson
5ca8bc8387 Bug 554178 - Remove unused member variable PluginModuleChild::mUserAgent. r=jimm 2015-06-14 23:02:54 -07:00
Bill McCloskey
863eb051ac Bug 1164543 - Make plugin shutdown async in e10s (r=jimm) 2015-06-19 17:35:05 -07:00
Bill McCloskey
e52d70b575 Bug 1164543 - Remove gAllInstances from PluginModuleChild (r=jimm) 2015-06-19 17:35:05 -07:00
Benjamin Smedberg
78fdfc9617 Bug 1175147 - Don't do threadsafety asserts for NPN_MemAlloc and friends, r=jimm 2015-06-16 12:04:04 -04:00
Ted Mielczarek
fbe051c955 bug 1171131 - Make dom/plugins/ipc build for iOS. r=jimm 2015-06-12 08:46:43 -04:00
Mike Conley
009806627b Bug 1116188 - Add async ProfileGatherer as the mechanism for gathering profiles from subprocesses. r=bgirard,bz 2015-06-10 17:58:30 -04:00
Aaron Klotz
a04a6e21bb Bug 1151318: Add quirks flag to help Unity plugin release mouse capture; r=jimm 2015-05-20 13:13:16 -06:00
Shu-yu Guo
cdf2319b67 Bug 1166492 - Return UniquePtr<char[]> from profiler_get_profile to avoid double copying. (r=mstange) 2015-05-26 22:58:40 -07:00
Aaron Klotz
ccde7a746a Bug 1157237: Move invocation of async NPP_New to an async task; r=jimm 2015-05-06 01:53:51 -06:00
Aaron Klotz
559ece13f1 Bug 1156903: Add quirk flag that causes NPN_GetValue(NPNVdocumentOrigin) to return an empty string even when it fails; r=jimm 2015-05-06 01:07:32 -06:00