1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-09-19 08:26:51 +02:00
Commit Graph

86 Commits

Author SHA1 Message Date
jfreegman
1d71e2eb18 Port to toktok-c-toxcore branch 2016-12-18 00:01:51 -05: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
d2b572ede1 Add ipv6 support for bootstrap nodes and refactor parsing code 2016-09-21 21:22:05 -04:00
Jfreegman
221d761ff4 Ignore bootstrap nodes that use a domain instead of IP address
Domains cause toxcore to do blocking DNS requests which creates noticable lag
and might (??) leak IP addresses when using a proxy
2016-09-21 00:28:16 -04:00
Jfreegman
5e20e6b279 Switch to using json DHT nodes file
Parsing json manually like this is ugly, but this allows us to use the json formatted nodeslist file
at nodes.tox.chat instead of having to update the list by hand. We could also potentially
use curl to fetch the list and update it automatically.
2016-09-17 21:38:32 -04:00
Marvin Ewald
e6f839f9ac Enable multiline input
Adds a nonl() call to avoid translation from \r to \n when pressing
enter.
C-J -> \n
Enter -> \r
To allow multiline input, \n chars (e.g. when pressing C-J) are replaced
with a pilcrow. After hitting enter, every pilcrow is substituted with
\n again.
2016-02-28 02:35:36 +01:00
Jfreegman
39c4b7ecdd Add ability to print your Tox ID's QR code to a file 2015-11-08 22:51:46 -05:00
Jfreegman
b4464eda4d Fix more threading issues 2015-08-27 21:29:34 -04: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
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
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
76c21c8b34 implement group titles 2014-11-14 22:15:59 -05:00
Jfreegman
e4a28d1839 make groupchat announcements behave properly 2014-10-09 01:39:22 -04:00
Jfreegman
9f0daca5eb filter escape sequences from all inbound nicks and status messages 2014-10-07 16:18:06 -04:00
Jfreegman
1f2bd44dce don't allow newlines and tabs in nicks 2014-10-07 00:43:03 -04:00
Jfreegman
6492bd12f9 escape newlines in contact names/status messages 2014-10-06 16:23:43 -04:00
Jfreegman
23cf9686cb safer string handling 2014-10-03 17:53:50 -04:00
Jfreegman
a9e5723ca4 a couple fixes 2014-09-27 03:08:19 -04:00
Jfreegman
940af2c711 a few fixes, update example config file 2014-09-26 03:39:36 -04:00
Jfreegman
544c402f78 implement avatars (setting only) and generalize path tab-complete 2014-09-26 03:10:44 -04:00
Jfreegman
a432d733d7 use 64-bit off_t for file sizes 2014-09-24 14:23:08 -04:00
Jfreegman
893e88294b more succinct way to get file sizes 2014-09-24 00:06:02 -04:00
Jfreegman
133c0e8d63 rename reserved identifiers per C standard 2014-09-22 21:24:45 -04:00
Jfreegman
51e274ea38 implement data file encryption 2014-09-14 17:46:28 -04:00
Jfreegman
511907fbc5 better way to check if files exist 2014-08-27 22:51:46 -04:00
Jfreegman
1d6ccf56a8 name conflict with core function might cause linking error 2014-08-15 12:22:39 -04:00
Jfreegman
0f4cffbacc a few dns fixes 2014-08-11 01:59:01 -04:00
Jfreegman
d9a861331f Use DNS server list instead of hard coding domains/keys 2014-08-10 21:40:19 -04:00
Jfreegman
bb85f31bb2 convert bytes for file transfer message, general fixes 2014-08-07 19:31:36 -04:00
Jfreegman
5da789cc37 save last online data in blocked list 2014-07-31 14:53:02 -04:00
Jfreegman
8d8df585ad sort directories and skip special symbols for path autocomplete 2014-07-23 18:34:32 -04:00
Jfreegman
ea3fcd5b79 auto-completion for paths when sending file & improved auto-complete algorithm to do partial matches 2014-07-18 01:37:33 -04:00
Jfreegman
ce4f293574 fix undefined behaviour with string literals 2014-07-16 12:51:07 -04:00
Jfreegman
1ce731471d fix potential race conditions 2014-07-09 02:21:01 -04:00
Jfreegman
442f68cd31 wrap tox_get_name in function that truncates name if it's too long 2014-07-08 14:31:59 -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
10d0e99d72 core api const-correctness update 2014-07-02 17:30:31 -04:00
Jfreegman
09badaa9ee refactor chat window input code, misc fixes 2014-06-26 02:52:01 -04:00
Jfreegman
7ac7713268 improve call duration string & remove a couple unused functions 2014-06-24 02:58:18 -04:00
Jfreegman
63ea6154f4 show info box for audio calls 2014-06-23 18:54:23 -04:00
Jfreegman
34bd4a1c7c fix a bunch of implicit declarations 2014-06-21 21:41:38 -04:00
Jfreegman
034a8f5d8b code cleanup, improve do_connection 2014-06-19 13:50:41 -04:00
Jfreegman
72e9e7d9c4 add str_to_lower function, ignore DNS domain name case 2014-06-18 13:12:39 -04:00
Jfreegman
1456cef991 implement toxdns3 username lookups 2014-06-17 00:48:30 -04:00
Jfreegman
24a85df15f remove scroll mode, scroll windows via PageUp/PageDown 2014-06-13 02:10:30 -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
c2dce960b8 add setting to allow specified download path & some fixes 2014-06-03 02:02:24 -04:00
Jfreegman
a5ce17f44e refactor groupchats to allow scrolling 2014-03-25 08:21:50 -04:00
Jfreegman
e5b6e0ad9f refactor chat history to allow scrolling 2014-03-24 07:18:58 -04:00