| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|
|
|
| |
use __linux__ instead of redefined LINUX.
|
|
|
|
|
|
|
| |
BSD defines in the build-system. Furthermore add detection for
FreeBSD using the additional defines by FreeBSD.
Use !Linux where previously a list of BSDs was.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, gettext doesn't work for out-of-tree applications. This is
because GNUnet forcibly set the text domain to "GNUnet" (which
apparently is also incorrect), so applications can't be localized unless
their localizations are distributed in-tree by GNUnet itself.
The attached patch tries to fix this by adding two more fields to
GNUNET_OS_ProjectData: one field is the gettext domain of the
application. As the documentation says, if it's NULL gettext is
disabled so that applications can use their preferred localization
method without having gettext interfering; the other field is
essentially the locale directory, so applications can specify a
different path if they want to, instead of having GNUnet infer it for
them.
Because some GNUnet libraries also use gettext internally (the util lib
is a prominent example), gettext has to be initialized before the
application takes over. I placed such initialization in
`GNUNET_OS_init' and `GNUNET_OS_project_data_get' because those are two
functions which are very likely to be called (especially the second one,
since it's used in `GNUNET_PROGRAM_run2'.) If there is a better place
(or some places where this is not enough) I can change it and resubmit
it for review.
I also changed gnunet-ext to keep it consitent with the patch. In
particular, it adds a header which is required for a successful
compilation, so you might want to at least make that change.
Thank you,
A.V.
P.S. I'm still not subscribed to the list... yet.
|
| |
|
|
|
|
|
| |
(Thread-safe logging isn't really relevant for GNUnet itself, but it is
necessary for the GNU Taler exchange)
|
| |
|
| |
|
|
|
|
| |
do not have memrchr either
|
|
|
|
| |
- Add compat memrchr layer for Win32 and macOS
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds support for key == NULL to the datastore plugins
and replaces the offset argument with a next_uid and random arguments to
increase performance in the key == NULL case.
With the offset argument a datastore plugin would have to count all
matching keys before fetching the key at the right offset, which would
iterate over the entire database in the case of key == NULL.
The offset argument was used in two ways: to iterate over a set of
matching values and to start iteration at a random matching value. The new API
seperates these into two arguments: if random is true it will return a
random matching value, otherwise next_uid can be set to uid + 1 to return the
next matching value.
The random argument was not added to get_zero_anonymity. This function
is used to periodically insert zero anonymity values into the DHT. I
don't think it's necessary to randomize this.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- define a system wide termination signal GNUNET_TERM_SIG. Set this to SIGUSR1 only when building for SuperMUC
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
reduce statistics, topology, nse and resolver heap usage using the same trick we used for arm
|
| |
|
| |
|
|
|
|
| |
integration with Java services
|
| |
|
| |
|
|
|
|
|
|
|
| |
not defined before inclusion of the header) to 64, which means that it's not possible to select on more than 64 sockets at once. This might work during the tests, but in the wild people might want to have more than 60 connections, at least in the transport service.
The patch attached should increase the limit to 1024.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|