summaryrefslogtreecommitdiff
path: root/Applications
AgeCommit message (Collapse)Author
2020-06-12AK: Make string-to-number conversion helpers return OptionalAndreas Kling
Get rid of the weird old signature: - int StringType::to_int(bool& ok) const And replace it with sensible new signature: - Optional<int> StringType::to_int() const
2020-06-12Calendar: Fix using OwnPtr<> with RefCounted typesSergey Bugaev
2020-06-10LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSizeAndreas Kling
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much better visual clue about what type of metric is being used.
2020-06-08LibJS: Make more Interpreter functions take a GlobalObject&Andreas Kling
2020-06-08LibWeb: Add Page abstraction between PageView and main FrameAndreas Kling
* A PageView is a view onto a Page object. * A Page always has a main Frame (root of Frame tree.) * Page has a PageClient. PageView is a PageClient. The goal here is to allow building another kind of view onto a Page while keeping the rest of LibWeb intact.
2020-06-08Applications: Add new KeyboardSettings applicationHüseyin ASLITÜRK
GUI application to manage Keyboard settings.
2020-06-07LibWeb: Move Frame.{cpp,h} into a new Frame/ directoryAndreas Kling
2020-06-04TextEditor: Allow "TextEditor foo.txt" to create a new fileAndreas Kling
Attempting to open a non-existent file from the command line should not fail, it should just open a new text document with that name. Note that the file is not created until you actually save it.
2020-06-04LibWeb: Process style sheets in document orderAndreas Kling
Until now we would simply apply stylesheets in the order they finished loading. This patch adds a StyleSheetList object that hangs off of each Document and contains all the style sheets in document order. There's still a lot of work to do for a proper cascade, but at least this makes us consistently wrong every time. :^)
2020-06-04PixelPaint: Use new app-pixel-paint.png for app iconHüseyin ASLITÜRK
2020-06-03KeyboardMapper: Add missing #pragma onceAndreas Kling
2020-06-03Applications: Add new KeyboardMapper applicationHüseyin ASLITÜRK
New editing app for keymap files.
2020-06-02Calculator: Set text color through the paletteSergey Bugaev
Unfortunately, this means the Calculator won't pick up system theme changes dynamically. Fixes https://github.com/SerenityOS/serenity/issues/1077
2020-06-02LibJS: Move Interpreter::get_trace() to ConsoleClientLinus Groh
Having it globally on the interpreter is confusing as the last call frame is skipped, which is specific to console.trace().
2020-06-02FontEditor: Fix typo in commentLinus Groh
s/Ediyor/Editor/
2020-06-01LibWeb: Move ResourceLoader into a new Loader/ directoryAndreas Kling
2020-06-01LibWeb+Browser: Use the new HTML parser by defaultAndreas Kling
You can still run the old parser with "br -O", but the new one is good enough to be the default parser now. We'll fix issues as we go and eventually remove the old one completely. :^)
2020-05-30Browser: Show download progress in the taskbar if availableAndreas Kling
2020-05-30LibMarkdown: Change internal MD API to return OwnPtrsFalseHonesty
Previously, all Markdown blocks had a virtual parse method which has been swapped out for a static parse method returning an OwnPtr of that block's type. The Text class also now has a static parse method that will return an Optional<Text>.
2020-05-30LibMarkdown: Change MD Document parse API to return a RefPtrFalseHonesty
Markdown documents are now obtained via the static Document::parse method, which returns a RefPtr<Document>, or nullptr on failure.
2020-05-29Browser: Add clear output button to the consoleFalseHonesty
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-29PixelPaint: Set active layer to nullptr after its removal (#2433)Gabriel Mihalache
This prevents a crash if removal was called twice, without setting a new active layer in the meanwhile.
2020-05-29Userland+SystemMonitor: Recognize the MS_RDONLY mount flagSergey Bugaev
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-28IRCClient: remove some unused headers and replace tabs with spacesEmanuele Torre
2020-05-28IRCClient: Enable history on the message boxFalseHonesty
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-27LibGUI, About: Implement system-wide W2k-esque About dialogNick Vella
The new About dialog reads version information from /res/version.ini, which is generated at build time.
2020-05-27LibLine: Use Core::EventLoop for outer read loopAnotherTest
This commit changes LibLine's internal structure to work in an event loop, and as a result, also switches it to being a Core::Object.
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-26AK: Rename FileSystemPath -> LexicalPathSergey Bugaev
And move canonicalized_path() to a static method on LexicalPath. This is to make it clear that FileSystemPath/canonicalized_path() only perform *lexical* canonicalization.
2020-05-26Userland et al: Pledge sigaction when neededSergey Bugaev
* In some cases, we can first call sigaction()/signal(), then *not* pledge sigaction. * In other cases, we pledge sigaction at first, call sigaction()/signal() second, then pledge again, this time without sigaction. * In yet other cases, we keep the sigaction pledge. I suppose these could all be migrated to drop it or not pledge it at all, if somebody is interested in doing that.
2020-05-26PixelPaint: Let Layer track whether it's selected or notAndreas Kling
This will simplify a lot of code that keeps getting more confusing.
2020-05-26PixelPaint: Add selection functionality to the LayerListWidgetAndreas Kling
Now we can get rid of the old table view and with it the LayerModel.
2020-05-26PixelPaint: Allow reordering layer by dragging them in LayerListWidgetAndreas Kling
This is rather cool! :^)
2020-05-26PixelPaint: Have layers and images send out notifications on changesAndreas Kling
We use this to automatically update the thumbnail in LayerListWidget when you draw into a layer. We also use it to repaint the ImageEditor when the image changes somehow. :^)
2020-05-26PixelPaint: Start working on a custom layer list widgetAndreas Kling
Instead of using a TableView to show the layer stack, let's build a new custom widget for this purpose and give it some neat features! This patch also introduces an ImageClient interface for Image to notify interested parties about things happening. The LayerListWidget is the first ImageClient and listens for "layer added" and "layer removed" notifications. :^)
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-25Terminal: Handle fork error by whining about itAnotherTest
2020-05-25LibLine: Change get_line to return a Result<String, Error>AnotherTest
This fixes a bunch of FIXME's in LibLine. Also handles the case where read() would read zero bytes in vt_dsr() and effectively block forever by erroring out. Fixes #2370
2020-05-25HexEditor: Fix "Selected Bytes" count for backwards selectionLinus Groh
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-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.