Commit Graph
485 Commits
Author SHA1 Message Date
Wojciech Knapik 69d36dc31c Fixed pylint findings in audit_deps.py. (#8400) 2021-03-31 18:20:20 +02:00
Mihai PLESA de0de82a00 goma support (#8252) 2021-03-30 22:32:04 +01:00
Wojciech Knapik 350ee2da92 Added a comment per review. 2021-03-24 22:54:08 +01:00
Wojciech Knapik 92d06ab746 Fix. 2021-03-24 22:03:54 +01:00
Wojciech Knapik 480c580c6f Modified audit_deps.py to only do cargo audit on whitelisted paths. 2021-03-24 18:32:09 +01:00
Max 2aa85afeef Merge pull request #8269 from brave/maxk-fix-rebase-l10n
Fixes brave_strings_override.grd to include a missing grdp override.
2021-03-17 10:29:39 -04:00
mkarolin b73bae3184 Fixes brave_strings_override.grd to include a missing grdp override.
Because brave_strings.grd and settings_brave_strings.grdp are special
cases in terms of naming, the rebase script wasn't adding the GRDP
override to the GRD override.

Addresses brave/brave-browser#14750

Doesn't fix the actual translations, but we should get them the next
time we order.
2021-03-16 20:12:25 -04:00
Anton Lazarev 1d1eea041e Merge pull request #8209 from brave/merge-adblock-rust-ffi
Merge adblock_rust_ffi into brave-core repo
2021-03-16 17:00:21 -04:00
Mihai PLESA 251090234e reverted linux arm64 support (#8259) 2021-03-15 23:10:43 +00:00
Mihai PLESA 5a76a8c87f Linux arm64 support (#6927)
* linux arm64 support
2021-03-14 01:03:08 +00:00
Mario Sanchez Prada d701573c30 Remove no longer needed check_chromium_src.sh script
This is not needed anymore now that it has migrated to python
in a previous commit, so it can be removed.

Fix https://github.com/brave/brave-browser/issues/14382
2021-03-11 23:07:43 +01:00
Mario Sanchez Prada 01410d8c4c Merge pull request #8087 from brave/issues/14382
Rewrite the check_chromium_src.sh bash script in python
2021-03-11 17:06:26 +01:00
Anton Lazarev 7bdf27caf9 update adblock_rust_ffi path from vendor to components 2021-03-10 10:12:43 -08:00
Aleksey Khoroshilov becdcde353 Add redirected-cc ninja dependency on windows builds 2021-03-10 23:57:24 +07:00
Mario Sanchez Prada 5c7b656061 Make EXCLUDES regexp list work on non-UNIX-like shells (e.g. Windows)
To make this work well on shells like Windows' cmd.exe or PowerShell,
we add an intermediate step before matching the paths for files found
in the repository against the regular expresisons declared in EXCLUDES,
so that we use forward slashes instead of backward slashes, which will
cause errors due to the regexp interpreting paths like C:\\mypath as if
they contained the escaped '\m' character.

Once the regular expression has been used though, we still append the
unnormalized OS-dependant relative path to the list of paths built by
filter_chromium_src_filepaths(), so that further operations over those
files can be performed correctly, and so that any path printed in the
output will use the OS-dependant path separator.
2021-03-10 10:41:58 +01:00
Mario Sanchez Prada 90458f6e77 Avoid Unicode decoding-related errors by opening files as utf-8
Otherwise some errors might happen on Windows when reading through
the files' contents searching for matches against regexp patterns.
2021-03-02 17:19:24 +01:00
Mario Sanchez Prada 91607f7b23 Rename global variables to something more consistent and less confusing
To make it clearer where each global variable points to, rename:
  * SOURCE_ROOT -> BRAVE_SRC
  * CHROMIUM_SRC -> BRAVE_CHROMIUM_SRC
  * SRC_DIR -> CHROMIUM_SRC
2021-03-02 17:09:34 +01:00
Mario Sanchez Prada e63bf0aad3 Fix problems with relative paths on Windows
We can't use the OS path separator when handling C++ include paths but
UNIX-like path separators instead, otherwise counting the number of
'../' components wont' work, nor creating the list of relative paths
to chromium_src override files to be checked.
2021-03-02 17:06:01 +01:00
Mario Sanchez Prada 867f9726ce Rewrite the check_chromium_src.sh bash script in python
We would like to expand the functionality of this script to allow us
to check for more potentially problematic situations (e.g. new uses
of re-defined symbols inside a given overriden file), so let's migrate
it to Python first so that's easier to extend.

Resolves https://github.com/brave/brave-browser/issues/14382
2021-02-26 17:26:15 +01:00
bridiver 2e95360400 lint fixes 2021-02-17 16:17:24 -07:00
bridiver 8c6024676d ensure rust libs are rebuilt when listed files change
add rust templates to simplify configuration
fix https://github.com/brave/brave-browser/issues/13320
2021-02-17 12:03:14 -07:00
Brian Clifton e1275f602c Update uplift template
Fixes https://github.com/brave/brave-browser/issues/14052
2021-02-08 23:20:05 -07:00
mkarolin 00d40e8506 Fixes redirect-cc.py for 64-bit ARM builds.
Fixes brave/brave-browser#13825
2021-01-28 19:56:31 -05:00
mkarolin 6a9db8fab7 Disable serveral blink runtime features.
Fixes brave/brave-browser#11133
Fixes brave/brave-browser#11407
Fixes brave/brave-browser#11546
Fixes brave/brave-browser#11547

- Disables features via Chromium features:
  * Direct Sockets
  * Lang Client Hint Header
  * Signed Exchange Prefetch Cache For Navigations
  * Subresource Web Bundles

- Disabled the following blink features in
  BraveContentRendererClient::SetRuntimeFeaturesDefaultsBeforeBlinkInitialization
  since they don't have Chromium features:
  * Digital Goods
  * Native File System (File System Access)
- Added browser tests for these features

- Modified redirect-cc.py to allow overriding files under out/XXX/gen

- Added an override for blink::origin_trials::IsTrialValid and overrides
  for blink::OriginTrialContext methods AddFeature and AddForceEnabledTrials
  for trials:
  * NativeFileSystem2
  * SignedExchangeSubresourcePrefetch
  * SubresourceWebBundles
- Added browser tests for trials disablement.
2021-01-27 16:31:01 -05:00
Mihai PLESA 5e3fab6f71 fixed transifex python code style issue (#7709) 2021-01-26 23:27:25 +00:00
yan 121753e4ec audit npm deps should fail on any non-ignored advisories
the previous implementation had a bug where it would pass as long as the
first advisory was an ignored advisory.

fix https://github.com/brave/brave-browser/issues/13562
2021-01-13 20:55:20 -08:00
Kyle Hickinson 632247d17f Add .vscode directory to brave license helper prune list
These directories cause local build errors if they exist by opening the parent directory with VS Code
2021-01-08 14:20:14 -05:00
Mihai PLESA 719a74b653 virustotal fixes (#7523) 2021-01-06 10:33:48 +00:00
mkarolin c98adee8ec Apply our FP when using chromium XTB files.
Always use FP from our GRD(P) files when pulling localized strings from
Chromium XTB files.
2020-12-12 11:29:05 -05:00
mkarolin e8defd5034 Do not apply branding to the meaning attr of GRD strings.
We do not upload this attr to Transifex and it affects FP calculation,
so there's no need to touch it.
2020-12-12 11:29:04 -05:00
Mihai PLESA d48a5bb3c8 various fixes for issues reported by sonar 2020-12-07 14:53:59 +00:00
Max b7d0b03044 Merge pull request #7338 from brave/maxk-l10n
Update l10n (for 1.18.x release).
2020-12-04 10:57:00 -05:00
mkarolin 8534015ec9 Fixes transifex script bug.
Fixes incorrect calculation of `rel` attribute value which resulted in
duplication of noreferrer noopener value in the attribute.
2020-12-04 10:45:37 -05:00
mkarolin 89836196eb Fixes error formatting in Transifex script. 2020-12-03 17:24:30 -05:00
Jocelyn Liu f5fd1a5b83 Check if IPFS resolution is enabled before redirect URL requests.
This commit makes per_profile as True for IPFS policy, so we could move IPFS
checks to component utils to be used in the IPFS network delegate helper.
2020-12-03 14:21:38 -08:00
Brian R. Bondy 55ceacb194 Fix l10n scripts for ethereum-remote-client 2020-11-30 14:22:09 -05:00
Mihai PLESA 28dfdb8916 split ios and macos rust deps 2020-11-26 09:02:08 +00:00
Mihai PLESA 45226f77f5 roll back to rust deps 0.1.5 2020-11-25 20:49:34 +00:00
Simon Hong fb83ebc493 Update NTP Background images
Handled empty link info also.
If link info is empty, NTP will show credit string as a label instead of
link.
2020-11-25 09:32:51 +09:00
Emerick Rogul 3308735e6e Merge pull request #7168 from brave/greaselion-scripts-transifex
Add l10n support for Greaselion scripts
2020-11-24 09:40:53 -05:00
Emerick Rogul 7c7ab92b84 Add extension_path argument to push/pull scripts for local extension path 2020-11-23 17:14:02 -05:00
Emerick Rogul 312194cc0e Add l10n support for Greaselion scripts 2020-11-23 11:33:41 -05:00
Mihai PLESA d3b8931eda arm64 macos support 2020-11-21 19:48:52 +00:00
Max d38e9d7325 Merge pull request #7084 from brave/maxk-cr87-l10n
Updated l10n for Chromium 87.
2020-11-09 12:02:31 -05:00
Pete Miller f5abb0f3a3 Avoid trusted types .innerHTML issues by using fork of react-virtualized-auto-sizer 2020-11-07 20:58:50 -08:00
mkarolin 37981ecdb5 Added b1 and b2 as acceptable tags to Transifex script. 2020-11-06 18:39:52 -05:00
Anton Lazarev 8f2da0a253 bypass incognito detection 2020-11-02 10:24:57 -05:00
Jocelyn Liu 3292a974e8 Add IPFSEnabled policy to control IPFS feature 2020-10-30 08:02:54 -07:00
Pranjal Jumde 66243fdaaf Merge pull request #6963 from brave/fix_lint
Fix #12347: Fix lint error + rust deps for CI
2020-10-27 14:47:47 -07:00
justnom f3d3138370 Removing explicit passphrase option 2020-10-27 16:17:11 -04:00