roughjericho
7012a5eb0b
Base: Tweak the Plum theme's Ruler color
...
Fixes cell borders in Spreadsheet being the same color as the rest of
the cell when the Plum theme is being used.
2022-02-28 13:46:58 +01:00
MacDue
8b2025d8fc
LibVT: Fix crash from integer overflow in text wrapping
...
Fixes #12786
2022-02-28 10:29:48 +01:00
Karol Kosek
0d0e5323dd
Base: Flip U+2190 and U+2192 horizontaly in Katica Regular 10
...
Two arrows (LEFTWARDS ARROW and RIGHTWARDS ARROW) were pointing
in the opposite direction.
https://www.unicode.org/charts/PDF/U2190.pdf
2022-02-27 23:41:17 +00:00
Itamar
7fa7c7d63c
LanguageServers/Cpp: Make find declaration of enums work
2022-02-27 21:42:05 +01:00
Itamar
4335bd453d
LanguageServers/Cpp: Make find declaration for a declaration node work
...
The CppComprehensionEngine can now find the declaration of a
declaration node of type class/namespace/function.
2022-02-27 21:42:05 +01:00
Itamar
abc420b15a
LibCpp: Set end position for the return type node of FunctionType nodes
...
Previously we didn't set the end position for the return type node of
function FunctionType nodes.
This caused a VERIFY failure crash when dumping an AST that contains
such nodes.
2022-02-27 21:42:05 +01:00
Itamar
fa384c8171
LanguageServers/Cpp: Make go to declaration of a namespace work
...
The CppComprehensionEngine can now find the declaration of a reference
to a namespace.
2022-02-27 21:42:05 +01:00
Jelle Raaijmakers
c3c683c9e1
Kernel: Whitespace and Error
cleanup in AC97
...
No functional changes.
2022-02-27 20:38:34 +01:00
Jelle Raaijmakers
0e78e6b1e8
Kernel: Do not reset AC'97 PCM out on buffer completion
...
We now only reset the PCM out channel during initialization, and handle
the case where the channel's current index has passed the last valid
index properly.
This fixes issues with stuttering audio between multiple subsequent
`aplay` invocations, for example.
2022-02-27 20:38:34 +01:00
Jelle Raaijmakers
694ff12272
Kernel: Read and report AC'97 codec revision
...
This might help with debugging on bare metal. Since the minimum version
that can be specified is revision 2.1, and we do not use any feature
from revision 2.2 or newer, this is merely future-proofing ourselves
for new features yet to be built. Additionally, removing the `VERIFY()`
ensures we will not crash on cards that only support earlier revisions.
2022-02-27 20:38:34 +01:00
Jelle Raaijmakers
9a46573ffc
Kernel: Make AC'97 initialization fallible
...
Let's not crash in `AudioManagement` if we run into trouble.
2022-02-27 20:38:34 +01:00
Idan Horowitz
feb00b7105
Everywhere: Make JSON serialization fallible
...
This allows us to eliminate a major source of infallible allocation in
the Kernel, as well as lay down the groundwork for OOM fallibility in
userland.
2022-02-27 20:37:57 +01:00
Idan Horowitz
6682afb5d4
Kernel: Add UDPSocket::try_for_each() for fallible iteration
...
This API will allow users to short circuit iteration and properly
propagate errors.
2022-02-27 20:37:57 +01:00
Idan Horowitz
aabc8d348b
Kernel: Add TCPSocket::try_for_each() for fallible iteration
...
This API will allow users to short circuit iteration and properly
propagate errors.
2022-02-27 20:37:57 +01:00
Idan Horowitz
24be52b3f5
Kernel: Add LocalSocket::try_for_each() for fallible iteration
...
This API will allow users to short circuit iteration and properly
propagate errors.
2022-02-27 20:37:57 +01:00
Idan Horowitz
74ab8ccde0
Kernel: Add NetworkingManagement::try_for_each() for fallible iteration
...
This API will allow users to short circuit iteration and properly
propagate errors.
2022-02-27 20:37:57 +01:00
Idan Horowitz
da5d678f2a
Kernel: Add DeviceManagement::try_for_each() for fallible iteration
...
This API will allow users to short circuit iteration and properly
propagate errors.
2022-02-27 20:37:57 +01:00
Idan Horowitz
064b93c2ad
Kernel: Add OpenFileDescriptions::try_enumerate for fallible iteration
...
This API will allow users to short circuit iteration and properly
propagate errors.
2022-02-27 20:37:57 +01:00
Idan Horowitz
aca6c0c031
Kernel: Add Process::try_for_each_thread() for fallible iteration
...
This API will allow users to short circuit iteration and properly
propagate errors.
2022-02-27 20:37:57 +01:00
Idan Horowitz
f4875b9967
Kernel: Add Processor::try_for_each() for fallible iteration
...
This API will allow users to short circuit iteration and properly
propagate errors.
2022-02-27 20:37:57 +01:00
Idan Horowitz
9da8c78133
AK: Add a try variant of StringBuilder::append_escaped_for_json
...
This will allow us to make a fallible version of the JSON serializers.
2022-02-27 20:37:57 +01:00
electrikmilk
7440b632fe
Base: Complete Spacing Modifier Letters in Katica
...
This completes the 'Spacing Modifier Letters' block for
Katica Regular 10.
Adds U+02B9, U+02BA, U+02BE-U+02DF, U+02E4-U+02FF.
Corrects U+02B6, Improves U+02B8.
2022-02-27 17:08:48 +01:00
Michał Lach
665505db42
Utilities: Port pathchk to LibMain
2022-02-27 17:08:27 +01:00
Lady Gegga
e0de892f8f
Base: Add emojis to emoji.txt
...
Add all yak emojis and more flags
2022-02-26 23:44:48 +00:00
Lady Gegga
7628499434
Base: Add various flag emojis
...
Add flags for Klingon empire, Faroe Islands, Iceland, Taiwan,
Åland Islands, Armenia, North Macedonia, Vietnam, Greenland,
Crimea, Donechchyna, Catalonia, Basque Country, Quebec
2022-02-26 23:44:48 +00:00
u9g
d2adf54e73
Spreadsheet: Add sumProduct(If) functions
2022-02-27 02:48:32 +03:30
u9g
99425c5adc
Spreadsheet: Add max(If)/min(If) function for ranges
2022-02-27 02:48:32 +03:30
u9g
6c35419236
Spreadsheet: Add Range(s).first() functions
2022-02-27 02:48:32 +03:30
Idan Horowitz
853f7092f8
Kernel: Defer signal handling without a register capture earlier
...
We were deferring the signal handling after already marking the signal
as handling, which led to some failures in the Shell tests.
2022-02-27 00:38:00 +02:00
Idan Horowitz
011bd06053
Kernel: Set CS selector when initializing thread context on x86_64
...
These are not technically required, since the Thread constructor
already sets these, but they are set on i686, so let's try and keep
consistent behaviour between the different archs.
2022-02-27 00:38:00 +02:00
thankyouverycool
76157594a9
TextEditor: Save wrapping mode settings
2022-02-26 22:54:25 +01:00
thankyouverycool
e5f7032fb8
TextEditor: Add missing syntax Alt-menu shortcuts
2022-02-26 22:54:25 +01:00
thankyouverycool
5fedb742da
LibGUI: Set Editors to wrap at words when MultiLine
...
And default to NoWrap when they are type SingleLine.
2022-02-26 22:54:25 +01:00
Nícolas F. R. A. Prado
9e81c2dc83
LibLine: Update inline search cursor after kill_line (^U) command
...
After the kill_line (^U) command was used, searching backwards in the
history would still filter based on the text previous to the deletion.
Update the inline search cursor like already done in other internal
functions, so the text used for search is the current one.
2022-02-27 00:14:10 +03:30
kleines Filmröllchen
5ce7c67e44
Tests: Test DisjointChunks with FixedArray
2022-02-27 00:11:14 +03:30
kleines Filmröllchen
7e18e6e37b
AK: Skip over initial empty chunks in DisjointChunks
...
This will be caught by new test cases: when the initial chunk is empty,
a dereference before calling operator++ on the iterator will crash as
the initial chunk's size is never checked.
2022-02-27 00:11:14 +03:30
kleines Filmröllchen
4ec599aae5
AK: Make DisjointChunks support FixedArray
...
This extracts the shatter_chunk logic, because it needs to be different
for FixedArray.
2022-02-27 00:11:14 +03:30
kleines Filmröllchen
ee9eef1fa8
AK: Make DisjointChunk::append move the new chunk
...
Previously, although we were taking a moved chunk, we still copied it
into our chunk list. This makes DisjointChunk compatible with containers
that don't have a copy constructor but a move constructor.
2022-02-27 00:11:14 +03:30
kleines Filmröllchen
6e5bf7ac6f
AK: Export DisjointSpans into the global namespace
...
I think we just forgot when we added it.
2022-02-27 00:11:14 +03:30
kleines Filmröllchen
75eb5e7984
AK: Add at() indexing methods to FixedArray
2022-02-27 00:11:14 +03:30
kleines Filmröllchen
09df8f812a
AK: Allow creating a FixedArray from an initializer list
2022-02-27 00:11:14 +03:30
kleines Filmröllchen
65f34504e9
AK: Add FixedArray::is_empty()
...
This also exists on Vector, and although it's less needed here, it's
perfectly reasonable to have.
2022-02-27 00:11:14 +03:30
Jelle Raaijmakers
8bf0e04c16
Kernel: Allow setting AC'97 sample rate during playback
...
The Qemu AC'97 device stops its PCM channel's DMA engine when it is
running and the sample rate is changed. We now make sure the DMA engine
is restarted after changing the sample rate, allowing you to e.g. run
`asctl set r 22050` during `aplay` playback.
2022-02-26 20:23:15 +01:00
Jelle Raaijmakers
e2891e9aa4
Kernel: Clean up AC'97 driver code style
...
* Remove braces from single-line conditionals
* Use aggregate initialization style for member variables
2022-02-26 20:23:15 +01:00
electrikmilk
ee64279958
Base: Add various flag emojis
...
Adds flags for Bahamas, England, Romania, Bangladesh, Estonia,
Scotland, Belgium, Gabon, South Africa, Benin, Guinea,
South Korea, India, Spain, Brazil, Ireland, Thailand,
Bulgaria, Japan, Triangular, Canada, Latvia, Turkey, Chad,
Lithuania, Venezuela, Luxembourg, Wales, Chile, Monaco, China,
Nigeria, Yemen, Czechia, North Korea, Egypt, and Peru.
Adds black, white, and checkered flags.
Improved Norway and Germany flags.
2022-02-26 20:22:41 +01:00
kleines Filmröllchen
084347becc
Utilities+Meta: Check icons in markdown-check
...
We use the environment variable SERENITY_SOURCE_DIR to resolve and check
icon links. This is a bit inconvenient as SERENITY_SOURCE_DIR needs to
be set correctly before invoking the markdown checker, but as we use it
through the check-markdown script anyways, I think it's not a problem.
2022-02-26 20:05:06 +02:00
kleines Filmröllchen
4ef1bedc38
Utilities: Check help:// manpage links in markdown-check
2022-02-26 20:05:06 +02:00
kleines Filmröllchen
7399520e9a
Utilities: Perform most markdown-check link checking with URLs
...
This should be much more robust against weirdly-formatted links that are
still valid URLs, additionally, future URL checkers can immediately
take advantage of the already-existing URL object.
Note that not all markdown links are valid URLs or paths, and that that
is intentional (e.g. only fragments, relative links etc.). We don't just
fail when something is not a URL.
2022-02-26 20:05:06 +02:00
kleines Filmröllchen
9902e71f99
Utilities: Allow link checking in markdown-check to fail during visit
...
With a special flag, we can now invalidate the links early on.
2022-02-26 20:05:06 +02:00
kleines Filmröllchen
112642a262
Utilities: Partially revert 9ec2b37
...
This removed checks for missing manpages, which we now need again as the
manpages are checked again.
2022-02-26 20:05:06 +02:00