1. 23 Sep, 2020 1 commit
    • Max Kellermann's avatar
      LogLevel: rename DEFAULT to NOTICE · c843bce9
      Max Kellermann authored
      "DEFAULT" is a bad name - all it says is that it's the default value,
      but it doesn't say what it means.  The name NOTICE mimics the syslog
      level.
      c843bce9
  2. 06 Jul, 2020 3 commits
  3. 13 Mar, 2020 1 commit
    • Rosen Penev's avatar
      replace stdarg.h with cstdarg · c846ee0d
      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: 's avatarRosen Penev <rosenp@gmail.com>
      c846ee0d
  4. 12 Mar, 2020 1 commit
    • Rosen Penev's avatar
      change errno.h to cerrno · edc4989d
      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: 's avatarRosen Penev <rosenp@gmail.com>
      edc4989d
  5. 18 Jan, 2020 1 commit
  6. 23 May, 2019 2 commits
  7. 22 May, 2019 1 commit
  8. 19 Nov, 2018 1 commit
    • Max Kellermann's avatar
      check.h: remove obsolete header · ce49d99c
      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.
      ce49d99c
  9. 31 Oct, 2018 1 commit
  10. 16 May, 2017 1 commit
  11. 03 Jan, 2017 1 commit
  12. 10 Nov, 2016 2 commits
  13. 16 Sep, 2016 1 commit
  14. 08 Sep, 2016 1 commit
  15. 04 Sep, 2016 1 commit
  16. 01 Mar, 2016 1 commit
  17. 26 Feb, 2016 1 commit
  18. 17 Dec, 2015 1 commit
  19. 15 Dec, 2015 1 commit
  20. 01 Jan, 2015 1 commit
  21. 13 Jan, 2014 1 commit
  22. 15 Dec, 2013 1 commit
  23. 28 Nov, 2013 1 commit
  24. 04 Nov, 2013 1 commit
    • Max Kellermann's avatar
      Log: add level "DEFAULT" · ecf12a60
      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".
      ecf12a60
  25. 02 Oct, 2013 1 commit
  26. 05 Sep, 2013 2 commits
  27. 04 Sep, 2013 1 commit
  28. 07 Aug, 2013 3 commits
  29. 04 Aug, 2013 1 commit
  30. 30 Jan, 2013 1 commit
  31. 10 Jan, 2013 1 commit
  32. 09 Jan, 2013 1 commit
  33. 14 Aug, 2012 1 commit
    • Max Kellermann's avatar
      log: store duplicated path string · dc22846d
      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).
      dc22846d