Mats Palmgren
fb94159369
Bug 1372007 - Replace calls to Contains+Put with LookupForAdd and Contains+Get+Put with LookupRemoveIf to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: 5Y1rVCglpzu
2017-06-14 01:54:26 +02:00
Mats Palmgren
bddaa611f0
Bug 1371961 - Use nsRefPtrHashtable::Remove instead of Get + nsBaseHashtable::Remove to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: 2TGVmqDo8YI
2017-06-14 01:54:26 +02:00
Mats Palmgren
a74a8a2035
Bug 1371953 - Avoid unnecesary hashtable lookups by using RemoveEntry(EntryType*) rather than RemoveEntry(key) in a couple of places. r=gerald
...
MozReview-Commit-ID: 8Uu9QX4QhRi
2017-06-14 01:54:26 +02:00
Mats Palmgren
2ee1457c5b
Bug 1371952 - Use LookupForAdd/LookupRemoveIf to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: 5hprMT4Gc42
2017-06-14 01:54:26 +02:00
Olli Pettay
68da6780f3
bug 1367372, skip to be removed listeners when asking for listener info, r=xidorn
2017-06-14 02:40:35 +03:00
Mats Palmgren
1f35f4da22
Bug 1370674 part 2 - Optimize hashtable lookups on mRegistrationInfos, mInfos and mJobQueues. r=froydnj
...
Specifically,
* replace a few Get+Put with LookupForAdd
* remove an unnecessary Get before Remove, and
* replace an Get+Remove with LookupRemoveIf
MozReview-Commit-ID: HBeIK9CZC00
2017-06-14 01:03:39 +02:00
Mats Palmgren
10986b2016
Bug 1370674 part 1 - Use mUpdateTimers.LookupRemoveIf() to avoid a second hashtable lookup for Remove(). Use mUpdateTimers.GetOrInsert() to avoid a second hashtable lookup for Put(). r=froydnj
...
MozReview-Commit-ID: 1lp2s4NQfvR
2017-06-14 01:03:38 +02:00
Mats Palmgren
24a9e3129b
Bug 1371095 - Avoid doing unnecessary hashtable lookups in ImageTracker::Add/Remove. r=froydnj
...
MozReview-Commit-ID: AUpTHGH3JQV
2017-06-14 01:03:38 +02:00
Mats Palmgren
efb3f5fa2f
Bug 1371094 part 2 - Add some tests for the LookupForAdd/OrInsert/LookupRemoveIf methods. r=froydnj
...
MozReview-Commit-ID: 4TgtCwyvBQt
2017-06-14 01:03:38 +02:00
Mats Palmgren
a4d601d6c4
Bug 1371094 part 1 - Move the nsClassHashtable::LookupForAdd() method to nsBaseHashtable. r=froydnj
...
Also change nsClassHashtable::LookupOrAdd to not regard existing entries with
a nullptr value as non-existent. This is to make it consistent with
nsBaseHashtable::LookupForAdd() and other methods.
MozReview-Commit-ID: 1wYqK8XQbyW
2017-06-14 01:03:38 +02:00
Jordan Lund
59356969b4
Bug 1372482 - repack betas are broken bc mock can't find python, balrog.py fix, r=aki
...
MozReview-Commit-ID: ARPwGzTmb5B
--HG--
extra : source : d956c96a1926c1755d9ce46a110ba7893f4d478a
extra : amend_source : 5209f243630a6822fbda4cf38cc1500dc2695556
2017-06-13 15:28:22 -07:00
David Major
af0b39fef9
Bug 1372375: Avoid locks in EnsureWalkThreadReady during the profiler's critical section. r=mstange
...
EnsureWalkThreadReady takes two locks, one in _beginthreadex and another in the DLL hook setup.
We can avoid the first by not calling EnsureWalkThreadReady if we're walking a suspended thread, since we won't be using a separate WalkThread anyway.
To avoid the hook locks, I gave in and decided to go back to setting up the hooks in DllBlocklist_Initialize as originally planned.
2017-06-13 18:30:48 -04:00
Bill McCloskey
1b366c9ec9
Bug 1372426 - More detailed names for nsInputStreamReadyEvent (r=erahm)
...
MozReview-Commit-ID: 6beE0eMCxg7
2017-06-13 15:24:08 -07:00
Wes Kocher
fdca69feeb
Backed out changeset e8a63038d787 (bug 1372426) for build failures in nsStringStream.cpp a=backout
...
MozReview-Commit-ID: 8ci8nKoiLhz
2017-06-13 15:20:12 -07:00
Jordan Lund
0c1a4677bb
Bug 1372482 - linux 55.0 repack betas are broken because mock can't find python exe, r=aki, a=testing
...
MozReview-Commit-ID: L4VXE6IZE4s
--HG--
extra : source : 6872377277a618b2b9e0d2b4c2b9e51765ac199e
2017-06-12 22:16:31 -07:00
Bill McCloskey
7efe80ba16
Bug 1372426 - More detailed names for nsInputStreamReadyEvent (r=erahm)
...
MozReview-Commit-ID: 6beE0eMCxg7
2017-06-13 14:53:26 -07:00
Bill McCloskey
d44ca1b9a4
Bug 1371080 - Use GetCurrentVirtualThread for XPCOM thread safety checks (r=froydnj)
...
MozReview-Commit-ID: 4fSphF86cDK
2017-06-13 14:51:11 -07:00
Bill McCloskey
82fe51e95f
Bug 1366072 - Remove MessageLoopAbstractThreadWrapper (r=kanru)
...
MozReview-Commit-ID: 8i9QTIRbP3j
2017-06-13 14:51:09 -07:00
Bill McCloskey
5066de8593
Bug 1366072 - MozPromise tests (r=jwwang)
...
MozReview-Commit-ID: 69OQb1f3UTd
2017-06-13 14:51:07 -07:00
Bill McCloskey
eee9dad55a
Bug 1366072 - Expose an event target for MessageLoop (r=kanru)
...
MozReview-Commit-ID: 8vWOGO2zzPs
2017-06-13 14:51:05 -07:00
Bill McCloskey
bbed3cf3c1
Bug 1366072 - Use nsIRunnable instead of Runnable in MessageLoop (r=kanru)
...
MozReview-Commit-ID: 9LmBghd0D46
2017-06-13 14:51:03 -07:00
Bill McCloskey
c85ab6308c
Bug 1366072 - Change promises to take nsISerialEventTarget instead of AbstractThread (r=jwwang)
...
MozReview-Commit-ID: 4azUhSB6whu
2017-06-13 14:51:01 -07:00
Bill McCloskey
40acc9e3a0
Bug 1366072 - Make AbstractThread inherit from nsISerialEventTarget (r=jwwang)
...
MozReview-Commit-ID: 5L3gUEyGfyL
2017-06-13 14:50:58 -07:00
Bill McCloskey
90c9540b82
Bug 1366072 - Remove useless ThenCommand::mResponseThread field (r=jwwang)
...
MozReview-Commit-ID: F9shMirkSiu
2017-06-13 14:50:56 -07:00
Eric Rahm
ab9516d40d
Bug 1353593 - Part 2: Remove wwc functions. r=froydnj
...
This removes the use of |wwc| functions in favor of char16ptr_t's implicit
conversion operators.
MozReview-Commit-ID: GHONYieMPla
2017-06-12 16:20:49 -07:00
Eric Rahm
23b71eb97f
Bug 1353593 - Part 1.1: Fix usage of char16ptr_t in a graphics logging message. r=milan
...
This message intends to print out a string but was inadvertantly converting
the string pointer to a hex value. Adding an implicit conversion of char16ptr_t
to |wchar*| breaks this, so we just update the code to actually convert and
print the string instead.
MozReview-Commit-ID: 90luEnoysX3
2017-06-12 16:20:48 -07:00
Eric Rahm
e08fbaaad6
Bug 1353593 - Part 1: Allow implicit conversion of non-const char16ptr_t to wchar*. r=froydnj
2017-06-12 16:20:47 -07:00
Mihai Tabara
c8ccaa542b
Bug 1372482 - linux 55.0 repack betas are broken in comparing locales because due to missing python executable.r=aki a=testing
...
MozReview-Commit-ID: KGSmRRFxbiu
2017-06-13 22:13:18 +01:00
Kartikaya Gupta
594d9df8f5
Bug 1370430 - Update webrender to cset 6752684fcc7402b0a5480e0b9f73152b2f9ed1e5. r=jrmuizel
...
In addition to update webrender/ and webrender_traits/, this updates
the webrender_bindings dependency on euclid to euclid-0.14.4. It also
updates some webrender_bindings code for this dependency update, and
for the BlobImageRenderer API change in WR cset 36a9117.
MozReview-Commit-ID: JlmTHrFdfUM
--HG--
rename : third_party/rust/euclid/src/matrix2d.rs => third_party/rust/euclid-0.13.0/src/matrix2d.rs
rename : third_party/rust/euclid/src/matrix4d.rs => third_party/rust/euclid-0.13.0/src/matrix4d.rs
2017-06-13 11:10:14 -04:00
Joanmarie Diggs
c306e05c88
Bug 1343537 - Implement ARIA DPUB extension. r=surkov
...
--HG--
extra : rebase_source : 38af7ac790cb60d952b1dc2885f50fc9c15cdea6
2017-06-13 15:06:08 -04:00
Stephen A Pohl
10fd53c9e2
Bug 1149732: Avoid main-thread IO when installing GMP modules. r=Gijs
2017-06-13 16:29:28 -04:00
Boris Zbarsky
319fd7b3aa
Bug 1371699 part 6. Implement nsIAsyncInputStream for nsStringInputStream. r=bkelly
2017-06-13 16:16:58 -04:00
Boris Zbarsky
817f0609ac
Bug 1371699 part 5. Fix IPCStreamSource's handling of async streams returning 0 from Available. r=bkelly
...
This aligns the code more closely with how the input stream pump works: 0
available bytes when the stream itself told us it's ready means the stream is at
the end.
2017-06-13 16:16:55 -04:00
Boris Zbarsky
5193353a61
Bug 1371699 part 4. Make nsIMultiplexInputStream not inherit from nsIInputStream. r=bkelly
...
This is a preexisting issue that makes nsMultiplexInputStream multiple-inherit
from nsIInputStream: once via nsIMultipartInputStream and once via
nsIAsyncInputStream. This causes problems once we end up with more multiplex
streams that are async streams, because then some assingments to
nsCOMPtr<nsIInputStream> start asserting. This patch just removes the footgun
by getting rid of the multiple inheritance.
2017-06-13 16:16:39 -04:00
Boris Zbarsky
3d884086c3
Bug 1371699 part 3. Make nsIStringInputStream not inherit from nsIInputStream anymore. r=bkelly
...
This will prevent ambiguous nsIInputStream inheritance once we also inherit from nsIAsyncInputStream.
2017-06-13 16:16:23 -04:00
Boris Zbarsky
4c7424ec25
Bug 1371699 part 2. Implement nsICancelableRunnable on AsyncWaitRunnable. r=bkelly
...
It's just luck that we haven't ended up with a multiplex stream on workers that contains at least one async stream.
2017-06-13 16:16:07 -04:00
Boris Zbarsky
d071e405b2
Bug 1371699 part 1. Give nsStringInputStream an mStatus variable. r=bkelly
...
This will make it simple to implement CloseWithStatus.
2017-06-13 16:16:04 -04:00
Wes Kocher
bcf1a1c32e
Backed out 6 changesets (bug 1365927) for build failures in ipc_message_utils.h a=backout CLOSED TREE
...
Backed out changeset 11fc0da380a2 (bug 1365927)
Backed out changeset 9f1dee5a6c42 (bug 1365927)
Backed out changeset f4954c824f5c (bug 1365927)
Backed out changeset 144ac6cc76f8 (bug 1365927)
Backed out changeset 961e782cf7c7 (bug 1365927)
Backed out changeset 12a093fb86a4 (bug 1365927)
MozReview-Commit-ID: 6CDxqOJzMjE
2017-06-13 12:45:03 -07:00
Andrew Osmond
5500fe634e
Bug 1365927 - Part 6. Remove CompositorThreadHolder reference from CompositorBridgeParent. r=dvander
2017-06-13 15:20:36 -04:00
Andrew Osmond
7dc8c4cc9f
Bug 1365927 - Part 5. Make PCompositorManager the manager protocol of PCompositorBridge. r=dvander
2017-06-13 15:20:00 -04:00
Andrew Osmond
c17a8c1ea1
Bug 1365927 - Part 4. Replace PCompositorBridge integration hooks with PCompositorManager. r=dvander
2017-06-13 15:19:36 -04:00
Andrew Osmond
9c5b478f2f
Bug 1365927 - Part 3. Move PCompositorBridge toplevel protocol overrides to PCompositorManager. r=dvander
2017-06-13 15:19:36 -04:00
Andrew Osmond
9a639f1536
Bug 1365927 - Part 2. Add minimal PCompositorManager protocol. r=dvander
2017-06-13 15:19:36 -04:00
Andrew Osmond
230fa0dcd8
Bug 1365927 - Part 1. Add missing headers and other build housekeeping. r=dvander
2017-06-13 15:17:59 -04:00
Peter Van der Beken
3455c5b415
Bug 1252211 - Convert TreeContentView to WebIDL. r=bz.
...
--HG--
extra : rebase_source : 78b770df8863b8165639c4a7a0eaabd5463c1090
2017-06-08 21:04:02 +02:00
Peter Van der Beken
ae390ac4ca
Bug 1252211 - Convert XUL template builders to WebIDL. r=bz.
...
--HG--
rename : layout/xul/tree/nsITreeView.idl => dom/webidl/TreeView.webidl
rename : dom/xul/templates/nsIXULTemplateBuilder.idl => dom/webidl/XULTemplateBuilder.webidl
extra : rebase_source : ccfc87c460e20027a4ea6b3cc04efe14802dc41e
2017-05-24 11:51:10 +02:00
Peter Van der Beken
12b30f40b3
Bug 1252211 - Move nsXULTreeBuilder declaration into its own header. r=bz.
...
--HG--
rename : dom/xul/templates/nsXULTreeBuilder.cpp => dom/xul/templates/nsXULTreeBuilder.h
extra : rebase_source : e6d6af111d236e8003e87888f711b8141130bbeb
2017-01-18 21:30:46 +01:00
Peter Van der Beken
9b9495bf79
Bug 1252211 - Remove DOMCI for TreeSelection, XULCommandDispatcher and XULControllers. r=bz.
...
--HG--
extra : rebase_source : 5a24af4928dbd7754850c6e3ceff6646bfe58c93
2017-05-18 09:07:25 +02:00
Oriol
70d8254d38
Bug 1360957 - Only attempt to load react-dev.js if it exists. r=Honza
...
--HG--
extra : rebase_source : a3aa19cfb390d68f9362897b53067824355ff5b9
2017-06-03 14:58:00 -04:00
Wes Kocher
349517ef3c
Backed out changeset aa7a23344ca4 (bug 1370139) for failures in browser_dom_array.js a=backout
...
MozReview-Commit-ID: F3Z6dIwwWrB
2017-06-13 10:52:35 -07:00