Jeremy Andrews
19f0115559
Issue #2974 - Part 50: Remove distutils.version and replace.
...
Python no longer provides any version-related utilities in stdlib.
Did a thorough grep and made absolutely sure to replace every last
use. This was the work I was avoiding during my first port...
Ref: PEP 632, BZ 1777414, BZ 1858065, BZ 1766085
2026-03-20 04:14:03 -05:00
Jeremy Andrews
e12d6ebd5e
Issue #2974 - Part 19: Use various fixers.
...
Mostly exec and execfile, but also StandardError and sys_exc.
2to3 . --fix exec -wpn
'' execfile ''
'' sys_exc ''
'' standarderror ''
Ref:
https://docs.python.org/3/whatsnew/3.0.html
2026-03-05 22:10:28 -06:00
Jeremy Andrews
7abb343363
Issue #2974 - Part 18: Use str instead of unicode.
...
The standard str is unicode now...
2to3 . --fix unicode -wpn
Ref:
https://docs.python.org/3/whatsnew/3.0.html
2026-03-05 21:38:47 -06:00
Jeremy Andrews
af6ae6a1d3
Issue #2974 - Part 17: Use new unittest names.
...
2to3 . --fix asserts -wpn
Ref:
https://docs.python.org/3.11/library/unittest.html#deprecated-aliases
2026-03-05 21:11:31 -06:00
Jeremy Andrews
0c61ee391c
Issue #2974 - Part 14: Moved libraries and imports.
...
reduce is moved to functools, urllib reogranized.
2to3 . --fix urllib -wpn
2to3 . --fix reduce -wpn
2to3 . --fix import -wpn
2to3 . --fix imports -wpn
2to3 . --fix imports2 -wpn
Ref: PEP 3108, PEP 3100
https://peps.python.org/pep-3108/
https://peps.python.org/pep-3100/
2026-03-04 20:24:12 -06:00
Jeremy Andrews
c77e0a8cec
Issue #2974 - Part 9: Adapt input and raw_input
...
2to3 . --fix input -wpn
2to3 . --fix raw_input -wpn
Py2 input is the new Py3 input wrapped in eval tags.
The new input is the old raw_input.
This lets you have the old behavior. Mechanical.
Ref: PEP 3111
https://peps.python.org/pep-3111/
2026-03-04 15:16:45 -06:00
Jeremy Andrews
46f126c10c
Issue #2974 - Part 8: Adapt except
...
2to3 . --fix except -wpn
Python 3 exception syntax is different. Comma-based syntax is gone,
much like print syntax is changed.
This lets you have the old behavior. Mechanical.
Ref: PEP 3110
https://peps.python.org/pep-3110/
2026-03-04 15:00:58 -06:00
Jeremy Andrews
4906a75883
Issue #2974 - Part 7: Adapt raise
...
2to3 . --fix raise -wpn
Python 3 raise syntax is different. Three-argument raise is
deprecated, much like print syntax is changed.
This lets you have the old behavior. Mechanical.
Ref: PEP 3109
https://peps.python.org/pep-3109/
2026-03-04 14:16:18 -06:00
Jeremy Andrews
8c0f0ccdcf
Issue #2974 - Part 6: Adapt dict
...
2to3 . --fix dict -wpn
Py2 dict was a list by default, the iterator versions
were switched around to be the default.
This lets you have the old behavior. Mechanical.
Ref: PEP 3106
https://peps.python.org/pep-3106/
2026-03-04 13:56:53 -06:00
Jeremy Andrews
ec4f21e5e3
Issue #2974 - Part 4: Adapt map
...
2to3 . --fix map -wpn
Py2 map was a list, now map is an iterator.
This lets you have the old behavior. Mechanical.
Ref:
https://www.artima.com/weblogs/viewpost.jsp?thread=208549
2026-03-04 13:22:20 -06:00
Jeremy Andrews
49615281cd
Issue #2974 - Part 2: Adapt range/xrange.
...
2to3 . --fix xrange -wpn
range takes the place of Py2 xrange.
Py2 range was a list. Mechanical, did
it by hand several times...
Ref:
https://docs.python.org/3/whatsnew/3.0.html#range
2026-03-04 08:33:16 -06:00
Jeremy Andrews
e11fc9b4cf
Issue #2974 - Part 1: Adapt all print statements.
...
2to3 . --fix print -wn
Essentially, print is a function instead of statement.
Ref:
PEP 3105
https://peps.python.org/pep-3105/
2026-03-04 03:48:01 -06:00
Moonchild
25d668395b
Issue #1787 - Remove nsIAppsService, mozIApplication and mozapp data cleanup.
2024-11-20 20:18:19 +01:00
Moonchild
734f0957fb
Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]]
...
Basically a S&R. Removed the macro and adjusts IDL codegen accordingly.
2023-11-11 14:27:03 +01:00
Moonchild
e7e10ab287
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from accessible, [root], tools, uriloader, widget, xpcom and
xpfe.
Resolves #1656
2023-05-05 15:53:29 +02:00
trav90
2770a0588c
[No issue] Add executable bit to shell scripts in tree
2022-11-25 09:37:30 -06:00
Brian Smith
3daf711085
Issue #1829 - Revert “Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.”
...
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
This reverts commit 6f707bde95 .
2022-04-26 10:19:04 -05:00
Moonchild
d2a4597cfc
Issue #1859 - Part 6: Update mach mar to accept --bz2 for old style MAR
...
So we can build bzip2 MARs for selectively updating older versions of
the applications that don't understand xz.
2022-04-17 19:21:40 +02:00
Moonchild
43165d9edb
Issue #1859 - Part 5: Add format detection to unwrap_full_update.pl
2022-04-17 19:21:30 +02:00
Moonchild
88624edc98
Issue #1859 - Part 4: Update mar file generation scripts for use of xz.
...
- Update packaging scripts to support both lzma and bzip2
- Update python script to support lzma
- Update test scripts to support lzma to be thorough
This all requires xz to be available in the path on the build system.
2022-04-17 19:21:20 +02:00
Moonchild
ce0cefe053
Issue #1053 - Second pass remove android defines and build system stuff.
...
Mostly IPC, tools and mozbuild.
2022-04-01 15:47:43 +02:00
Moonchild
39f9ab375b
Issue #1053 - Remove /dom/system/android and dependent modules,
...
as well as robocop.
2022-04-01 15:22:15 +02:00
Moonchild
6f707bde95
Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
...
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-06 09:24:03 +00:00
Moonchild
b59777a67b
Issue #1053 - Remove __ANDROID__ defines (except in third party code)
2021-03-21 16:15:54 +00:00
Moonchild
4a42352e64
Issue #1656 - Part 8: Devtools and misc.
2020-09-24 08:10:23 +00:00
Moonchild
d5a2c45aad
Issue #1656 - Part 6: Clean up the build files
2020-09-23 15:52:00 +00:00
Moonchild
a680bdc637
Issue #1656 - Part 1: Nuke most vim config lines in the tree.
...
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-23 13:55:00 +00:00
Matt A. Tobin
d0eee8f01d
Align mar generation on Windows with other platforms
...
This makes mar generation dependent on packaging not installer
2020-04-07 21:55:11 -04:00
adeshkp
a6441a2a84
Issue #1259 - Part 4. Remove Adobe EME from GMPUtils
2019-11-10 06:03:11 -05:00
Matt A. Tobin
e31d79e8da
Fix build errors with newer glibc versions
2019-10-16 12:37:07 -04:00
wolfbeast
cdd54fbe13
Issue #1124 : [Basilisk] Remove Dev Edition front-end tie-ins.
2019-08-14 20:08:49 +02:00
adeshkp
4e464892a2
Issue #701 - Support spaces in Mac app name
2019-07-18 11:21:40 -04:00
wolfbeast
1595ee7da4
Rip broken telemetry out of the app AUS.
...
Tag #21
2019-05-14 12:16:07 +02:00
wolfbeast
de75f133a7
Remove Firefox Accounts service and tie-ins.
...
See previous commit for removal of browser identity module.
2019-04-19 02:02:56 +02:00
Moonchild
cdc962dca5
Remove various FxA tests
2019-04-18 15:49:19 +00:00
wolfbeast
d24869a157
Make sure channel-prefs.js is packaged into MAR files.
2018-12-18 14:18:49 +01:00
Moonchild
d1a35c3fa6
Merge pull request #850 from trav90/add-av1-support
...
Add initial support for AV1 video.
2018-10-24 05:58:24 +02:00
trav90
e8480f8a78
Add aom to the list of thirdparty code
2018-10-15 22:12:11 -05:00
Ascrod
98bf922150
Issue #832 Part 1: Remove modules, chrome, and preferences.
2018-10-11 23:34:52 -04:00
Ascrod
5f89c3da66
Remove Social API.
2018-05-30 17:45:05 -04:00
wolfbeast
ac25827a87
Remove SPS profiler.
...
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS)
- Stub out several profiler-only functions.
2018-05-24 14:06:04 +02:00
wolfbeast
94988a2b4e
Remove the jprof profiler.
...
This resolves #377 .
2018-05-23 20:16:00 +02:00
wolfbeast
1124fb525b
Remove other gonk widget conditionals and unused files.
...
Tag #288 .
2018-05-13 22:46:04 +02:00
wolfbeast
6571d2ceb4
Remove MOZ_WIDGET_GONK [1/2]
...
Tag #288
2018-05-12 16:19:58 +02:00
wolfbeast
43034a36e1
Remove jemalloc 4 from our tree.
2018-04-27 19:16:45 +02:00
wolfbeast
4e368f8199
Remove base conditional code for crash reporter and injector.
2018-03-30 08:50:58 +02:00
Matt A. Tobin
c0c702a5e3
Use UTC where appropriate in python files
2018-02-02 12:00:37 -05:00
Matt A. Tobin
5f8de423f1
Add m-esr52 at 52.6.0
2018-02-02 04:16:08 -05:00