14251 Commits

Author SHA1 Message Date
38650149b6 nitpicker: report both xpos,ypos for pointer
Don't omit either attribute whenever the value is 0. If the pointer is
defined, both attributes are reported. This way, the presence/absence
of the attribute expresses the validity of the pointer.

Issue #5370
2025-04-10 14:13:26 +02:00
2e48641c13 nitpicker: don't use fallback if capture present
This patch prevents the use of stale information (bounding box of most
recently closed capture session) unless no capture session is present.
Otherwise, an intermediately but no longer present capture client
(a high-res display at boot positioned at panorama position (0, 0))
would permit the pointer to move at the originally occupied area even
though the current capture client do not capture this whole area.

Issue #5370
2025-04-10 14:13:26 +02:00
5b9a9f4d9e sculpt: update panel width on screen-size change
As the panel dialog's min width is propagated via the menu-view config,
we need to re-generate the runtime config whenever the leitzentrale's
size changes. Otherwise the update merely happens as a side effect of
dynamically adjusting the font size, which does not happen with the
fixed config/fonts file.

Issue #5370
2025-04-10 14:13:26 +02:00
a6ae7c7c58 sculpt: consider screen pos for pointer tracking
When inferring the global pointer position from input events referring
to the leitzentrale, we must take the leitzentrale's panorama position
into account. Otherwise, the hovered display cannot always be reliably
determined.

Issue #5370
2025-04-10 14:13:26 +02:00
8561f7724d fb_sdl: don't treat host warning as error
The sdl2-compat library from version 2.30.54 will issue the warning
"#warning SDL_config.h might be incomplete, good luck"
on unrecognized platforms, introduced with commit f4abaea[1].

Add -Wno-error=cpp for fb_sdl to prevent this warning to be treated as
an error.

Fixes #5476

[1] f4abaea268u
2025-04-10 14:13:26 +02:00
eb443e751f sculpt: support disabling connector manually
via config/fb

Fix #5478
2025-04-10 14:13:26 +02:00
7d60b1f5e7 tool/run/image/uboot: do not tag FIT image
Do not tag FIT image with arch and OS type when creating
FIT image.

Issue genodelabs#5482
2025-04-10 14:13:26 +02:00
8b9d173202 Remove unused 'cbe_autopilot' script
This script was intended to test drive the CBE that was replaced with
the tresor by now.

Issue #5480.
2025-04-10 14:13:26 +02:00
f7412c0df0 Remove unused 'create_iso' script
This script was formerly used to create .iso images but by now the
'image/iso' calls the iso generating program directly.

Issue #5480.
2025-04-10 14:13:26 +02:00
a44e2eed27 Remove obsolete 'rump_cgdconf' script
Using the rumpkernel's CGD device has been unsupported for a while
by now.

Issue #5480.
2025-04-10 14:13:26 +02:00
56dca5eea5 ports: fix assert in libc_integration
Issue #5432
2025-04-10 14:13:26 +02:00
1c342e1bec ports: fix assert in vmm_vm_stress
Issue #5432
2025-04-10 14:13:26 +02:00
60b3619a1b intel/display: handle configuration with no merge
node at all. Fixes a regression. W/o the commit, discrete only
configurations may not work properly, e.g. not showing content on
any display.

Issue #5415
2025-04-10 14:13:26 +02:00
f9eea846fa ldso: check e_machine of ELF binaries
Check if e_machine matches architecture the linker was build for.
2025-04-10 14:13:26 +02:00
f88a61a6a0 wg_fetchurl.run: remove lwip labels from nic_router
lwIP does not provide default Nic::Connection labels anymore.

issue #5471
2025-04-10 14:13:26 +02:00
e985e1c7b1 nic_bridge.run: use lxip and lwip
* use both IP-stacks with and without labels
* adjust matching rules

issue #5471
2025-04-10 14:13:26 +02:00
92086cce68 genode_c_api/socket: add label to socket init
Add label argument to genode_socket_init that can be/is used to label
possible connecions.

issue #5471
2025-04-10 14:13:26 +02:00
a7bd01bd4a stdcxx: define _GTHREAD_USE_MUTEX_INIT_FUNC
Fixes #5473
2025-04-10 14:13:25 +02:00
8375a3fc2f netperf: add support for UDP tests
Add UDP forwarding rules to nic_router

issue #5471
2025-04-10 14:13:25 +02:00
fce286fbdd dde_linux: remove test/vfs_lxip
The test is outdated and not working anymore.

issue #5471
2025-04-10 14:13:25 +02:00
ed77207963 os: move vfs/lxip to vfs/ip from dde_linux
Because the sources are now used by lwip/lxip, make them accessible in a
public place.

issue #5471
2025-04-10 14:13:25 +02:00
9881ba1364 libports: lwip with socket C-API
Implement socket C-API and move lwip specific parts present in vfs_lwip
to the library.

issue #5471
2025-04-10 14:12:38 +02:00
e46bc6159d test/ip_raw: add support for lwip
Add lwIP requiremnts to the ip_raw test.

issue #5471
2025-04-10 14:12:38 +02:00
836caa299d lxip_raw: split test to support more IP stacks
issue #5471
2025-04-10 14:12:38 +02:00
f0a75b75fb lxip: support link_state handling
* (re-)configure address when link state goes up
* propagate link state to Linux code

issue #5471
2025-04-10 14:12:38 +02:00
6a0c9f50ea lxip: support wakeup remote and socket_info
* instead of sending packet-stream signals for each possible rx/tx packet
  via genode_nic_client_notify_peers, call the wakeup_remote callback
  which implements the Vfs::Remote_io interface in vfs/ip.
  genode_nic_client_notify_peers will only be called in case the vfs goes idle.

  measured speed up: TX x9.1, RX x1.6

* retrieve genode_socket_info from Linux ipconfig.c

issue #5471
2025-04-10 14:12:38 +02:00
14ae2cc846 vfs_lxip: use socket_info for address retrieval
Replace Linux specfic address information (ip, netmask, etc) with
C-API's socket_info

issue #5471
2025-04-10 14:12:38 +02:00
6cefd1e16c vfs_lxip: implement Vfs::Remote_io
This is required for NIC-session batching and triggers only when VFS
user goes idle.

issue #5471
2025-04-10 14:12:38 +02:00
67c7313f5e genode_c_api/nic_client: add link_state support
Support for the link state signal was missing.

issue #5471
2025-04-10 14:12:38 +02:00
488fcfd1a3 genode_c_api/socket: add wakeup_remote + sock_info
* add genode_socket_wakeup_remote and genode_socket_register_wakeup
  which are used to support Vfs::Remote_io on the IP stack side

* add genode_socket_info in order to retrieve the address configuration
  from the IP stack

issue #5471
2025-04-10 14:12:38 +02:00
0e48ea08cf os: move genode_c_api/nic_client from lxip to os
The Nic-client C-API is based on the Uplink C-API.

issue #5471
2025-04-10 14:12:37 +02:00
a57ebc55fa os: move genode_c_api/socket.h from lxip to os
Move lxip local socket C-API to os/include/genode_c_api

issue #5471
2025-04-10 14:12:37 +02:00
503f9fae7a libports: move vfs_lwip to vfs_legacy_lwip
* src/lib/lwip -> legacy_lwip
* src/lib/vfs/lwip -> legacy_lwip
* recipes/src/vfs_lwip -> vfs_legacy_lwip
* recipes/api/lwip -> legacy_lwip

issue #5471
2025-04-10 14:12:37 +02:00
720488c49b test-pthread: add pseudo rtc to prevent warning 2025-04-10 14:12:37 +02:00
5240de481f libc: use monitor for blocking in read_sockaddr_in
The suspend mechanism is obsolete, use monitor call to wait for data for
blocking sockets. The old implementation using 'suspend' will not block for
pthreads because the 'suspend' functor issues a 'monitor' call itself.

issue #5471
2025-04-10 14:12:37 +02:00
8b5b5cda76 vfs/xoroshiro: add PRNG plugin using Xoroshiro128+
This plugin provides a PRNG based on the Xoroshiro128+ algorithm
that reseeds itself after a specific amount of state was consumed.

For more detailed information please take a look at its README in
'repos/os/src/lib/vfs/xoroshiro/README'.

Fixes #5407
2025-04-10 14:12:37 +02:00
c053c46fae libusb: avoid active polling of control URBs
Some control URBs have to be handled synchronously within the
libusb, to meet the semantics of get_device_descriptor, set_interface,
etc., but this was using the VFS libusb plugin in a way that it
polled actively during the control URB being active. This commit
removes the not desired polling behaviour.

Fix genodelabs/genode#5469
2025-04-10 14:12:21 +02:00
f4d5e480e3 gems: use 'assert'-proc in run scripts
Issue #5432
2025-04-10 14:12:21 +02:00
d5ff0877d3 dde_rump: use 'assert'-proc in run scripts
Issue #5432
2025-04-10 14:12:21 +02:00
1e518cb606 dde_linux: use 'assert'-proc in run scripts
Issue #5432
2025-04-10 14:12:20 +02:00
4f23c797e1 dde_bsd: use 'assert'-proc in run scripts
Issue #5432
2025-02-28 14:41:46 +01:00
1a7c1d69b8 base-okl4: use 'assert'-proc in run scripts
Issue #5432
2025-02-28 14:41:46 +01:00
150c8609f8 News item for version 25.02 2025-02-28 12:48:42 +01:00
910e8993c5 version: 25.02 25.02 2025-02-28 12:02:46 +01:00
9bb57ec7e4 Release notes for version 25.02 2025-02-28 11:54:15 +01:00
2d89b53b0c depot: update recipe hashes 2025-02-27 12:53:40 +01:00
56cb822c86 base-hw: don't call Hw_vcpu::run() from the constructor
On x86_64, calling Hw_vcpu::run() will cause a startup exit that is
signaled to the VMM. The VMM will subsequently call with_state().
When Hw_vcpu::run() is called from the Hw_vcpu constructor, this can
lead to a situation where the VMM calls with_state() on a vCPU that
isn't fully constructed yet.

The VMM library API requires that the vCPU starts up in order to emit a
startup exit at construction. Call Hw_vcpu::run() from the
Vm_connection::Vcpu constructor instead of calling run() from the
Hw_vcpu constructor to avoid running a native vCPU that isn't fully
constructed yet.

Fixes #5442
2025-02-27 12:53:40 +01:00
cd40a5be96 tool: have_cmd_arg -> have_cmd_switch (run, autopilot, dts)
Issue #5432
2025-02-27 12:53:40 +01:00
62b44f2fbf genode_c_api/usb: correct interface setting
Remove regression in Session_component::set_interface by always iterating
over all interfaces to potentially change each alternate setting (from
passive to active and vice versa).

Ref genodelabs/genode#5349
Fix genodelabs/genode#5467
2025-02-27 12:53:40 +01:00
472112fe0d qt6_declarative: install libqtqmlcoreplugin.lib.so
Fixes #5466
2025-02-27 12:53:40 +01:00