Norman Feske
19c13877ca
Replace use of 'typedef' by 'using'
...
Issue #5227
2024-07-02 12:00:11 +02:00
Norman Feske
915adcd0dd
base: remove internal use of format strings
...
Issue #2064
2023-03-13 14:32:38 +01:00
Norman Feske
03047009b1
base: avoid implicit conversions
...
This patch is a prerequisite for compiling the code with
the warnings -Wconversion enabled.
Issue #23
2021-12-17 15:04:44 +01:00
Christian Prochaska
190eafeaa6
base: handle 'unpack_string()' error in 'Arg::string()'
...
Fixes #4100
2021-05-05 11:21:43 +02:00
Norman Feske
b078224753
Replace Genode::strncpy by Genode::copy_cstring
...
- Since Genode::strncpy is not 100% compatible with the POSIX
strncpy function, better use a distinct name.
- Remove bogus return value from the function, easing the potential
enforcement of mandatory return-value checks later.
Fixes #3752
2020-05-27 11:56:45 +02:00
Christian Helmuth
9288fe63ad
arg_string: return default value on parsing error
2019-05-27 14:52:53 +02:00
Norman Feske
29b8d609c9
Adjust file headers to refer to the AGPLv3
2017-02-28 12:59:29 +01:00
Emery Hemingway
f8337b511b
Move Session_label from os to base
...
Session_label constructor now takes a bare string rather than a
serialized argument buffer.
Replace all instances of previous constructor with 'label_from_args'
function.
Issue #1787
2016-07-11 13:09:24 +02:00
Emery Hemingway
d1dc5a9071
utility to retrieve aligned sizes from arg strings
...
Issue #1751
2016-04-25 10:47:52 +02:00
Emery Hemingway
723d9e7784
util/arg_string.h: set_arg_string
...
Convenience function to set x="y" style arguments.
Issue #1861
2016-03-07 16:10:32 +01:00
Emery Hemingway
df0bbe0b0e
ascii_to() utility for boolean values
...
Also, Genode::Arg was adapted to use the new utility for boolean tokens
and strings.
Issue #1648
2015-10-09 16:35:30 +02:00
Norman Feske
d9d65aa86b
base: use reference for ascii_to output argument
...
Issue #1477
2015-04-17 16:13:19 +02:00
Norman Feske
eaac3cc1bd
Revised API documentation
...
This patch curates the API documentation to become suitable for the
functional specificaton, which is partially generated from the header
files.
2015-04-09 16:04:46 +02:00
Norman Feske
e8336acafc
base,os: Coding-style unification
...
Fixes #1432
2015-03-13 12:17:23 +01:00
Norman Feske
ca971bbfd8
Move repositories to 'repos/' subdirectory
...
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.
Issue #1082
2014-05-14 16:08:00 +02:00