jfreegman
d35a38735b
Fix line wrapping/padding issues
...
It should now parse messages with newlines properly as well as messages that
contain long sequences of characters with no spaces
2020-11-24 19:47:04 -05:00
jfreegman
f0c4906fdc
Fix some off by one bugs with line scrolling and some cleanup
...
Instead of trying (and failing) to correctly calculate the number of lines on the
screen a given message will need space for, we dynamically set the value both
on initiation of a new line, and whenever that line is printed to the screen
using the print_wrap() function.
This should fix the screen occasionally not scrolling down the correct number of
lines when a new message is printed.
2020-11-24 19:36:03 -05:00
jfreegman
8e84ac58d4
Implement word wrapping
...
It's about time
2020-11-22 18:41:12 -05:00
zugz (tox)
d75d6e8b60
sort includes
2020-11-14 00:00:05 +00:00
jfreegman
71d7d355a6
Use enum to identify window types instead of bool variables
2020-11-09 17:01:22 -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
a86884c40e
Remove legacy code and fix a couple format specifiers
...
This code was added over 5 years ago and no longer serves a purpose
2020-11-03 01:00:08 -05:00
jfreegman
1bbd50aac7
Fix a few issues
...
- realloc needs to be error checked
- use correct format specifiers
- make sure optarg and DATA_FILE aren't null before using them
2020-11-02 18:08:54 -05:00
jfreegman
ff1620c923
fix invalid usage of stderr and incorrect formatting
2020-11-01 11:19:18 -05:00
iphydf
6f72a191ba
Revert "Add feature flags and missing #includes."
...
This reverts commit dd5fa236ae
.
Also, set `-std=gnu99` in Bazel build.
2020-04-17 19:37:22 +00:00
iphydf
dd5fa236ae
Add feature flags and missing #includes.
...
These are needed to compile on some strict Linuxes.
2020-04-15 21:34:30 +00:00
jfreegman
ddc8c53abf
Fix unused variable warnings and change all (void)s to UNUSED macro
2020-03-30 16:02:27 -04:00
jfreegman
437dd8baeb
Some misc fixes
2020-02-29 14:14:56 -05:00
jfreegman
a37bf300f9
Update astylerc to match toxcore & reformat all source files
2018-07-18 11:33:16 -04:00
jfreegman
56a9571509
Make sure message id fits inside a signed int
2017-06-02 01:15:44 -04: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
Ansa89
958df9f2e8
Add possibility to save QR code in PNG file format
2016-10-05 20:57:50 +02:00
Jfreegman
f056f13329
Astyle everything and add an astyle options script to repo
2016-09-24 21:07:04 -04:00
Marvin Ewald
d6fdac9739
Fix markup in multiline messages
...
A '<' or '>' at the beginning of a line will now highlight only this
particular line instead of the whole message.
2016-02-29 01:46:48 +01:00
Jfreegman
11701d22a1
Lots of bug fixes and general code cleanup
2015-08-27 03:38:08 -04:00
Jfreegman
327259c4c8
simplify timeout function
2015-08-18 01:46:22 -04:00
Jfreegman
48ffae68a9
<not having red text
2015-08-11 19:22:57 -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
522aabd4e4
Refactor and clean up file transfers
...
(No longer rely on undefined core filenumber property for indexing)
2015-03-29 18:33:51 -04:00
Jfreegman
ae87b2eb2d
begin port to new API
2015-03-25 22:56:45 -04:00
Loui Chang
53e4b2c971
Add support for custom timestamps in chat and logs.
...
Internal representations of the time_format setting are replaced by timestamp format strings.
time_format is only used in the setup.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2015-02-23 00:46:33 -05:00
Loui Chang
38a0f6fae4
Make little action indicators on each output line configurable.
...
Also added a new DISCONNECTION line info type.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2015-02-13 02:09:40 -05:00
Loui Chang
5cbbb62ce2
Fix whitespace
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2015-02-09 23:33:49 -05:00
Jfreegman
76c21c8b34
implement group titles
2014-11-14 22:15:59 -05:00
Jfreegman
adb36a39bb
minor visual adjustment
2014-11-05 18:46:18 -05:00
Zetok Zalbavar
a32cd1c19b
Change action messages indicator
2014-10-09 21:36:42 +01:00
Jfreegman
e6b18231c0
add ability to toggle groupchat peerlist with ctrl-b
2014-10-08 02:45:08 -04:00
Jfreegman
b46a77f977
forced end of page is not working out
2014-10-01 15:01:23 -04:00
Jfreegman
33cfca7ecc
bug fixes and code cleanup
2014-09-28 17:49:48 -04:00
Jfreegman
cee9e624b8
more UI changes
2014-09-25 15:23:50 -04:00
Jfreegman
2e65ee3609
a few UI changes
2014-09-25 04:31:45 -04:00
Jfreegman
3a176e1cab
move to page end after pressing return
2014-09-25 00:42:08 -04:00
Jfreegman
133c0e8d63
rename reserved identifiers per C standard
2014-09-22 21:24:45 -04:00
Jfreegman
c07c0028bb
increase line_info msg buffer size so won't cut off long log lines
2014-09-22 13:49:09 -04:00
Jfreegman
dc3b2e04ab
load chatlog history when opening a chatwindow
2014-09-22 04:29:28 -04:00
Jfreegman
13c5de5531
increase time between message send retries
2014-09-10 16:18:37 -04:00
Jfreegman
09f90d095b
properly flag lines with unread mark
2014-09-07 22:28:54 -04:00
Jfreegman
3ca22aa714
fix
2014-09-07 21:43:16 -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
Andriy Voskoboinyk
667410e879
fix another potential memory leak
2014-09-05 13:17:10 +03:00
Jfreegman
3cbe61e111
fix a few formatting bugs and simplify code a bit
2014-08-02 15:35:57 -04:00
mannol
46975bf38b
Updated with latest core
2014-08-02 02:10:21 +02:00