Kris Maglione
6b12d08f7d
Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
...
MozReview-Commit-ID: Iv4T1MVAF5
--HG--
extra : rebase_source : 1c518883d082884db7f9323a5acc20361228c26b
extra : histedit_source : 70a73c23d1199d3bfbb5379c78930401166c094b
2018-05-19 20:17:45 -07:00
Margareta Eliza Balazs
0bb5e5ba36
Merge inbound to mozilla-central. a=merge
2018-05-19 12:39:28 +03:00
David Parks
da2f987b8a
Bug 1419488: Release IAudioSessionControl on background thread on Win7 r=jimm
...
Releases the final reference to the IAudioSesionControl on a background thread in order to circumvent a hang at shutdown caused by stalled audio device interrupt handlers.
2018-05-04 15:57:26 -07:00
Adam Gashlin
81166cba63
Bug 603903 - Part 3: fix screen enumeration when not logged in r=jimm
...
MozReview-Commit-ID: LboLGStqpp0
--HG--
extra : rebase_source : d203d891e3c51c2514f45a3851471c3988ff0ce5
2018-04-25 15:01:11 -07:00
Adam Gashlin
cfb0debdc5
Bug 603903 - Part 2: restore session when restarted by Windows r=mikedeboer
...
MozReview-Commit-ID: EEKZAZZ9E98
--HG--
extra : rebase_source : 4013e4c7e1ef1e24238cde84229efb5b5b62fde4
2018-05-15 18:28:08 -07:00
Mats Palmgren
6e331b1d1d
Bug 1461222 part 2 - Make GetWidgetPadding return LayoutDeviceIntMargin. r=emilio
2018-05-17 17:30:35 +02:00
Mats Palmgren
bae2d6f225
Bug 1461222 part 1 - Make GetWidgetBorder return LayoutDeviceIntMargin. r=emilio
2018-05-17 17:30:35 +02:00
Bas Schouten
0185b11068
Bug 1457758: Blacklist NVidia driver 397.31. r=davidb
...
MozReview-Commit-ID: 9IomfIWkmpb
2018-05-17 16:46:52 +02:00
Makoto Kato
fb3fb140eb
Bug 1456294 - Hook ImmAssociateContextEx. r=masayuki
2018-05-17 14:47:55 +09:00
sotaro
196c70b995
Bug 1437334 - Block DX NV12 on SandyBridge for old graphics drivers r=jrmuizel
2018-05-17 12:07:20 +09:00
Jim Mathies
d11ede6c1b
Bug 1460003 - Only call nsWindow's AddHook for GetWindowInfo once. r=aklotz
2018-05-16 12:50:15 -05:00
Margareta Eliza Balazs
17675612bf
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-05-14 19:49:50 +03:00
Marco Bonardo
c8e987256f
Bug 1460570 - Merge mozIAsyncFavicons into nsIFaviconService. r=standard8
...
MozReview-Commit-ID: JAxNj9MfcUI
--HG--
extra : rebase_source : b096792719a74fcf15909ce93f0d9341754009f6
2018-05-10 13:49:00 +02:00
David Major
2428ba795b
Bug 1460699 followup bustage fix.
...
error: use of undeclared identifier 'sShutdownOccured'; did you mean 'sShutdownOccurred'?
Why yes, yes I did. Thanks clang!
2018-05-14 11:48:01 -04:00
Brendan Dahl
0cc1c8ec9b
Bug 221706 - Use unwritable region when printing on Windows. r=jimm
...
Read more information from the printing device to setup the unwritable region.
Translate the printing context's coordinate system so that the point (0,0)
refers to the top-left of the physical paper instead of the top-left of the
printable region.
MozReview-Commit-ID: 9ei2FgEUDyO
--HG--
extra : rebase_source : c2e2715f47499538035101a285152eca2aba3202
2018-03-28 17:13:10 -07:00
Xidorn Quan
4ddb42237d
Bug 1460116 - Remove ShouldHideScrollbars. r=jimm
...
MozReview-Commit-ID: 7v6Eylefk4t
--HG--
extra : rebase_source : f37e94e205e7e589c3a47f282c57b725d65914d9
2018-05-09 11:40:58 +10:00
David Major
8c24450c7e
Bug 1460699: Use an 's' rather than 'm' prefix for GfxInfo static variables. r=milan
2018-05-14 11:16:50 -04:00
Ciure Andrei
4b3c343192
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-05-09 02:03:22 +03:00
David Major
a0c067cd0e
Bug 1458270: Clean up in the shutdown observer. r=milan
2018-05-08 17:37:25 -04:00
Coroiu Cristina
f39a811db2
Merge mozilla-central to autoland a=merge on a CLOSED TREE
...
--HG--
rename : third_party/rust/core-foundation/.cargo-checksum.json => third_party/rust/core-foundation-0.5.1/.cargo-checksum.json
rename : third_party/rust/core-foundation/Cargo.toml => third_party/rust/core-foundation-0.5.1/Cargo.toml
rename : third_party/rust/core-foundation/src/array.rs => third_party/rust/core-foundation-0.5.1/src/array.rs
rename : third_party/rust/core-foundation/src/base.rs => third_party/rust/core-foundation-0.5.1/src/base.rs
rename : third_party/rust/core-foundation/src/bundle.rs => third_party/rust/core-foundation-0.5.1/src/bundle.rs
rename : third_party/rust/core-foundation/src/dictionary.rs => third_party/rust/core-foundation-0.5.1/src/dictionary.rs
rename : third_party/rust/core-foundation/src/filedescriptor.rs => third_party/rust/core-foundation-0.5.1/src/filedescriptor.rs
rename : third_party/rust/core-foundation/src/lib.rs => third_party/rust/core-foundation-0.5.1/src/lib.rs
rename : third_party/rust/core-foundation/src/propertylist.rs => third_party/rust/core-foundation-0.5.1/src/propertylist.rs
rename : third_party/rust/core-foundation/src/runloop.rs => third_party/rust/core-foundation-0.5.1/src/runloop.rs
rename : third_party/rust/core-foundation/src/set.rs => third_party/rust/core-foundation-0.5.1/src/set.rs
rename : third_party/rust/core-foundation/tests/use_macro_outside_crate.rs => third_party/rust/core-foundation-0.5.1/tests/use_macro_outside_crate.rs
rename : third_party/rust/core-foundation-sys/.cargo-checksum.json => third_party/rust/core-foundation-sys-0.5.1/.cargo-checksum.json
rename : third_party/rust/core-foundation-sys/Cargo.toml => third_party/rust/core-foundation-sys-0.5.1/Cargo.toml
rename : third_party/rust/core-foundation-sys/src/array.rs => third_party/rust/core-foundation-sys-0.5.1/src/array.rs
rename : third_party/rust/core-foundation-sys/src/base.rs => third_party/rust/core-foundation-sys-0.5.1/src/base.rs
rename : third_party/rust/core-foundation-sys/src/bundle.rs => third_party/rust/core-foundation-sys-0.5.1/src/bundle.rs
rename : third_party/rust/core-foundation-sys/src/data.rs => third_party/rust/core-foundation-sys-0.5.1/src/data.rs
rename : third_party/rust/core-foundation-sys/src/date.rs => third_party/rust/core-foundation-sys-0.5.1/src/date.rs
rename : third_party/rust/core-foundation-sys/src/dictionary.rs => third_party/rust/core-foundation-sys-0.5.1/src/dictionary.rs
rename : third_party/rust/core-foundation-sys/src/error.rs => third_party/rust/core-foundation-sys-0.5.1/src/error.rs
rename : third_party/rust/core-foundation-sys/src/filedescriptor.rs => third_party/rust/core-foundation-sys-0.5.1/src/filedescriptor.rs
rename : third_party/rust/core-foundation-sys/src/lib.rs => third_party/rust/core-foundation-sys-0.5.1/src/lib.rs
rename : third_party/rust/core-foundation-sys/src/messageport.rs => third_party/rust/core-foundation-sys-0.5.1/src/messageport.rs
rename : third_party/rust/core-foundation-sys/src/number.rs => third_party/rust/core-foundation-sys-0.5.1/src/number.rs
rename : third_party/rust/core-foundation-sys/src/propertylist.rs => third_party/rust/core-foundation-sys-0.5.1/src/propertylist.rs
rename : third_party/rust/core-foundation-sys/src/runloop.rs => third_party/rust/core-foundation-sys-0.5.1/src/runloop.rs
rename : third_party/rust/core-foundation-sys/src/set.rs => third_party/rust/core-foundation-sys-0.5.1/src/set.rs
rename : third_party/rust/core-foundation-sys/src/string.rs => third_party/rust/core-foundation-sys-0.5.1/src/string.rs
rename : third_party/rust/core-foundation-sys/src/timezone.rs => third_party/rust/core-foundation-sys-0.5.1/src/timezone.rs
rename : third_party/rust/core-foundation-sys/src/url.rs => third_party/rust/core-foundation-sys-0.5.1/src/url.rs
rename : third_party/rust/core-foundation-sys/src/uuid.rs => third_party/rust/core-foundation-sys-0.5.1/src/uuid.rs
rename : toolkit/mozapps/extensions/internal/UpdateRDFConverter.jsm => toolkit/mozapps/extensions/internal/RDFManifestConverter.jsm
extra : rebase_source : 82ff5278cf9bd559763cc24e3f6d87139466bfe5
2018-05-08 18:54:28 +03:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Kartikaya Gupta
1eb717ccf5
Bug 1377187 - Rewrite the clipping code to use the new clipchain API. r=mstange
...
The clip chain API in webrender allows us to build the clip state in WR
so that it matches the gecko display list more closely. This patch throws
away ScrollingLayersHelper.* and introduces ClipManager.* which pushes
the clip state to WR using the new method. A quick summary of the new
method is below.
Each display item in gecko has a DisplayItemClipChain which is a chain
of individual clips. The individual clips are defined in WR, and the
clip ids for those clips are put into a WR clip chain using the new
define_clip_chain API. Furthermore, each clip chain can also have a
parent chain, which is used to link a DisplayItemClipChain to the parent
display item's DisplayItemClipChain. This allows the WR clip state to
closely match the structure of the gecko display list clip state,
resulting in more correct behaviour.
There are a few other major changes that are lumped into this patch and
that were tricky to separate into their own patches:
- The collapsing of WrScrollId and WrStickyId into WrClipId. On the WR
side all the clip ids are treated the same anyway. Trying to preserve
the arbitrary distinction on the gecko side was resulting in
increasingly convoluted code, with different kinds of Variant<..>
types in the method signatures. It was much simpler and resulted in a
bunch of code deletion to just collapse the types.
- Moving the "override" mechanism from WebRenderAPI to ClipManager. The
override mechanism (explained in ClipManager.h) was simplified by
moving it into ClipManager, because it removed the need for tracking
additional clip stack state in WebRenderAPI.
MozReview-Commit-ID: GGbdFyJGprK
--HG--
extra : rebase_source : baa56ff179e917b0ab5a5c186a3a415761f8050a
2018-05-08 09:08:39 -04:00
Milan Sreckovic
4712274b69
Bug 1455696: gfx.webrender.all.qualified preference to default to WR for non-blocked devices/hardware. gfx.webrender.all will still force it on. r=milan
...
--HG--
extra : rebase_source : 173f06f702ccc4eb93d0e4533316056cb07c88af
2018-05-03 13:02:00 +03:00
Dão Gottwald
3277c04273
Bug 1457189 - Dispatch the resolutionchange event when changing the display resolution even if DPI remains the same. r=jimm
...
MozReview-Commit-ID: A0thvn5bBDy
--HG--
extra : rebase_source : 50795a1b7f7704b0cb636faf2f60acd89ea5bfab
2018-04-27 14:30:03 +02:00
Bas Schouten
8524a808f2
Bug 1447141 - Addition: Correct Vendor ID for old radeon device blacklist. r=milan
2018-04-28 08:07:45 +00:00
Masayuki Nakano
19af69cf33
Bug 1456381 - TSFTextStore should discard pending composition update actions before recording composition end action r=m_kato
...
TSFTextStore should discard pending composition update actions when it records
end composition update action because end composition update action causes
dispatching eCompositionCommit event and it replaces old composition string
anyway. So, following eCompositionChange which is dispatched by preceding
composition update actions are just redundant.
MozReview-Commit-ID: HBHx2jA15ro
--HG--
extra : rebase_source : 74d1e91d73bf9c8182a9c5e3fd55d052d8ec4bea
2018-04-19 20:42:00 +09:00
Jonathan Watt
156c4af1ec
Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt
...
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>
MozReview-Commit-ID: 7ONYtICeAqb
2018-04-23 18:22:05 +02:00
Xidorn Quan
44232b9bb8
Bug 1454589 - Don't change window style according to sizemode if the window hasn't be shown. r=jimm
...
MozReview-Commit-ID: Hysc4yXapYW
--HG--
extra : rebase_source : 8dfd3684d59895405b9a4d63513ee3ae2fa490ab
2018-04-19 15:20:02 +10:00
Florian Quèze
0bf69fee2b
Bug 1454908 - do an empty paint when skipping the actual paint for the blank window, to stop Windows from sending messages repeatedly, r=jimm.
2018-04-18 21:17:46 +02:00
Florian Quèze
8381200df3
Bug 1450293 - Avoid starting the GPU process for the initial navigator:blank window, r=jimm.
2018-04-16 23:15:05 +02:00
Jonathan Watt
1e7f76576a
Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
...
--HG--
extra : rebase_source : 2e267ff99de6f52484e34ac15c39e5ca8b473394
2018-04-13 20:34:37 +01:00
Bas Schouten
45f1c7b8eb
Bug 1447141: Blacklist all acceleration on a small subset of AMD device/driver combinations that show up in content crashes. r=milan
...
MozReview-Commit-ID: FTBPGRTdmUG
2018-04-13 14:06:52 +02:00
Jonathan Watt
ef1290712d
Bug 1452170 follow-up - Fix Windows unified build bustage by adding missing AutoRestore.h includes. r=me on CLOSED TREE
2018-04-09 10:21:42 +01:00
Noemi Erli
eb61878455
Merge inbound to mozilla-central. a=merge
2018-04-07 00:55:15 +03:00
Bas Schouten
398807e119
Bug 1433058: Expand NVidia AL blacklist to include 385.96 and limit blacklist to the last affected version. r=milan
...
MozReview-Commit-ID: 1quCjKRILiE
2018-04-06 15:48:02 +02:00
Andreea Pavel
eed7d2803f
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-04-06 17:54:45 +03:00
Adam Gashlin
cbf9e7b900
Bug 1437941: Don't ignore mousemove after fullscreen transition r=handyman
...
MozReview-Commit-ID: Hr9dcKVeYEC
--HG--
extra : rebase_source : fe9d1f3526704dd5c37bcbeb7c6a62de368be12c
2018-04-02 18:42:12 -07:00
Ryan Hunt
9586c5d690
Bug 1446990 - Safely transmit nsTransparencyMode across IPDL for WinCompositorWidget. r=jrmuizel
...
--HG--
extra : rebase_source : 78b5664fe14a13038e39211fcf97fa996ea7a190
2018-04-05 22:24:28 -05:00
sotaro
cb19fd85f8
Bug 1449934 - Remove unnecessary assert in WinCompositorWidget::UpdateCompositorWndSizeIfNecessary() r=jrmuizel
2018-03-29 18:42:09 -07:00
sotaro
537c379106
Bug 1191971 part 1 - Create child window in gpu process r=bas
2018-03-29 11:21:47 +09:00
Bob Owen
41ce6696f9
Bug 1447019 Part 2: Move running from a network drive check into WinUtils. r=jimm
2018-03-27 14:09:32 +01:00
Nathan Froyd
4d8cb59be3
Bug 1448914 - remove nsISound::playSystemSound; r=masayuki
...
This API is deprecated (callers are supposed to be using
nsISound::playEventSound instead) and there are no callers remaining in
mozilla-central, or references to the strings for the API. Let's remove
dead code.
2018-03-27 10:41:40 -04:00
Masayuki Nakano
e9d257856b
Bug 1448282 - TSFTextStore should append a pending action for dispatching keyboard event into the queue if OnUpdateComposition() is called without new range r=m_kato
...
OnUpdateComposition() may be called without new range instance by some TIPs
when they starts to modify composition string. At this timing, TSFTextStore
should append a pending action for dispatching keyboard event into the queue.
Without this patch, OnUpdateComposition() creates incomplete pending action
for composition update and then, MaybeDispatchKeyboardEventAsProcessedByIME()
appends pending action for dispatching keyboard event from another point
immediately (e.g., from SetText()), then, finally, the caller of
MaybeDispatchKeyboardEventAsProcessedByIME() appends another pending action
for composition update with proper composition string. Therefore, the
first pending action for composition update clears composition string before
actually updating it with new composition string. In other words, new
pending action for dispatching keyboard event splits a pending composition
update. So, this patch prevents the splitting.
MozReview-Commit-ID: 9pYO9pm3Vh9
--HG--
extra : rebase_source : a8fb903174c0f1af61a71175dbbf01b7b1c5cb53
2018-03-26 15:07:59 +09:00
David Parks
8044e86b13
Bug 1436972 - Hold ref counted AudioSession for proper lifetime when re-initializing. r=jimm
...
The scope of the kungFuDeathGrip is supposed to include the call to Start() (as suggested by the comment).
2018-03-21 19:37:44 -07:00
sotaro
2ef480f239
Bug 1448271 - Update some names of #include guards r=nical
2018-03-23 22:40:04 +09:00
sotaro
54acb2e320
Bug 1432610 - Disable D2D on Win7 on Intel Haswell for old graphics drivers r=jrmuizel
2018-03-22 15:33:52 +09:00
Boris Zbarsky
29d232e53f
Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
...
MozReview-Commit-ID: 202nkbmkwfR
2018-03-21 17:39:04 -04:00
arthur.iakab
5e8092339a
Merge mozilla-central to inbound
...
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
Miko Mynttinen
65c6bee9d6
Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj
...
MozReview-Commit-ID: rGjabnP2iz
--HG--
extra : rebase_source : 1ef6c5ce028ac9ebd9f3176d57835c43fe46bada
2018-03-13 14:51:33 +01:00
Florian Quèze
57c13e32a3
Bug 1447297 - Set the cursor right before showing new windows to avoid showing the wait cursor during startup, r=jimm.
2018-03-21 18:13:58 +01:00