summaryrefslogtreecommitdiff
path: root/Applications
AgeCommit message (Collapse)Author
2020-05-24Debugger: Use Core::ArgsParserItamar
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-22PixelPaint: Make the EllipseTool previews work while zoomed inAndreas Kling
2020-05-22PixelPaint: Make the RectangleTool previews work while zoomed inAndreas Kling
2020-05-22PixelPaint: Make the LineTool previews work while zoomed inAndreas Kling
2020-05-21PixelPaint: Rename original_event => image_eventAndreas Kling
These events are in image coordinates, not really original coordinates.
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-21LibGUI: Add Model::Role::TextAlignment and remove from ColumnMetadataAndreas Kling
2020-05-21Applications: Sort CMakeLists.txt alphabetically :^)Andreas Kling
2020-05-21Applications: Convert 256 char font to 384 char fontHüseyin ASLITÜRK
2020-05-20PixelPaint: Support panning and scaling the image we're working on :^)Andreas Kling
ImageEditor now supports panning (Ctrl+MiddleMouse) and scaling (Wheel) the image. This took a lot of unpleasant coordinate math, but now it actually kinda works and feels awesome! :^)
2020-05-20PixelPaint: Rename from PaintBrush :^)Andreas Kling
2020-05-20Revert "Build: Include headers from LibC, LibM, and LibPthread with -isystem"Andreas Kling
This reverts commit c1eb744ff0a82cf6c8e3470ac10e2f417c7d9de2.
2020-05-20Build: Include headers from LibC, LibM, and LibPthread with -isystemAndrew Kaster
Make sure that userspace is always referencing "system" headers in a way that would build on target :). This means removing the explicit include_directories of Libraries/LibC in favor of having it export its headers as SYSTEM. Also remove a redundant include_directories of Libraries in the 'serenity build' part of the build script. It's already set at the top. This causes issues for the Kernel, and for crt0.o. These special cases are handled individually.
2020-05-19FileManager: Remove empty public access modifier from DesktopWidgetLinus Groh
2020-05-19Browser: Hide tab bar if there's only one tabLinus Groh
2020-05-19Browser: Support fullscreen viewLinus Groh
2020-05-18FileManager: Make the location box 2px tallerAndreas Kling
2020-05-18Browser: Make the location box 2px tallerAndreas Kling
2020-05-18Calculator: Set a fixed-width font on the text boxAndreas Kling
GUI::TextEditor does not yet support right-aligned variable-width fonts so just switch this to a fixed-width font for now.
2020-05-16FileManager+LibGUI+Userland: Switch clipboard to MIME typesSergey Bugaev
We will now actually use MIME types for clipboard. The default type is now "text/plain" (instead of just "text"). This also fixes some issues in copy(1) and paste(1).
2020-05-14Clipboard: Move the system clipboard to a dedicated service process :^)Andreas Kling
This commit moves the clipboard from WindowServer into a new Clipboard service program. Clipboard runs as the unprivileged "clipboard" user and with a much tighter pledge than WindowServer. To keep things working as before, all GUI::Application users now make a connection to Clipboard after making the connection to WindowServer. It could be interesting to connect to Clipboard on demand, but right now that would necessitate expanding every GUI app's pledge to include "unix" and also unveiling the clipboard portal, which I prefer not to.
2020-05-14Build: Switch to CMake :^)Sergey Bugaev
Closes https://github.com/SerenityOS/serenity/issues/2080
2020-05-14PaintBrush: Added 'Move active layer up/down' to the MenuPierre
This allowes the active layer to be moved up or down.
2020-05-14PaintBrush: Add 'Remove active layer' to the MenuPierre
This allows the active Layer to be removed through the Menu or by using the shortcut Ctrl+D.
2020-05-13PaintBrush: Start the app with an "empty" single layer image :^)Andreas Kling
2020-05-13PaintBrush: Add "Delete layer" action to move tool context menuAndreas Kling
2020-05-13PaintBrush: Tweak initial main window sizeAndreas Kling
2020-05-13PaintBrush: Add move tool context menu with "move to back/front"Andreas Kling
Tools can now have an in-image context menu which you get when right- clicking inside the image editing area. Our first use of this is to provide the ability to move layers to the back/front. :^)
2020-05-13PaintBrush: Tool::on_contextmenu() => on_tool_button_context_menu()Andreas Kling
2020-05-13PaintBrush: Activate tool properly when right-clicking tool buttonAndreas Kling
If we don't go via the action, the tool button becomes checked which can bypass the exclusivity mechanism. That should probably also be fixed but it's far outside the scope of where I am right now. :^)
2020-05-13PaintBrush: Switch the active layer when clicking one with move toolAndreas Kling
This feels very intuitive and nice, although maybe we need some way to override this behavior for the scenario where you're intending to move something currently behind something else.
2020-05-13PaintBrush: Draw an outline around the image boundariesAndreas Kling
2020-05-13PaintBrush: Add keyboard shortcuts for selecting different layersAndreas Kling
2020-05-13PaintBrush: Add "Create new layer..." actionAndreas Kling
This action pops up a dialog asking for a name + dimensions. If OK is clicked, you get a new layer with those specifications. :^)
2020-05-13PaintBrush: Clip layer contents outside the image rect when compositingAndreas Kling
2020-05-13PaintBrush: Don't paint over the nice GUI::Frame around ImageEditorAndreas Kling
2020-05-13PaintBrush: Add a "Tool" menu and put all the tools in itAndreas Kling
2020-05-13PaintBrush: Let's have a tool (pen) checked on startupAndreas Kling
2020-05-13PaintBrush: Put all the tool buttons into an action groupAndreas Kling
This allows us to easily make them exclusive and uncheckable. :^)
2020-05-13PaintBrush: Oops, fix typo in ImageEditor::keyup_event()Andreas Kling
2020-05-13PaintBrush: Add keyboard shortcuts for all toolsAndreas Kling
I've used the shortcuts from GIMP for the most part, since that's what I'm used to. We can definitely iterate on these to find better options as the app develops. :^)
2020-05-13PaintBrush: Most tools still care about mousemoves outside layerAndreas Kling
This allows you to do things like start a line outside the layer, or spray a little outside but still partly hitting the layer. :^)
2020-05-13PaintBrush: Make the line, rectangle and ellipsis preview work againAndreas Kling
You can now see what you're drawing before committing to it. This works by passing the second_paint_event from the ImageEditor to the tool. We also pass the active layer which makes it easier for the tool to keep his logic in layer-relative coordinates even while drawing preview states directly into the ImageEditor backing bitmap.
2020-05-13PaintBrush: Make the move tool handle arrow key eventsAndreas Kling
You can now nudge layers around with the arrow keys. :^)