- 13 Mar, 2020 1 commit
-
-
Rosen Penev authored
The former was deprecated in C++14. The Standard says they are the same: The contents of the header<cstdarg>are the same as the C standard library header<stdarg.h>, with the following changes: The restrictions that ISO C places on the second parameter to the va_start macro in header<stdarg.h> are different in this International Standard. The parameter parmN is the rightmost parameter in the variable parameter list of the function definition (the one just before the...).219If the parameter parmN is a pack expansion (17.5.3) or an entity resulting from a lambda capture (8.1.5), the program is ill-formed, no diagnostic required. If the parameter parmN is of a reference type, or of a type that is not compatible with the type that results when passing an argument for which there is no parameter, the behavior is undefined. Also changed va_list to the std:: namespace version, which is the same. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 12 Mar, 2020 1 commit
-
-
Rosen Penev authored
The former is deprecated by C++14. It's also functionally the same. From the standard: 19.4 The header<cerrno>is described in Table 43. Its contents are the same as the POSIX header<errno.h>,except that errno shall be defined as a macro. [Note: The intent is to remain in close alignment with the POSIX standard.] A separate errno value shall be provided for each thread. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 23 May, 2019 2 commits
-
-
Max Kellermann authored
Make LogError()/FormatError() wrappers for those. Now we can log exceptions with a lower level.
-
Max Kellermann authored
Prepare for templated functions.
-
- 22 May, 2019 1 commit
-
-
Max Kellermann authored
Print all nested exceptions on a single line to avoid confusion.
-
- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 16 May, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 10 Nov, 2016 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 16 Sep, 2016 1 commit
-
-
Max Kellermann authored
-
- 08 Sep, 2016 1 commit
-
-
Max Kellermann authored
-
- 04 Sep, 2016 1 commit
-
-
Max Kellermann authored
-
- 01 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 17 Dec, 2015 1 commit
-
-
Max Kellermann authored
-
- 15 Dec, 2015 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 15 Dec, 2013 1 commit
-
-
Max Kellermann authored
Prepare for GLib removal.
-
- 28 Nov, 2013 1 commit
-
-
Max Kellermann authored
-
- 04 Nov, 2013 1 commit
-
-
Max Kellermann authored
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure".
-
- 02 Oct, 2013 1 commit
-
-
Max Kellermann authored
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
-
- 05 Sep, 2013 2 commits
-
-
Max Kellermann authored
Migrate the remaining callers to FatalError().
-
Max Kellermann authored
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
-
- 04 Sep, 2013 1 commit
-
-
Max Kellermann authored
Replaces GLib's GError.
-
- 07 Aug, 2013 3 commits
-
-
Max Kellermann authored
Migrate all callers to use Path directly, instead of doing the conversion in each caller.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 04 Aug, 2013 1 commit
-
-
Max Kellermann authored
-
- 30 Jan, 2013 1 commit
-
-
Max Kellermann authored
Look up top-level config options by enum (= integer), not by name string.
-
- 10 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 09 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 14 Aug, 2012 1 commit
-
-
Max Kellermann authored
Don't free the string right after calling log_init_file(). Add a new function log_deinit() that frees the string on shutdown. This fixes cycling the log file after SIGHUP (Mantis ticket 0003524).
-
- 28 Nov, 2011 1 commit
-
-
Max Kellermann authored
-
- 09 Sep, 2011 3 commits
-
-
Max Kellermann authored
config_get_path() was somewhat flawed, because it pretended to be a function, when it really had a side effect. The second flaw was that it did not return the parser error, instead it aborted the whole process, which is bad style. The new function returns a duplicated (modified) string that must be freed by the caller, and returns a GError on failure.
-
Max Kellermann authored
-
Max Kellermann authored
-