summaryrefslogtreecommitdiff
path: root/Applications/Browser
AgeCommit message (Collapse)Author
2020-05-29Meta: Add a script check the presence of "#pragma once" in header filesEmanuele Torre
.. and make travis run it. I renamed check-license-headers.sh to check-style.sh and expanded it so that it now also checks for the presence of "#pragma once" in .h files. It also checks the presence of a (single) blank line above and below the "#pragma once" line. I also added "#pragma once" to all the files that need it: even the ones we are not check. I also added/removed blank lines in order to make the script not fail. I also ran clang-format on the files I modified.
2020-05-28LibWeb: Rename Web::HtmlView => Web::PageViewAndreas Kling
This widget doesn't just view HTML, it views a web page. :^)
2020-05-28Browser: Switch focus to the web page after pressing return in URL barAndreas Kling
Instead of dropping focus entirely, which felt weird.
2020-05-27LibWeb+Browser: Add ability to run Browser with the new HTML parserAndreas Kling
You can now pass "-n" to the browser to use the new HTML parser. It's not turned on by default since it's still very immature, but this is a huge step towards bringing it into maturity. :^)
2020-05-27Browser: Add console history to re-send old commandsFalseHonesty
The console has now enabled history in its input text box. Pretty nice to not have to retype things all the time :^)
2020-05-26Browser: Add option in DownloadWidget to open download's in folderFalseHonesty
When a download has completed, instead of graying out the cancel option, replace it with an option to open your download in the file manager.
2020-05-26Browser: Show a "source location hint" for syntax errors :^)Linus Groh
2020-05-26Browser: Add output styles to JS source printed in the consoleFalseHonesty
This patch uses the new JS::MarkupGenerator to stylize all of the source code and runtime values printed in the console's output panel. This also does away with the Console's global style sheet, as all styling is handled by the MarkupGenerator and the System Palette.
2020-05-26LibJS: Create JS to HTML markup generatorFalseHonesty
The new JS::MarkupGenerator class can convert both a JS source string and a JS Runtime Value into properly formatted HTML using the new LibWeb System Palette css color values. It makes more sense for this JS -> HTML process to occur in LibJS so that it can be used elsewhere, namely Markdown code block syntax highlighting. It also means the Browser can worry less about LibJS implementation details.
2020-05-25Browser: Add output styles to values printed in the consoleFalseHonesty
This patch adds spans around most of the console's output, allowing for a global document stylesheet to customize the highlighting of the console's output. It also adds some basic styling for values like strings, numbers, and arrays using the system Palette. Note: This patch simply adds support for highlighting output values, the lines of JS code printed to console are still unformatted.
2020-05-24Browser: Add new icons for the add/remove bookmark toolbar buttonAndreas Kling
Here's a freshly drawn icon without antialiasing so it fits better with the system visual style. :^)
2020-05-24Browser: Set the console's interpreter when a tab's document changesFalseHonesty
Previously, once a console was opened for a tab, its interpreter would never change, leaving it with a stale interpreter. Now, when the tab's HtmlView loads a new document, the console will receive that document's interpreter.
2020-05-24Browser: Add JS ConsoleFalseHonesty
The JavaScript console can be opened with Control+I, or using the menu option. The console is currently a text box with JS syntax highlighting which will send commands to the document's interpreter. All output is printed to an HTML view in the console. The output is an HtmlView to easily allow complex output, such as expandable views for JS Objects in the long run.
2020-05-23Browser: An anchor link should open in a new tab when requiredFalseHonesty
Previously, clicking on an anchor link (href="#section1") would always scroll to it on the current page, even if control was held or the target="_blank" attribute was set. This fixes that behaviour, and the link will always open in a new tab if required.
2020-05-23Browser: Add "Paste & Go" action to the location boxFalseHonesty
2020-05-22Browser: Pop up a context menu when requested on a bookmark buttonFalseHonesty
This right click context menu currently allows for the removal of bookmarks as well as opening them in a new tab.
2020-05-21Browser: Pop up a context menu when one is requested on a tabFalseHonesty
Currently, the tab's context menu only has options to reload and close, but this patch allows for those options to be quickly expanded!
2020-05-21LibGUI: Get rid of Model::ColumnMetadata and always use auto-sizingAndreas Kling
Auto-sizing of view columns is now enabled by default. This removes the last remaining need for ColumnMetadata, so this patch gets rid of it.
2020-05-19Browser: Hide tab bar if there's only one tabLinus Groh
2020-05-19Browser: Support fullscreen viewLinus Groh
2020-05-18Browser: Make the location box 2px tallerAndreas Kling
2020-05-14Build: Switch to CMake :^)Sergey Bugaev
Closes https://github.com/SerenityOS/serenity/issues/2080
2020-05-12Browser: Allow Ctrl+clicking on bookmark bar buttons :^)Andreas Kling
2020-05-12LibGUI: Include keyboard modifier state with button on_click callsAndreas Kling
This will allow you us to implement special behavior when Ctrl+clicking a button.
2020-05-12Browser: Some action fixesAndreas Kling
- Use the same reload action in menu and toolbar - Scope more actions inside Browser::Tab
2020-05-10LibProtocol: Pass response headers in a case insensitive HashMapAndreas Kling
HTTP headers are case-insensitive, so just add CaseInsensitiveTraits to the HashMap and we're good to go! :^)
2020-05-10Browser: Allow opening URLs by dropping them on the HtmlView :^)Andreas Kling
2020-05-10LibWeb: Teach HtmlView how to render Markdown files :^)Andreas Kling
2020-05-10Browser: Use "about:blank" as the default home pageAndreas Kling
This can be overridden in Browser.ini, but if there's no value there, we now use "about:blank"
2020-05-10LibWeb+Browser: Support about: URL protocol so "about:blank" works :^)Andreas Kling
For now, we simply load an empty resource from any about: URL.
2020-05-09Browser: Close tabs when middle clickedFalseHonesty
2020-05-09Browser: Add missing copyright header to WindowActions.{cpp,h}Linus Groh
2020-05-08Services: Renamed from ServersAndreas Kling
It didn't feel right to have a "DHCPClient" in a "Servers" directory. Rename this to Services to better reflect the type of programs we'll be putting in there.
2020-05-08Browser: Move InspectorWidget into the Browser namespaceAndreas Kling
2020-05-07Browser: Show line numbers when viewing page sourceNick Tiberi
2020-05-07Browser: Escape percent sign in download progress format stringLinus Groh
Otherwise the following is printed: printf_internal: Unimplemented format specifier (fmt: 0% of %s)
2020-05-07Browser: Assume http:// when no protocol is provided in the location bar (#2142)Maciej Sobaczewski
2020-05-06Browser: Open links in a new tab when middle clickedFalseHonesty
2020-05-06Browser: Add dedicated "view source" windowLinus Groh
Basically a window containing a read-only GUI::TextEditor containing the source code of the current webpage. No temporary file needed :^) Fixes #1103.
2020-05-06Browser: Add "Copy link" context menu itemmodmuss50
2020-05-05Browser: Add a basic GUI download featureAndreas Kling
We now allow you to download files by right-clicking a link and then choosing "Download". All files are currently saved to the standard downloads location that we get from Core::StandardPaths::downloads_directory(). In the future, we'll probably want to come up with a more restrictive way of doing the "write to disk" portion of this. We should also improve the ProtocolServer to allow streaming of data instead of writing everything in one big go. At the moment, I'm just pretty happy with this GUI. :^)
2020-05-05Browser: Add a simple context menu for hyperlinksAndreas Kling
This only has "Open" and "Open in new tab" for now. :^)
2020-05-03LibTextCodec: Start fleshing out a simple text codec libraryAndreas Kling
We're starting with a very basic decoding API and only ISO-8859-1 and UTF-8 decoding (and UTF-8 decoding is really a no-op since String is expected to be UTF-8.)
2020-05-03Meta: Fix Makefile permissions (not executable)Ben Wiederhake
2020-05-02LibCore+LibHTTP: Move out the HTTP handler and add HTTPSAnotherTest
2020-04-30Browser: Add missing tooltip to bookmark buttonDylan Katz
The tip will say "Add Bookmark" if not a bookmark and "Remove Bookmark" if it is.
2020-04-29Browser: Add missing `#pragma once` in Tab.hEmanuele Torre
2020-04-28Browser: Make Ctrl+L select the location bar againAndreas Kling
..by making sure the Tab actions are scoped to the Tab.
2020-04-28Browser: Don't put favicons as the window iconAndreas Kling
It's nicer to always use the browser's own app icon instead. :^)
2020-04-26Base+Browser: Add an icon for the serenity Browser and make it use itAndres Vieira
Browser was using the filetype-html icon instead of a dedicated one, so we now have the globe from that icon reimagined and in good Buggie company :^)