1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 17:07:35 +00:00
Commit graph

37531 commits

Author SHA1 Message Date
Peter Elliott
5ad44ac2e5 LibMarkdown: Ignore backslash on non-punctuation characters 2022-04-26 15:02:26 +02:00
Peter Elliott
0270e23997 LibMarkdown: Add support for indented code blocks 2022-04-26 15:02:26 +02:00
Daniel Bertalan
dbb2347000 Meta: Allow Clang to be used as the host compiler for Lagom
Various Clang binaries are now considered when choosing the compiler for
Lagom.

The selection precedence is as follows:
1. Use the compiler set via CC/CXX if it's a supported version
2. Use newest available GCC if it's supported
3. Use newest available Clang if it's supported

Note that Apple Clang is still not supported, as its versioning scheme
and the fact that it masquerades as both GCC and Clang would complicate
this logic even more.

Fixes #12253
2022-04-26 15:01:46 +02:00
MacDue
735e3e9c74 Base: Evenly space title bar icons in Coffee theme 2022-04-26 14:57:41 +02:00
Andreas Kling
b85c8a0b80 Kernel: Add FIOCLEX and FIONCLEX ioctls
These allow you to turn the close-on-exec flag on/off via ioctl().
2022-04-26 14:32:12 +02:00
Andreas Kling
20d21fad7b Kernel: Add ESTALE errno code (stale network file handle) 2022-04-26 14:05:49 +02:00
djwisdom
c27a5012ad Base: Update Lucidity Bold add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-25 23:46:27 +02:00
djwisdom
3a71d902be Base: Update Lucidity Regular add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-25 23:46:27 +02:00
djwisdom
3fe0a49664 Base: Update Ataraxia8 Light add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-25 23:46:21 +02:00
djwisdom
056c61df32 Base: Update Ataraxia8 Bold add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-25 23:46:21 +02:00
diogenes
c0dfec5cc0 Base: Add Cyrillic Supplement glyphs to Katica 10
This represents Unicode glyphs U+0500-052F
2022-04-25 23:46:04 +02:00
MacDue
c80815fbb9 Base: Set TitleButtonsIconOnly for Cupertino theme 2022-04-25 23:45:24 +02:00
MacDue
cbfd5c4ecf Base: Remove background from Coffee theme title buttons 2022-04-25 23:45:24 +02:00
MacDue
d0aef66bcc LibGUI: Respect TitleButtonsIconOnly in AbstractThemePreview 2022-04-25 23:45:24 +02:00
MacDue
9b30fe9864 LibGfx+WindowServer: Add theme flag TitleButtonsIconOnly
With this flag set to true only the icon of the title button is painted.
This is useful for themes with a more non-serenity look such as
Coffee and Cupertino (that currently try to hide the button).
2022-04-25 23:45:24 +02:00
MacDue
5998e7f8a2 Base: Add HighlightWindowBorder colors to Gruvbox Dark theme 2022-04-25 13:04:53 -07:00
MacDue
03cc9be6e8 Base: Add HighlightWindowBorder colors to Dark theme 2022-04-25 13:04:53 -07:00
Ralf Donau
69a896cb82 ini: Use String for arguments 2022-04-25 10:47:56 +02:00
Lucas CHOLLET
86d4b7ebfc LibGUI: Display line number next to the first visual line
The number was previously vertically centered, but it prevents from
quickly seeing a line change.
2022-04-25 10:46:58 +02:00
djwisdom
4c027efc01 Base: Update Csilla12 Regular add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-25 10:46:05 +02:00
djwisdom
db1d839559 Base: Update Csilla12 Bold add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-25 10:46:05 +02:00
Andrew Kaster
29fefe2d3e Toolchain: Explicitly install llvm-config and FileCheck
Also disable the "toolchain only build" to ensure we install llvm
headers for when we want to build host tools that link against llvm.
2022-04-25 10:45:46 +02:00
Lucas CHOLLET
881f499704 LibGUI: Fix text wrap artifact when selecting text
The issue was caused by the usage of the
selection_end_column_within_line variable as if it was the visual line.
This is fixed by taking the minimum between this value and the length of
a visual line.
2022-04-24 19:14:28 +02:00
EWouters
559ea5a030 Ports/libyaml: Fix download location 2022-04-24 11:30:24 -04:00
Moustafa Raafat
7b23dfea79 LibGUI: Remove unused functions in EditingEngine class 2022-04-23 17:04:39 -07:00
djwisdom
e5022d866e Base: Update Ataraxia10 Light add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-23 23:09:30 +02:00
djwisdom
3a78b47513 Base: Update Ataraxia10 Bold add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-23 23:09:30 +02:00
djwisdom
270b17db59 Base: Update SatoriMono10 Regular add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-23 23:09:21 +02:00
djwisdom
2afe160e93 Base: Update SatoriMono10 Bold add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-23 23:09:21 +02:00
djwisdom
ccc3fdc83c Base: Update Satori10 Bold add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-23 23:09:21 +02:00
djwisdom
fdbbc7b60b Base: Update Satori10 Regular add glyphs to widen coverage
Tifinagh
2D30-2D67,2D6F,2D70
https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-23 23:09:21 +02:00
Sam Atkins
3cc1a86ef5 ClockSettings: Add a preview of the current time format
When writing a custom format especially, it's nice to be able to see how
it will look as you write it.
2022-04-23 10:48:51 -07:00
Sam Atkins
bd7e896c76 ClockSettings: Tweak timezone layout spacing to not crop the ComboBox 2022-04-23 10:48:51 -07:00
Sam Atkins
ae469b9afa ClockSettings: Don't change format text when checking "Custom"
Previously, when you selected to have a custom format, whatever was in
the custom-format box would get replaced with the format for
12-hour-without-seconds. Now, it keeps whatever was in the box before -
which is less disorientating, and lets you tweak the existing format.
2022-04-23 10:48:51 -07:00
Sam Atkins
c80fca78b3 ClockSettings: Select radio-button that matches the saved clock format
This means that if you save and close ClockSettings with "24-hour"
and "Show seconds" both checked, then they will both be checked when
you re-open ClockSettings, instead of it showing as a "Custom" format.
2022-04-23 10:48:51 -07:00
EWouters
ab37791431 Toolchain: Update BuildQemu.sh to qemu-7.0
QEMU 7.0 was released on April 19th.
Release Notes: https://wiki.qemu.org/ChangeLog/7.0
2022-04-23 10:44:39 -07:00
Daniel Bertalan
57c6829249 CI: Update the path to our LLVM patches
The LLVM patch has been broken up into smaller commits and moved to a
separate directory. CI should look at this new location to determine if
the toolchain needs to be rebuilt.
2022-04-23 10:43:32 -07:00
Daniel Bertalan
d6a735fe62 Meta: Use clang-format from the Clang toolchain if available 2022-04-23 10:43:32 -07:00
Daniel Bertalan
01b31d9858 Toolchain+Ports: Update LLVM to 14.0.1
Besides a version bump, the following changes have been made to our
toolchain infrastructure:
- LLVM/Clang is now built with -march=native if the host compiler
  supports it. An exception to this is CI, as the toolchain cache is
  shared among many different machines there.
- The LLVM tarball is not re-extracted if the hash of the applied
  patches doesn't differ.
- The patches have been split up into atomic chunks.
- Port-specific patches have been integrated into the main patches,
  which will aid in the work towards self-hosting.
- <sysroot>/usr/local/lib is now appended to the linker's search path by
  default.
- --pack-dyn-relocs=relr is appended to the linker command line by
  default, meaning ports take advantage of RELR relocations without any
  patches or additional compiler flags.

The formatting of LLVM port's package.sh has been bothering me, so I
also indented the arguments to the CMake invocation.
2022-04-23 10:43:32 -07:00
Daniel Bertalan
9a898df1cd Ports: Fix issue with the patches directory being a symlink
The path of the temporary directory should be an absolute path to
account for the patches directory being a symlink like in the upcoming
LLVM port update.
2022-04-23 10:43:32 -07:00
Daniel Bertalan
e4b7ce3324 UserspaceEmulator: Use boolean operators instead of bitwise ones
Fixes a bitwise-instead-of-logical warning from Clang 14.
2022-04-23 10:43:32 -07:00
Daniel Bertalan
bb92991408 LibC: Use correct inttypes.h format strings on Aarch64
Similarly to x86_64, Aarch64 is LP64, so its `uint64_t` type is
`unsigned long`.

Fixes a bunch of compiler warnings when compiling the LLVM runtime
libraries for the aarch64-pc-serenity target.
2022-04-23 10:43:32 -07:00
Daniel Bertalan
95cff1133d LibC: Unconditionally include bits/posix1_lim.h from limits.h
No other system seems to put this behind a _USE_POSIX ifdef.
2022-04-23 10:43:32 -07:00
Daniel Bertalan
899616198c Ports: Remove Clang -fPIC hack from zlib
Despite the comment, only -fPIE was enabled by default in the Clang
toolchain, and not -fPIC. With the LLVM 14 upgrade, we made PIC the
default.
2022-04-23 10:43:32 -07:00
Andrew Kaster
f1d47ea618 LibWeb+AudioServer: Remove unused spaceship operators
We aren't actually using these for anything, and the spaceship operator
requires ``<compare>`` from the STL, which we'd rather not include.
2022-04-23 10:43:32 -07:00
Andrew Kaster
83603d68d2 AK: Make sure we don't include Math.h or math.h from KERNEL 2022-04-23 10:43:32 -07:00
sin-ack
bc7c8879c5 Kernel+LibC+LibCore: Implement the unlinkat(2) syscall 2022-04-23 10:43:32 -07:00
Kenneth Myhra
a5514fece9 LibWeb: Move XHR::open() towards more spec compliance
Following FIXMEs have been addressed:
- 1. Let settingsObject be this’s relevant settings object.
- 2. If settingsObject has a responsible document and it is not fully
     active, then throw an "InvalidStateError" DOMException.
- 6. Let parsedURL be the result of parsing url with settingsObject's
     API base URL and settingsObject’s API URL character encoding.
- 8. If the async argument is omitted, set async to true, and set
     username and password to null.
2022-04-23 18:05:55 +02:00
Kenneth Myhra
01194053b7 LibWeb: XHR set_request_header() validate header name and value 2022-04-23 18:05:55 +02:00
Kenneth Myhra
1ca1a73d67 LibWeb: Trim leading and trailing HTTP whitespace bytes
The XMLHttpRequest specification specifices that header values should be
normalized by trimming leading and trailing HTTP whitespace bytes.
2022-04-23 18:05:55 +02:00