about summary refs log tree commit diff stats
path: root/src/log.h
Commit message (Collapse)AuthorAgeFilesLines
* Apply coding styleMichael Vetter2020-07-071-19/+19
|
* Revert "Apply coding style"Michael Vetter2020-07-071-19/+19
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-19/+19
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Remove chat_log_get_previous()Michael Vetter2020-04-061-1/+0
| | | | | | | | | | | | We now dont get the log files from the text files via chat_log_get_previous() anymore. We use the sql backend via log_database_get_previous_chat(). So far it just has the same behaviour like chat_log_get_previous(), except that in _chatwin_history() we don't pass the sender to win_print_history() which should be fixed in a commit soon. And log_database_get_previous_chat() can later easily be expanded to fix https://github.com/profanity-im/profanity/issues/205.
* get_log_file_location () should return const char*Michael Vetter2020-02-211-1/+1
| | | | Make clear that result should never be freed.
* Allow setting custom log file via -f FILENAMEMichael Vetter2020-02-211-1/+1
| | | | | `profanity -f TEST` will use `~/.local/share/profanity/logs/TEST.log` as the log file.
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Actually log MUC PM messagesMichael Vetter2019-10-281-4/+4
| | | | | | | | | | If I'm not mistaken MUC PMs have not been logged at all if there was no other client sending carbons. This should add MUC PM logging functionality. We still need to make sure carbons log to the same file. Regards https://github.com/profanity-im/profanity/issues/1214
* Rename prof_message_t into ProfMessagePaul Fariello2019-06-201-4/+4
|
* Add prof_message_t to wrap all message attributesPaul Fariello2019-06-201-4/+6
| | | | | | | Probably missing copy of body to plain in carbon and privmessage. Only covers the incoming message path because goal is OMEMO decryption of untrusted message. Cover some of the log functions but not all.
* Log and print outgoing encrypted messagePaul Fariello2019-04-101-2/+5
|
* Add OMEMO message encryption and decryptionPaul Fariello2019-04-101-0/+2
|
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Tidy headersJames Booth2016-07-241-1/+1
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Updated copyrightJames Booth2016-02-141-1/+1
|
* Applied coding style to src/James Booth2015-10-261-6/+5
|
* Use consistent style for pointersMichael Vetter2015-10-211-17/+17
|
* Pass delay timestamp to all incoming chat eventsJames Booth2015-09-081-4/+3
|
* WIP fix for #516, needs memory cleanupJames Booth2015-06-291-1/+1
|
* log: Introduced stderr log handlerDmitry Podgorny2015-06-231-0/+4
| | | | | | | | 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 preferencesJames Booth2015-06-211-0/+2
|
* Move common chat logging code to log.cJames Booth2015-03-151-2/+8
|
* Updated copyrightJames Booth2015-02-101-1/+1
|
* Added license exemption for OpenSSL to source headersJames Booth2014-08-241-0/+12
|
* Fixed memleak in chat log historyJames Booth2014-06-271-1/+1
|
* Added /log where commandJames Booth2014-04-131-0/+1
|
* Added /log shared settingJames Booth2014-04-131-0/+1
| | | | Issue #170
* Updated copyrightJames Booth2014-03-091-1/+1
|
* Moved handle_login_account_success to server_eventsJames Booth2014-01-051-0/+2
|
* Added groupchat logsJames Booth2013-05-051-0/+4
| | | | closes #168
* Removed log function to log.cJames Booth2013-02-031-0/+1
|
* Joined log and chat_log modulesJames Booth2013-01-281-0/+11
|
* Updated copyrightJames Booth2013-01-111-1/+1
|
* Removed trailing whitespace from src and testsJames Booth2012-10-211-3/+3
|
* Fixed vargs strings in logJames Booth2012-09-091-1/+1
|
* Tidied all includesJames Booth2012-08-261-2/+0
|
* Refactored logJames Booth2012-08-261-7/+7
| | | | Added shortcut functions for prof logging levels
* Customisable logging levelsJames Booth2012-08-191-1/+2
|
* Basic log levels settingsJames Booth2012-08-191-2/+11
|
* Removed extern for logJames Booth2012-08-191-3/+0
|
* Added autobuild toolsJames Booth2012-07-011-0/+39