summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-09Kernel: Clear the x86 DF flag when entering the kernelAndreas Kling
The SysV ABI says that the DF flag should be clear on function entry. That means we have to clear it when jumping into the kernel from some random userspace context.
2019-11-09Kernel: Use a lookup table for syscallsAndreas Kling
Instead of the big ugly switch statement, build a lookup table using the syscall enumeration macro. This greatly simplifies the syscall implementation. :^)
2019-11-09LibC: shm_unlink() was making an unlink() syscall internallyAndreas Kling
I guess that tells us how well-tested the SHM implementation is.
2019-11-09Kernel+SystemMonitor: Publish can_read/write state for open filesAndreas Kling
The can_read() and can_write() states for file descriptions are now published in /proc, allowing SystemMonitor to display it.
2019-11-09SoundPlayer: Added 32x32 icon for the about dialogTill Mayer
2019-11-09SoundPlayer: Add option to hide scopeTill Mayer
Fixes #521. The scope can be hidden using the option in the app menu.
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-09Ports: Fix libarchive port (#746)Dan MacDonald
2019-11-09Ports: add nasm portPaweł Cholewa
2019-11-09LibC: Minor changes to make nasm workPaweł Cholewa
* Added some missing macros to headers * Stubbed strftime() time function to not assert * Added "rt" mode to fopen(), working just like "r" or "rb"
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: Add document icon in DOMTreeModel and keep document aliveAndreas Kling
2019-11-09LibGUI: Make GTreeView fire the on_selection hookAndreas Kling
GTreeView was forgetting to call to base in did_update_selection(). This prevented GAbstractView from firing the on_selection hook and we ended up with only the on_selection_change hook firing.
2019-11-09LibGUI: Include internal_data() in GModelIndex LogStream outputAndreas Kling
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-09WindowServer: Some minor comments and cleanups in WSCompositorAndreas Kling
2019-11-09TextEditor: Enable/disable undo & redo buttons based on availability (#740)Rhin
2019-11-09HackStudio: Add panes on the right hand side of the form editing modeAndreas Kling
- Form's widget tree pane (GTreeView) - Selected widget's properties pane (GTableView)
2019-11-09HackStudio: Tweak the inset of the FormWidgetAndreas Kling
This is not permanent by any means, just moving things around to get a feel for how the GUI should look.
2019-11-09HackStudio: Make the FormEditorWidget have a MidGray backgroundAndreas Kling
This gives the form editor a VB6-like feeling :^)
2019-11-09GTableView: Paint with white background when model-lessAndreas Kling
This matches the behavior of GTreeView.
2019-11-09HackStudio: Add a widgets toolbar to the form editing modeAndreas Kling
2019-11-09LibGUI: Allow overriding the button size when constructing GToolBarAndreas Kling
This makes it easy to create a toolbar housing buttons of a size other than 16x16.
2019-11-09LibGUI: Allow construction of vertical GToolBarsAndreas Kling
There's currently a small paint glitch for vertical toolbars due to the way StylePainter::paint_surface() draws a MidGray line at the bottom of whatever a "surface" is supposed to be.
2019-11-09HackStudio: Start fleshing out the GUI for a GUI designer :^)Andreas Kling
I'll be reconstructing parts of the VisualBuilder application here and then we can retire VisualBuilder entirely once all the functionality is available in HackStudio.
2019-11-08Kernel: Fix the search method of free userspace physical pages (#742)Liav A
Now the userspace page allocator will search through physical regions, and stop the search as it finds an available page. Also remove an "address of" sign since we don't need that when counting size of physical regions
2019-11-08GTextEditor: Allow moving the selected line(s) up/down in bulkAndreas Kling
You can now press Ctrl+Shift+Up/Down in a GTextEditor and the currently selected line(s) will all move together one step up/down. If there is no selection, we move the line with the cursor on it. :^)
2019-11-08GTextEditor: Add a way to flush any pending on_change notificationsAndreas Kling
Since on_change handlers can alter the text document we're working on, we have to make sure they've been run before we try looking at spans. This fixes some flakiness when a paint happened before HackStudio had a chance to re-highlight some C++ while editing it. The design where clients of GTextEditor perform syntax highlighting in the "arbitrary code execution" on_change callback is not very good. We should find a way to move highlighting closer to the editor.
2019-11-08Kernel: Removing hardcoded offsets from Memory Managersupercomputer7
Now the kernel page directory and the page tables are located at a safe address, to prevent from paging data colliding with garbage.
2019-11-08Kernel: Remove debug spam about dump_backtrace() calling itselfAndreas Kling
This was too noisy and important-sounding, when it doesn't really matter that much. It's not the end of the world if symbolication fails for one reason or another.
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-07LibHTML: Update the removed node's siblings in TreeNode::remove_child()Andreas Kling
Oops, we forgot to update the node's siblings' sibling pointers when removing a node from the tree. Thanks to Owlinated for pointing this out! :^)
2019-11-07TextEditor: Added redo functionality & proper stack manipulationrhin123
Added redo functionality & added m_undo_stack_index that moves back & forth on the stack depending on the undo's & redo's.
2019-11-07Base: Add a local copy of bettermotherfuckingwebsite.com for testingAndreas Kling
2019-11-07LibHTML: Ignore case in <!DOCTYPE> tags :^)Andreas Kling
2019-11-07LibHTML: Draw box borders even if we don't have a border-colorAndreas Kling
In those cases we should fall back to currentColor, which is hackishly implemented by falling back to "color" for now.
2019-11-07LibHTML: Fix the default style for <hr> elementsAndreas Kling
This was broken because we don't expand CSS shorthand properties (yet.)
2019-11-07LibHTML: Don't swallow '}' as part of CSS property valuesAndreas Kling
2019-11-07LibHTML: Turn "&mdash;" into "-" in the parser for nowAndreas Kling
Ultimately we should deal with all the various HTML entitites.
2019-11-07HackStudio: Make the project file list a little narrower by defaultAndreas Kling
2019-11-07AK: Add Vector::take(index)Andreas Kling
This removes an item from the vector and returns it.
2019-11-07IRCClient: Escape HTML entities in nicknames, too, just in caseAndreas Kling
2019-11-07AK: Delete operator!() and operator bool() from the Nonnull pointersAndreas Kling
Since NonnullRefPtr and NonnullOwnPtr cannot be null, it is pointless to convert them to a bool, since it would always be true. This patch makes it an error to null-check one of these pointers.
2019-11-07LibHTML: Make the CSS parser return RefPtr'sAndreas Kling
It should be possible for the CSS parser to fail, and we'll know it failed if it returns nullptr. Returning RefPtr's makes it actually possible to return nullptr. :^)
2019-11-07AK: Add Vector::prepend(T&&)Andreas 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-06Meta: Time for a new screenshot (Quake edition) :^)Andreas Kling
2019-11-06Meta: Move "Notes on WSL" to a separate file in Documentation/Andreas Kling
Since this is not relevant to the majority of people, let's move it out of the way.
2019-11-06Kernel: If a process is interrupted during usleep(), return -EINTRAndreas Kling