1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-27 03:43:27 +01:00
Commit Graph

260 Commits

Author SHA1 Message Date
Jfreegman
11701d22a1
Lots of bug fixes and general code cleanup 2015-08-27 03:38:08 -04:00
Jfreegman
c546df3917 Fix some filetransfer issues
- File transfers now timeout properly
- Small refactor related to creating new transfers
2015-08-21 00:44:40 -05:00
Jfreegman
ed0a4fb3b8 simplify timeout function 2015-08-21 00:44:40 -05:00
cnhenry
b7e613de32 Small fix to video cleanup 2015-08-21 00:44:12 -05:00
cnhenry
96162bf254 Fixed incorrect video device listing 2015-08-21 00:43:47 -05:00
cnhenry
6e0d19b01d Refactored video calls 2015-08-21 00:42:57 -05:00
cnhenry
ad04fa4dcd Major refactoring and fixes towards AV 2015-08-21 00:42:28 -05:00
Jfreegman
750258adef fix rare bug preventing toxcore from sleeping 2015-08-21 00:35:55 -05:00
Jfreegman
ea78dca756 Update dht nodes list and fix URL's 2015-08-21 00:35:54 -05:00
Jfreegman
3cb412632b Add option to enable acting as TCP relay server 2015-08-21 00:35:54 -05:00
Jfreegman
8301ab1bc2 Revert commit 312d0c3 (localization/gettext)
There were serious problems with branch merging that need to be resolved first
2015-08-21 00:35:40 -05:00
Jfreegman
1458a6bbc5 s/tox.im/tox.chat/g -- reflect new tox domain 2015-08-21 00:29:32 -05:00
Ansa89
0a2ad23c15 Add localization system (gettext) 2015-08-21 00:24:02 -05:00
cnhenry
43bda5f7d9 Refactoring and fix related to invite callback not being fired 2015-08-21 00:14:03 -05:00
cnhenry
3241551cfb Began conversion of audio code to new ToxAV API 2015-08-21 00:14:03 -05:00
cnhenry
6e90072fb8 Implemented OpenCV demo to demonstrate video device listing and set up code structure for video 2015-08-21 00:14:03 -05:00
Jfreegman
ca1fca5aa5 separate bootstrapping and adding TCP relays per toxcore API changes 2015-08-21 00:14:03 -05:00
Jfreegman
ef1068b6aa toxcore API changes to tox_new 2015-08-21 00:14:02 -05:00
Jfreegman
72982cee97 default tox options on initialization 2015-08-21 00:14:02 -05:00
Jfreegman
9a4eaa8693 correctly handle tox_new errors 2015-08-21 00:14:02 -05:00
Jfreegman
64e7553fb0 not clear which error message is given for ipv6 failure 2015-08-21 00:14:02 -05:00
Jfreegman
dd8df1df76 try to fall back to ipv4 if tox fails to init with ipv6 2015-08-21 00:14:02 -05:00
Jfreegman
bbdf4c96b9 fix a few avatar bugs 2015-08-21 00:14:02 -05:00
Jfreegman
2a787c1097
Fix some filetransfer issues
- File transfers now timeout properly
- Small refactor related to creating new transfers
2015-08-18 15:12:48 -04:00
Jfreegman
327259c4c8
simplify timeout function 2015-08-18 01:46:22 -04:00
Jfreegman
0047ba0e9f
fix rare bug preventing toxcore from sleeping 2015-08-08 12:55:46 -04:00
Jfreegman
688ea927f8
Update dht nodes list and fix URL's 2015-07-08 22:40:17 -04:00
Jfreegman
904f58c0e8
Add option to enable acting as TCP relay server 2015-07-08 21:01:32 -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
Jfreegman
d8eca8393c
s/tox.im/tox.chat/g -- reflect new tox domain 2015-06-29 03:16:09 -04:00
Ansa89
85d3c18ba6 Add localization system (gettext) 2015-05-28 15:50:55 +02:00
Jfreegman
d0a7ca17d2
separate bootstrapping and adding TCP relays per toxcore API changes 2015-05-24 17:56:30 -04:00
Jfreegman
36640224af
toxcore API changes to tox_new 2015-05-24 17:36:13 -04:00
Jfreegman
231078b6b9
default tox options on initialization 2015-05-18 19:52:22 -04:00
Jfreegman
414f58d896
correctly handle tox_new errors 2015-04-14 17:18:09 -04:00
Jfreegman
4d73f8b241
not clear which error message is given for ipv6 failure 2015-04-13 00:58:33 -04:00
Jfreegman
82e76a3b5b
try to fall back to ipv4 if tox fails to init with ipv6 2015-04-13 00:32:35 -04:00
Jfreegman
1a7eaeddba
fix a few avatar bugs 2015-04-04 21:15:34 -04:00
Jfreegman
dd9186e834
re-implement avatar setting 2015-04-04 03:26:38 -04:00
Jfreegman
e998c8a866
fix encryption API breakage 2015-03-31 21:56:11 -04:00
Jfreegman
12c880ab51
fix bootstrapping 2015-03-29 19:05:24 -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
ae87b2eb2d
begin port to new API 2015-03-25 22:56:45 -04:00
jlo
ce1ae1d7dc added tab autocomplete for "/status o" => "/status online" 2015-03-17 14:25:15 -05:00
Jfreegman
442d9e22b4
use pthread for mplex detach polling for better portability 2015-03-11 18:38:07 -04:00
fr33domlover
0c39e7b158 Add support for auto-away based on screen attach/detach 2015-03-09 01:38:30 +02:00
Spagy
dfc594f949 Correct filename comment from main.c to toxic.c 2015-02-04 13:56:31 +00:00
Ansa89
2b19f56e63 Update for toxcore API break 2015-02-01 21:09:48 +01:00
Jfreegman
e55e5f3f7e
add HTTP proxy support 2014-12-27 13:12:16 -05:00
Jfreegman
5aad8764b1
ensure messages in queue are always delivered in order 2014-12-03 22:10:21 -05:00
Jfreegman
4acfe84171
remove spammy connection messages 2014-11-30 12:20:01 -05:00
Jfreegman
835b821b75
put toxav loop in separate thread 2014-11-28 23:47:22 -05:00
Jfreegman
09bbec79cf
group audio almost works 2014-11-26 15:22:34 -05:00
Jfreegman
4a337ae3cb update for core audio refactor 2014-11-26 00:57:02 -05:00
Jfreegman
4e177d60b0
group title fixes and api update 2014-11-15 15:55:45 -05:00
Jfreegman
76c21c8b34
implement group titles 2014-11-14 22:15:59 -05:00
Jfreegman
43f45d67a4
core API update 2014-11-11 18:30:23 -05:00
mannol
75dd26518f Finished drag and drop support 2014-10-12 23:26:28 +02:00
mannol
2cc261c619 Some random fixups 2014-10-12 22:54:18 +02:00
mannol
c825adc1e3 Dnd works 2014-10-11 23:53:02 +02:00
Jfreegman
4e9f125e95
core API function name change 2014-10-10 22:44:05 -04:00
Jfreegman
e9a0296851
ignore tox_load errors until toxcore is fixed 2014-10-02 22:25:21 -04:00
Jfreegman
de30433e26
better data operation error handling 2014-10-02 02:07:54 -04:00
mannol
50c7942cb5 Started working on dnd for toxic 2014-10-01 23:28:34 +02:00
Jfreegman
6248baf98b
fix segfault 2014-09-29 01:30:22 -04:00
Jfreegman
33cfca7ecc
bug fixes and code cleanup 2014-09-28 17:49:48 -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
b071a9e992
more thorough error checking 2014-09-23 22:51:56 -04:00
Jfreegman
133c0e8d63
rename reserved identifiers per C standard 2014-09-22 21:24:45 -04:00
Jfreegman
bf54cb36ef set signal handlers at more appropriate places 2014-09-22 20:00:36 -04:00
Jfreegman
3c74385f5c
use proper variable type for sig handler flags 2014-09-22 14:27:33 -04:00
Jfreegman
daf4614ba6
improve behaviour of misused encryption options 2014-09-19 00:29:30 -04:00
Jfreegman
919d36369c
add option to unencrypt an encrypted data file 2014-09-18 23:50:51 -04:00
Jfreegman
a1015a366a
update DHTnodes, small fixes 2014-09-17 13:52:27 -04:00
Ansa89
4a52b06954 Usage help: add missing comma 2014-09-16 11:54:58 +02:00
Jfreegman
89f9c07b9e
add confirmation when creating new password 2014-09-15 19:00:36 -04:00
Jfreegman
388d78d11e
add option to encrypt an existing unencrypted data file 2014-09-15 16:17:58 -04:00
Jfreegman
a2a23b3932
password prompt fixes 2014-09-15 04:13:12 -04:00
Jfreegman
f405ae8b42
improvements to password entry screen 2014-09-14 21:49:38 -04:00
Jfreegman
cf3f6750eb
small fix 2014-09-14 18:25:13 -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
bcf4a5af90
message queue improvements 2014-09-09 14:06:28 -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
Jfreegman
511907fbc5 better way to check if files exist 2014-08-27 22:51:46 -04:00
Jfreegman
155e194174
fix segfault on unknown long option 2014-08-27 14:30:06 -04:00
Jfreegman
7edcf6cb45 add setting to set path for chatlogs 2014-08-26 23:56:37 -04:00
Jfreegman
f2aa57c4fa
additional messages for startup options 2014-08-26 02:28:05 -04:00
Jfreegman
8bf4405fd0
fix error code 2014-08-25 19:55:00 -04:00
Jfreegman
21ef1788ca
print init messages to prompt window intead of stderr 2014-08-25 19:26:41 -04:00
Loui Chang
595e42b587 Clarify function of -b switch.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-08-16 02:35:21 -04:00
Loui Chang
3e79a5ca8b Add -b flag for debugging
For now this just prints messages to stderr, so the user should manually
redirect stderr to avoid breaking the ui. This can be later expanded
upon to provide debugging messages in the command window.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-08-15 19:06:16 -04:00
Jfreegman
68ec484a58
don't allow DNS lookups when using a proxy + forced TCP & fix arg parsing 2014-08-15 15:13:35 -04:00
Jfreegman
67f637a1e1
redirect stderr before audio init to prevent error spam 2014-08-14 21:31:28 -04:00
JFreegman
5e175d5319 Merge pull request #220 from louipc/master
new tox_bootstrap_from_address() behaviour and a minor ui change
2014-08-14 20:47:17 -04:00
Jfreegman
778db0fece core change: ports no longer in network byte order 2014-08-14 20:38:33 -04:00
Jfreegman
72010dd2e1
allow connections through proxies 2014-08-14 20:31:52 -04:00
Loui Chang
39556b36f3 port is no longer passed in network byte order to tox_bootstrap_from_address()
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-08-14 20:10:14 -04:00
Loui Chang
dc9ffa6e56 ipv6enabled parameter was removed in toxcore.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-08-14 19:51:52 -04:00
Jfreegman
edbdf2966a
toxcore API update, add option to force TCP connection 2014-08-14 18:45:41 -04:00
Jfreegman
35cc815cdb add option to specify DNSservers path 2014-08-12 22:32:36 -04:00
Jfreegman
a318bdb034
add option to not connect to the DHT network 2014-08-12 18:59:27 -04:00
Jfreegman
d9a861331f
Use DNS server list instead of hard coding domains/keys 2014-08-10 21:40:19 -04:00
Jfreegman
6ab184e7ce
file transfer improvements and bug fixes 2014-08-05 17:38:33 -04:00
Jfreegman
bc4a730e76 re-adding until better solution found 2014-08-03 15:42:14 -04:00
Jfreegman
3fc7c90630
stderr redirect doesn't work as intended, add invalid command message when no sound 2014-08-03 01:31:33 -04:00
Jfreegman
53663a7832
try to end curses session gracefully on SIGSEGV 2014-08-03 00:26:44 -04:00
Jfreegman
c14f2a3fcd put chatlogs in their own directory 2014-08-02 21:03:59 -04:00
Jfreegman
0884954c84
fix data file init bug 2014-08-02 13:04:29 -04:00
mannol1
43727c6730 Merge pull request #210 from mannol1/master
Fresh pack of backdoors
2014-08-02 17:31:36 +02:00
Jfreegman
618b731d5a
fix possible buffer overflow 2014-08-01 23:00:52 -04:00
mannol
46975bf38b Updated with latest core 2014-08-02 02:10:21 +02:00
mannol
8f3989000d Box notifications are like ready 2014-08-02 00:37:02 +02:00
Jfreegman
9fe75fbc47
fix 2014-08-01 15:05:10 -04:00
Jfreegman
c455e79604
dynamically adjust main loop sleep time according to recommended value 2014-08-01 13:56:49 -04:00
Jfreegman
fba0732faa
implement contact blocking 2014-07-31 12:48:49 -04:00
mannol
d5710d80e0 Upstream adaption 2014-07-28 01:35:40 +02:00
mannol
18a6f621f0 Started adding support for popup notifications and adjustments to new core 2014-07-27 01:49:59 +02:00
Jfreegman
02b192d6ee fix bug and typo 2014-07-25 20:17:22 -04:00
Jfreegman
b68deef6db allow line_info_add to take formatted strings with variable # of args 2014-07-24 23:03:55 -04:00
Jfreegman
a047cead05
fix a few notification issues 2014-07-22 14:38:32 -04:00
Jfreegman
bc94e08970 sendfile tab-complete for ~/ shortcut 2014-07-21 15:11:30 -04:00
mannol
98ac4d7983 Added sound notifications and prepared for later system notifications. Also, now using libconfig for configuration loading. 2014-07-21 03:25:21 +02:00
mannol
933d46553f Added sounds 2014-07-21 01:12:13 +02:00
Jfreegman
e61d070def
cleanup/error checks 2014-07-17 03:35:18 -04:00
Jfreegman
ce4f293574 fix undefined behaviour with string literals 2014-07-16 12:51:07 -04:00
Jfreegman
aaeb47dc14
create dns loopup threads in detached state & add a few missing error descriptions 2014-07-09 23:40:46 -04:00
Jfreegman
e19b0ed710 delete subwindows before parent window on resize to prevent memory leaks 2014-07-09 22:12:51 -04:00
Jfreegman
1ce731471d fix potential race conditions 2014-07-09 02:21:01 -04:00
Jfreegman
f98c77432b
exit toxic properly on ^C 2014-07-08 20:21:51 -04:00
Jfreegman
9fa5a3fdb6
fix window cleanup bugs & give prompt its own cleanup func 2014-07-08 19:24:44 -04:00
Jfreegman
5b9fd70f30
autosave every 60 seconds 2014-07-08 14:46:50 -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
1575a40d61
reduce inactive window refresh rate 2014-07-06 16:18:34 -04:00
Jfreegman
6754741f37
improve /help system and add startup welcome message 2014-07-04 03:24:29 -04:00
Jfreegman
c271622670
fix resizing bugs 2014-06-30 23:56:47 -04:00
Jfreegman
44d524134f
need mutexes 2014-06-30 11:42:11 -04:00
Jfreegman
7ae807002e file sender thread was a failed experiment - do_file_senders should only be called once per tox_do iteration 2014-06-30 03:03:43 -04:00
Jfreegman
a194f7ad87
add option to use the default locale 2014-06-29 18:14:28 -04:00
Jfreegman
a2e6a25fc8
make prompt window look like chat/groupchat windows (fixes various bugs, allows history scrolling) 2014-06-28 18:40:22 -04:00
Jfreegman
f8998b5891
properly close file senders on exit 2014-06-28 12:55:05 -04:00
Jfreegman
33e98fd720
put file senders in one thread due to weird issues & a few fixes 2014-06-28 12:14:43 -04:00
Jfreegman
d881312e3e should fix the high cpu usage issue 2014-06-26 19:35:12 -04:00
Jfreegman
da65ba4e8d
give file senders their own threads 2014-06-26 18:20:56 -04:00
Jfreegman
ef097757f3 general cleanup: rm unused config.h, add license info to device.c/h, add a couple compiler options and fix warnings 2014-06-24 17:47:35 -04:00
mannol
48361a003e Merged upstream and other fixes 2014-06-22 21:07:11 +02:00
Jfreegman
34bd4a1c7c
fix a bunch of implicit declarations 2014-06-21 21:41:38 -04:00