Граф коммитов

560980 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey b3937aa599 Bug 1403444 - Expand rbp_node_new. r=njn
At the same time, simplify the expanded code to better fit in the
template.

--HG--
extra : rebase_source : a903717427dbb8b2cd05ec462b821131d0000ea2
2017-09-26 16:00:27 +09:00
Mike Hommey 6561941f93 Bug 1403444 - Expand rb_new, rb_first, rb_last, rb_next and rb_prev. r=njn
At the same time, simplify the expanded code to better fit in the
template.

--HG--
extra : rebase_source : fa002197c5f4801ae7cf8b704b023393fc4cc6b5
2017-09-26 15:47:50 +09:00
Mike Hommey 8392daa18e Bug 1403444 - Add methods to the RedBlackTree template class, replacing rb_wrap. r=njn
--HG--
extra : rebase_source : e0f71386b0097034b5e6c629113dff38e574ea74
2017-09-26 15:06:00 +09:00
Mike Hommey 4ec0ed7879 Bug 1403444 - Move miscellaneous size related constants and macros earlier in mozjemalloc.cpp. r=njn
--HG--
extra : rebase_source : e277943abe1aa664bb7c24388f425fac0dc170aa
2017-09-26 09:08:00 +09:00
Mike Hommey 81cb21567f Bug 1403444 - Replace some uses of IsRed() with Color() or IsBlack(). r=njn
The trivial expansion of macros ended up creating cases like
  expr.IsRed() ? NodeColor::Red : NodeColor::Black
which practically speaking, is the same as
  expr.Color()
so we replace those.

There are also a bunch of expr.IsRed() == false, which are replaced with
expr.IsBlack() (adding that method at the same time)

--HG--
extra : rebase_source : ab50212ff80f0c0151e7df329d8933ccd45f9781
2017-09-27 08:54:49 +09:00
Mike Hommey 3787074984 Bug 1403444 - Trivially expand rbp_{color,red,black}_set. r=njn
--HG--
extra : rebase_source : ebef4dedd44ce3bf181ba840a33e975ae2f423c3
2017-09-25 10:03:56 +09:00
Mike Hommey d0d3055917 Bug 1403444 - Trivially expand rbp_right_set. r=njn
--HG--
extra : rebase_source : f3824bc5e3992e78671418a0f65daf3bffce2d56
2017-09-25 10:05:07 +09:00
Mike Hommey a9819bb805 Bug 1403444 - Trivially expand rbp_left_set. r=njn
--HG--
extra : rebase_source : 1fc855c907ddeb1dd21473003cae8f9b32e23336
2017-09-25 10:04:32 +09:00
Mike Hommey 7776a84304 Bug 1403444 - Trivially expand rbp_red_get. r=njn
--HG--
extra : rebase_source : dae723877cb4fc04cd085a7b9a441a2df38e68c9
2017-09-25 10:02:48 +09:00
Mike Hommey d3ada6727c Bug 1403444 - Trivially expand rbp_right_get. r=njn
--HG--
extra : rebase_source : f5ee449b8683266aa2143d53b3316f782c5d5ac7
2017-09-25 10:02:22 +09:00
Mike Hommey d871a7f54e Bug 1403444 - Trivially expand rbp_left_get. r=njn
--HG--
extra : rebase_source : 99cb24df5ce2377ac24194e5bf79b23dd08269f0
2017-09-25 10:02:06 +09:00
Mike Hommey 2a81acdfab Bug 1403444 - Abstract red-black-tree link field reference with a new macro. r=njn
While we're going in the opposite direction, moving away from macros,
upcoming intermediate steps are going to "manually" expand macros, but
later steps will require changing how the link field reference is done,
and having it in a single location then will be more convenient.

--HG--
extra : rebase_source : 6dde414ce392924081a41b7e3f66ae848cb14be5
2017-09-25 07:03:37 +09:00
Mike Hommey 4b17f4882c Bug 1403444 - Apply clang-format to the rb.h macros. r=njn
--HG--
extra : rebase_source : d1a55373811fea242c5b91666ba545532e6bbdde
2017-09-25 06:59:30 +09:00
Mike Hommey f43e83a278 Bug 1403444 - Use a fixed size for the stack space used during rb_foreach. r=njn
That stack space would matter if recursion was involved, but there
isn't any, and a max of 1440 bytes temporarily allocated on the stack
is not really a problem.

--HG--
extra : rebase_source : 2968fafe9d604d9e6c03ac93c21d8a3a087043a4
2017-09-25 06:57:09 +09:00
Oriol Brufau f46ecc40c7 Bug 1399265 - Avoid relayout when switching tab in devtools r=Honza
MozReview-Commit-ID: J0vsN0MiN1o

--HG--
extra : rebase_source : b9acc61d47658c270b13fa3dbed1f0dfa8075fe5
2017-09-24 15:20:13 +02:00
Patrick Brosset fb4bb32314 Bug 1402386 - CamelCase the inspector-tab-panel component; r=Honza
MozReview-Commit-ID: 2j1ocvxYvzv

--HG--
rename : devtools/client/inspector/components/inspector-tab-panel.css => devtools/client/inspector/components/InspectorTabPanel.css
rename : devtools/client/inspector/components/inspector-tab-panel.js => devtools/client/inspector/components/InspectorTabPanel.js
extra : rebase_source : ea67ee1a6eb86943522312018be4ed2225c6190b
2017-09-25 15:40:56 +02:00
Dão Gottwald 418df4c234 Bug 1390025 - Add separator between the tab strip and the drag space in front of it. r=johannh
MozReview-Commit-ID: LOymOHgg8fr

--HG--
extra : rebase_source : 1529ee862cb46b55f15b55acb66aa9af0e6086ff
2017-09-26 15:24:04 +02:00
Paolo Amadini 8418fc1ba5 Bug 1402279 - Part 1 - Move the DownloadPaths module to the jsdownloads folder. r=mak
MozReview-Commit-ID: 91ZqKef6NIE

--HG--
rename : toolkit/mozapps/downloads/DownloadPaths.jsm => toolkit/components/jsdownloads/src/DownloadPaths.jsm
rename : toolkit/mozapps/downloads/tests/unit/test_DownloadPaths.js => toolkit/components/jsdownloads/test/unit/test_DownloadPaths.js
extra : rebase_source : 7505715770e8fa383a42e0f8a18258c08e8e0f3a
2017-09-22 15:45:39 +01:00
Brian Hackett ba9335f101 Bug 1402580 - Support yield callback used when entering the system zone group in the JS shell, r=jandem.
--HG--
extra : rebase_source : 9794f293215aff71512664d2c689246efbcad9af
2017-09-26 06:04:06 -07:00
Justin Wood 3a5e88125e Bug 1403084 - Make beta point at l10n-central for android. r=mtabara
This fixes Single Locale Repacks for Fennec 57.0 betas.

This broke because our merge scripts rewrote l10n-central to mozilla-beta expecting the l10n repo to be called 'mozilla-beta', which is no longer true with cross-channel l10n. When we patched the configs we didn't see a 'mozilla-beta' entry here, butmissed that the merge-day scripts change it on us.

MozReview-Commit-ID: F7BJzpZg0Xj

--HG--
extra : source : cc652dcb13dba40ae3f263ae89ce3e610a34165f
extra : amend_source : 9fa72e4b2a662a6a63ddfc59dbacf7f03e57dd67
2017-09-26 08:24:12 -04:00
David Anderson 502592c19b Assert that the GPU process build ID matches the UI process. (bug 1333056, r=mccr8)
MozReview-Commit-ID: 924UVeGXhsr

--HG--
extra : histedit_source : 5ac6ac13c4f34b75106911fdec1cec2260928fce
2017-09-26 10:16:14 -04:00
Ryan Hunt 83e90232cc Don't crash in SendBuildID when MessageChannel isn't connected. (bug 1333056, r=dvander)
xpcshell can sometimes create and then almost immediately kill the GPU process. This can
cause the connection state of GPUParent's message channel to be in error or closed
when it attempts to send its build ID. In this case we should ignore the request
because the process will soon close.

MozReview-Commit-ID: EAupU844iFo

--HG--
extra : histedit_source : df05a01df5ad095b4e3c91e0e038d4e145da5f9d
2017-09-22 16:15:21 -05:00
Julian Descottes 4c5032bb5b Bug 1403152 - fix test browser_html_tooltip_xul-wrapper.js for small viewports;r=me
MozReview-Commit-ID: A1W1LCDjupO

--HG--
extra : rebase_source : 30fceb0a393c767a839a554135143c1f235c0121
2017-09-26 15:04:59 +02:00
Sebastian Hengst fa921ed2a3 Backed out changeset 22a322b57f50 (bug 1380255) for asserting and failing mochitest-plain toolkit/components/extensions/test/mochitest/test_ext_webrequest_responseBody.html. r=backout 2017-09-26 15:45:24 +02:00
Nicolas Silva 96de7b8d80 Bug 1383786 - Delete image keys as soon as they are not used anymore. r=sotaro 2017-09-26 15:31:08 +02:00
Nicolas Silva f1d8bb2519 Bug 1383786 - Rename TextureHost::PushExternalImage into PushDisplayItems. r=sotaro 2017-09-26 15:31:00 +02:00
Nicolas Silva f4e0aed003 Bug 1383786 - Update TextureHost image keys when posible. r=sotaro 2017-09-26 15:30:55 +02:00
Nicolas Silva f8c1fa40c8 Bug 1383786 - Make it possible to update TextureHost image keys. r=sotaro 2017-09-26 15:30:51 +02:00
Nicolas Silva 988b7e111c Bug 1383786 - Simplify generating image keys for TextureHosts. r=sotaro 2017-09-26 15:30:46 +02:00
Gabriel Luong c089f03855 Bug 1402709 - Don't use capture for the toolbox context menu. r=bgrins 2017-09-26 08:43:22 -04:00
Jonathan Kew 9cd0e4f0c4 Bug 1402861 - Remove ENABLE_INTL_API conditional from nsNumberControlFrame. r=dholbert 2017-09-26 13:28:21 +01:00
Catalin Badea 32e27f63b8 Bug 1380255 - FetchDriver should have threadsafe refcounting. r=baku 2017-09-26 12:52:53 +01:00
Alin Selagea 5c5f346188 Bug 1397829 - add buildernames for stylo-disabled tests which run on hardware, win7 and win10, r=jmaher 2017-09-26 14:19:48 +03:00
Jan de Mooij 943f1cf93e Bug 1153592 part 3 - Simplify GetExistingProperty now that slotful getters are gone. r=evilpie 2017-09-26 12:27:23 +02:00
Jan de Mooij dbca189324 Bug 1153592 part 2 - Remove JSPROP_SHARED; ensure accessor props don't have slots. r=evilpie 2017-09-26 12:26:50 +02:00
Jan de Mooij c6ddca339e Bug 1153592 part 1 - Replace redundant checks in CheckCanChangeAttrs with debug asserts. r=evilpie 2017-09-26 12:25:56 +02:00
Sebastian Hengst 8002077a1e merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-26 12:22:11 +02:00
Sebastian Hengst ece521e642 Backed out changeset d828e2c01a60 (bug 1402066) for frequently failing modified xpcshell test toolkit/components/extensions/test/xpcshell/test_ext_redirects.js on Android 4.3 debug. r=backout 2017-09-26 11:38:33 +02:00
Sebastian Hengst c88c2ff44e Backed out changeset 641430a49682 (bug 1402066) 2017-09-26 11:37:44 +02:00
Jon Coppeard 2a820b9683 Bug 1402649 - Fix valid GC cell pointer asserts and error handling in module instantiation r=sfink 2017-09-26 10:23:14 +01:00
Jon Coppeard 00745bb97d Bug 1402535 - Handle errors while checking that a module object is frozen r=evilpie 2017-09-26 10:22:28 +01:00
Sebastian Hengst b3d9e88e3d Backed out changeset 50d5710ae6c0 (bug 1389650) for eslint failure at browser/modules/PluginContent.jsm:684: 'contentWindow' is assigned a value but never used. r=backout 2017-09-26 10:48:27 +02:00
Sebastian Hengst 5ed0b93c50 Backed out changeset 26805294a547 (bug 1389650) 2017-09-26 10:47:41 +02:00
cku 4cc191b68d Bug 1402798 - Part 1. Check the type of an SVGPaint object from the correct frame. r=longsonr+218550
mTargetFrame is not a correct one, we should check the SVGStyle of 'frame'
object.

MozReview-Commit-ID: 3UNfbXkICkz

--HG--
extra : amend_source : 9fa5f095881fc3b92329a7d187f4d5926c43fed7
2017-09-26 14:43:14 +08:00
abhinav 7dbedca98e Bug 1400404 - Adding bool and number to list of PropTypes in Json-Panel. r=Honza
MozReview-Commit-ID: cTrHWYFtwW

--HG--
extra : rebase_source : 49ba21b017f436f2efab17e366fb204529bf5ec1
2017-09-22 13:21:07 +05:30
Michael Layzell 8b222e2445 Bug 1403545 - Stop allocating in fmt::Write for nsA[C]String, r=froydnj
MozReview-Commit-ID: 6EOJ8QBrwXK
2017-09-27 12:19:29 -07:00
Michael Layzell 6cf8c01c78 servo: Merge #18656 - Stop allocating in fmt::Write for nsA[C]String (from mystor:bug1403545); r=emilio
<!-- Please describe your changes on the following line: -->
This is the servo side of gecko bug 1403545 https://bugzilla.mozilla.org/show_bug.cgi?id=1403545. It's fixing a stylo perf regression caused by #18642

It has already been reviewed on the gecko side by froydnj

Source-Repo: https://github.com/servo/servo
Source-Revision: 35ad0316f6fc517e1f4ba0b0a4a4b2bcd1646656

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0447db686da0ddc61a9433ab80f9d90d1ad4fc4d
2017-09-27 13:00:54 -05:00
Wes Kocher c4c2d7f604 Backed out changeset 11d5f873f409 (bug 1397744) for failures in browser_synced_tabs_menu.js a=backout
MozReview-Commit-ID: 7zkOWJ56gGO

--HG--
extra : rebase_source : 7f17222a9f7f3e2e1dc85dc506330c7875b09561
2017-09-27 11:29:36 -07:00
Kartikaya Gupta 2072043f8f Bug 1403559 - Remove random-if(webrender) annotations for layers-specific reftests and instead skip the layers checks in the reftest harness. r=mstange
MozReview-Commit-ID: 8Xtx3aGIx8

--HG--
extra : rebase_source : 60c22211bc4baeb3292ec76fee6e4c59b9ca105d
2017-09-27 10:12:10 -04:00
Kartikaya Gupta fa1a270dae Bug 1403559 - Remove random-if webrender annotation from test that's consistently passing now. r=jrmuizel
MozReview-Commit-ID: 8SMnWmWwf3h

--HG--
extra : rebase_source : ef17776575f52ee02b293cf92012636831328d1e
2017-09-27 10:12:09 -04:00