Marcel Schneider
a353d16ff4
LibCore: Rename class Gzip -> CGZip
2019-11-10 12:52:23 +01:00
Marcel Schneider
edd0959c83
Base: Add link to bettermotherfuckingwebsite in welcome.html
2019-11-10 12:52:23 +01:00
Marcel Schneider
c40935e79f
LibCore: Add Content-Encoding handling to CHttpJob
2019-11-10 12:52:23 +01:00
Marcel Schneider
4fe5503b17
LibCore: Add a gzip implementation
2019-11-10 12:52:23 +01:00
Andreas Kling
07806d1273
Kernel: Process should release its TTY immediately on exit
...
Don't wait for someone to wait() on a dead process before releasing its
TTY object. This fixes the child process death detection used by the
Terminal application, which relies on getting an EOF on the master PTY
in order to know it's time to wait() on the child process. :^)
2019-11-10 08:49:23 +01:00
Andreas Kling
bbc2f5205f
LibC: Fix wrong syscall identifier for shm_unlink()
...
I renamed "shm_close" to "shm_unlink" since there's no such thing as
shm_close(), but forgot to update LibC, oops!
2019-11-09 22:42:54 +01:00
Andreas Kling
b285a1944e
Kernel: Clear the x86 DF flag when entering the kernel
...
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-09 22:42:19 +01:00
Andreas Kling
fbeb1ab15b
Kernel: Use a lookup table for syscalls
...
Instead of the big ugly switch statement, build a lookup table using
the syscall enumeration macro.
This greatly simplifies the syscall implementation. :^)
2019-11-09 22:42:19 +01:00
Andreas Kling
874ebbe4a5
LibC: shm_unlink() was making an unlink() syscall internally
...
I guess that tells us how well-tested the SHM implementation is.
2019-11-09 22:42:19 +01:00
Andreas Kling
06a80bcf69
Kernel+SystemMonitor: Publish can_read/write state for open files
...
The can_read() and can_write() states for file descriptions are now
published in /proc, allowing SystemMonitor to display it.
2019-11-09 22:42:19 +01:00
Till Mayer
660db0f79a
SoundPlayer: Added 32x32 icon for the about dialog
2019-11-09 20:55:47 +01:00
Till Mayer
b4c18870de
SoundPlayer: Add option to hide scope
...
Fixes #521 . The scope can be hidden using the option in the app menu.
2019-11-09 20:55:47 +01:00
Till Mayer
56cd8b4d17
SoundPlayer: Let the user open a file from the GUI
...
The user now can open a file without passing it as an argument
2019-11-09 20:55:47 +01:00
Dan MacDonald
b7efebe11c
Ports: Fix libarchive port ( #746 )
2019-11-09 20:53:26 +01:00
Paweł Cholewa
031f0ee6bb
Ports: add nasm port
2019-11-09 20:52:34 +01:00
Paweł Cholewa
c2a8c4cedd
LibC: Minor changes to make nasm work
...
* 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-09 20:52:34 +01:00
Hüseyin ASLITÜRK
aba6e6de6a
FileManager: Remember my last position and size.
2019-11-09 20:50:53 +01:00
Andreas Kling
70a4678d77
LibHTML: Paint a magenta rectangle around the currently inspected node
...
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-09 11:58:50 +01:00
Andreas Kling
7fcb21c935
LibHTML: Add document icon in DOMTreeModel and keep document alive
2019-11-09 11:58:20 +01:00
Andreas Kling
29b2117564
LibGUI: Make GTreeView fire the on_selection hook
...
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-09 11:57:08 +01:00
Andreas Kling
ce9b9c129d
LibGUI: Include internal_data() in GModelIndex LogStream output
2019-11-09 11:56:28 +01:00
Andreas Kling
e3d975e943
LibHTML+Browser: Add a simple DOM inspector popup window
...
LibHTML now provides a DOMTreeModel which can be used to view a given
Document's DOM tree. :^)
2019-11-09 11:31:03 +01:00
Andreas Kling
0f76366b34
WindowServer: Some minor comments and cleanups in WSCompositor
2019-11-09 10:57:07 +01:00
Rhin
503fe37eaa
TextEditor: Enable/disable undo & redo buttons based on availability ( #740 )
2019-11-09 08:50:39 +01:00
Andreas Kling
3e84ea9a53
HackStudio: Add panes on the right hand side of the form editing mode
...
- Form's widget tree pane (GTreeView)
- Selected widget's properties pane (GTableView)
2019-11-09 00:41:00 +01:00
Andreas Kling
c9fc34f5ff
HackStudio: Tweak the inset of the FormWidget
...
This is not permanent by any means, just moving things around to get
a feel for how the GUI should look.
2019-11-09 00:41:00 +01:00
Andreas Kling
803ebdfe9c
HackStudio: Make the FormEditorWidget have a MidGray background
...
This gives the form editor a VB6-like feeling :^)
2019-11-09 00:41:00 +01:00
Andreas Kling
e52fe07d2e
GTableView: Paint with white background when model-less
...
This matches the behavior of GTreeView.
2019-11-09 00:41:00 +01:00
Andreas Kling
489c6ac05c
HackStudio: Add a widgets toolbar to the form editing mode
2019-11-09 00:41:00 +01:00
Andreas Kling
d22d9874f7
LibGUI: Allow overriding the button size when constructing GToolBar
...
This makes it easy to create a toolbar housing buttons of a size other
than 16x16.
2019-11-09 00:41:00 +01:00
Andreas Kling
0d2495e4e7
LibGUI: Allow construction of vertical GToolBars
...
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-09 00:41:00 +01:00
Andreas Kling
d016d5e365
HackStudio: Start fleshing out the GUI for a GUI designer :^)
...
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-09 00:41:00 +01:00
Liav A
bce510bf6f
Kernel: Fix the search method of free userspace physical pages ( #742 )
...
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-08 22:39:29 +01:00
Andreas Kling
fa77a57257
GTextEditor: Allow moving the selected line(s) up/down in bulk
...
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-08 20:14:42 +01:00
Andreas Kling
c16b1a515e
GTextEditor: Add a way to flush any pending on_change notifications
...
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-08 19:51:10 +01:00
supercomputer7
c3c905aa6c
Kernel: Removing hardcoded offsets from Memory Manager
...
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-08 17:38:23 +01:00
Andreas Kling
39fcd92210
Kernel: Remove debug spam about dump_backtrace() calling itself
...
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-08 17:36:29 +01:00
Andreas Kling
8a024a3305
LibGUI: Rename GEventLoop.{cpp,h} => GWindowServerConnection
...
The GEventLoop class is long gone, and the only class in these files is
GWindowServerConnection, so let's update the file names. :^)
2019-11-08 11:40:25 +01:00
Andreas Kling
69883bea6f
LibHTML: Update the removed node's siblings in TreeNode::remove_child()
...
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-07 22:45:12 +01:00
rhin123
96c1e36ed3
TextEditor: Added redo functionality & proper stack manipulation
...
Added redo functionality & added m_undo_stack_index that moves back &
forth on the stack depending on the undo's & redo's.
2019-11-07 22:29:59 +01:00
Andreas Kling
306cd0d840
Base: Add a local copy of bettermotherfuckingwebsite.com for testing
2019-11-07 21:40:04 +01:00
Andreas Kling
0355146af9
LibHTML: Ignore case in <!DOCTYPE> tags :^)
2019-11-07 21:39:15 +01:00
Andreas Kling
71f249fd2c
LibHTML: Draw box borders even if we don't have a border-color
...
In those cases we should fall back to currentColor, which is hackishly
implemented by falling back to "color" for now.
2019-11-07 21:36:32 +01:00
Andreas Kling
ee2cafc15c
LibHTML: Fix the default style for <hr> elements
...
This was broken because we don't expand CSS shorthand properties (yet.)
2019-11-07 21:35:59 +01:00
Andreas Kling
56764a2db8
LibHTML: Don't swallow '}' as part of CSS property values
2019-11-07 21:20:18 +01:00
Andreas Kling
397acde846
LibHTML: Turn "—" into "-" in the parser for now
...
Ultimately we should deal with all the various HTML entitites.
2019-11-07 21:19:48 +01:00
Andreas Kling
d6c0d32b63
HackStudio: Make the project file list a little narrower by default
2019-11-07 21:06:31 +01:00
Andreas Kling
870be9d71e
AK: Add Vector::take(index)
...
This removes an item from the vector and returns it.
2019-11-07 20:38:33 +01:00
Andreas Kling
d6f9349f15
IRCClient: Escape HTML entities in nicknames, too, just in case
2019-11-07 18:09:52 +01:00
Andreas Kling
68e23bca3f
AK: Delete operator!() and operator bool() from the Nonnull pointers
...
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-07 18:00:05 +01:00