aboutsummaryrefslogtreecommitdiff
path: root/src/util/os_installation.c
Commit message (Collapse)AuthorAge
* spell checkingChristian Grothoff2020-11-14
|
* Allow applications to change ProjectData with only some fieldsAlessio Vanni2020-10-11
| | | | | | | | | | | Some simple applications (e.g. thin clients) might want to change the ProjectData structure (e.g. for gettext), but might not meet all the requirements needed to fill it out completely. A thin client might not provide any library, making the `libname' field useless. More importantly, not every application requires a configuration: some of them, especially clients, might simply use command line options to drive their behaviour.
* GNUNET_free_non_null -> GNUNET_freeChristian Grothoff2020-07-05
|
* Make REQUEST_AGPL messages configurable and add handler by defaultAlessio Vanni2020-05-27
| | | | | | | | | | | | | | | | | | | This makes two changes: * Add a field to `struct GNUNET_OS_ProjectData' containing a URL (as a string) pointing to the source code of the application. * If the field is not NULL, add a handler for the REQUEST_AGPL messages sending the specified URL to the client. The handler is added both in client-service communications (i.e. local services that don't make requests to other peers in the network) and in peer-peer communications (CADET.) This way, any client (local or remote with CADET) can request the source code location using a standardized mechanism instead of writing ad-hoc solutions (unless the service/peer explicitly specifies a NULL pointer.) Signed-off-by: Christian Grothoff <christian@grothoff.org>
* fix leakChristian Grothoff2020-01-17
|
* use ifdef instead of if for __linux__ and BSDng02019-11-20
|
* follow-up to 7c14b80a011e9e99b1cef0bfd96bae364edd5663:ng02019-11-20
| | | | use __linux__ instead of redefined LINUX.
* tighten formatting rulesChristian Grothoff2019-10-31
|
* global reindent, now with uncrustify hook enabledChristian Grothoff2019-10-05
|
* remove CYGWIN codeblocks, drop vendored Windows openvpn, drop win32 specific ↵ng02019-09-10
| | | | | | | | | files. configures and builds okay. testsuite wasn't checked, will be checked. diff including the plibc removal is now around 14370 lines of code less.
* Remove win32 and cygwin supportng02019-09-09
|
* plibc removal: sscanf, win32 socket correctionsng02019-09-09
|
* uncrustify as demanded.ng02019-09-08
|
* first step to remove plibcng02019-09-06
|
* fix logging issue reported by RaphaelChristian Grothoff2019-09-05
|
* Added patch by AV from ML:Schanzenbach, Martin2019-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* pathes to better support third party extensions from ML. Thanks to Alessio VanniSchanzenbach, Martin2019-08-08
|
* constructing path now works with SUID_BINARY_PATH = ""lurchi2019-07-03
|
* fix warninglurchi2019-06-29
|
* introduce GNUNET_OS_get_suid_binary_pathlurchi2019-06-29
|
* src: for every AGPL3.0 file, add SPDX identifier.ng02019-01-14
|
* paragraph for gnunet devs that don't know how to use the webpsyc://loupsycedyglgamf.onion/~lynX2018-06-07
|
* glitch in the license text detected by hyazinthe, thank you!psyc://loupsycedyglgamf.onion/~lynX2018-06-07
|
* first batch of license fixes (boring)psyc://loupsycedyglgamf.onion/~lynX2018-06-05
|
* fix misc compiler warningsChristian Grothoff2018-01-04
|
* Merge branch 'master' of gnunet.org:gnunettg(x)2017-02-24
|\
| * fix indentation, typo, improve loggingChristian Grothoff2017-02-23
| |
* | util: add component name to LOG macros; util/client: log incoming message ↵tg(x)2017-02-24
|/ | | | type/size/source for gnunet-logread
* -avoid calling memcpy() with NULL argument, even if len is 0Christian Grothoff2016-07-08
|
* implementing new scheduler shutdown semanticsChristian Grothoff2016-04-30
|
* Allow GNUNET_BASE_CONFIG to be customized.Florian Dold2016-04-22
| | | | | Needed for GNU Taler.
* support overriding GNUNET_DEFAULT_USER_CONFIG_FILEChristian Grothoff2016-04-16
|
* expand GNUNET_OS_ProjectData API to also enable de-duplcation of logic for ↵Christian Grothoff2016-04-07
| | | | --help
* expand GNUNET_OS_ProjectData API to also enable de-duplcation of logic for ↵Christian Grothoff2016-04-07
| | | | --help
* -fix leakChristian Grothoff2016-04-04
|
* extend GNUNET_OS-API to allow re-use of os_installation logic for programs ↵Christian Grothoff2016-03-31
| | | | with different libs, paths, binaries and environment variables
* -fix (C) noticesChristian Grothoff2016-01-19
|
* fix #3869: outdated FSF addressChristian Grothoff2015-06-30
|
* -doxygen, indentChristian Grothoff2015-05-26
|
* generally use GNUNET_assert() instead of GNUNET_abort() to also log the errorChristian Grothoff2015-02-28
|
* -bringing copyright tags up to FSF standardChristian Grothoff2015-02-07
|
* Bertrand Marc wrote:Christian Grothoff2014-02-02
| | | | | | | About issue #3284, there was still a little glitch in the LIBDIR case. On my box, plugins are in /usr/lib/x86_64-linux-gnu/gnunet/. You'll find attached a patch (against svn head) to fix it.
* fix #3284: support lib/MULTIARCH/ paths in installation, use ↵Christian Grothoff2014-01-30
| | | | GNUNET_PREFIX=@libdir@ so that we can extract the value of MULTIARCH during 'make check'
* -reduce stat calls by caching result of GNUNET_OS_installation_get_pathChristian Grothoff2013-12-04
|
* -doxygenChristian Grothoff2013-10-13
|
* migrating towards XDG configuration specification (#3000)Christian Grothoff2013-10-09
|
* -remove trailing whitespaceChristian Grothoff2013-10-06
|
* -towards addressing #3047, note this causes the code to FTBFSChristian Grothoff2013-09-30
|
* -get rid of compiler warningChristian Grothoff2013-09-26
|
* - don't append libexec path to absolute pathsSree Harsha Totakura2013-09-16
|