Josef Söntgen
0fa9a0dda7
sdl: adapt test programm
...
Issue #2507 .
2017-08-30 09:59:59 +02:00
Sebastian Sumpf
89cb3aa238
mesa-demos: add more examples
...
Issue #2507 .
2017-08-30 09:59:58 +02:00
Sebastian Sumpf
dbeb7410f8
mesa: adjust i965 EGL backend for Gpu session
...
Issue #2507 .
2017-08-30 09:59:58 +02:00
Josef Söntgen
947235ee34
drm: use Gpu session for i965 driver
...
Issue #2507 .
2017-08-30 09:59:58 +02:00
Emery Hemingway
604ff9ca2c
msync and Sytem V semaphore dummies
...
Ref #2467
2017-08-30 09:59:57 +02:00
Emery Hemingway
c2c47d2e35
libc: silence close() failure messages
...
Return EBADF but do not log an error for invalid descriptors.
Ref #2467
2017-08-28 16:49:51 +02:00
Emery Hemingway
2c4f0e5505
port of PCG random number generator library
...
http://www.pcg-random.org/
http://www.pcg-random.org/using-pcg-c.html
Ref #2477
Fix #2499
2017-08-28 16:49:51 +02:00
Christian Prochaska
2e62d2d4be
libc: construct 'Timeout' object on-demand for pthreads
...
Fixes #2502
2017-08-28 16:49:45 +02:00
Christian Prochaska
f5afd28d1f
test/libc_vfs_block: add missing 'Libc::with_libc()'
...
Fixes #2500
2017-08-28 16:49:45 +02:00
Christian Prochaska
1a3a302708
test/moon: add missing 'Libc::with_libc()'
...
Fixes #2501
2017-08-28 16:49:44 +02:00
Emery Hemingway
ead59325c7
lib/vfs/fatfs: sync after every write
...
Ref #2410
2017-08-28 16:49:44 +02:00
Sebastian Sumpf
ff935ee1b0
libports: Mesa demos + adjust Qt5
...
* Adjust Qt5 to new Mesa version
* Added eglgears
* Adjust Mesa library build target
fixes #2488
2017-08-28 16:49:43 +02:00
Sebastian Sumpf
66db2ee54e
libports: Mesa 11.2.2
...
OpenGL 4.5 with software and i965 rendering back ends.
issue #2488
2017-08-28 16:49:43 +02:00
Sebastian Sumpf
dbff692c86
libports: DRM library 2.4.65
...
issue #2488
2017-08-28 16:49:42 +02:00
Sebastian Sumpf
61ae2e5b80
libc-plugin: make fd allocator thread safe
...
issue #2488
2017-08-28 16:49:42 +02:00
Sebastian Sumpf
17df52bfbd
libc: allow RTLD_GLOBAL for dlopen
...
issue #2488
2017-08-28 16:49:42 +02:00
Christian Prochaska
b0935ef9b2
VFS: nonblocking interface
...
The VFS library can be used in single-threaded or multi-threaded
environments and depending on that, signals are handled by the same thread
which uses the VFS library or possibly by a different thread. If a VFS
plugin needs to block to wait for a signal, there is currently no way
which works reliably in both environments.
For this reason, this commit makes the interface of the VFS library
nonblocking, similar to the File_system session interface.
The most important changes are:
- Directories are created and opened with the 'opendir()' function and the
directory entries are read with the recently introduced 'queue_read()'
and 'complete_read()' functions.
- Symbolic links are created and opened with the 'openlink()' function and
the link target is read with the 'queue_read()' and 'complete_read()'
functions and written with the 'write()' function.
- The 'write()' function does not wait for signals anymore. This can have
the effect that data written by a VFS library user has not been
processed by a file system server yet when the library user asks for the
size of the file or closes it (both done with RPC functions at the file
system server). For this reason, a user of the VFS library should
request synchronization before calling 'stat()' or 'close()'. To make
sure that a file system server has processed all write request packets
which a client submitted before the synchronization request,
synchronization is now requested at the file system server with a
synchronization packet instead of an RPC function. Because of this
change, the synchronization interface of the VFS library is now split
into 'queue_sync()' and 'complete_sync()' functions.
Fixes #2399
2017-08-28 16:49:38 +02:00
Emery Hemingway
2d8bfd8569
pthread: do not error from pthread_condattr_setclock dummy
...
Do not regard a fake condattr object produced by pthread_condattr_init
as invalid when passed to no-op dummies.
Fix #2471
2017-08-17 11:04:23 +02:00
Emery Hemingway
31caae4765
lib/vfs/fatfs: FAT file-system plugin using FatFS library
...
See repos/libports/src/lib/vfs/fatfs/README and
/home/user/repo/genode/repos/libports/run/libc_vfs_fat.run for
documentation.
Ref #2410
2017-08-17 11:04:23 +02:00
Emery Hemingway
6401d52e61
test/libc_vfs: interpret EPERM to indicate missing symlink support
...
Ref #2462
2017-08-17 11:04:23 +02:00
Emery Hemingway
f09fc4a5a2
Update FatFS port to version 0.13
...
- Update FatFS port from 0.07e to 0.13
- Multi-device support
- Basic test at run/fatfs
- Adaption of existing components
Note, ffat is now consistently renamed to fatfs.
Ref #2410
2017-08-17 11:04:22 +02:00
Christian Helmuth
473aa3454d
Move libc file-system test into test/libc_vfs
...
Preparation for removing ffat library.
Issue #2410
2017-08-17 11:04:22 +02:00
Emery Hemingway
2deddf1e6d
Check for symlink target length errors
...
Check for symlink length errors at the VFS library and the ram_fs and
vfs servers.
Fix #2462
2017-08-17 11:04:21 +02:00
Emery Hemingway
c5c9d71df3
libc: track O_ACCMODE flags from open
...
Fix #2457
2017-08-17 11:04:19 +02:00
Alexander Senier
87c19cb11a
libc: handle O_CREAT|O_NOFOLLOW in open correctly
...
We return ELOOP if the file already exists on
open(...,O_CREAT|O_NOFOLLOW).
Fixes #2458
2017-08-17 11:04:19 +02:00
Christian Prochaska
6a43f3c11a
file system: use Id_space instead of Node_handle_registry
...
Fixes #2436
2017-08-17 10:59:43 +02:00
Alexander Boettcher
f48e71e070
acpica: use platform_info for rsdt/xsdt lookup
...
Issue #2242
2017-06-29 11:59:50 +02:00
Christian Helmuth
c9db94313c
libc: improve VFS error handling
2017-06-19 12:35:57 +02:00
Christian Helmuth
c223f74ce5
libc: support getsockopt(SO_TYPE)
2017-06-19 12:35:57 +02:00
Christian Prochaska
a6db86b4dc
fuse_fs: handle errors on mkdir correctly
...
Fixes #2449
2017-06-19 12:35:56 +02:00
Christian Prochaska
a1b1525ec1
lx_fs: handle errors on mkdir correctly
...
Fixes #2444
2017-06-19 12:35:55 +02:00
Emery Hemingway
b814188d7a
Remove references to global heap in SDL audio
...
Ref #1987
2017-05-31 13:16:24 +02:00
Christian Helmuth
854b70fd7d
Prevent warning about "narrowing conversion"
2017-05-31 13:16:23 +02:00
Christian Prochaska
99937a6267
qt5: update to version 5.8.0
...
Fixes #2424
2017-05-31 13:16:23 +02:00
Christian Helmuth
8bd0efced6
Remove obsolete RAM/CAP services from run scripts
...
Adapted launchpad and also the rm_fault and resource_request tests.
Issue #2407
2017-05-31 13:16:22 +02:00
Stefan Kalkowski
632ef28463
os: removal of deprecated os/config.h ( fix #2431 )
2017-05-31 13:16:22 +02:00
Christian Prochaska
e7b1cb4a27
qt5: update to version 5.7.1
...
Issue #2424
2017-05-31 13:16:20 +02:00
Christian Prochaska
250fd42368
SDL: use libc time functions
...
Fixes #2415
2017-05-31 13:16:19 +02:00
Christian Prochaska
a507928cde
qt5: fix deprecated warnings
...
Fixes #2427
2017-05-31 13:16:19 +02:00
Christian Prochaska
71c5afc3db
libc_pipe: fix deprecated warnings
...
Fixes #2426
2017-05-31 13:16:18 +02:00
Christian Prochaska
040d0c9e42
arora: fix Nitpicker plugin demo
...
Fixes #2425
2017-05-31 13:16:18 +02:00
Christian Prochaska
85919d29e2
qt5: update to version 5.6.2
...
Issue #2424
2017-05-31 13:16:18 +02:00
Alexander Boettcher
f865b71f27
libc: fix expired-timer calculation
2017-05-31 13:16:17 +02:00
Christian Prochaska
a304cfca9d
ffat_fs: call 'exec_static_constructors()'
...
Fixes #2421
2017-05-31 13:16:17 +02:00
Emery Hemingway
5f27c7b9eb
initial Nim compiler and standard library support
...
https://nim-lang.org/
Fix #1879
2017-05-31 13:16:16 +02:00
Josef Söntgen
f66b828a97
curl: use select instead of poll
...
The way curl interacts with our poll() emulation on top of
select() leads to problems while establishing a connection.
2017-05-31 13:16:16 +02:00
Josef Söntgen
b361de8379
libc: return true on writefd checks in select on sockets
...
Instead of files we have to check this condition on sockets but
technically our sockets are regular files as well...
2017-05-31 13:16:15 +02:00
Josef Söntgen
dbec8d7710
libc: pretend to support SO_ERROR
...
There are programs, e.g. curl, that check if a connection was
established successfully by looking at SO_ERROR. Pretend that
the getsockopt() call was executed to keep them happy. If they
try to use a broken connection, the other socket functions will
bail.
2017-05-31 13:16:15 +02:00
Josef Söntgen
028aeafabe
libc: only return requested events in poll()
...
Even if the underlying select() reports events, only report those
to the caller that were initially requested.
2017-05-31 13:16:15 +02:00
Norman Feske
53253ba422
base: add reinit functionality to 'Env'
...
The 'reinit' and 'reinit_main_thread' methods are needed to implement
fork in Noux. Until now, they were provided by the 'Deprecated_env'
only.
2017-05-31 13:16:14 +02:00