jfreegman
15b7a30925
Fix some bugs/issues with the message queue
...
- It's no longer possible for messages to be sent out of order
- Check if logger is enabled before doing pointless API calls
- Fix linked list bug (a part of the code almost never executes)
2020-11-12 11:39:19 -05:00
jfreegman
77ab71f26f
Refactor message queue
...
We now attempt to send all queued messages per call to cqueue_try_send() instead
of just the oldest message in the queue. This speeds things up substantially.
Also fixed a very unlikely bug where the read receipt might wrap around to zero
which we used as a reserved value for an unsent message
2020-11-11 16:28:50 -05:00
jfreegman
0fea930c24
Convert deprecated uppercase enums to camelcase
2018-10-10 13:34:17 -04:00
jfreegman
a37bf300f9
Update astylerc to match toxcore & reformat all source files
2018-07-18 11:33:16 -04:00
jfreegman
815c29ee31
Significantly reduce time before trying to re-send a message with no read receipt
...
(also some formatting cleanup)
2018-03-03 23:54:12 -05:00
jfreegman
0136f22076
Fix UI bugs & format
...
This fixes a bug where lines would sometimes be incorrectly marked as unread, as well as
a bug where inbound messages would sometimes be coloured incorrectly
2017-06-01 16:46:12 -04:00
Jfreegman
327259c4c8
simplify timeout function
2015-08-18 01:46:22 -04:00
Jfreegman
035420e5c7
Revert commit 312d0c3
(localization/gettext)
...
There were serious problems with branch merging that need to be resolved first
2015-07-04 01:19:16 -04:00
Ansa89
85d3c18ba6
Add localization system (gettext)
2015-05-28 15:50:55 +02:00
Jfreegman
2d3c5c9450
Mostly finished with new API port
...
- File transfers currently don't support pausing/resuming
- Avatars are not yet done
2015-03-28 02:56:54 -04:00
Jfreegman
ae87b2eb2d
begin port to new API
2015-03-25 22:56:45 -04:00
Jfreegman
5aad8764b1
ensure messages in queue are always delivered in order
2014-12-03 22:10:21 -05:00
Jfreegman
cc0145d561
reduce system calls, increase time between message queue re-send attempts
2014-10-08 01:50:34 -04:00
Jfreegman
0a6ce62363
don't write unsent messages to log
2014-09-11 01:36:33 -04:00
Jfreegman
13c5de5531
increase time between message send retries
2014-09-10 16:18:37 -04:00
Jfreegman
21f8e7f398
couple small fixes
2014-09-09 15:16:27 -04:00
Jfreegman
bcf4a5af90
message queue improvements
2014-09-09 14:06:28 -04:00
Jfreegman
09f90d095b
properly flag lines with unread mark
2014-09-07 22:28:54 -04:00
Jfreegman
416ebc9ab8
another fix
2014-09-07 22:05:17 -04:00
Jfreegman
8dd25e1f0b
code cleanup, add delay for unread message notification
2014-09-07 15:08:01 -04:00
Jfreegman
5b9bd603ea
implement read receipts
2014-09-07 02:43:53 -04:00
Jfreegman
3c2c1f15ce
message sending queue for fake offline messaging
2014-09-06 13:18:42 -04:00