Commit Graph

232 Commits

Author SHA1 Message Date
Valentin Gosu
be12f6cce6 Bug 1751698 - Include ascii_pac_utils.js as a separate file r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D136728
2022-01-25 10:02:06 +00:00
Chris Peterson
f6fdbf028a Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium
-Wshadow warnings are not enabled globally, so these -Wno-shadow suppressions have no effect. I had intended to enable -Wshadow globally along with these suppressions in some directories (in bug 1272513), but that was blocked by other issues.

There are too many -Wshadow warnings (now over 2000) to realistically fix them all. We should remove all these unnecessary -Wno-shadow flags cluttering many moz.build files.

Differential Revision: https://phabricator.services.mozilla.com/D132289
2021-12-01 06:40:04 +00:00
Kershaw Chang
b7dcc16500 Bug 1666557 - Make TRR NAT64 prefixing work with socket process, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D130686
2021-11-10 13:02:59 +00:00
Cristian Tuns
91f08a1fbe Backed out changeset 8000eadc16ec (bug 1666557) for causing hybrid bustages on TRRServiceChild.cpp CLOSED TREE 2021-11-10 06:35:42 -05:00
Kershaw Chang
11eb300224 Bug 1666557 - Make TRR NAT64 prefixing work with socket process, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D130686
2021-11-10 11:15:40 +00:00
Yury Delendik
04ca8c2532 Bug 1487113 - nsICacheInfoChannel.alternativeDataInputStream as attribute. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117360
2021-10-15 21:13:43 +00:00
Marian-Vasile Laza
381c254e6d Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE
Backed out changeset 13bf04fc644f (bug 1487113)
Backed out changeset 5b7fe5d564aa (bug 1487113)
Backed out changeset 02236ccd64b4 (bug 1487113)
2021-09-17 22:58:33 +03:00
Yury Delendik
19b0d24e7f Bug 1487113 - nsICacheInfoChannel.alternativeDataInputStream as attribute. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117360
2021-09-17 12:16:23 +00:00
Cristian Tuns
f2f6eac4d6 Backed out 3 changesets (bug 1487113) for causing mochitest failures. CLOSED TREE
Backed out changeset b20e5d76c77e (bug 1487113)
Backed out changeset b0b2b27dcb68 (bug 1487113)
Backed out changeset 9214b396eb84 (bug 1487113)
2021-09-14 17:38:32 -04:00
Yury Delendik
0b78665a0e Bug 1487113 - nsICacheInfoChannel.alternativeDataInputStream as attribute. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117360
2021-09-14 20:12:51 +00:00
Andi-Bogdan Postelnicu
2fc4f70e9b Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium
Automatically generated path that adds flag `REQUIRES_UNIFIED_BUILD = True` to `moz.build`
when the module governed by the build config file is not buildable outside on the unified environment.

This needs to be done in order to have a hybrid build system that adds the possibility of combing
unified build components with ones that are built outside of the unified eco system.

Differential Revision: https://phabricator.services.mozilla.com/D122345
2021-08-25 10:46:17 +00:00
Manuel Bucher
3918a58a02 Bug 1721459 - Remove nsIDeprecationWarner r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D120474
2021-07-21 15:19:15 +00:00
Valentin Gosu
ca966558a6 Bug 1694662 - Remove nsIApplicationCache interfaces r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D106458
2021-04-30 07:20:25 +00:00
Valentin Gosu
b596ffd428 Bug 1696261 - Optimize nsDataHandler and nsSimpleURI::SetSpec to do fewer passes r=necko-reviewers,kershaw
- Rename nsAciiMask.h details:: namespace to asciimask_details so it doesn't clash with ipc/chromium/src/base/task.h
- Add SetSpecAndFilterWhitespace simple URI constructor that filters whitespace instead of just CR/LF.
- Only do one scan of the string in nsSimpleURI::SetPathQueryRefInternal in order to find the end of the path, query & ref.

There are probably more optimizations possible.
In my testing these get me a 1.5x-2x speedup.

Differential Revision: https://phabricator.services.mozilla.com/D107567
2021-04-06 08:37:40 +00:00
Dragana Damjanovic
61e4c834b7 Bug 1689604 - Remove TCPFastOpen part 2 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103478
2021-01-29 21:59:55 +00:00
Dragana Damjanovic
df04047c08 Bug 1675491 - Count number of bytes send and received over a socket. r=necko-reviewers,valentin
This needs to count encrypted data, therefore it is implemented as a NSPR layer right above the PR_NSPR_IO_LAYER layer.

Differential Revision: https://phabricator.services.mozilla.com/D96083
2020-11-16 20:38:25 +00:00
Csoregi Natalia
a9fe7c0285 Backed out changeset 4cfe953fecdb (bug 1675491) for causing NetworkDataCount crashes. CLOSED TREE 2020-11-09 13:55:09 +02:00
Dragana Damjanovic
a15f3e2f6d Bug 1675491 - Count number of bytes send and received over a socket. r=necko-reviewers,valentin
This needs to count encrypted data, therefore it is implemented as a NSPR layer right above the PR_NSPR_IO_LAYER layer.

Differential Revision: https://phabricator.services.mozilla.com/D96083
2020-11-09 09:30:23 +00:00
Ricky Stewart
02a7b4ebdf Bug 1654103: Standardize on Black for Python code in mozilla-central.
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
2020-10-26 18:34:53 +00:00
Bogdan Tara
da1098d4aa 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)
2020-10-24 03:36:18 +03:00
Ricky Stewart
c0cea3b0fa 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
2020-10-23 20:40:42 +00:00
Dorel Luca
1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab 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
2020-10-21 21:27:27 +00:00
Matt Woodrow
9638778ace Bug 1604447 - Remove channel diversion code. r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D90193
2020-09-18 20:56:54 +00:00
Bogdan Tara
8dede7a88d Backed out changeset 3cb12ccee75a (bug 1604447) for causing build bustage CLOSED TREE 2020-09-18 23:43:46 +03:00
Matt Woodrow
d990dadcc7 Bug 1604447 - Remove channel diversion code. r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D90193
2020-09-18 06:56:38 +00:00
undef1nd
bb5ccdc8ff Bug 1631722 - Add wrapper for structured-headers crate,r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D81127
2020-08-12 07:07:33 +00:00
Brindusan Cristian
d0499be492 Backed out 2 changesets (bug 1631722) for xpcshell failures at test_trr_cname_chain.js.
Backed out changeset 6c52fb84d5c3 (bug 1631722)
Backed out changeset 24560593473e (bug 1631722)
2020-08-12 06:18:26 +03:00
undef1nd
26766daa23 Bug 1631722 - Add wrapper for structured-headers crate,r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D81127
2020-08-11 13:27:49 +00:00
Bogdan Tara
9b65c93d6a Backed out 2 changesets (bug 1631722) for windows bpgo failures CLOSED TREE
Backed out changeset 580b7fe5c831 (bug 1631722)
Backed out changeset e635eff6171b (bug 1631722)
2020-08-07 16:37:42 +03:00
undef1nd
a0eda6935a Bug 1631722 - Add wrapper for structured-headers crate,r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D81127
2020-08-06 18:50:11 +00:00
Cosmin Sabou
200c98a9ca Backed out 2 changesets (bug 1631722) for causing build bustages. CLOSED TREE
Backed out changeset b0b1c0fa93f9 (bug 1631722)
Backed out changeset ed318dc1f3ae (bug 1631722)
2020-08-06 18:29:19 +03:00
undef1nd
f914e7976e Bug 1631722 - Add wrapper for structured-headers crate,r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D81127
2020-08-06 12:53:26 +00:00
Nika Layzell
89e04ba7e0 Bug 1625513 - Part 2: Completely remove nsIProcessSwitchRequestor, r=mattwoodrow,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D69240
2020-04-21 22:33:01 +00:00
Cosmin Sabou
190731f374 Backed out 5 changesets (bug 1625513) for bc failures on browser_identity_UI.js. CLOSED TREE
Backed out changeset 88ac5d853e38 (bug 1625513)
Backed out changeset 8ac6db819435 (bug 1625513)
Backed out changeset cc19c74910d1 (bug 1625513)
Backed out changeset 8c235f0f967c (bug 1625513)
Backed out changeset 24a646225c68 (bug 1625513)
2020-04-22 00:17:08 +03:00
Nika Layzell
4409a56423 Bug 1625513 - Part 2: Completely remove nsIProcessSwitchRequestor, r=mattwoodrow,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D69240
2020-04-21 18:33:42 +00:00
Noemi Erli
6ce4e6b1e0 Backed out 4 changesets (bug 1625513) for causing assertion in WindowGlobalChild.cpp
Backed out changeset 0366bbc9e0f7 (bug 1625513)
Backed out changeset 3554e0be2e66 (bug 1625513)
Backed out changeset ad09a911bc43 (bug 1625513)
Backed out changeset f2dbff5d584f (bug 1625513)
2020-04-20 22:28:20 +03:00
Nika Layzell
0ad350bf2b Bug 1625513 - Part 2: Completely remove nsIProcessSwitchRequestor, r=mattwoodrow,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D69240
2020-04-20 16:57:09 +00:00
Andrea Marchesini
13481ea877 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-11 13:42:12 +00:00
Razvan Maries
b74e338c98 Backed out 6 changesets (bug 1363541) for perma failures. CLOSED TREE
Backed out changeset a775f6e9eb41 (bug 1363541)
Backed out changeset 9212bfd89eca (bug 1363541)
Backed out changeset bf41b0c139f6 (bug 1363541)
Backed out changeset aa7c6668b249 (bug 1363541)
Backed out changeset 9f413a8a47bb (bug 1363541)
Backed out changeset 827a9a2866bd (bug 1363541)

--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 11:31:20 +03:00
Andrea Marchesini
b523b552a4 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 22:08:02 +00:00
Coroiu Cristina
d37de5ed78 Backed out 6 changesets (bug 1363541) for browser-chrome failures at browser/base/content/test/performance/browser_startup_mainthreadio.js on a CLOSED TREE
Backed out changeset 947073be919f (bug 1363541)
Backed out changeset 1f397b686c11 (bug 1363541)
Backed out changeset d2ba944a47a3 (bug 1363541)
Backed out changeset 80d4d1f0c921 (bug 1363541)
Backed out changeset 9d6b9052f413 (bug 1363541)
Backed out changeset aeaa10789071 (bug 1363541)

--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 01:00:15 +03:00
Andrea Marchesini
8764c55c53 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 13:27:35 +00:00
Oana Pop Rus
90abf0bc61 Backed out 2 changesets (bug 1625513) for bc failures in browser/base/content/test/siteIdentity/browser_identity_UI.js on a CLOSED TREE
Backed out changeset 876b33334577 (bug 1625513)
Backed out changeset 69f75d37ae8e (bug 1625513)

--HG--
extra : rebase_source : e8752080577e762777eff9cda7a695bfa2ccd4cf
2020-04-09 00:57:32 +03:00
Nika Layzell
d023f7c03a Bug 1625513 - Part 2: Completely remove nsIProcessSwitchRequestor, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D69240

--HG--
extra : moz-landing-system : lando
2020-04-08 16:56:39 +00:00
Cosmin Sabou
3a544c8273 Backed out 2 changesets (bug 1625513) for causing several reftest failures. CLOSED TREE
Backed out changeset 64dfd2e32a7b (bug 1625513)
Backed out changeset a78ae89b25b6 (bug 1625513)

--HG--
extra : amend_source : b2383d74665a38a1fcf6cf0c3b62f6700002055c
extra : histedit_source : c9251ae9cdf46168c15328aa83655e2f93c95b85
2020-04-06 20:11:51 +03:00
Nika Layzell
dc63be577d Bug 1625513 - Part 2: Completely remove nsIProcessSwitchRequestor, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D69240

--HG--
extra : moz-landing-system : lando
2020-04-06 15:17:42 +00:00
undef1nd
c9ce90a9d3 Bug 1624189 - Generate rust-helper's header file via cbindgen r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67786

--HG--
extra : moz-landing-system : lando
2020-03-23 15:01:18 +00:00
Mihai Alexandru Michis
2b56315b69 Backed out changeset 41f948371551 (bug 1624189) for causing bustages in base/nsURLHelper.cpp
CLOSED TREE
2020-03-23 15:18:09 +02:00
undef1nd
eaecb6baf8 Bug 1624189 - Generate rust-helper's header file via cbindgen r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67786

--HG--
extra : moz-landing-system : lando
2020-03-23 12:57:45 +00:00