Tibor Nagy
c7f549ba19
LibGUI: Add mouse wheel event and step property to Slider
2020-02-16 21:58:01 +01:00
Andreas Kling
69bb0c0246
malloc: Use 64KB blocks (instead of 4KB)
...
We now allocate 64KB at a time and divide them into chunks for handing
out to malloc() callers. This significantly reduces the number of
system calls made due to memory allocation.
This yields a ~15% speedup when compiling Process.cpp inside SerenityOS
(down from 24 sec to 20 sec on my machine.)
There's more performance on the table here, no doubt.
2020-02-16 14:11:14 +01:00
Andreas Kling
31e1af732f
Kernel+LibC: Allow sys$mmap() callers to specify address alignment
...
This is exposed via the non-standard serenity_mmap() call in userspace.
2020-02-16 12:55:56 +01:00
Andreas Kling
02e199a9cb
AK: Don't construct a String every time we LogStream<< a number
2020-02-16 12:48:58 +01:00
Andreas Kling
14bd978928
Revert "LibC: Implement isblank()"
...
This reverts commit 4e79a60b78
.
This broke the GCC port. Apparently isblank() was added in C99 and for
some reason it needs special treatment in headers.
2020-02-16 10:47:54 +01:00
Andreas Kling
4ba153668b
chmod: Tweak usage string
...
Fixes #1223 .
2020-02-16 09:51:49 +01:00
Andreas Kling
fe343a0497
LibGUI: ItemView painting was not respecting the frame thickness
...
Fixes #1112 .
2020-02-16 09:50:38 +01:00
Andreas Kling
2143da6434
LibGUI: Add forwarding header
...
This patch adds <LibGUI/Forward.h> and uses it a bunch.
It also dragged various header dependency reduction changes into it.
2020-02-16 09:41:56 +01:00
Andreas Kling
2e6ab58117
LibGfx: Reduce header dependencies of StylePainter
2020-02-16 09:41:56 +01:00
Tibor Nagy
9041e95e79
LibGUI: Render ScrollBar buttons as pressed when they are being pressed
2020-02-16 09:41:40 +01:00
Kaif Mavani
fa21c7e8bf
AK: Fixed a typo in NeverDestroyed.h ( #1228 )
2020-02-16 09:32:18 +01:00
Andreas Kling
7a8be7f777
Kernel: Remove SmapDisabler in sys$accept()
2020-02-16 08:20:54 +01:00
Andreas Kling
7717084ac7
Kernel: Remove SmapDisabler in sys$clock_gettime()
2020-02-16 08:13:11 +01:00
Andreas Kling
7533d61458
Kernel: Fix weird whitespace mistake in RangeAllocator
2020-02-16 08:01:33 +01:00
Tibor Nagy
fc24b2b57d
LibGUI: Make ResizeCorner theme-aware
2020-02-16 08:01:20 +01:00
Shannon Booth
4d8547d112
Userland: Use DirIterator in rm
2020-02-16 02:19:22 +01:00
Shannon Booth
42399167b3
LibCore: Add DirIterator::next_full_path()
2020-02-16 02:19:22 +01:00
Andreas Kling
e90765e957
Kernel: Remove Process inheriting from Weakable
...
This mechanism wasn't actually used to create any WeakPtr<Process>.
Such pointers would be pretty hard to work with anyway, due to the
multi-step destruction ritual of Process.
2020-02-16 02:16:22 +01:00
Andreas Kling
635ae70b8f
Kernel: More header dependency reduction work
2020-02-16 02:15:33 +01:00
Andreas Kling
16818322c5
Kernel: Reduce header dependencies of Process and Thread
2020-02-16 02:01:42 +01:00
Andreas Kling
e61cdf5c39
AK: Add HashMap, HashTable and Traits to Forward.h
2020-02-16 02:01:18 +01:00
Andreas Kling
e28809a996
Kernel: Add forward declaration header
2020-02-16 01:50:32 +01:00
Andreas Kling
1d611e4a11
Kernel: Reduce header dependencies of MemoryManager and Region
2020-02-16 01:33:41 +01:00
Andreas Kling
a356e48150
Kernel: Move all code into the Kernel namespace
2020-02-16 01:27:42 +01:00
Andreas Kling
d42f0f4661
AK: Add missing include in CircularQueue.h
2020-02-16 01:27:25 +01:00
Andreas Kling
1f55079488
Kernel: Remove SmapDisabler in sys$getgroups()
2020-02-16 00:30:00 +01:00
Andreas Kling
eb7b0c76a8
Kernel: Remove SmapDisabler in sys$setgroups()
2020-02-16 00:27:10 +01:00
Andreas Kling
0341ddc5eb
Kernel: Rename RegisterDump => RegisterState
2020-02-16 00:15:37 +01:00
Andreas Kling
5507945306
Kernel: Widen PhysicalPage refcount to 32 bits
...
A 16-bit refcount is just begging for trouble right nowl.
A 32-bit refcount will be begging for trouble later down the line,
so we'll have to revisit this eventually. :^)
2020-02-15 22:34:48 +01:00
thatlittlegit
51628f64fa
Welcome: Apply @shannonbooth's recommendations
2020-02-15 20:46:10 +01:00
thatlittlegit
c07c442640
Welcome: Change copyrights in my code to 'SerenityOS developers'
2020-02-15 20:46:10 +01:00
thatlittlegit
f4958aea21
Welcome: Reduce the width and margins of the menu
...
I think it looks better where it takes up less space.
2020-02-15 20:46:10 +01:00
thatlittlegit
d5617fc855
Welcome: 'Welcome to Serenity' -> 'Welcome to SerenityOS'
2020-02-15 20:46:10 +01:00
thatlittlegit
7a3bdf3563
Welcome: Add icons to welcome entries
2020-02-15 20:46:10 +01:00
thatlittlegit
bc28e55d61
Base: Add documentation for the welcome.txt format
2020-02-15 20:46:10 +01:00
thatlittlegit
ba27b56200
Welcome: Add some more pages for Development and Multimedia
2020-02-15 20:46:10 +01:00
thatlittlegit
a55b96a1ea
Welcome: Separate text from source code by parsing
...
This allows modification at runtime, as well as easier editing than C++
structures.
2020-02-15 20:46:10 +01:00
thatlittlegit
7caa8b7531
Welcome: Add pledge and unveil
2020-02-15 20:46:10 +01:00
thatlittlegit
37daae1451
Welcome: Use a proper heading font for 'Welcome to Serenity!'
2020-02-15 20:46:10 +01:00
thatlittlegit
ce2c1e824d
Welcome: Push in the buttons depending on which page is selected
2020-02-15 20:46:10 +01:00
thatlittlegit
783f5dc07f
Welcome: Replace PNG background with gradient
...
This allows scaling to larger window sizes, something that the PNG
didn't do well.
2020-02-15 20:46:10 +01:00
thatlittlegit
d647749737
Welcome: Remove crash and ensure text doesn't all stay on one line.
...
When size_t replaced int (6f4c370), it caused the 'start = -1' trick to
fail, setting start to (unsigned)-1 instead. This then caused
String.substring to fail, as that is a little bit higher than the length
of the string! This resulted in an outright crash.
Later, the builder is not reset before making a new line. This causes
the line to simply be the earlier one, but with more text on it.
(There's also a few changes from clang-format, namely the #include
reorganization.)
Fixes #1211 (although I wasn't aware of it when I made this commit).
2020-02-15 20:46:10 +01:00
Andreas Kling
f27a646bf5
AK: Don't bring in LibBareMetal's kstdio.h in userspace
2020-02-15 19:18:56 +01:00
Tibor Nagy
7ec1b2e44b
LibGUI: Unfocused TextEditors should use inactive selection colors
2020-02-15 18:42:13 +01:00
Tibor Nagy
e455af8d33
Base: Add inactive selection colors to the system themes
2020-02-15 18:42:13 +01:00
Tibor Nagy
4d95163400
LibGUI: Use inactive selection colors from palette instead of hardcoding them
2020-02-15 18:42:13 +01:00
Tibor Nagy
99192fd29f
LibGfx: Add inactive selection colors
2020-02-15 18:42:13 +01:00
Andreas Kling
b515ea454f
AK: Make sure that Weakable always has the same memory layout
...
Weakable objects ended up with differing memory layouts in some ports
since they don't build with the DEBUG macro defined.
Instead of forcing ports to define DEBUG, just put this behind a custom
WEAKABLE_DEBUG macro and leave it always-on for now.
2020-02-15 14:49:57 +01:00
Andreas Kling
d5e167e725
LibBareMetal: Install headers so ports can pick them up
2020-02-15 13:31:41 +01:00
Andreas Kling
175cd4d9c2
AK: Fix broken #include statement
2020-02-15 13:28:33 +01:00