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
Lenny Maiorani
4e6898c5cc
LibMain: Update header includes
2022-02-26 17:49:58 +00:00
Lenny Maiorani
6bd880c404
LibCrypto: Simplify and move CRC32 table to cpp file
...
CRC32 table is generated at compile-time and put into a static
variable in the header file. This can be moved to be a function
instead of a class, be moved to the `.cpp` file` and generated as an
array instead of a class which only implements `operator[]`.
2022-02-26 17:49:47 +00:00
Luke Wilde
0568229d81
Lagom/Fuzzers: Add MP3 fuzzer
2022-02-26 19:31:16 +02:00
kleines Filmröllchen
50dc9a7be7
LibAudio: Add an array conversion transitional API to Buffer
...
Of course, Buffer is going to be removed very soon, but much of the
WavLoader behavior still depends on it. Therefore, this intermediary
API will allow adopting the Loader infrastructure without digging too
deep into the WavLoader legacy code. That's for later :^)
2022-02-26 17:57:55 +01:00
kleines Filmröllchen
63d9ec8e94
LibAudio: Allow resampling from any array-like type
2022-02-26 17:57:55 +01:00
kleines Filmröllchen
5d01db3493
LibAudio: Split Buffer.{h, cpp} into three files
...
The Buffer files had contained both the ResampleHelper and the
sample format utilities. Because the Buffer class (and its file) is
going to be deleted soon, this commit separates those two things into
their own files.
2022-02-26 17:57:55 +01:00
Andreas Kling
262488ea33
LibWeb: Validate the qualified name in createDocumentType()
...
1% progression on ACID3. :^)
2022-02-26 17:26:37 +01:00
Andreas Kling
f855cbac92
LibWeb: Add simple ad-hoc version of window.postMessage()
...
This allows us to use the wpt.live copy of the ACID3 test, which is kept
updated, unlike the acidtests.org version.
2022-02-26 17:21:40 +01:00
Andreas Kling
fc5e414596
LibWeb: Reorganize window.parent so it looks a bit more like the spec
2022-02-26 16:03:06 +01:00
Arne Elster
835ffbb365
Base: Update audio subsystem documentation
2022-02-26 16:01:26 +01:00
Arne Elster
3cc66b9726
Base: Associate mp3 files with SoundPlayer
...
Also give them the sound icon.
2022-02-26 16:01:26 +01:00
Arne Elster
7223b593cb
LibAudio: Add basic MP3 Decoder
...
This is a basic MPEG-1 layer 3 audio decoder. It supports all
sample rates and stereo modes except for freeformat.
2022-02-26 16:01:26 +01:00
Arne Elster
6a64aabce8
LibDSP: Add IMDCT
...
This implements a generic IMDCT to be used by the MP3 decoder.
2022-02-26 16:01:26 +01:00