summaryrefslogtreecommitdiff
path: root/Applications
AgeCommit message (Collapse)Author
2019-11-09SoundPlayer: Let the user open a file from the GUITill Mayer
The user now can open a file without passing it as an argument
2019-11-09FileManager: Remember my last position and size.Hüseyin ASLITÜRK
2019-11-09LibHTML: Paint a magenta rectangle around the currently inspected nodeAndreas Kling
Document now tracks one "inspected" node, set by set_inspected_node() which is called by Browser's DOM inspector view on_selection callback.
2019-11-09LibHTML+Browser: Add a simple DOM inspector popup windowAndreas Kling
LibHTML now provides a DOMTreeModel which can be used to view a given Document's DOM tree. :^)
2019-11-08LibGUI: Rename GEventLoop.{cpp,h} => GWindowServerConnectionAndreas Kling
The GEventLoop class is long gone, and the only class in these files is GWindowServerConnection, so let's update the file names. :^)
2019-11-07IRCClient: Escape HTML entities in nicknames, too, just in caseAndreas Kling
2019-11-06LibHTML+IRCClient: Add an escape_html_entities() helperAndreas Kling
This simple helper escapes '<', '>' and '&' so they can be used in HTML text without interfering with the parser. Use this in IRCClient to prevent incoming messages from messing with the DOM :^)
2019-11-06IRCClient: Use parse_html_fragment() to add messages to the HtmlViewAndreas Kling
HTML fragment strings are so much nicer to work with than raw DOM APIs. This makes it feel like we're using innerHTML :^)
2019-11-06LibHTML: Rename parse_html() => parse_html_document()Andreas Kling
2019-11-06Revert "LibHTML: Rename parse_html() => parse_html_document()"Andreas Kling
This reverts commit f6439789db9c02216baabb197017c7a79a63ba04. Oops, I committed unrelated changes here, let me clean that up..
2019-11-06LibHTML: Rename parse_html() => parse_html_document()Andreas Kling
2019-11-05SoundPlayer: Changed some small cosmetic thingsTill Mayer
Renamed "Position" to "Elapsed". "channel/channels" automatically changes now when more than one channel exist. The current file name is now displayed in the window title.
2019-11-04SoundPlayer: Added playback controlsTill Mayer
The playback of a file can now be paused, stopped, continued and the user can seek to any part of the file.
2019-11-04SoundPlayer: Make sample widget display contents of the whole bufferTill Mayer
The SampleWidget now displays the contents of the whole buffer.
2019-11-04SystemMonitor: Add device column to filesystems tabYour Name
2019-11-04FileManager: Remember my last view mode (#731)Hüseyin ASLITÜRK
2019-11-04FileManager: Make copying faster with ftruncate() and a bigger bufferAndreas Kling
Apply the same techniques from "cp" to make copying files much faster.
2019-11-01LibGUI: Move text search functions from GTextEditor to GTextDocumentAndreas Kling
Also add a find_all() that retuns a Vector<GTextRange> and simply does a find_next() loop, returning all the matching ranges.
2019-10-28IRCClient: Switch to using an HtmlView for the IRC window contents :^)Andreas Kling
This seemed like a perfect fit for LibHTML. We can now style the IRC channels and queries however we like with the power of HTML and CSS. This patch doesn't do much in the way of styling, it just gets the basic mechanism into place.
2019-10-27HexEditor: Created has_selection() method.Brandon Scott
Created has_selection() method and fixed a few small issues.
2019-10-27HexEditor: Added fill selection action.Brandon Scott
Added the ability to fill the current selection with a given byte.
2019-10-27HexEditor: Added new file action.Brandon Scott
Added a new file action, allowing you to create a new file of a specific size.
2019-10-24HexEditor: Fixed startup errorBrandon Scott
When attempting to open a file that doesnt exist or has permission problems, the application would end after hitting OK on the message box instead of starting up to an empty editor. I believe this has something to do with the dialog event loop interfering with the application event loop, or possibly the fact that the window creation code is in the show() method. To work around this I now call the open_file() method after the show() method.
2019-10-24HexEditor: Added a multi-label status bar, and a new copy option.Brandon Scott
Make use of the new multi-label status bar, and added a menu option to allow you to copy generated C code from a selection to the clipboard.
2019-10-22LibVT+Terminal: Give TerminalWidget a hook for EOF on the ptyAndreas Kling
Instead of quitting the application immediately when the pty gives an EOF, fire an on_command_exit hook so the TerminalWidget client can decide for himself what to do.
2019-10-21LibVT+Terminal: Don't set window title directly from TerminalWidgetAndreas Kling
Instead, have TerminalWidget provide an on_title_change hook. This allows embedders to decide for themselves what to do if we receive a "set terminal title" escape sequence.
2019-10-21LibVT: Make TerminalWidget's automatic size policy updates optionalAndreas Kling
When embedding a TerminalWidget, you might not want it to automatically update its own size policy based on the exact terminal buffer size. This behavior is now passed as a flag to the TerminalWidget constructor which makes it behave nicely both inside HackStudio and in Terminal.
2019-10-21LibVT: Move TerminalWidget from the Terminal app to hereAndreas Kling
It would be nice to be able to reuse this widget in other apps. :^)
2019-10-21HexEditor: Fix half byte offset bugBrandon Scott
If you had made a change to the first 4 bits of a byte and then changed your offset via keyboard or menu option it would change the last 4 bits of the new offset the next time you made a change and would not show that the byte had been changed at the new offset.
2019-10-21HexEditor: Added navigate to a hex offsetBrandon Scott
Added the ability to navigate to a specified hex offset.
2019-10-21HexEditor: Fixed off-by-one copying bugBrandon Scott
When copying as hex or text we missed the last byte.
2019-10-21HexEditor: Reverse selectionsBrandon Scott
Added the ability to select text and hex in reverse.
2019-10-20LibHTML+Browser: Support scrolling to anchor with <a href="#foo">Andreas Kling
This patch implements basic support for <a href="#foo"> fragment links. To figure out where we actually want to scroll to, we have to do something different based on the layout node's box type. So if it's a regular LayoutBox we can just use the LayoutBox::position(). However, if it's an inline layout node, we use the position of the first line box fragment in the containing block contributed by this layout node or one of its descendants.
2019-10-19LibHTML+Browser: Show target URL of hovered links in Browser statusbarAndreas Kling
HtmlView will now invoke the on_link_hover hook when the cursor enters or leaves a DOM node that has an enclosing link element. This patch also updates the meaning of Node::enclosing_link_element() to find the nearest HTMLAnchorElementAncestor *with an href attribute*.
2019-10-19Terminal: Make Shift+PgUp/PgDown scroll the terminal up/down one pageAndreas Kling
I keep doing this out of habit, expecting it to scroll, and now it actually will scroll. :^)
2019-10-17Browser: Add basic back/forward historyAndreas Kling
2019-10-15PaintBrush: Use secondary color for eraser (like in ms_paint)Chyza
Comes with a checkbox to turn it off if you dislike it.
2019-10-15TextEditor: suppress "Not found" window when searching for empty stringKevin Murphy
Minor patch, but I was watching one of your videos on YouTube and thought that the pop-up was unecessary/annoying in this case. Love your enthusiasm for the project :^)
2019-10-13LibHTML: Move layout root from HtmlView to DocumentAndreas Kling
The layout root is now kept alive via Document::m_layout_root. This will allow us to do more layout-related things inside the inner layer of LibHTML without reaching out to the HtmlView. I'd like to keep HtmlView at a slightly higher level, to prevent it from getting too complex. This patch also fixes accidental disconnection of the layout tree from the DOM after doing a layout tree rebuild. ~LayoutNode() now only unsets the DOM node's layout_node() if it's itself.
2019-10-13HexEditor: Initial application releaseBrandon Scott
The very first release of the Hex Editor for Serenity.
2019-10-12LibHTML+Browser: Add debug option to draw borders around line boxesAndreas Kling
This will be very useful when debugging line layout.
2019-10-12Browser: Add a debug menu with actions to dump DOM and Layout treesAndreas Kling
2019-10-10LibHTML+Browser: Show the number of pending resource loadsAndreas Kling
For now this is simply a counter+hook exposed by ResourceLoader and shown in the Browser status bar. This is not very nuanced, and it would be nice to expose more info so we could eventually do something like a progress bar.
2019-10-09LibHTML: Rename Document::normalize() to fixup() and always do itAndreas Kling
Node.normalize() is a standard DOM API that coalesces Text nodes. To avoid clashing with that, rename it to fixup(). This patch also makes it happen automagically as part of parsing.
2019-10-07FileManager: Add "Open in TextEditor..." action to context menuAndreas Kling
2019-10-07Browser: Turn command-line path arguments into file:// URLsAndreas Kling
2019-10-07FileManager: Open .html files in Browser instead of "html"Andreas Kling
2019-10-06Browser: Add a simple "Go home" button to the toolbarAndreas Kling
Currently this just takes us to /home/anon/www/welcome.html :^)
2019-10-06LibGUI: Add "Go home" to GCommonActionsAndreas Kling
2019-10-06Browser: Support opening a URL from the command line at startupConrad Pankoff