Brian Johnson
2b85547277
Merge pull request #15350 from brave/issues/25805
...
Remove executable bits from sources, add shebang to python executables.
2022-10-12 12:11:06 -07:00
Mikhail
0e7eb8ff56
Introduce scripts to run performance tests ( #14693 )
...
* Introduce performance test run scripts
* Fix license errors
* Refactor browser_type to fix chrome downloading
* Fix some minor issues
* fix pylint warning
* git cl format
* update chrome_releases.json
* allow tag be empty
* Migrate to vpython3
* Use text mode for subprocess
* fix comments
* Fix chrome-typical config
* Update patches 1
* Update patches 2
* Update patches 3
* Update patches 4
* update chrome_releases.json
* Fix reporting _ref metrics
* update import_inline path in patches
* update override_utils path in patches
* Fix review issues, add override_method
* Rework .reference logic
* override_method fixes
* Update annotations
* Revert types.MethodType()
* git cl format
* fix pylint warnings
* Remove auth script until bots are not ready
* Rename some modules
* Fix some Sonar warnings
* Fix .py files headers
2022-10-11 03:09:13 +07:00
Aleksey Khoroshilov
fc4d5dfe6b
Add missing shebangs.
2022-10-05 22:07:49 +07:00
Anton Lazarev
be5e82f136
Merge pull request #14475 from brave/adblock-rust-ios-content-blocking
...
Add content blocking conversion method for iOS
2022-09-30 14:10:46 -07:00
Anton Lazarev
ea596b16a3
pass ios feature to cargo build
2022-09-30 10:10:04 -07:00
mkarolin
82724ebca8
Adds a policty to disable Brave Wallet.
2022-09-30 09:40:08 -04:00
Aleksey Khoroshilov
f00c1f27da
Add browser_protocol.pdl brave/chromium_src merge solution.
2022-09-26 23:24:44 +07:00
Aleksey Khoroshilov
bbd23a5b59
Add some python script improvements.
2022-09-26 23:24:40 +07:00
mkarolin
c3074a6ebf
Adds a policy to disable Brave Rewards.
2022-09-16 20:04:24 -04:00
Emerick Rogul
4d73487fa3
LZMA executable moved on Windows and also use Mac executable
...
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/d8cc01ec95f50e75b972b4285192f12277a30595
commit d8cc01ec95f50e75b972b4285192f12277a30595
Author: Xiaoling Bao <xiaolingbao@chromium.org >
Date: Fri Aug 5 18:57:24 2022 +0000
Check in lzma 7zz command for mac.
The 7zz command originates from: https://7-zip.org/a/7z2107-mac.tar.xz .
Created lzma_sdk/bin/mac64 folder for the new binary.
sha1 hash digest:
c62266f7da3108bef870086c456d002ae8ffe089
sha256 hash digest:
c194cd5b88d5cf5842df4f6e5b082ac593780aabc221de01558a4fa58850c43e
Moved lzma_sdk/bin/7z*.exe to lzma_sdk/bin/win64/7z*.exe and updated the references.
Bug: 1348343
2022-09-15 20:46:20 -04:00
Francois Marier
a6a7841f81
Improve license check error message ( fixes brave/brave-browser#25261 )
2022-09-07 16:18:07 -07:00
Aleksey Khoroshilov
988e770849
Look for src/ dir starting from __file__.
2022-09-05 13:51:28 +07:00
Aleksey Khoroshilov
b587f7ef36
Update override_utils imports.
2022-09-05 13:50:55 +07:00
Aleksey Khoroshilov
a6660a0c1d
Move files to brave/script.
2022-09-05 13:31:02 +07:00
Sangwoo Ko
621d6fdd3b
Allow users to select a specific 'Brave Background' ( #14867 )
...
* Allow users to select a specific 'Brave Background'
Previously, users couldn't select a specific 'Brave Background' image.
With this PR, A chooser for 'Brave Background' images is added and
toggle button for using 'Brave Background' as is(rotating) is added.
* Implement WebUI for Brave background chooser
* `BraveBackground` was added
* Reuse most of existing UI component.
* ColorChooser => BackgroundChooser
* ColorBackgroundOption => BackgroundOption
* Introduce new mojo types and function
* `BraveBackground` type
* `Background` type : union of `CustomBackground` and `BraveBackground`
* `GetBraveBackgrounds` function: For setting UI to show 'Brave
Background' images in a chooser, web ui should know all brave backgrounds.
This function is for getting all brave backgrounds.
* Implement backend behaviors
* Returns Brave backgrounds from NTPBackgroundImageData to webui
* When users select a 'Brave background', save its URL using `NTPBackgroundPrefs`
* `NTPCustomBackgroundImageService` checks if user has selected a 'Brave background'.
In this case, `NTPCustomBackgroundImageService` will return the selected 'Brave background'.
i.e. ViewCounterService won't return the background.
* Fix up invalid data and fallback to random background
2022-09-02 15:40:58 +09:00
mkarolin
03cbcb0ff7
Fixes replacement of Chromium -> Brave in XTBs in Hindi/Nepali.
2022-08-30 18:13:44 -04:00
mkarolin
529d1a5e53
Add more fixes for commonly misformatted Transifex strings.
2022-08-26 11:35:44 -04:00
mkarolin
c12af148bd
Do not replace ChromeVox in strings.
2022-08-23 00:19:33 -04:00
mkarolin
acc40e803f
LZMA executable moved.
...
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/3fa36902563c565b6c1e7811b7e431a533529a82
commit 3fa36902563c565b6c1e7811b7e431a533529a82
Author: Michael Chang <donchan@microsoft.com >
Date: Fri Jul 1 19:15:57 2022 +0000
Clean-up //third_party/lzma_sdk folder
As part of updating the lzma_sdk, clean up the folders and put them into different subfolders. This puts the files in a more similar
organization to the original lzma sdk. Fix up other files to have
correct includes.
Bug: 1334732
2022-08-23 00:19:18 -04:00
samartnik
0e86e95641
[Android] Stop generating unsupported policies on android
...
Chromium change:
https://github.com/chromium/chromium/commit/727acdb62db2d878f9a4675677c297c00ec79b51
Reland "Stop generating unsupported policies on android"
Reason for reland: Fix issue from crbug.com/1344410
Original change's description:
> Stop generating unsupported policies on android
>
> This CL also enables the MaxConnectionsPerProxy policy on Chrome OS.
>
> Bug: 223616
> Change-Id: I8205d38d11b427630bbfedf4e83d50d089bbe8b0
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3751298
> Reviewed-by: Alex Ilin <alexilin@chromium.org >
> Commit-Queue: Yann Dago <ydago@chromium.org >
> Reviewed-by: Owen Min <zmin@chromium.org >
> Cr-Commit-Position: refs/heads/main@{#1023956}
Bug: 223616, 1344410
2022-08-23 00:19:00 -04:00
Aleksey Khoroshilov
231ee9bc5e
Make inline and override helpers usable more widely.
2022-08-17 19:42:50 +07:00
Michael Herrmann
fc8ba308f9
Allow picking the Authenticode certificate by hash
2022-08-17 09:25:14 +02:00
Wojciech Knapik
5da8e73bb3
Switched from using hardcoded ignore lists in audit_deps.py to fetching from a separate repo ( #14405 )
2022-08-03 01:10:34 +02:00
Max
369976146c
Merge pull request #14325 from brave/maxk-transifex-upload-translations
...
Transition to using brave_en Tansifex project
2022-07-27 16:18:24 -04:00
Kyle Den Hartog
a17cbecba4
Add GHSA-4wf5-vphf-c2xc to the ignore list
...
https://github.com/advisories/GHSA-4wf5-vphf-c2xc is a ReDoS attack that we're not concerned about so disabling this alert.
2022-07-26 20:55:57 +12:00
mkarolin
6f2513adc2
[l10n] Account for incorrect IRD_ string prefix in Chromium.
2022-07-25 15:54:58 -04:00
mkarolin
2b66a65ff3
[l10n] Remove etherium-remote-client related code.
...
We don't use their l10n any more.
2022-07-25 15:54:57 -04:00
mkarolin
138383237f
[l10n] Remove no longer needed .message suffix for extension strings.
2022-07-25 15:54:57 -04:00
mkarolin
7b76aa4933
[l10n] Switch to using brave_en project in Transifex.
2022-07-25 15:53:07 -04:00
mkarolin
e37dfc25c2
[l10n] Allow uploading local translations to Transifex.
2022-07-25 15:53:01 -04:00
Brian Clifton
489fcb35d0
Merge pull request #14314 from brave/bsc-ignore-audit-GHSA-mhxj-85r3-2x55
...
Add ignore for advisory
2022-07-25 09:13:03 -07:00
Brian Clifton
2ce652cb99
Add ignore for advisory
...
Fixes https://github.com/brave/brave-browser/issues/24239
2022-07-25 08:53:32 -07:00
Ahmed Kamal
aff9e8432c
Uplift scripts py2 and py3 compatibility ( #14182 )
...
* Initial port
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* cleanup unused imports and exception vars
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* cleanup unused imports and exception vars
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* cleanup unused imports and exception vars
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* some fixes for pylint
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* some pylint fixes
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
2022-07-25 09:44:42 -05:00
Ahmed Kamal
790e23a944
Fix reference not a tree ( #14175 )
...
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
2022-07-25 15:30:20 +02:00
Ahmed Kamal
8695d6a274
Allow uplifting unmerged prs ( #14202 )
...
* Allow uplifting unmerged prs
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* remove outdated comment
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* Allow uplifting unmerged prs
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* remove outdated comment
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* Use print() syntax
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
2022-07-21 14:42:01 +02:00
Brian Clifton
63c3aca378
Add ignore for warning triggered on dev-dependencies
...
Fixes https://github.com/brave/brave-browser/issues/24115
2022-07-19 13:24:21 -07:00
Simon Hong
173e512490
Revert "Skip license checking for temp dirs created during the sync ( #13585 )"
...
This reverts commit cdfeb5cdd4 .
2022-07-12 13:09:32 +09:00
Michael Herrmann
32ff5abadd
Enable cross-compilation from Linux to Mac ( #13537 )
...
* Enable cross-compilation from Linux to Mac
2022-07-07 15:28:56 -05:00
Mikhail
ea7f739224
Fix chromium tools/git/move_source_file.py ( #13579 )
...
* Fix chromium tools/git/move_source_file.py
* Add npm run mass-rename
* Add a comment
* Review fixes
* mass-rename => mass_rename
* More review fixes
2022-06-22 12:08:45 +07:00
Aleksey Khoroshilov
e123c20789
Disable AUTHORS presubmit check.
2022-06-21 12:29:51 +07:00
Aleksey Khoroshilov
9a6b87ab20
Remove high cpu core pylint workaround, it's fixed in upstream now.
2022-06-20 17:32:06 +07:00
Aleksey Khoroshilov
d44f0e263a
Fix more checks.
2022-06-20 17:30:25 +07:00
Aleksey Khoroshilov
634acf86f4
Fix CheckForCcIncludes to not check chromium_src/ files.
2022-06-20 17:30:25 +07:00
Aleksey Khoroshilov
aff6d0ca19
Enable python format check by default.
2022-06-20 17:30:25 +07:00
Aleksey Khoroshilov
189ce9a0ec
Add more comments to presubmit overrides.
2022-06-20 17:30:25 +07:00
Aleksey Khoroshilov
ffd10a5576
Add support for upstream presubmit logic on npm run lint.
2022-06-20 17:30:24 +07:00
Simon Hong and Michael Herrmann
cdfeb5cdd4
Skip license checking for temp dirs created during the sync ( #13585 )
...
* Skip license checking for temp dirs created during the sync
fix https://github.com/brave/brave-browser/issues/23226
* Fix path problem on Windows
Co-authored-by: Michael Herrmann <michael@herrmann.io >
2022-06-03 03:59:25 -05:00
Anton Lazarev
e03a2853ef
run cargo-install without --locked flag ( #13435 )
2022-05-23 13:44:08 -05:00
Mihai PLESA
81d3a11d44
rust deps 1.0.0 ( #13326 )
2022-05-19 16:12:30 -05:00
sergey
f48f1d9f73
Added license to brave://credits
2022-05-14 00:19:04 +03:00