Commit Graph

8705 Commits

Author SHA1 Message Date
a4d3046cbd Construct Terminal_session within with_libc
The "pipe" procedure can only be safely called within with_libc.

Fix #3408
2019-06-05 16:49:04 +02:00
b085e3e03d Construct Terminal_session within with_libc
The "pipe" procedure can only be safely called within with_libc.

Fix #3408
2019-06-05 16:00:52 +02:00
Josef Söntgen
f7e7dc4fc3 sculpt: document version string constraint
Issue #3403.
2019-06-05 15:18:34 +02:00
Tomasz Gajewski
6675776f0d sculpt doc: be more precise about the use of GPT
Information about GPT being required for permanent sculpt
customizations

Fixes #3381
2019-06-05 14:50:12 +02:00
Christian Helmuth
6e771d4dcc terminal: modernize color palette
The terminal now got a configurable palette for 16 colors (8 normal, 8
bright/bold).

  <config>
    <palette>
      <color index="0" value="#000000"/> <!-- black is real black -->
      <color index="8" value="#101010"/> <!-- bright black stands out a bit -->
    </palette>
  </config>

Note, the old (undocumented) <color index="..." bg="..."> configuration
scheme is no longer supported.

Also, this commit adds a pleasing default palette that ensures
readability of ViM's standard hightlighting.

Fixes #3406
2019-06-05 14:47:13 +02:00
118b320647 hashes 2019-06-05 14:10:44 +02:00
4e71bb3821 hashes 2019-06-05 13:34:16 +02:00
4d10226087 fixup! Add write completion loop to VFS server and libc (lxIP)
Add handles to _io_progress_waiters queue after partial write.

Ref #2971
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
4890393cd6 Remove rust from depot_autopilot
Never have I seen a successful rust compile.
2019-06-05 12:00:25 +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
f01065ad09 nova: provide missing Rpc_entrypoint::is_myself()
The symbol is implemented by the common implementation but was missing
from the nova-specific fork of rpc_entrypoint.cc.
2019-06-04 17:11:18 +02:00
Stefan Kalkowski
18c8b2c59b foc: update to current github version (fix #3402)
Instead of hosting our outdated own fork, this commit now uses kernkonzept's
nowadays available github source repositories. This hopefully simplifies
updates, or cherry-picking single fixes.
2019-06-04 16:21:41 +02:00
Christian Helmuth
975762971f Warn about questionable call of wait_and_dispatch_one_io_signal
Issue #2399
2019-06-04 15:59:08 +02:00
Christian Helmuth
aefeb8a099 run: improve error message on missing recipe 2019-06-04 15:48:10 +02:00
Christian Helmuth
8f48d8209a qt5: handle keypad-enter key 2019-06-04 15:13:42 +02:00
Norman Feske
088c3500c7 ttf_font: prevent out-of-bounds access
Thanks Alexander Böttcher for investigating.

Fixes #3393
2019-06-04 14:27:02 +02:00
7f7ff98e15 depot: move ehmry depot URL
Fix #3400
2019-06-04 14:09:25 +02:00
Christian Helmuth
8fbf31c641 fixup "qt5: enable capslock/numlock in test run scripts" 2019-06-04 13:46:50 +02:00
500524fb05 Move ehmry depot URL 2019-06-04 13:31:25 +02:00
Christian Helmuth
57c778d791 qt5: enable capslock/numlock in test run scripts 2019-06-04 12:07:05 +02:00
Christian Helmuth
09ff20df6b vbox5: rewrite (truncate) nitpicker session label
The shape-report label matching depends on the truncated label, i.e.,
Nitpicker label "wm -> vm" matches, while "wm -> vm -> vbox" does not.
2019-06-04 10:56:31 +02:00
Alexander Boettcher
72a6066548 driver_manager: fix vesa_fb_drv binary usage
Fixes #3394
2019-06-03 15:42:45 +02:00
Alexander Boettcher
57567bf9b4 sculpt: add VM service
Fixes #3396
2019-06-03 15:31:07 +02:00
Alexander Boettcher
c9c6285a0c foc: add core threads as trace source
Fixes #3390
2019-06-03 15:29:57 +02:00
Alexander Boettcher
9933d531e5 foc: add idle times as trace source
Issue #3390
2019-06-03 15:29:40 +02:00
Christian Prochaska
8cc1b92810 gdb_monitor: disable pagination earlier
Fixes #3397
2019-06-03 15:27:48 +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
32dd677dfc nvme_drv: only set the first INTMS bit on reset
Since we only set the first INTMC bit a check in QEMU will fail
and we don't get interrupts.

Fixes #3369.
2019-06-03 11:53:30 +02:00
Josef Söntgen
d60c28f9c2 nvme_drv: only wait for first admin cmd
Leave the loop if we processed the cmd we were looking for. That
should fix the delay users notice in Sculpt when NVMe is used.

Issue #3369.
2019-06-03 11:53:09 +02:00
Josef Söntgen
58470ee330 nvme_drv: adapt run script to block_tester config
Issue #3369.
2019-06-03 11:52:57 +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
Martin Stein
b7522a9047 NOT FOR MASTER "depot_autopilot.run: raise depot autopilot quota"
Ref #3238
2019-05-29 14:19:04 +02:00
Martin Stein
bdf72bded5 NOT FOR MASTER "depot_autopilot: list log matches"
Ref #3238
2019-05-29 14:19:04 +02:00
Martin Stein
dd13fefb73 NOT FOR MASTER "depot_autopilot: hex dump of failed test log"
Ref #3238
2019-05-29 14:19:03 +02:00
Christian Helmuth
c182d1d94f sculpt: version 19.05 2019-05-29 14:19:03 +02:00
df040e5dd6 hashes 2019-05-29 13:35:30 +02:00
34b562fd14 fixup! Remove libc_terminal plugin (Vbox depot recipe)
Ref #3378
2019-05-29 13:28:48 +02:00