Commit Graph
69532 Commits
Author SHA1 Message Date
brave-builds e24d966801 1.81.4 2025-05-22 16:03:14 +00:00
cdesouza-chromium f90935290b [unsafe-buffers] Fix UNSAFE_TODO on BravePrivateCdnHelperTest (#28808)
This change avoids the unsafe buffer operations in this file by
arrayifying the existing data.

Resolves https://github.com/brave/brave-browser/issues/45670
2025-05-22 11:53:38 -04:00
Mikhail 57bd457b12 Format build dir (#29114)
* Add {} in /build (eslint-curly)
* Prettify build/
* Remove /build from .prettierignore
2025-05-22 18:30:02 +04:00
cdesouza-chromium e08d71522a Fix includes for base::StringPrintf (#29156)
Upstream is doing a couple of IWYU fixes for `base::StringPrintf`, and
this will have an effect on our own uses of this function. This change
corrects all the includes we have.

This is a mechanical change, done with the following script.

```sh

remove_header_if_unused() {
    files=$(git grep -l "base/strings/stringprintf.h")
    for file in $files; do
        if ! git grep -qE "base::StringPrintf|base::StringAppend" "$file"; then
            sed -i '/base\/strings\/stringprintf.h/d' "$file"
            echo "Removed 'base/strings/stringprintf.h' from $file"
        fi
    done
}

add_header_if_needed() {
    files=$(git grep -lE "base::StringPrintf|base::StringAppend")
    for file in $files; do
        ../tools/add_header.py --header '"base/strings/stringprintf.h"' "$file"
    done
}

remove_header_if_unused
add_header_if_needed
```
2025-05-22 14:17:08 +01:00
brave-builds 5c560b6ccb 1.81.3 2025-05-22 12:07:51 +00:00
brave-builds 0a89bce3c5 1.81.2 2025-05-22 12:02:57 +00:00
Pavel Beloborodov 6093b7dcdb Flatbuffers Rust dependency. (#29163)
* Flatbuffers Rust dependency.
2025-05-22 13:35:50 +02:00
Tom PlantandBrian Clifton 7a59c2ebb9 Remove unused and invalid namespaces from Windows ADMX (#28528)
* Remove unused and invalid namespaces from Windows ADMX

Fixes brave/brave-browser#42956

* lint fixes

* more lint fixes

---------

Co-authored-by: Brian Clifton <brian@clifton.me>
2025-05-21 23:45:10 -07:00
brave-builds 89ddc4c2fb 1.81.1 2025-05-22 00:02:50 +00:00
Simon Hong 0f46df7496 Handle contents separator visibility with SideBySide (#29126)
fix https://github.com/brave/brave-browser/issues/46193

When rounded corners feature is disabled, contents separator should
be hidden when split view is opened.

TEST=SideBySideEnabledBrowserTest.BraveMultiContentsViewTest
2025-05-22 08:09:00 +09:00
Simon Hong 31aac3ac8c Load NTP when creating split view with active tab (#29124)
fix https://github.com/brave/brave-browser/issues/46191

Uptream loads split view specific page when createing another tab.
We want to load NTP instead.

TEST=SplitViewLocationBarBrowserTest.URLShouldBeUpdated_WhenActiveTabChanges

1. launch browser with --enable-features=SideBySide
2. Select "Add tab to split view" from active tab's context menu
3. Check NTP is loaded in newly created tab
2025-05-22 08:08:12 +09:00
Mihai PLESA d2c5dafa0b Merge pull request #29168 from brave/brave-core-branch-migrations-87
Branch migration - master branch
2025-05-21 21:42:55 +01:00
brave-builds 222102f5fb Update Nightly channel to: 1.81.0 2025-05-21 20:41:45 +00:00
Mihai PLESA 0fcc153611 Merge pull request #29098 from Chronos2500/bugfix-46014-buttonstyle-ios
[iOS] Set explicit ButtonStyle to avoid duplicated accessibility outlines
2025-05-21 21:35:33 +01:00
Kamil Jozwiak e8502d0b08 Merge pull request #29164 from brave/137.0.7151.44_master
Upgrade from Chromium 137.0.7151.32 to Chromium 137.0.7151.44
2025-05-21 16:24:48 -04:00
Max Karolinskiy c7041efd19 Hides Passwords checkbox in import dialog for Chrome. (#29149)
Chrome encrypts passwords and their code for doing so is not open
source.
2025-05-21 12:21:28 -07:00
Kevin Smith da06807733 [NTP Next] Separate model context providers (#28910)
[NTP Next] Separate API context providers
2025-05-21 14:45:37 -04:00
brave-builds 1c348c4066 1.80.89 2025-05-21 18:15:17 +00:00
Max Karolinskiy 7a1b974c80 Update patches from Chromium 137.0.7151.32 to Chromium 137.0.7151.44. 2025-05-21 12:59:33 -04:00
Max Karolinskiy 51a32330fc Conflict-resolved patches from Chromium 137.0.7151.32 to Chromium 137.0.7151.44. 2025-05-21 12:59:32 -04:00
Max Karolinskiy 4f04456569 Update from Chromium 137.0.7151.32 to Chromium 137.0.7151.44. 2025-05-21 12:57:26 -04:00
Max Karolinskiy bfade89a82 Adjusts resource_ids.spec patch due to MacOS build failure. (#29158)
Fixes the following error by bumping up webui_resources.grd's includes.

--------------------------------------------------------
 FAILED: gen/ui/webui/resources/resources_grit.d.stamp gen/ui/webui/resources/grit/webui_resources.h gen/ui/webui/resources/grit/webui_resources_map.cc gen/ui/webui/resources/grit/webui_resources_map.h gen/ui/webui/resources/webui_resources.pak gen/ui/webui/resources/webui_resources.pak.info
 python3 ../../tools/grit/grit.py -i gen/ui/webui/resources/webui_resources.grd build -o gen/ui/webui/resources --depdir . --depfile gen/ui/webui/resources/resources_grit.d --write-only-new=1 --depend-on-stamp -D DEVTOOLS_GRD_PATH=gen/third_party/devtools-frontend/src/front_end/devtools_resources -D SHARED_INTERMEDIATE_DIR=gen -D _google_chrome=false -D _is_chrome_for_testing_branded=false -D chromeos_ash=false -D reven=false -D toolkit_views=true -D use_aura=false -D use_ozone=false -D use_titlecase=true -D is_desktop_android=false -D scale_factors=2x -E branding_path_component=brave -E root_gen_dir=gen -E root_src_dir=../../ -E CHROMIUM_BUILD=chromium -E add_filepath_to_resource_map=false -f gen/tools/gritsettings/default_resource_ids -p ../../tools/gritsettings/startup_resources_mac.txt --assert-file-list obj/ui/webui/resources/resources_expected_outputs.txt
 Traceback (most recent call last):
   File "/Users/jenkins/jenkins/workspace/brave-browser-build-macos-x64-nightly/src/out/Release/../../tools/grit/grit.py", line 17, in <module>
     sys.exit(grit.grit_runner.Main(sys.argv[1:]))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/Users/jenkins/jenkins/workspace/brave-browser-build-macos-x64-nightly/src/tools/grit/grit/grit_runner.py", line 313, in Main
     return toolobject.Run(options, args[1:])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/Users/jenkins/jenkins/workspace/brave-browser-build-macos-x64-nightly/src/tools/grit/grit/tool/build.py", line 271, in Run
     self.Process()
   File "/Users/jenkins/jenkins/workspace/brave-browser-build-macos-x64-nightly/src/tools/grit/grit/tool/build.py", line 387, in Process
     self.res.InitializeIds()
   File "/Users/jenkins/jenkins/workspace/brave-browser-build-macos-x64-nightly/src/tools/grit/grit/node/misc.py", line 682, in InitializeIds
     self._id_map = _ComputeIds(self, predetermined_id_map)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/Users/jenkins/jenkins/workspace/brave-browser-build-macos-x64-nightly/src/tools/grit/grit/node/misc.py", line 250, in _ComputeIds
     check_group_count()
   File "/Users/jenkins/jenkins/workspace/brave-browser-build-macos-x64-nightly/src/tools/grit/grit/node/misc.py", line 140, in check_group_count
     raise exception.IdRangeOverflow(msg)
 grit.exception.IdRangeOverflow: ID range overflow.: Generated .grd file used more IDs (1132) than were allocated for it (1131) for type includes. You need to update ../../../../gen/tools/gritsettings/default_resource_ids for this .grd.
--------------------------------------------------------
2025-05-21 09:53:21 -07:00
Mikhail b2c8483dbd Update prettier configs (#29145)
update prettier configs
2025-05-21 20:47:51 +04:00
brave-builds 036731f180 1.80.88 2025-05-21 16:03:07 +00:00
vadims a199e48af8 Crash in ShieldsPanelDataHandler::AreAnyBlockedElementsPresent (#29127)
fixed the crash in ShieldsPanelDataHandler::AreAnyBlockedElementsPresent
(https://github.com/brave/brave-browser/issues/46172)

Signed-off-by: Vadym Struts <vstruts@brave.com>
2025-05-21 17:26:08 +02:00
Brandon-T 740ea0099b [iOS] - Fix title showing incorrectly in the ShareSheet (#29120) 2025-05-21 11:11:18 -04:00
Kevin Smith 2aa1a7a5f9 [Rewards] Allow ad type label to wrap (#29157) 2025-05-21 09:53:48 -04:00
Douglas Daniel a8b447a6c1 style(wallet): Fix Partner Consent Modal Android (#29150) 2025-05-21 08:03:08 -05:00
brave-builds 28e7c3e96f 1.80.87 2025-05-21 12:07:47 +00:00
brave-builds c3b1db8f6b 1.80.86 2025-05-21 12:02:55 +00:00
cdesouza-chromium 339b9fe472 [canary] Stop removing empty line in package.json (#29155)
This for some reason only started being an issue now, but basically we
have to make sure that an empty line is left at the end of
`package.json`, otherwise we get presubmit failures.

Resolves https://github.com/brave/brave-browser/issues/46229
2025-05-21 11:25:57 +01:00
cdesouza-chromium b694664f80 [cr137-follow-up] Correct crate patches to point to brave/ (#29132)
This change corrects all crate patches, changing them to point to
`brave/`. This eliminates the need of patching `gnrt vendor` to address
this patch mismatch.

Patches should be created now with:

```sh
git format-patch \
    --start-number=101 \
    --src-prefix=a/brave/ \
    --dst-prefix=b/brave/ \
    --output-directory \
        third_party/rust/chromium_crates_io/patches/some-crate/ \
    HEAD^
```

Resolves https://github.com/brave/brave-browser/issues/46201
2025-05-21 09:16:14 +01:00
Jay Harris 5ca27b9484 [Bookmarks Sidepanel]: Migrate to new patching approach (#29121) 2025-05-21 05:56:03 +02:00
Kamil Jozwiak 199fbf369e Merge pull request #29144 from brave/137.0.7151.32_master
Upgrade from Chromium 137.0.7151.27 to Chromium 137.0.7151.32
2025-05-20 23:37:15 -04:00
aserenandTerry Mancey 5ddb126508 [ads] Fixes Creatives in a campaign fail to serve when the first creative's condition matcher fails (#29141)
[ads] Creatives in a campaign fail to serve when the first creative's condition matcher fails

Co-authored-by: Terry Mancey <terry.mancey@icloud.com>
2025-05-21 03:36:01 +02:00
Jay Harris 9314028a47 [utils]: Clean up debounce helper function (#29123) 2025-05-21 12:46:16 +12:00
Max Karolinskiy fd489afad3 Update patches from Chromium 137.0.7151.27 to Chromium 137.0.7151.32. 2025-05-20 20:07:28 -04:00
Max Karolinskiy ec5fb693eb Update from Chromium 137.0.7151.27 to Chromium 137.0.7151.32. 2025-05-20 20:07:28 -04:00
brave-builds 82253a9ffa 1.80.85 2025-05-21 00:03:21 +00:00
Simon Hong 7d94a9e060 Show mini urlbar in BraveMultiContentsView (#29112)
fix brave/brave-browser#46161

TEST=SplitViewLocationBarBrowserTest.*

launch browser with --enable-features=SideBySide
Select Add tab to split view from tab's context menu
Check mini urlbar is displayed on the inactive tab's contents
2025-05-21 08:15:55 +09:00
brave-builds 2882b51d8a 1.80.84 2025-05-20 20:21:14 +00:00
samartnik fa1ffac666 Merge pull request #29138 from brave/android_mobile_bookmarks_fix
[Android] Fix path for mobile bookmarks
2025-05-20 16:06:53 -04:00
Kyle Hickinson 874bedc8a1 [iOS] Reset javaScriptEnabled preference correctly between navigations (#29129)
This change ensures that the deprecated `WKPreferences.javaScriptEnabled` is correctly reset between navigations and also changes the flow so that this legacy preference is only set in iOS 17 as iOS 18 solves the original issue without setting this value.
2025-05-20 15:27:49 -04:00
samartnik 15256c225d [Android] Fix for NTP background color (#29134)
* [Android] Fix for NTP background color

We have our own implementation of NTP, so it should be ok to take over this resource.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/56ec723e0f70f06525dc521638839385166198f3

commit 56ec723e0f70f06525dc521638839385166198f3
Author: Eleanor Lee <eleanorlee@google.com>
Date:   Fri Mar 28 11:17:10 2025 -0700

    [Surface Color] NTP Part 1

    Migrated NTP from elevated surface colors to tonal surface colors.
    The changes are just for the bg, feed header, and the selected feed tab.

    Before:
    https://screenshot.googleplex.com/AGK54ipJCetY8fJ
    https://screenshot.googleplex.com/7ybi6tLC7NmUvmp

    After:
    https://screenshot.googleplex.com/8fWqGuuKmhdxD7u
    https://screenshot.googleplex.com/8YFiXFCXsofpP89
    https://screenshot.googleplex.com/63a7xfEgMjedSp2

    Light:
    bg: surface container high
    feed header: surface container
    selected feed tab: primary @ 15%

    Dark:
    bg: surface
    feed header: surface container high
    selected feed tab: surface container highest

    Bug: 405831276
    Change-Id: I991ec45ba6223ee44604313b904896f0a68eb7d8
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6384517
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Reviewed-by: Sinan Sahin <sinansahin@google.com>
    Reviewed-by: Theresa Sullivan <twellington@chromium.org>
    Commit-Queue: Eleanor Lee <eleanorlee@google.com>
    Reviewed-by: Xi Han <hanxi@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1439554}

* Presubmit fixes
2025-05-20 20:51:18 +02:00
Artem Samoilenko 90948704a7 [Android] Fix path for mobile bookmarks 2025-05-20 14:17:58 -04:00
samartnik 89488afdec Merge pull request #29133 from brave/android_redirect_support_links
[Android] Redirect support and help links
2025-05-20 13:42:18 -04:00
Kyle Hickinson 808bd2fa1f [iOS] Fix page zoom handler not working (#29130) 2025-05-20 13:39:43 -04:00
brave-builds fdc8d25eeb 1.80.83 2025-05-20 16:04:21 +00:00
Artem Samoilenko 4eb0fda3a1 [Android] Redirect support and help links 2025-05-20 11:52:42 -04:00
Terry Mancey 859e81572a [ads] Revert DISABLE_InternalDataTest (#29115)
[ads] Re-enable DISABLE_InternalDataTest
2025-05-20 08:39:32 -05:00