Age | Commit message (Collapse) | Author |
|
Currently, there is no way to check that an assert fails. This test
passes regardless of the assert. (AK/HashTable.h:93)
|
|
Rather than hardcoding where the kmalloc pool should be, place
it at the end of the kernel image instead. This avoids corrupting
global variables or other parts of the kernel as it grows.
Fixes #3257
|
|
We should not be moving ref-counted objects.
|
|
This avoids kmalloc overwriting it because it may be within the
kmalloc or eternal pool.
|
|
Just default the InitFunction template argument.
|
|
MemoryManager cannot use the Singleton class because
MemoryManager::initialize is called before the global constructors
are run. That caused the Singleton to be re-initialized, causing
it to create another MemoryManager instance.
|
|
|
|
|
|
The "Step Over" action continues execution without stepping into
instructions in subsequent function calls.
|
|
The "Step Out" action continues execution until the current function
returns.
Also, LibDebug/StackFrameUtils was introduced to eliminate the
duplication of stack frame inspection logic between the "Step Out"
action and the BacktraceModel.
|
|
|
|
|
|
|
|
|
|
|
|
This is not perfect and kinda clunky to use, but these are the best
input widgets we have available at the moment, so let's make do with
what we have. :^)
|
|
This returns the currently selected index. It was a bit strange that
we had set_selected_index() but not a way to read it back. :^)
|
|
|
|
|
|
Don't require passing in the outer frame rect since the theme can
compute that itself, based on the window rect.
|
|
... by calling Date.parse().
With this, dates on http://45.33.8.238/ and
http://45.33.8.238/linux/summary.html are correctly converted to local
time :^)
|
|
The spec says Date.parse() should accept at least a simplified form
of ISO 8601, so that's all this implements.
|
|
The CMOS sets bit 2 (0x4) if times are binary, if it's not
set they're in BCD.
The CMOS sets bit 1 (0x1) if hours are on a 12 hour clock.
In that case, the highest bit in the hour byte is set for
PM times (both in binary and BCD times).
Three bugs:
1. The lower 7 bits were masked off incorrectly when calling
bcd_to_binary(). Use 0x7F as mask, not 0x70.
2. The highest bit to check if a time was PM was checked after
BCD conversion of the low 7 bits, which clobbered that bit.
Do the check before BCD conversion.
3. In the 12 hour clock, midnight and noon are "12", so those
need to be converted to 0 even if for non-PM times (else
midnight is "12", not "0").
With this, SerenityOS consistently shows UTC as the current time,
as it should.
If folks want it to display local time instead, they can get this
by adding `-rtc base=localtime` to Meta/run.sh -- but a better fix
would be to add timezone management and convert from UTC system
clock to the user timezone at display time.
|
|
|
|
Add a LayoutDocument API for modifying the selection and make clients
call that so we can recompute selection states automatically.
|
|
Instead of computing it on the fly while painting each layout node,
they now remember their selection state. This avoids a whole bunch
of tree traversal while painting with anything selected.
|
|
I am told that this is how people test their shells.
That's bizarre to me, but sure :^)
|
|
|
|
Replaced implementation dependent on HashMap with a constexpr PrecedenceTable
based on array lookup.
|
|
Part of the graph was hidden under the frame rect, which had the effect
of delaying the appearance of spikes (well, all changes really.)
|
|
|
|
Makes C-c print "^C" and continue prompting on a new line.
Also fixes a problem where an interrupted get_line() would need more
read()'s than required to update the display.
|
|
It does exactly the same thing as Date.getTime().
|
|
|
|
No behavior change.
|
|
i.e. process an element as it becomes available.
|
|
|
|
|
|
|
|
This makes the engine footprint a lot smaller.
|
|
This engine is pretty bad, but doesn't let itself get checkmated
|
|
|
|
|
|
fixes #3187,#3171
|
|
In the future UCI protocol stuff will also go into LibChess.
|
|
|
|
This should make it easier to get a Core::File for standard streams.
|
|
|
|
|
|
|