jj
88c004062e
utils/i18n: factor out apply_translations() ( #1407 )
...
so windows can use it from build.py easily
2026-04-20 12:31:41 +02:00
wukko
69c87d60f1
utils/clone: clone latest depot_tools instead of relying on DEPS ( #1387 )
...
this is a fix for an outdated depot_tools version in DEPS in the current
chromium tag. it fixes the android orderfiles error caused by
https://crrev.com/c/7683270 , which breaks builds that use cloning.
generally speaking, this is *probably* a bad idea, but i refuse to pin a
specific commit and then update it every time google breaks DEPS.
2026-04-17 12:22:54 +06:00
jj
b0395c7ecd
devutils, utils: implement i18n pipeline ( #1265 )
...
rough sketch of the pipeline:
- generic + platform patches -> `devutils/i18n generate` ->
`i18n/source.gen.json` ("source of truth" for translations)
- `i18n/source.gen.json` -> `devutils/i18n translate` -> machine
translations generated into `i18n/translations/{lang}.json`
- those should be reviewed and fixed up by representative community
members that actually speak the corresponding language
- `i18n/source.gen.json` + `i18n/translations/*` -> `utils/i18n_apply`
-> fingerprints source strings and applies translations into XTB files
fixes #1109
2026-04-13 17:39:11 +02:00
jj
20715be7e3
lists: move onboarding to PRUNING_EXCLUDE_PATTERNS ( #1178 )
2026-04-04 18:56:56 +06:00
jj
e1a3c2d801
ci: check that domsub/pruning lists are up-to-date ( #1173 )
2026-04-03 22:46:14 +02:00
jj
84f7f68d2d
utils/namesub: move add_grit_to_path inside do_substitution ( #1120 )
2026-03-19 23:19:08 +06:00
jj
35865f6f2a
utils/namesub: don't translate link to Chromium
2026-03-16 19:02:38 +00:00
jj
bdd511cf9c
util/namesub: deduplicate colliding translation ids after substitution
2026-03-16 17:52:59 +00:00
jj
c463d8cfe8
util/namesub: retain comments, include xml declaration, don't decode $
2026-03-16 17:52:58 +00:00
jj
0f2b61fa68
util/namesub: unwrap file info from results for tarballing
2026-03-16 17:52:57 +00:00
jj
a8f3d7fb25
utils/namesub: set output encoding to unicode
2026-03-16 17:52:57 +00:00
jj
4b6e671f75
util/namesub: rename ET import to xml
...
seems clearer
2026-03-16 17:52:56 +00:00
jj
117687b2e9
util/namesub: implement .xtb id substitution
2026-03-16 17:52:55 +00:00
jj
7ceed877ca
util/namesub: implement smarter name substitution via XML parsing
2026-03-16 17:52:54 +00:00
jj
f8db190519
util/namesub: fold is_sub*() logic into get_sub*_files()
2026-03-16 17:03:42 +00:00
jj
35eccbba13
util/namesub: add grit to module loading path
2026-03-16 17:03:42 +00:00
jj
e40dd5ed0f
util/namesub: introduce --dry-run
2026-03-16 17:03:38 +00:00
wukko
e5c8b6dd5d
utils/generate_resources: convert input to RGBA
...
fixes downscaling issues of images with quantized palettes
2026-03-02 12:25:21 +06:00
jj
1a3f947eb8
utils/name-substitution: replace fake async with process pool ( #909 )
...
before: real 0m46.312s
after: real 0m14.080s
2026-02-16 13:02:46 +01:00
wukko
838688ad33
merge: update to ungoogled-chromium 145.0.7632.75
2026-02-15 17:23:04 +06:00
jj
3b6fd05352
utils/namesub: ignore known-useless directories ( #886 )
...
before: real 1m6.983s, user 1m6.178s sys 0m0.783s
after: real 0m46.058s, user 0m45.383s, sys 0m0.650s
2026-02-15 17:18:13 +06:00
Blaise
230b8485a4
Update to Chromium 145.0.7632.75
2026-02-13 15:05:44 -06:00
wukko
0691459d2c
merge: update to ungoogled-chromium 145.0.7632.45
2026-02-05 15:51:35 +06:00
Blaise
ae9fe23a5f
Update to Chromium 145.0.7632.45
2026-02-04 16:17:58 -06:00
wukko
bb19cfa083
merge: update to ungoogled-chromium 144.0.7559.132
2026-02-04 10:59:31 +06:00
Daniel Richard G.
8e4b1b1204
Add quilt(1) backup option to make_domsub_script.py
...
This allows files modified by the script to be backed up using quilt's
convention for saving a copy of files prior to patching them. The
backup is recorded as a virtual patch file, that can then be popped
off the stack (using "quilt pop -f") like any other patch.
2026-01-28 20:21:43 +01:00
jj
24c34d93f7
utils/extraction: add support for .zip relative path stripping
2026-01-28 15:17:21 +00:00
wukko
2f826d1ee9
merge: update to ungoogled-chromium 144.0.7559.59
2026-01-12 13:32:42 +06:00
Blaise
e8f5addcff
Update to Chromium 144.0.7559.59
2026-01-08 08:38:22 -06:00
wukko
ab9a39c516
merge: update to ungoogled-chromium 143.0.7499.40
2025-12-03 23:19:47 +06:00
Blaise
7b77584e8c
Update to Chromium 143.0.7499.40
2025-12-02 14:14:43 -06:00
Sheng
c94c96e62e
Fix zip compression level ( #3555 )
2025-11-27 09:17:28 -06:00
wukko
9cfd581f96
merge: update to ungoogled-chromium 142.0.7444.59
2025-10-29 13:11:23 +06:00
Blaise
6a7a75d0d4
Update to Chromium 142.0.7444.59
2025-10-28 17:37:26 -05:00
Noa Virellia
ea61e0bcd5
utils/{generate,replace}_resources: add shebang
2025-10-10 12:44:58 +08:00
Noa Virellia
d813f47f4e
utils: make utility scripts executable
2025-10-10 12:37:47 +08:00
wukko
13d2de5691
merge: update to ungoogled-chromium 141.0.7390.54
2025-10-02 18:00:29 +06:00
Blaise
f07f00bad4
Update to Chromium 141.0.7390.54
2025-10-01 13:06:27 -05:00
jj
b0f30bffcf
downloads: implement cross-platform unzips
2025-09-21 17:25:34 +00:00
jj
15ecb1cf62
patches/utils: always dry run with fuzz=0
2025-08-30 17:48:05 +00:00
jj
919ea2bc82
utils/patches: add --no-fuzz flag for strict application
2025-08-30 17:48:05 +00:00
jj
dc626238a7
utils/helium_version: add support for generating root-only version
2025-08-25 10:49:05 +00:00
wukko
3826ee65e4
merge: update to chromium 139.0.7258.66 ( #34 )
2025-08-08 18:22:29 +06:00
wukko
053a134aca
merge: update to ungoogled-chromium 139.0.7258.66
2025-08-08 10:42:57 +06:00
jj
80158a7006
utils/generate_resources: make pylint happy
2025-08-07 12:48:52 +00:00
jj
6267361984
utils/generate_resources: allow omitting size in definitions
2025-08-07 12:43:00 +00:00
jj
185e973431
utils/generate_resources: use pathlib for output path
2025-08-07 11:28:14 +00:00
Blaise
a078b9be0f
Update to Chromium 139.0.7258.66
2025-08-05 13:57:34 -05:00
wukko
df3f623ce3
utils: raise an error if a line in resource file is invalid
2025-07-29 15:29:34 +06:00
wukko
c85860fa87
utils & resources: generate scaled resources with a script
2025-07-29 15:29:28 +06:00