jfreegman
7e1e410307
Refactor logging
...
- Conference logging now behaves the same as 1-on-1 chats: Instead
of creating a new log file every time we restat the client
we use the unique conference ID to keep track of path names.
This also allows us to load history for saved groups on client startup
- Added a log init function / general code refactor.
- Fixed a bug that caused log files to be created even when logging
is disabled.
2020-11-17 16:05:20 -05:00
jfreegman
4188b392cc
Rename: groupchats -> conferences
...
This is in line with the toxcore API naming scheme and is in preparation
for the merge with the new groupchat implementation
2020-11-08 10:08:24 -05:00
jfreegman
63cc23401a
Improve readability of defines
2018-10-08 13:39:04 -04:00
iphydf
b9f9546e2b
Fix typedef enums and potential uninitialised value.
2018-01-20 18:30:35 +00:00
Jfreegman
2194b9e259
Use time_t instead of uint64_t for timestamps
...
Also call time() directly from get_unix_time() instead of manually updating the time val.
2016-09-22 18:31:52 -04:00
Jfreegman
92d76c7f99
Display a user warning when log fails to initialize
2015-08-19 00:42:28 -04:00
Jfreegman
95dfea8d29
keep chatlog names consistent with friend name changes
2014-09-27 02:28:11 -04:00
Jfreegman
133c0e8d63
rename reserved identifiers per C standard
2014-09-22 21:24:45 -04:00
Jfreegman
1c16467eb9
don't share chatlogs across data files (changes log naming convention)
2014-09-22 17:09:39 -04:00
Jfreegman
dc3b2e04ab
load chatlog history when opening a chatwindow
2014-09-22 04:29:28 -04:00
Jfreegman
51e274ea38
implement data file encryption
2014-09-14 17:46:28 -04:00
Jfreegman
13c5de5531
increase time between message send retries
2014-09-10 16:18:37 -04:00
Jfreegman
973f6206ee
enforce const correctess, fix undefined behaviour with string literals
2014-07-29 14:54:34 -04:00
Jfreegman
a009fbf20c
use char instead of uint8_t, fix compiler warnings so toxic compiles with -Wall and -Werror on gcc and clang
2014-07-06 22:16:20 -04:00
Jfreegman
31acdcada3
reorganize toxic_windows.h into two separate header files, rename main.c to toxic.c
2014-06-11 18:14:12 -04:00
Jfreegman
3baa830afb
move log struct to proper place
2014-03-25 08:25:10 -04:00
Jfreegman
d49e911fe4
type fixes
2014-03-19 03:14:08 -04:00
Jfreegman
24b763bce6
simplify logging
2014-03-03 19:21:52 -05:00
Jfreegman
7f38c3c6e7
add prompt logging support
2014-03-01 18:06:35 -05:00
Jfreegman
7109b8fa18
refactor logging functions to only handle chatlog pointers
2014-03-01 07:10:44 -05:00
Jfreegman
46b046a209
make C-e and C-aa work like they do in bash and fix/format help messages
2014-02-27 18:55:18 -05:00
Jfreegman
817f763589
give groupchat logs unique names
2014-02-26 17:15:34 -05:00
Jfreegman
8e4db369bc
log events
2014-02-26 06:35:19 -05:00
Jfreegman
831d8e5f24
implement chat logging
2014-02-26 01:51:06 -05:00