summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/History.cpp
AgeCommit message (Collapse)Author
2022-12-31Browser: Add window to inspect historyRafał Babiarz
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-11-26Browser: Remove previous history entry in History::replace_current()Baitinq
The lack of this action caused a bug in my original patch (https://github.com/SerenityOS/serenity/pull/16004) that appeared when accessing a site that redirected the client and it was the first site the client loaded.
2022-11-26Browser: Add History::replace_current() functionBaitinq
This function replaces the current history entry with a new history entry.
2022-09-21Browser: Ignore title updates when history has no current itemAndreas Kling
The Browser::History class is oblivious to the state of the browsing context's session history over on the LibWeb side. We need to hook a lot more thing up here, but for now just ignore updates when there's no current history item. This fixes a VERIFY() error on startup.
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2021-05-29Browser: Add title to go back/forward context menuMarcus Nilsson
Adds page title to the context menu for go back/forward.
2021-05-23Browser: Add context menu with history for back/forward buttonMarcus Nilsson
Right clicking on back or forward will now show a context menu with URLs to navigate to. Also added an optional argument for the number of steps in go_back() and go_forward().
2021-05-18Browser: Don't add multiple page reloads to historyMarcus Nilsson
When reloading a page multiple times, it was also added multiple times to the history. This commit prohibits an url to be added twice in a row. Fixes #7264 Co-authored-by: Linus Groh <mail@linusgroh.de>
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT.
2021-01-12Applications: Move to Userland/Applications/Andreas Kling