Commit Graph

1126 Commits

Author SHA1 Message Date
5db5d7a803 NixOS tweaks 2019-06-17 22:53:40 +02:00
d63e7e2e29 fixup! New VFS plugin for emulating POSIX pipes (Use pthread_join in test/libc_pipe)
Ref #2303
2019-06-17 15:31:33 +02:00
6773520a6d Merge remote-tracking branch 'fork/vfs_pipe' into staging 2019-06-17 15:28:28 +02:00
08ab0cf6fd Merge branch 'shebang' into staging 2019-06-17 12:38:14 +02:00
f027698e34 Use #!/usr/bin/env ... shebangs
Fix #3421
2019-06-17 12:32:43 +02:00
51f9fd15b3 Merge remote-tracking branch 'genodelabs/staging' into staging 2019-06-17 11:32:07 +02:00
Sebastian Sumpf
f1be10f751 depot_autopilot: limit dynamic to 286 MB
* also set test-libc to 256 MB (seems to be enough)
* fixes memory issues on platforms with 512 MB RAM

issue #3407
2019-06-13 14:45:01 +02:00
Sebastian Sumpf
c33a095f98 jitterentropy: ARM 64-Bit version
issue #3407
2019-06-13 14:45:01 +02:00
Sebastian Sumpf
26ecd2f8d2 stdcxx: make linkable for ARM 64-Bit
'typeinfo for std::invalid_argument' was not found when using 'V' (weak
object)

issue #3407
2019-06-13 14:45:00 +02:00
Sebastian Sumpf
ff8ca9ad2e libc: add ARM-64 bit to recipe
issue #3407
2019-06-13 14:45:00 +02:00
Christian Helmuth
3c4c460f82 depot: update recipe hashes 2019-06-13 13:40:37 +02:00
Christian Helmuth
e1e67d8330 Increase timeouts in test-libc* pkgs
These tests often fail with Qemu on aged hosts because of the tight
timeouts.
2019-06-13 12:22:50 +02:00
Johannes Kliemann
b55358c535 ada-runtime: fix exception handling on ARM
ref #3395
2019-06-13 12:22:49 +02:00
Christian Helmuth
45f3ccc42a vfs: fix empty-node handling in inline fs
Now <inline></inline> as well as <inline/> are supported.
2019-06-13 12:22:49 +02:00
43315444a8 Libc: wrap VFS sync's in VFS_THREAD_SAFE
Move the _vfs_sync implementation from vfs_plugin.h to vfs_plugin.cc and
wrap all VFS access in the VFS_THREAD_SAFE macro.

Syncing must be made thread safe because it often happens when closing
files and may require suspending the current thread for I/O signal
dispatching.

Ref #3409
2019-06-13 12:22:49 +02:00
Christian Helmuth
1f77f37310 qt5: handle keypad-enter key 2019-06-13 12:17:32 +02:00
Christian Helmuth
00daecf838 qt5: enable capslock/numlock in test run scripts 2019-06-13 12:17:31 +02:00
Christian Prochaska
8dd391371c libusb: show "device is plugged" message only when plugged
Fixes #3399
2019-06-13 12:17:31 +02:00
Josef Söntgen
6b48a08697 libc: silence noncritical dummy implementations
* isatty

  For the moment it is not possible to determine if the fd belongs to a
  tty. For whatever reasons, the check is done multiple times, e.g.
  'tclsh', which will spam the LOG.

* sysctl(HW_FLOATINGPT)

  FPU is enabled on all our platforms, so return true.

Fixes #3389.
2019-06-13 12:17:31 +02:00
dc8a2ec523 Remove libc_terminal
Fix #3378
2019-06-13 12:13:40 +02:00
Christian Prochaska
46f89d143b libports: ncurses: disable relative cursor movement
Fixes #3380
2019-06-13 12:13:40 +02:00
8a4adceaf0 Add note on PCAP dump to run/fetchurl.inc
Ref #3388
2019-06-13 12:13:40 +02:00
bbf7a6230e VFS lwIP: restart DHCP with link-state changes
Start and stop the DHCP state machine as the Nic link-state changes.
Invoke the link state handler during configuration rather than assume
that in the case of a downed link lwIP will defer DHCP until the link
comes up.

Additionally, support static DNS configuration via the "nameserver"
configuration attribute.

Fix #3388
2019-06-13 12:13:39 +02:00
24845a650c Libc: wrap VFS sync's in VFS_THREAD_SAFE
Move the _vfs_sync implementation from vfs_plugin.h to vfs_plugin.cc and
wrap all VFS access in the VFS_THREAD_SAFE macro.

Syncing must be made thread safe because it often happens when closing
files and may require suspending the current thread for I/O signal
dispatching.

Ref #3409
2019-06-06 12:30:02 +02:00
51fb95ab8e Merge branch 'staging' of github.com:genodelabs/genode into staging 2019-06-06 11:56:47 +02:00
882799bb93 hashes 2019-06-06 11:44:36 +02:00
4e71bb3821 hashes 2019-06-05 13:34:16 +02:00
12c8f8177e fixup! Add write completion loop to VFS server and libc (lwIP)
Remove use of "wait_and_dispatch_one_io_signal" during write. Use the
TCP ACK callback to wake blocked writers instead.

Ref #2971
2019-06-05 13:34:16 +02:00
94af2fc5d1 fixup! New VFS plugin for emulating POSIX pipes (recipe, README)
Ref #2303
2019-06-05 13:34:08 +02:00
7e1708a1b1 hashes 2019-06-05 12:01:19 +02:00
3757fa0c7d New VFS plugin for emulating POSIX pipes
Add a new plugin for creating pipes between pairs of VFS handles. It is
intended to replace the libc_pipe plugin, one of the last remaining libc
plugins.

In contrast to the libc_pipe plugin, this plugin defers cross-handle
notification until I/O signal handling rather than block and unblock
readers using a semaphore. This is a performance regression in the case
of multiple threads blocking on a pipe, but shall be an intermediate
mechanism pending renovations within the libc VFS and threading layers.
As a side effect, threads blocked on a pipe might not be resumed until
the main thread suspends and dispatches I/O signals.

The "test-libc_pipe" test has been adjusted to use the VFS pipe plugin
and tests both local pipes and pipes hosted remotely in the VFS server.

Fix #2303
2019-06-04 19:09:45 +02:00
efe39ab077 Add write completion loop to VFS server and libc
Loop at the VFS server and libc VFS plugin on partial writes. This
implies that the VFS server will not process successive packets for an
open node until a write packet has been processed completely. The libc
will now supspend and reissue write requests to the VFS until the write
has been submitted completely.

Ref #2303
Fix #2971
2019-06-04 18:22:48 +02:00
f6d22088f2 hashes 2019-06-04 18:18:20 +02:00
Josef Söntgen
98b0cb6aeb fixup 'libc: silence noncritical dummy implementations' (sigaction)
Issue #3389.
2019-06-04 17:56:15 +02:00
Christian Helmuth
8f48d8209a qt5: handle keypad-enter key 2019-06-04 15:13:42 +02:00
Christian Helmuth
8fbf31c641 fixup "qt5: enable capslock/numlock in test run scripts" 2019-06-04 13:46:50 +02:00
Christian Helmuth
57c778d791 qt5: enable capslock/numlock in test run scripts 2019-06-04 12:07:05 +02:00
Christian Prochaska
31e97c3a6e libusb: show "device is plugged" message only when plugged
Fixes #3399
2019-06-03 15:26:24 +02:00
Josef Söntgen
acd6b61d09 fixup 'libc: silence noncritical dummy implementations' (signal)
Issue #3389.
2019-06-03 11:50:41 +02:00
Josef Söntgen
c8d6f42a1f fixup 'libc: silence noncritical dummy implementations' (ieee754 test)
Issue #3389.
2019-06-03 11:49:48 +02:00
04f83b22a4 Merge remote-tracking branch 'genodelabs/staging' into staging 2019-06-03 09:54:59 +02:00
Josef Söntgen
178080cf26 libc: silence noncritical dummy implementations
* isatty

  For the moment it is not possible to determine if the fd belongs to a
  tty. For whatever reasons, the check is done multiple times, e.g.
  'tclsh', which will spam the LOG.

* sysctl(HW_FLOATINGPT)

  FPU is enabled on all our platforms, so return true.

Fixes #3389.
2019-05-29 14:22:25 +02:00
2027d9b4d3 Remove libc_terminal
Fix #3378
2019-05-29 14:19:04 +02:00
Christian Prochaska
336704ce6b libports: ncurses: disable relative cursor movement
Fixes #3380
2019-05-29 14:19:04 +02:00
cf5230d4ba Add note on PCAP dump to run/fetchurl.inc
Ref #3388
2019-05-29 14:19:04 +02:00
74e17bd0cf VFS lwIP: restart DHCP with link-state changes
Start and stop the DHCP state machine as the Nic link-state changes.
Invoke the link state handler during configuration rather than assume
that in the case of a downed link lwIP will defer DHCP until the link
comes up.

Additionally, support static DNS configuration via the "nameserver"
configuration attribute.

Fix #3388
2019-05-29 14:19:04 +02:00
df040e5dd6 hashes 2019-05-29 13:35:30 +02:00
91d0e521a5 Merge commit '1823d37' into staging 2019-05-29 13:27:04 +02:00
Christian Helmuth
2b183f9497 depot: update recipe hashes 2019-05-29 10:20:52 +02:00
Sebastian Sumpf
4b72bbaa57 libc: mktime signed overflow
issue #3289
2019-05-29 10:20:52 +02:00