about summary refs log tree commit diff stats
path: root/src/config/files.c
Commit message (Collapse)AuthorAgeFilesLines
* Define POSIX macro to have strdupMichael Vetter2020-06-121-7/+7
| | | | | | | | | | | | | | https://github.com/profanity-im/profanity/commit/98c38dc6d6d29333c63f80327774f094610d8602 sets C99 as standard. strdup() is not part of C99. For now set `-D_POSIX_C_SOURCE=200809L` macro to have strdup() in C99. Using `gnu99` instead would be another option. We should take more care to use glib functions whenever possible. Regards https://github.com/profanity-im/profanity/issues/1357
* Dont manipulate pointer from getenvMichael Vetter2020-06-121-6/+14
| | | | | | | | | | | | Found this when looking to fix bug https://github.com/profanity-im/profanity/issues/1357 Not sure if it is related. man 3 getenv sais: ``` As typically implemented, getenv() returns a pointer to a string within the environment list. The caller must take care not to modify this string, since that would change the environment of the process. ```
* db: Have one database per accountMichael Vetter2020-04-061-16/+0
|
* database: Define chatlog database locationMichael Vetter2020-04-061-0/+17
|
* Allow setting custom log file via -f FILENAMEMichael Vetter2020-02-211-2/+12
| | | | | `profanity -f TEST` will use `~/.local/share/profanity/logs/TEST.log` as the log file.
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Move all filepath handling to files.cJames Booth2016-07-241-12/+61
|
* Move xgd functionsJames Booth2016-07-241-4/+25
|
* Add config/files.cJames Booth2016-07-241-0/+124