Commit Graph

38490 Commits

Author SHA1 Message Date
EWouters
e26d0a9c9f Ports/pcre2: Use sha256 to check the downloaded file 2022-06-08 11:40:31 +01:00
EWouters
bb98991ff8 Ports/pcre2: Update pcre2 to version 10.40 2022-06-08 11:40:31 +01:00
EWouters
a25ab52ee7 Ports/oksh: Update oksh to version 7.1 2022-06-08 11:40:31 +01:00
EWouters
efa9b7d9a1 Ports/ninja: Update ninja to version 1.11.0 2022-06-08 11:40:31 +01:00
EWouters
41390c9da8 Ports/ncdu: Update ncdu to version 1.17 2022-06-08 11:40:31 +01:00
EWouters
6d1ec983a4 Ports/nano: Use sha256 to check the downloaded file 2022-06-08 11:40:31 +01:00
EWouters
2714e58b52 Ports/nano: Update nano to version 6.3 2022-06-08 11:40:31 +01:00
EWouters
b706d7cf57 Ports/m4: Use sha256 to check the downloaded file 2022-06-08 11:40:31 +01:00
EWouters
9846533ce4 Ports/m4: Update m4 to version 1.4.19 2022-06-08 11:40:31 +01:00
EWouters
d73bb1dcd6 Ports/links: Update links to version 2.26 2022-06-08 11:40:31 +01:00
EWouters
7f0d4eef76 Ports/libzip: Update libzip to version 1.8.0 2022-06-08 11:40:31 +01:00
EWouters
582192ce91 Ports/libxml2: Update libxml2 to version 2.9.14 2022-06-08 11:40:31 +01:00
EWouters
459c49803b Ports/libtiff: Update libtiff to version 4.4.0 2022-06-08 11:40:31 +01:00
EWouters
411277e5d0 Ports/libiconv: Update libiconv to version 1.17
This also removes the patch that stubbed out `getprogname()` as it is no
longer needed.
2022-06-08 11:40:31 +01:00
EWouters
41bb21985e Ports/libgpg-error: Update libgpg-error to version 1.45 2022-06-08 11:40:31 +01:00
EWouters
accf20c83e Ports/harfbuzz: Update harfbuzz to version 4.3.0 2022-06-08 11:40:31 +01:00
EWouters
9a692aaabc Ports/glib: Update glib to version 2.72.2 2022-06-08 11:40:31 +01:00
EWouters
810f363fc0 Ports/git: Update git to version 2.36.1 2022-06-08 11:40:31 +01:00
EWouters
dea9eff3cd Ports/frotz: Update frotz to version 2.54 2022-06-08 11:40:31 +01:00
EWouters
b3cf5a5df7 Ports/freetype: Update freetype to version 2.12.1 2022-06-08 11:40:31 +01:00
EWouters
b0f8f4ca7d Ports/fio: Update fio to version 3.30 2022-06-08 11:40:31 +01:00
EWouters
202f7c48ed Ports/dialog: Use sha256 to check the downloaded file 2022-06-08 11:40:31 +01:00
EWouters
f24aa0d574 Ports/dialog: Update dialog to version 1.3-20220526 2022-06-08 11:40:31 +01:00
EWouters
2a9a2f17a1 Ports/composer: Update composer to version 2.3.5 2022-06-08 11:40:31 +01:00
EWouters
34eff055b2 Ports/brogue: Update brogue to version 1.11.1 2022-06-08 11:40:31 +01:00
EWouters
6238b3896a Ports/bc: Remove hardcoded HOSTCC
The configure script will pick up the `HOSTCC` via `HOST_CC`, which is
defined in `Ports/.hosted_defs.sh`.
2022-06-08 11:40:31 +01:00
EWouters
49928a5703 Ports/bc: Use sha256 to check the downloaded file 2022-06-08 11:40:31 +01:00
EWouters
1da48b2c0c Ports/bc: Update bc to version 5.2.5 2022-06-08 11:40:31 +01:00
EWouters
3a611ff2cb Ports/libyaml: Add correct workdir
This fixes the `workdir` after fd9125c and uses single quotes for
strings.
2022-06-07 22:23:26 +01:00
stelar7
94bb5a779b LibWeb: Use long long where it was replaced with long 2022-06-06 22:34:45 +01:00
stelar7
3413eb1416 LibWeb: Teach IDLParser about long long 2022-06-06 22:34:45 +01:00
stelar7
96caf3aed1 LibWeb: Adjust implementation of Document::create_event
With this change, it no longer calls TODO() and crashes WebContent
2022-06-06 22:20:30 +01:00
Linus Groh
857c3501df js: Add a loadINI() function for loading INI files :^)
This works the same way as loadJSON, except it loads INI files and
always returns an object.
2022-06-06 20:14:28 +01:00
Tim Schumacher
87da3e0004 tar: Implement support for GNU longname headers 2022-06-06 20:12:30 +01:00
Liav A
b4e409f721 Kernel/Graphics: Drop support for the DisplayConnector write interface
The WindowServer doesn't use this interface anymore and therefore it's
not used by any userspace application, so let's remove this stale method
to ensure we don't have to bother with it anymore.
2022-06-06 20:11:05 +01:00
Liav A
f62cd52d12 WindowServer: Drop support for the DisplayConnector write interface
All DisplayConnectors should support the mmap interface and it should
provide better performance now, so let's just use it and drop support
for the DisplayConnector's write interface from the WindowServer side.
2022-06-06 20:11:05 +01:00
Liav A
e2ed6ef741 Kernel/Graphics: Bring back the mmap interface for DisplayConnectors
The mmap interface was removed when we introduced the DisplayConnector
class, as it was quite unsafe to use and didn't handle switching between
graphical and text modes safely. By using the SharedFramebufferVMObject,
we are able to elegantly coordinate the switch by remapping the attached
mmap'ed-Memory::Region(s) with different mappings, therefore, keeping
WindowServer to think that the mappings it has are still valid, while
they are going to a different physical range until we are back to the
graphical mode (after a switch from text mode).

Most drivers take advantage of the fact that we know where is the actual
framebuffer in physical memory space, the SharedFramebufferVMObject is
created with that information. However, the VirtIO driver is different
in that aspect, because it relies on DMA transactions to show graphics
on the framebuffer, so the SharedFramebufferVMObject is created with
that mindset to support the arbitrary framebuffer location in physical
memory space.
2022-06-06 20:11:05 +01:00
Liav A
3d22917548 Kernel/Memory: Introduce the SharedFramebufferVMObject class
This new type of VMObject will be used to coordinate switching safely
from graphical mode to text mode and vice-versa, by supplying a way to
remap all Regions that were created with this object, so mappings can be
changed according to the given state of system mode. This makes it quite
easy to give applications like WindowServer the feeling of having full
access to the framebuffer device from a DisplayConnector, but still keep
the Kernel in control to be able to safely switch to text console.
2022-06-06 20:11:05 +01:00
Liav A
ec925cbb89 Kernel: Set console active before try to enable graphical mode
We should first enable the VirtualConsole and then enable graphical
mode, to ensure proper display output on the switched-to virtual console
that has been chosen. When de-activating graphical mode, we do the
de-activating first then enable the VirtualConsole to ensure proper text
output on screen.
2022-06-06 20:11:05 +01:00
Liav A
d84d81fc4e Kernel/Graphics: Flush the entire buffer if using VirtIO console
Keeping the exact details of a dirty rectangle doesn't make any sense
when we just flush the entire screen, so just keep a simple boolean
value to know if the screen needs to be flushed or not.
2022-06-06 20:11:05 +01:00
MacDue
6fca2134d2 Mail: Fix mail settings not opening after prompt to configure
If the extra "/bin/MailSettings" argument is passed to
Desktop::Launcher::open() it then is passed as an argument to
MailSettings. This then causes the args parsing to fail leading to
the settings not opening.
2022-06-06 15:14:08 +01:00
MacDue
d116fc01e8 MouseSettings: Get highlight preview cursor via cursor theme Config.ini
Fixes #14200
2022-06-06 11:03:05 +01:00
Karol Kosek
a0bea0b86f LibWeb: Calculate floating elements width using min- and max-width
Previously, floating elements computed the width by only using the
`width` property. Now, they will also use the `min-width` and
`max-width` properties. :^)

The new steps are from "10.4. Minimum and maximum widths: 'min-width'
and 'max-width'" in the CSS 2 spec.

Found it when looking at curl.se.
2022-06-06 09:14:42 +01:00
Idan Horowitz
ea1e5b630d Kernel: Verify system memory info consistency 2022-06-06 01:36:18 +03:00
Idan Horowitz
b4e45a6636 Kernel: Tighten assertion in MM::find_free_user_physical_page
If our book-keeping of user physical pages is correct, we should always
find a physical page, regardless if it was committed or uncommitted.
2022-06-06 01:36:18 +03:00
Idan Horowitz
427f1f7e31 Kernel: Only use uncommitted pages when allocating contiguous user pages 2022-06-06 01:36:18 +03:00
MacDue
b558d899ea MouseSettings: Add tab to configure cursor highlighting
This adds a nice little tab, including a preview, for configuring
the cursor highlighting. Which allows setting the color, size/radius,
and opacity.
2022-06-05 22:42:35 +01:00
MacDue
5fc13e1d53 WindowServer: Add IPC calls for changing the cursor highlighting 2022-06-05 22:42:35 +01:00
MacDue
29d8ec1b18 WindowServer: Implement cursor highlighting
This allows drawing a nice cursor highlight with an arbitrary color
and radius in the compositor. The highlight circle is, of course,
antialiased :^).
2022-06-05 22:42:35 +01:00
MacDue
2a49b58269 WindowServer: Factor out config sync check to sync_config_to_disk() 2022-06-05 22:42:35 +01:00