Thomas Wisniewski
2f1accbc40
Bug 1305202 - Use NullString() more and remove superfluous Truncates(). r=smaug
2016-09-23 21:10:01 -04: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
Nicolas Silva
1ff5cca5f9
Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond
2016-09-16 17:49:39 +02:00
Milan Sreckovic
1240930501
Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas
2016-09-15 10:36:21 -04:00
David Anderson
d6259735bc
Protect ImageBridgeChild's singleton with a StaticMutex. (bug 1298938 part 5, r=mattwoodrow)
2016-09-13 16:30:57 -07:00
Kyle Machulis
7819d15177
Bug 820831 - Turn on ContentScaleFactor calculation on Windows; r=jimm
...
MozReview-Commit-ID: 5rqTURsO839
2015-09-17 13:31:34 -07:00
Manish Goregaokar
49b3b83008
Bug 1300337 - Replace None_ variants from nsStyleConsts.h with None; r=heycam,TYLin
...
MozReview-Commit-ID: CxHzbEzjLxT
2016-09-04 00:16:58 +05:30
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
Nicholas Nethercote
b5810a1eb4
Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
...
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.
In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.
> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.
> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");
This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
be true" sense used in assertions.
A common variation on the side-effect-free case is the following.
> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");
2016-09-02 17:12:24 +10:00
David Parks
1c77fd2891
Bug 1171393 - Remove sandbox write access to temp directory which was opened for tests. r=bobowen
2016-09-01 11:58:12 -07:00
Botond Ballo
28b24d5088
Bug 1288686 - Avoid X11's |#define None 0L| intruding on other parts of the code. r=jrmuizel
...
MozReview-Commit-ID: 9rD0KLTLg7l
2016-08-29 16:51:43 -04:00
Michael Layzell
5b51c96616
Bug 1297802 - Remove unused RefPtr<> and COMPtr<> types in dom/, r=baku
...
MozReview-Commit-ID: CLUJZdbN7sW
2016-08-29 11:40:02 -04: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
Sotaro Ikeda
85f2d33a46
Bug 1259571 - Reduce tearing with basic layers on Windows r=dvander
2016-08-23 15:18:55 -07:00
Nicholas Nethercote
0f4ec1c554
Bug 1293596 (part 8) - Make nsIWidget::EnableDragDrop() infallible. r=jimm.
...
Its return value is only checked in one low-value assertion.
The patch also does the following.
- Removes the Android and GTK overloadings of EnableDragDrop(), which are
identical to the nsBaseWidget one.
- Streamlines the Windows implementation: fixes the indentation and takes
advantage of infallible |new|.
2016-08-22 09:16:50 +10:00
Nicholas Nethercote
ab7ae3b80d
Bug 1293596 (part 7) - Make nsIWidget::Destroy infallible. r=karlt.
2016-08-10 10:04:11 +10:00
Kyle Machulis
bc30ae6af3
Bug 1287588 - Fix parameter ordering in embed tags; r=bsmedberg
...
MozReview-Commit-ID: 75ferxsBTgs
2016-08-18 10:22:03 -07:00
Nicholas Nethercote
1f65390cc9
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
2016-08-08 12:18:10 +10:00
Mason Chang
655ef03143
Bug 1290323. Write alpha values for plugin surfaces when using the Skia backend. r=jrmuizel
2016-08-05 10:29:12 -07:00
Carsten "Tomcat" Book
52c300009e
Backed out changeset 02d76f158f3d (bug 1259571) for talos xperf regressions
2016-08-08 11:53:51 +02:00
Sotaro Ikeda
b1f37d42eb
Bug 1259571 - Try tearing-free drawing with GDI r=dvander,mattwoodrow
2016-08-07 23:54:12 -07:00
David Anderson
8f1b55629b
Add DeviceManagerD3D11 as a wrapper around gfxWindowsPlatform. (bug 1282364 part 1, r=mattwoodrow)
2016-07-26 12:50:30 -07: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
Phil Bystrican
3f1f215273
Bug 1284939 - Removed definition and usage of QUIRK_FLASH_AVOID_CGMODE_CRASHES. Adjusted the bit shifts for quirk values that fell below it to keep the increment between them consistent. r=spohl
...
CGBridgeLayer was only ever constructed with aAvoidCGCrashes as false so its property mAvoidCGCrashes was removed and all conditionals that relied on it were removed. This also resulted in protectLastCGContext never doing any work so it was removed as well. r=spohl
2016-07-22 14:11:14 -04:00
Wei-Cheng Pan
a87ccbfa5e
Bug 1264566 - Part 2: Refactor all usage of FileDescriptor. r=valentin
...
Callers should use a UniquePtr to hold the platform handle.
MozReview-Commit-ID: 6BWnyAf4b3a
2016-05-27 16:12:51 +08:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book
9265f02f72
merge mozilla-inbound to mozilla-central a=merge
2016-07-21 16:24:36 +02:00
Chris Peterson
6c0f810682
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Aaron Klotz
c72897c00a
Bug 1277075: Modify parent and child process startup to use mscom::MainThreadRuntime; r=jimm
...
MozReview-Commit-ID: DpRPrxtgMoO
2016-06-04 01:42:40 -06:00
Eric Rahm
a9769642d5
Bug 1282980 - Remove MacQuirks. r=jrmuizel
...
MacQuirks was targeted for OSX from 10.6.8 up to but not including 10.7.0. We
have now removed support for 10.6 so we can safely remove this code. This also
fixes bug 1282184 where DMD is apparently choking on memory allocated in the
interpose library.
2016-07-19 23:48:29 -07:00
Makoto Kato
e28a8d5d84
Backed out changeset d6523dfaab78 (bug 1282980) due to OSX build failure
...
MozReview-Commit-ID: 9ZSylYsKDjp
2016-07-20 11:03:57 +09:00
Eric Rahm
7f5c0da102
Bug 1282980 - Remove MacQuirks. r=jrmuizel
...
MacQuirks was targeted for OSX from 10.6.8 up to but not including 10.7.0. We
have now removed support for 10.6 so we can safely remove this code. This also
fixes bug 1282184 where DMD is apparently choking on memory allocated in the
interpose library.
2016-07-19 16:49:24 -07:00
Bob Owen
4d92ace334
Bug 1252877 Part 4: Remove notification of plugins about scrolling from child. r=jimm
...
MozReview-Commit-ID: 2tHtOxx7jKa
2016-07-18 09:54:02 +01:00
Bob Owen
c9184bab91
Bug 1252877 Part 3: Remove plugin capture code from child. r=jimm
2016-07-18 09:54:02 +01:00
Bob Owen
87003f6f32
Bug 1252877 Part 2: On Windows capture an image for windowed plugins to be displayed during APZ scroll. r=jimm, r=mattwoodrow
...
MozReview-Commit-ID: ElE0GD3tLah
2016-07-18 09:54:02 +01: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
Benjamin Smedberg
cfd17e06ca
Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
...
MozReview-Commit-ID: EGqHHhCD7vD
2016-07-07 12:14:25 -04:00
David Anderson
ad7d54327f
Clean up Transport memory management in IPDL. (bug 1283744, r=billm)
2016-07-06 18:51:20 -07:00
a6ae90259e
Bug 1283559 - Remove obsolete OS X version checks in ipc/glue and dom/plugins/ipc. r=bsmedberg.
2016-07-06 18:34:05 +02:00
Gabriele Svelto
f8555cd1cf
Bug 1262852 - Create a minidump of the plugin process as soon as possible during hang r=jimm
2016-06-24 14:25:08 +02:00
David Anderson
988519f43e
Don't try to send PPluginSurface::__delete__ within ActorDestroy. (bug 1279340, r=bsmedberg)
2016-06-27 16:46:27 -07:00
Bill McCloskey
5c0499ab88
Bug 1277705 - Remove waitable_event_watcher (r=dvander)
2016-06-24 13:15:41 -07:00
David Anderson
78a6c64379
Move TaskFactory from dom/plugins to ipc/glue. (bug 1271180 part 1, r=aklotz)
2016-06-10 15:43:35 -04:00
Gabriele Svelto
f8f593accf
Backed out changeset c1dd7376263e (bug 1262852) which caused crashdumps from plugin hangs to be without a signature.
2016-06-12 00:25:25 +02:00
Phil Ringnalda
fb45b46515
Back out 5 changesets (bug 1271180) for static analysis bustage
...
CLOSED TREE
Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)
2016-06-11 00:46:09 -07:00
David Anderson
9efe15d5c6
Move TaskFactory from dom/plugins to ipc/glue. (bug 1271180 part 1, r=aklotz)
2016-06-10 15:43:35 -04:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Gabriele Svelto
55058521bf
Bug 1262852 - Create a minidump upon each plugin hang r=jimm
2016-05-26 00:14:36 +02:00