- May 09, 2022
-
-
Kagami Sascha Rosylight authored
Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi Depends on D145757 Differential Revision: https://phabricator.services.mozilla.com/D145758
-
- Mar 03, 2021
-
-
Simon Giesecke authored
Differential Revision: https://phabricator.services.mozilla.com/D106007
-
- Dec 15, 2020
-
-
alwu authored
Bug 1679314 - part2 : always use `IsDocumentInvisible()` to determine hidden state of wakelock. r=smaug, a=RyanVM In order to determine the hidden status of wakelock correctly, we should always consider the PIP state. Differential Revision: https://phabricator.services.mozilla.com/D99727
-
alwu authored
No one is using `NewWakeLockOnBehalfOfProcess()` so we can remove it and its related methods. Differential Revision: https://phabricator.services.mozilla.com/D99726
-
alwu authored
Bug 1679314 - part2 : always use `IsDocumentInvisible()` to determine hidden state of wakelock. r=smaug In order to determine the hidden status of wakelock correctly, we should always consider the PIP state. Differential Revision: https://phabricator.services.mozilla.com/D99727
-
alwu authored
No one is using `NewWakeLockOnBehalfOfProcess()` so we can remove it and its related methods. Differential Revision: https://phabricator.services.mozilla.com/D99726
-
- Nov 23, 2020
-
-
Simon Giesecke authored
Differential Revision: https://phabricator.services.mozilla.com/D97467 Depends on D96561
-
- Nov 04, 2020
-
-
Sylvestre Ledru authored
Also add some missing namespace qualifications Done with: ./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/ ./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}') Differential Revision: https://phabricator.services.mozilla.com/D95456
-
Butkovits Atila authored
-
Sylvestre Ledru authored
Also add some missing namespace qualifications Done with: ./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/ ./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}') Differential Revision: https://phabricator.services.mozilla.com/D95456
-
- Sep 23, 2020
-
-
alwu authored
Bug 1659060 - part1 : treat lock visible if corresponding document has in use picture-in-picture element. r=bryce,smaug When a tab is in the background, its document visibility would become invisible even if a tab owns a video which is visible because of being used in picture in picture mode. When a document changes its visibility, the wakelock would change its lockstate from `lock-foreground` to `lock-background`. For `video-playing` wakelock topic, we would only request a real platform lock for `lock-foreground` because we don't want to prevent screen from sleeping if the video is invisible. Therefore, considering if video is being used in picture in picture mode, when determining the wakelock's visible state. If video is still being used in picture in picture mode, then we would treat wakelock as if it's in foreground in order to keep a screen lock. Differential Revision: https://phabricator.services.mozilla.com/D90781
-
- Oct 26, 2020
-
-
Ricky Stewart authored
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly. To produce this patch I did all of the following: 1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions. 2. Run ./mach lint --linter black --fix 3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks. 4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat. 5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023). # ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D94045
-
- Oct 24, 2020
-
-
Bogdan Tara authored
Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE Backed out changeset ff3fb0b4a512 (bug 1672023) Backed out changeset e7834b600201 (bug 1654103) Backed out changeset 807893ca8069 (bug 1518999) Backed out changeset 13e6b92440e9 (bug 1518999) Backed out changeset 8b2ac5a6c98a (bug 1518999) Backed out changeset 575748295752 (bug 1518999) Backed out changeset 65f07ce7b39b (bug 1518999) Backed out changeset 4bb80556158d (bug 1518999) Backed out changeset 8ac8461d7bd7 (bug 1518999) Backed out changeset e8ba13ee17f5 (bug 1518999)
-
- Oct 23, 2020
-
-
Ricky Stewart authored
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly. To produce this patch I did all of the following: 1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions. 2. Run ./mach lint --linter black --fix 3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks. 4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat. 5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023). # ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D94045
-
- Oct 22, 2020
-
-
Dorel Luca authored
-
- Oct 21, 2020
-
-
Ricky Stewart authored
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly. To produce this patch I did all of the following: 1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions. 2. Run ./mach lint --linter black --fix 3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks. 4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023). # ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D94045
-
- Jul 01, 2020
-
-
Simon Giesecke authored
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj Differential Revision: https://phabricator.services.mozilla.com/D80860
-
- May 06, 2020
-
-
Simon Giesecke authored
Differential Revision: https://phabricator.services.mozilla.com/D73817
-
- Mar 04, 2020
-
-
Simon Giesecke authored
Depends on D65182 Differential Revision: https://phabricator.services.mozilla.com/D65183 --HG-- extra : moz-landing-system : lando
-
- Dec 06, 2019
-
-
Gabriele Svelto authored
The inclusions were removed with the following very crude script and the resulting breakage was fixed up by hand. The manual fixups did either revert the changes done by the script, replace a generic header with a more specific one or replace a header with a forward declaration. find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2) if [ -n "$interfaces" ]; then if [[ "$interfaces" == *$'\n'* ]]; then regexp="\(" for i in $interfaces; do regexp="$regexp$i\|"; done regexp="${regexp%%\\\|}\)" else regexp="$interfaces" fi interface=$(basename "$path") rg -l "#include.*${interface%%.idl}.h" . | while read path2; do hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" ) if [ $hits -eq 0 ]; then echo "Removing ${interface} from ${path2}" grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp mv -f "$path2".tmp "$path2" fi done fi done Differential Revision: https://phabricator.services.mozilla.com/D55442 --HG-- extra : moz-landing-system : lando
-
- Dec 04, 2019
-
-
Dorel Luca authored
-
Gabriele Svelto authored
The inclusions were removed with the following very crude script and the resulting breakage was fixed up by hand. The manual fixups did either revert the changes done by the script, replace a generic header with a more specific one or replace a header with a forward declaration. find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2) if [ -n "$interfaces" ]; then if [[ "$interfaces" == *$'\n'* ]]; then regexp="\(" for i in $interfaces; do regexp="$regexp$i\|"; done regexp="${regexp%%\\\|}\)" else regexp="$interfaces" fi interface=$(basename "$path") rg -l "#include.*${interface%%.idl}.h" . | while read path2; do hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" ) if [ $hits -eq 0 ]; then echo "Removing ${interface} from ${path2}" grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp mv -f "$path2".tmp "$path2" fi done fi done Differential Revision: https://phabricator.services.mozilla.com/D55442 --HG-- extra : moz-landing-system : lando
-
- Sep 30, 2019
-
-
Gabriele Svelto authored
Differential Revision: https://phabricator.services.mozilla.com/D47678 --HG-- extra : moz-landing-system : lando
-
- May 01, 2019
-
-
Sylvestre Ledru authored
# ignore-this-changeset Depends on D28954 Differential Revision: https://phabricator.services.mozilla.com/D28956 --HG-- extra : moz-landing-system : lando
-
- Apr 09, 2019
-
-
Michael Froman authored
Originally, RDD reused the GPU process selector since they were using all the same services, and it reduced the number of places that had to be touched. Now that RDD needs pref handling, it needs its own process selector to avoid GPU inheriting pref handling. Differential Revision: https://phabricator.services.mozilla.com/D26566 --HG-- extra : moz-landing-system : lando
-
- Apr 05, 2019
-
-
Mike Hommey authored
Before bug 938437, we had a rather large and error-prone nsStaticXULComponents.cpp used to register all modules. That was replaced with clever use of the linker, which allowed to avoid the mess that maintaining that file was. Fast forward to now, where after bug 1524687 and other work that preceded it, we have a much smaller number of remaining static xpcom components, registered via this linker hack, and don't expect to add any new ones. The list should eventually go down to zero. Within that context, it seems to be the right time to get rid of the magic, and with it the problems it causes on its own. Some of those components could probably be trivially be converted to static registration via .conf files, but I didn't want to deal with the possible need to increase the number of dummy modules in XPCOMInit.cpp. They can still be converted as a followup. Differential Revision: https://phabricator.services.mozilla.com/D26076 --HG-- extra : moz-landing-system : lando
-
- Mar 17, 2019
-
-
Sebastian Hengst authored
Bug 1535353 - update Core :: DOM: * bugzilla product and component meta data in moz.build files after reorganization in bug 1533440 r=hsinyi Differential Revision: https://phabricator.services.mozilla.com/D23546 --HG-- extra : moz-landing-system : lando
-
- Feb 25, 2019
-
-
Ryan Hunt authored
Differential Revision: https://phabricator.services.mozilla.com/D21106 --HG-- extra : rebase_source : ea3f51c2c11247114deccbc86e90fb02b8a97257
-
- Jan 16, 2019
-
-
Dragana Damjanovic authored
Differential Revision: https://phabricator.services.mozilla.com/D15024 --HG-- extra : moz-landing-system : lando
-
Sylvestre Ledru authored
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D16388 --HG-- extra : moz-landing-system : lando
-
- Jan 18, 2019
-
-
Ehsan Akhgari authored
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre # ignore-this-changeset --HG-- extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
-
- Jan 08, 2019
-
-
Nathan Froyd authored
The layout module is a little weird. It's described as being loadable in the GPU process, but very few of the contracts and CIDs it contains are also marked as such. In fact, the sole reason the layout module is marked as being loadable in the GPU process is so that the power manager service can be registered; everything else is inconsequential. This setup also means that the initializer for the layout module has to specifically check whether it's running in the GPU process (or several other processes...), so we don't try to spin up a bunch of stuff we don't need, like xpconnect and similar. This setup is silly: we should have a module solely for the power manager's use and that module can be loaded in the GPU process. Then the layout module can go back to being an ordinary module, and we don't have to play games in its initialization method.
-
- Jan 07, 2019
-
-
shindli authored
Backed out changeset 462d05bad533 (bug 1517653) for assertion failures in z:/build/build/src/js/src\vm/HelperThreads.h:361 CLOSED TREE
-
Nathan Froyd authored
The layout module is a little weird. It's described as being loadable in the GPU process, but very few of the contracts and CIDs it contains are also marked as such. In fact, the sole reason the layout module is marked as being loadable in the GPU process is so that the power manager service can be registered; everything else is inconsequential. This setup also means that the initializer for the layout module has to specifically check whether it's running in the GPU process (or several other processes...), so we don't try to spin up a bunch of stuff we don't need, like xpconnect and similar. This setup is silly: we should have a module solely for the power manager's use and that module can be loaded in the GPU process. Then the layout module can go back to being an ordinary module, and we don't have to play games in its initialization method.
-
- Jan 03, 2019
-
-
Emilio Cobos Álvarez authored
Summary: Really sorry for the size of the patch. It's mostly automatic s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to add the right namespacing and such. Overall it's not a very interesting patch I think. nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and nsIDocumentInlines.h into DocumentInlines.h. I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it. While fixing up some of the bits I also removed some unneeded OwnerDoc() null checks and such, but I didn't do anything riskier than that.
-
- Nov 30, 2018
-
-
Sylvestre Ledru authored
# ignore-this-changeset --HG-- extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
-
- Nov 28, 2018
-
-
Gabriele Svelto authored
Differential Revision: https://phabricator.services.mozilla.com/D13240 --HG-- extra : moz-landing-system : lando
-
- Sep 28, 2018
-
-
Makoto Kato authored
DevTools wants to use wake lock to keep screen. But since MozWakeLock is removed by bug 1369194, there is no way to unlock wake lock from script. So this issue adds nsIWakeLock to unlock wake lock. Differential Revision: https://phabricator.services.mozilla.com/D7158 --HG-- extra : rebase_source : 4d6069fce27a7d85ce484a1418a8a17de83166f1
-
- Sep 06, 2018
-
-
Nicholas Nethercote authored
Because they have almost identical semantics. --HG-- extra : rebase_source : ea9074bcac2a1d190b88a5d1afc15997593659b7
-
- Aug 13, 2018
-
-
Hiroyuki Ikezoe authored
Differential Revision: https://phabricator.services.mozilla.com/D3181 --HG-- rename : dom/power/Types.h => hal/HalWakeLockInformation.h
-