Andreas Kling
726edd2d3b
LibWeb: Pass state to create_independent_formatting_context_if_needed()
...
Instead of using the current m_state implicitly, make this function take
a FormattingState&. This will allow us to use it for throwaway layouts.
2022-02-28 14:17:44 +01:00
Timur Sultanov
ffbd630ca6
AK: Add tests for integer values formatting in printf
2022-02-28 14:08:24 +01:00
Timur Sultanov
406b3fc3fe
AK: Correctly process precision modifiers in printf
2022-02-28 14:08:24 +01:00
TheOddGarlic
6cda142c28
groupdel: Port to LibMain
2022-02-28 14:05:04 +01:00
TheOddGarlic
6499699d6d
useradd: Port to LibMain
2022-02-28 14:05:04 +01:00
Kyle Anthony Williams
3b61fbf15f
Base: Clarify that TelnetServer must be run as root
2022-02-28 14:01:41 +01:00
Kyle Anthony Williams
a732d26a7b
Base: Add gist to and modify description of usermod man page
...
This patch brings the man page usermod into line with its
siblings useradd and usermod.
2022-02-28 14:01:41 +01:00
Kyle Anthony Williams
0abdecf2b6
Base: Move EchoServer man page to section 8
2022-02-28 14:01:41 +01:00
Kyle Anthony Williams
0c33b494b8
Base: Combine TelnetServer man pages :^)
...
Two different man pages for TelnetServer could be found in sections
1 and 8 of Serenity's manual. This patch combines both and places
the page in section 8.
2022-02-28 14:01:41 +01:00
Kyle Anthony Williams
f5c517015d
Base: Change gist of Shell man page
...
Pre-patch, the man page encased the name of the program in quotes,
which is inconsistent with other man pages, unnecessarily
repeated "Shell" in the gist, and included "the" in the gist,
which is also inconsistent with other man pages.
2022-02-28 14:01:41 +01:00
Kyle Anthony Williams
2266020bc0
Base: Add gists to man pages that lack one
...
Sources:
Eyes: https://www.x.org/releases/X11R7.6/doc/man/man1/xeyes.1.xhtml
wc: FreeBSD manual.
2022-02-28 14:01:41 +01:00
Kyle Anthony Williams
aae047e347
Base: Move WebServer man page to section 8
2022-02-28 14:01:41 +01:00
Kyle Anthony Williams
aedf6042a9
Base: Add "Open" link to Eyes, Help man pages
2022-02-28 14:01:41 +01:00
Lucas CHOLLET
1172fd682a
TextEditor: Support multiline highlighting for trailing space
...
The last commit fixes a bug, but also exposes the fact that trailing
space highlighting isn't really supported on multiple lines. This patch
correct the wrong behavior by adding an offset to adjust rectangle's
position.
2022-02-28 14:00:27 +01:00
Lucas CHOLLET
9c2e89e8b8
TextEditor: Fix highlighting bug in wrapping mode
...
Before this patch the highlighted rectangle wasn't placed on the right
spot. Now the red highlighting is correctly placed at the end of the
line. This was due to a function called with a wrong argument.
2022-02-28 14:00:27 +01:00
kleines Filmröllchen
889315e8aa
Piano: Respect logarithmic parameters in sliders
...
If the underlying parameter is logarithmic, the slider respects that and
switches to a logarithmic display. Currently, the used base is e, and
we'll have to see in practice if 2 or 10 might be better. The parameters
that make use of this, as can be seen in the previous commit, are all of
the time dependent parameters such as the synth envelope parameters, as
with these, usually fine-grained control at small time scales and
coarser control at large time scales is desired.
This was a good opportunity to refactor the slider step count into a
constant.
2022-02-28 13:59:31 +01:00
kleines Filmröllchen
e7d84da3da
LibDSP: Allow ProcessorRangeParameter to specify if it's a log value
...
This doesn't affect the parameter's own behavior but is part of the
parameter meta-data, just as the name. If a parameter is logarithmic,
UI elements should represent it with an interface that scales
logarithmically.
2022-02-28 13:59:31 +01:00
kleines Filmröllchen
98058f7efe
AK: Add FixedPoint base 2 logarithm
...
The log base 2 is implemented using the binary logarithm algorithm
by Clay Turner (see the link in the comment)
2022-02-28 13:59:31 +01:00
kleines Filmröllchen
30002c2ccb
AK: Add bit shift to FixedPoint
2022-02-28 13:59:31 +01:00
kleines Filmröllchen
5d6e3441fe
AK: Fix FixedPoint to integral comparisons
...
Add tests to ensure that the fixed point numbers compare correctly to
integrals
2022-02-28 13:59:31 +01:00
Lenny Maiorani
f5fd2f3857
Services: Port FileOperation to LibMain
2022-02-28 13:57:26 +01:00
Lenny Maiorani
b455363ce7
LibCore: Add rmdir system call wrapper
2022-02-28 13:57:26 +01:00
Lenny Maiorani
1dd70a6f49
Applications: Change static constexpr variables to constexpr
...
Function-local `static constexpr` variables can be `constexpr`. This
can reduce memory consumption, binary size, and offer additional
compiler optimizations.
2022-02-28 13:54:27 +01:00
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