Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix gcc8 error about strncpy | Michael Vetter | 2018-07-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | With gcc8 we get the following error when stringop-truncation is on: ``` In function ‘_rotate_log_file’, inlined from ‘log_msg.part.2’ at src/log.c:201:17: src/log.c:231:5: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] strncpy(log_file_new, log_file, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/log.c: In function ‘log_msg.part.2’: src/log.c:228:18: note: length computed here size_t len = strlen(log_file); ^~~~~~~~~~~~~~~~ ``` Using memcpy instead of strncpy. | |||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 | |
| | ||||||
* | Recreate chat log when removed | James Booth | 2017-06-13 | 1 | -1/+6 | |
| | | | | fixes #210 | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 | |
| | ||||||
* | Remove copied char* in groupchat_log_chat | James Booth | 2016-07-26 | 1 | -9/+7 | |
| | ||||||
* | Fix memory leaks | James Booth | 2016-07-25 | 1 | -1/+2 | |
| | ||||||
* | Move all filepath handling to files.c | James Booth | 2016-07-24 | 1 | -37/+5 | |
| | ||||||
* | Move xgd functions | James Booth | 2016-07-24 | 1 | -2/+2 | |
| | ||||||
* | Move resource conversions | James Booth | 2016-07-24 | 1 | -1/+1 | |
| | ||||||
* | Add config/files.c | James Booth | 2016-07-24 | 1 | -0/+1 | |
| | ||||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -1/+0 | |
| | ||||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 | |
| | ||||||
* | Move connection fulljid function | James Booth | 2016-05-06 | 1 | -6/+6 | |
| | ||||||
* | Rename jabber_ functions | James Booth | 2016-05-06 | 1 | -6/+6 | |
| | ||||||
* | Updated copyright | James Booth | 2016-02-14 | 1 | -1/+1 | |
| | ||||||
* | Applied coding style to src/ | James Booth | 2015-10-26 | 1 | -40/+36 | |
| | ||||||
* | Pass delay timestamp to all incoming chat events | James Booth | 2015-09-08 | 1 | -18/+7 | |
| | ||||||
* | Dereference timestamp on chat logging | James Booth | 2015-08-09 | 1 | -1/+6 | |
| | ||||||
* | WIP fix for #516, needs memory cleanup | James Booth | 2015-06-29 | 1 | -14/+6 | |
| | ||||||
* | log: Introduced stderr log handler | Dmitry Podgorny | 2015-06-23 | 1 | -0/+103 | |
| | | | | | | | | This handler redirects stderr output to a pipe and gathers logs from the read end. The handler is called from main loop, therefore, if a function prints logs to stderr they will be put to log file only after function returns. | |||||
* | Added PGP logging preferences | James Booth | 2015-06-21 | 1 | -0/+34 | |
| | ||||||
* | Use null check convention in log.c | James Booth | 2015-05-04 | 1 | -8/+8 | |
| | ||||||
* | Move common chat logging code to log.c | James Booth | 2015-03-15 | 1 | -4/+74 | |
| | ||||||
* | Updated copyright | James Booth | 2015-02-10 | 1 | -1/+1 | |
| | ||||||
* | Used g_hash_table_destroy to free logs | James Booth | 2015-02-10 | 1 | -4/+4 | |
| | ||||||
* | Set file permissions for logs | James Booth | 2014-10-18 | 1 | -0/+4 | |
| | ||||||
* | Added license exemption for OpenSSL to source headers | James Booth | 2014-08-24 | 1 | -0/+12 | |
| | ||||||
* | Fixed memleak in chat log history | James Booth | 2014-06-27 | 1 | -8/+11 | |
| | ||||||
* | Fixed cppcheck warnings | James Booth | 2014-04-26 | 1 | -3/+2 | |
| | ||||||
* | Added /log where command | James Booth | 2014-04-13 | 1 | -0/+9 | |
| | ||||||
* | Added /log shared setting | James Booth | 2014-04-13 | 1 | -5/+17 | |
| | | | | Issue #170 | |||||
* | Added /log rotate option | James Booth | 2014-04-13 | 1 | -3/+5 | |
| | ||||||
* | Updated copyright | James Booth | 2014-03-09 | 1 | -1/+1 | |
| | ||||||
* | Add level to log output | James Booth | 2014-01-27 | 1 | -1/+23 | |
| | ||||||
* | fixed segfault when home directory doesn't exist | Dmitry Podgorny | 2014-01-03 | 1 | -27/+31 | |
| | ||||||
* | Fixed memory leak in groupchat logging | James Booth | 2013-09-23 | 1 | -0/+1 | |
| | | | | issue #226 | |||||
* | Fixed memory leaks in chat logs | James Booth | 2013-09-23 | 1 | -9/+9 | |
| | | | | issue #226 | |||||
* | tz should be cached in static variable | Dmitry Podgorny | 2013-08-24 | 1 | -4/+0 | |
| | ||||||
* | avoid double allocaion of session_started | Dmitry Podgorny | 2013-08-24 | 1 | -1/+0 | |
| | ||||||
* | refactored logging | Dmitry Podgorny | 2013-08-03 | 1 | -19/+8 | |
| | | | | Use ftell instead of stat syscall to increase portability. | |||||
* | Added groupchat logs | James Booth | 2013-05-05 | 1 | -1/+107 | |
| | | | | closes #168 | |||||
* | Default to INFO when creating log | James Booth | 2013-02-03 | 1 | -1/+3 | |
| | ||||||
* | Removed log function to log.c | James Booth | 2013-02-03 | 1 | -0/+16 | |
| | ||||||
* | Removed files.c | James Booth | 2013-02-02 | 1 | -1/+0 | |
| | ||||||
* | Moved function to get log dir to log.c | James Booth | 2013-02-02 | 1 | -4/+16 | |
| | ||||||
* | Moved function to get chat log dir to log.c | James Booth | 2013-02-02 | 1 | -1/+16 | |
| | ||||||
* | Added config dir to source | James Booth | 2013-02-02 | 1 | -1/+1 | |
| | ||||||
* | Tidied #include's | James Booth | 2013-02-02 | 1 | -2/+3 | |
| | ||||||
* | Joined log and chat_log modules | James Booth | 2013-01-28 | 1 | -0/+219 | |
| | ||||||
* | Updated copyright | James Booth | 2013-01-11 | 1 | -1/+1 | |
| |