1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-15 08:53:02 +01:00
Commit Graph

936 Commits

Author SHA1 Message Date
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
00cccad22c a few general fixes 2014-09-24 15:20:15 -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
48cf4ebf02
fix for issue #254 2014-09-23 21:32:05 -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
9d5fe03285
small fix 2014-09-22 18:38:46 -04:00
Jfreegman
c3f68b60d3
bigger log identifiers to reduce chance of collision 2014-09-22 17:34:30 -04:00
Jfreegman
1c16467eb9
don't share chatlogs across data files (changes log naming convention) 2014-09-22 17:09:39 -04:00
Jfreegman
3c74385f5c
use proper variable type for sig handler flags 2014-09-22 14:27:33 -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
9ee7a48910 add setting to disable welcome message 2014-09-19 01:11:23 -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
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
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
1ff97161fb temporarily revert a862874740. 2014-09-05 14:15:25 +03:00
Andriy Voskoboinyk
667410e879 fix another potential memory leak 2014-09-05 13:17:10 +03:00
Andriy Voskoboinyk
a862874740 mark exit_toxic_* functions as noreturn 2014-09-05 13:15:56 +03:00
Andriy Voskoboinyk
79bde4e5bf fix potential memory leak and move cleanup to the end of the function 2014-09-05 13:02:26 +03:00
Jfreegman
833b724e9f
fix bug 2014-09-04 18:48:55 -04:00
Jfreegman
96b68058bb code cleanup and fix bug that sometimes prevented tab notifications from working 2014-09-04 18:28:20 -04:00
Andriy Voskoboinyk
a9b0028a15 move some code inside _X11 ifdef 2014-09-04 01:41:02 +03:00
Andriy Voskoboinyk
b18e6cff5a move duplicate code into separate function 2014-09-04 01:36:37 +03:00
Jfreegman
009095af24
slight simplification for command list iteration 2014-09-02 02:23:44 -04:00
Jfreegman
2ce42ab057 bump version to 0.5.0 2014-09-01 18:56:20 -04:00
Jfreegman
934459dea8
show connection change message in chat windows 2014-08-31 14:17:33 -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
b1c7e21ca9
fix possible segfaults 2014-08-27 13:54:02 -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
Jfreegman
68f1dffba7
add command to decline friend requests 2014-08-25 14:08:01 -04:00
Jfreegman
f48ec4f49b
array bounds fix 2014-08-20 13:10:21 -04:00
Jfreegman
bd20513493 a few fixes 2014-08-19 23:41:43 -04:00
Jfreegman
75e8486061 add command to list pending friend requests, a few related fixes 2014-08-19 20:52:17 -04:00
Jfreegman
affc88d0a8 error checking for file senders, fixes 2014-08-17 15:32:38 -04:00
Jfreegman
eca4882ce2
transfer progress bar fix 2014-08-17 13:50:22 -04:00
Jfreegman
58b0a04019 separate file transfer updates from callbacks 2014-08-17 00:11:49 -04:00
Jfreegman
b870679f2c
allow resuming of broken file transfers (needs testing) 2014-08-16 17:20:53 -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
1d6ccf56a8
name conflict with core function might cause linking error 2014-08-15 12:22:39 -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
Loui Chang
1e92bb3c2b help: lowercase keybinding hints for clarity.
Seeing the uppercase character I expected it to be the actual key.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-08-14 19:22:59 -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
d6aaa95b25
ignore invalid file data callbacks 2014-08-12 15:27:42 -04:00
Jfreegman
5718ad52db
a few fixes 2014-08-12 03:01:18 -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
2f12a8d429 prevent statusmessage from wrapping on prompt screen 2014-08-10 00:37:26 -04:00
Jfreegman
e75cf4f3ad fix bug where tab alert colours weren't being properly prioritized 2014-08-08 13:39:05 -04:00
Jfreegman
bb85f31bb2 convert bytes for file transfer message, general fixes 2014-08-07 19:31:36 -04:00
Jfreegman
396d08f0d2 refactor friend/blocklist, dynamically allocate memory 2014-08-07 13:24:29 -04:00
Jfreegman
6ab184e7ce
file transfer improvements and bug fixes 2014-08-05 17:38:33 -04:00
mannol
147030e06f Fix ringing sounds 2014-08-05 01:41:06 +02:00
Jfreegman
09fd5cb69f
small fix 2014-08-04 18:04:54 -04:00
Jfreegman
64db9f73a2 update file transfers for core changes 2014-08-04 16:47:45 -04:00
Jfreegman
28633be2dd
a few fixes and improve error messages 2014-08-04 14:35:34 -04:00
Jfreegman
6fdafceda8 add ability to cancel file transfers 2014-08-04 02:03:23 -04:00
Jfreegman
38ed0c86ad
use hangup cmd to cancel outgoing call requests 2014-08-03 23:11:19 -04:00
Jfreegman
ad23816096
fix filetransfer bug 2014-08-03 16:44:21 -04:00
Jfreegman
bc4a730e76 re-adding until better solution found 2014-08-03 15:42:14 -04:00
Jfreegman
79372cc80d
don't show full path when sending files 2014-08-03 15:12:55 -04:00
Jfreegman
c9e4246ac5 Merge branch 'master' of https://github.com/Tox/toxic 2014-08-03 11:54:49 -04:00
Felix Janda
c49de7733c Add missing includes
Fixes compilation with musl libc
2014-08-03 09:44:48 +02: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
3cbe61e111
fix a few formatting bugs and simplify code a bit 2014-08-02 15:35:57 -04:00
mannol
f98e6bdcb4 Fix bug 2014-08-02 19:21:40 +02: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
a223545853 close chatwindow if its associated contact is blocked/deleted 2014-07-31 22:05:09 -04:00
Jfreegman
b243f7aa62 Merge branch 'master' of https://github.com/Tox/toxic 2014-07-31 15:13:10 -04:00
Jfreegman
899452d7cd Merge branch 'block' 2014-07-31 15:04:05 -04:00
Jfreegman
af68fa7ee0
endian correctness 2014-07-31 15:02:19 -04:00
Jfreegman
5da789cc37
save last online data in blocked list 2014-07-31 14:53:02 -04:00
stal
7e5b41c8e0 another apple include: <sys/syslimits.h>
for NAME_MAX
2014-07-31 10:52:36 -07:00
Jfreegman
0254596c73
add help menu for friendlist 2014-07-31 13:49:15 -04:00
stal
67c02404b7 alut is not part of OpenAL.framework on OS X
therefore the linux include path works fine
2014-07-31 10:38:04 -07:00
Jfreegman
fba0732faa
implement contact blocking 2014-07-31 12:48:49 -04:00
Ansa89
d06086a656 Try to support older versions of OpenAL 2014-07-31 13:14:33 +02:00
Ansa89
b62787ce47 Makefile: refactoring and adding desktop notifications support 2014-07-30 14:14:13 +02:00
Jfreegman
75708f7600
couple small fixes 2014-07-30 02:46:08 -04:00
Jfreegman
476dec46b6 add settings to toggle typing notifications for self and others 2014-07-29 20:14:44 -04:00
Jfreegman
973f6206ee
enforce const correctess, fix undefined behaviour with string literals 2014-07-29 14:54:34 -04:00
Jfreegman
15e91cfa99 formatting, use case-insensitive string compare, use defines for keycodes 2014-07-28 21:47:35 -04:00
matt
5275da5a6b Merge branch 'keybinds'
configurable keybinds finished and working, merging with master branch
2014-07-29 00:55:39 +01:00
matt
e891b1281b Configurable keybinds implemented and example conf updated 2014-07-29 00:53:44 +01:00
Jfreegman
ca7110b37c
small visual adjustment to progress bar 2014-07-28 19:36:30 -04:00
matt
8960eb98f4 Example conf updated 2014-07-28 22:47:33 +01:00
Zetok Zalbavar
7a7e4f573a Fix ONLINE_CHAR being identical to OFFLINE_CHAR 2014-07-28 18:38:15 +01:00
matt
a7e6ab7758 reads correctly from config file now, need to go through and check each one and then look at usability 2014-07-28 15:19:50 +01:00
matt
a0cde4ae8c Merge remote-tracking branch 'origin/master' into keybinds 2014-07-28 14:06:54 +01:00
Jfreegman
94a8ce5aa8
fix buggy path autocomplete behaviour 2014-07-28 01:33:12 -04:00
Jfreegman
b18a67d656 put file senders in a round-robin queue so multiple transfers upload at a uniform pace 2014-07-27 22:27:27 -04:00
mannol1
02708534c0 Merge pull request #200 from mannol1/master
Core adjustments
2014-07-28 01:35:58 +02:00
mannol
d5710d80e0 Upstream adaption 2014-07-28 01:35:40 +02:00
matt
8dcba3219d Merge remote-tracking branch 'origin/master' into keybinds 2014-07-28 00:32:05 +01:00
matt
9f01a45b1f Keybind defaults moved to settings.c; conf keybinds not reading correctly yet 2014-07-28 00:06:25 +01:00
Jfreegman
49538a986c improve file transfer progress line 2014-07-27 18:00:33 -04:00
Jfreegman
77e152ad36
fix security flaw where untrusted input wasn't being sanitized 2014-07-26 21:22:55 -04:00
mannol
4834642b80 Merge remote-tracking branch 'upstream/master' 2014-07-27 01:50:06 +02:00
mannol
18a6f621f0 Started adding support for popup notifications and adjustments to new core 2014-07-27 01:49:59 +02:00
Jfreegman
3cae1d92cd
change online/offline symbols 2014-07-26 19:16:07 -04:00
Jfreegman
02b192d6ee fix bug and typo 2014-07-25 20:17:22 -04:00
Jfreegman
f630a3e604
fix possible buffer overflows and undefined behaviour 2014-07-25 17:55:21 -04:00
Jfreegman
fb5a9bc043 fix backspace bug, simplify a bit 2014-07-25 15:51:29 -04:00
irungentoo
26ad5a00a3 Fixed out of bounds read. 2014-07-25 15:17:46 -04:00
Jfreegman
18e1f08e31 Merge branch 'master' of https://github.com/Tox/toxic 2014-07-24 23:04:07 -04:00
Jfreegman
b68deef6db allow line_info_add to take formatted strings with variable # of args 2014-07-24 23:03:55 -04:00
mannol
3a1e23a3ff Fixed sounds not playing 2014-07-25 02:12:32 +02:00
Jfreegman
8d8df585ad
sort directories and skip special symbols for path autocomplete 2014-07-23 18:34:32 -04:00
Jfreegman
8660047ec1
fix small bug, update readme, bump version 2014-07-23 15:15:14 -04:00
Jfreegman
9476db02a9
allow disabling of individual sounds 2014-07-23 14:59:36 -04:00
Ansa89
3cc629cbc1 Add hardcoded path for sound notifications 2014-07-23 11:25:38 +02:00
mannol1
50fca4cddf Merge pull request #193 from Ansa89/makefile-fix
Makefile: little refactoring
2014-07-23 03:51:52 +02:00
Jfreegman
a047cead05
fix a few notification issues 2014-07-22 14:38:32 -04:00
Ansa89
196af10d01 Move init and exit in right place 2014-07-22 12:30:35 +02:00
Ansa89
1e0e93e5c6 Makefile: little refactoring 2014-07-22 09:59:44 +02:00
Jfreegman
ac01d6d316 fix config file loading, fix makefile compile errors 2014-07-21 18:57:16 -04:00
mannol
f0f1138c54 Fixed some build errors 2014-07-21 23:48:39 +02: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
7e667a8028 print multiple matches for all tab-complete operations, fix bug when tab-completing at end of line 2014-07-18 13:48:21 -04:00
Jfreegman
d4e41d6053 autocomplete pathnames with spaces 2014-07-18 03:20:40 -04:00
Jfreegman
f30dccf726
return correct value, fix comment 2014-07-18 01:52:33 -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
e61d070def
cleanup/error checks 2014-07-17 03:35:18 -04:00
Jfreegman
b5f34f42a8 small fix 2014-07-16 21:34:50 -04:00
Jfreegman
4426eaddd9
increase max friends 2014-07-16 15:59:54 -04:00
Jfreegman
83f0720a39
another UB fix 2014-07-16 15:55:04 -04:00
Jfreegman
ce4f293574 fix undefined behaviour with string literals 2014-07-16 12:51:07 -04:00
Jfreegman
b23ae5a4c3 add buffer yanking, clean up input functions 2014-07-14 14:44:42 -04:00
Jfreegman
190e1e73e8
change tab names: prompt = home, friends = contacts 2014-07-13 15:34:09 -04:00
Jfreegman
ee67cf0bf1
use full name for log 2014-07-10 02:54:56 -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
mannol
df676423a7 Fixed conflicts 2014-07-10 01:29:18 +02:00
mannol
cf8dda6b0d Fixes problems with upstream changes 2014-07-10 01:24:14 +02: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
442f68cd31
wrap tox_get_name in function that truncates name if it's too long 2014-07-08 14:31:59 -04:00
Ansa89
57b52f35b4 Use long int instead uint64_t 2014-07-08 09:39:42 +02:00
Jfreegman
27a31a8399
truncate long chat window names 2014-07-07 19:39:33 -04:00
Jfreegman
f1a3ed379e
fix nick truncating 2014-07-07 19:08:33 -04:00
Jfreegman
74b84c4252 some code cleanup 2014-07-07 03:12:47 -04:00
Jfreegman
00e6546f0c
namelength should be signed, -Werror is probably overkill 2014-07-06 22:31:11 -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
mannol1
2ed9448b41 Merge pull request #174 from mannol1/master
Make closing window end call
2014-07-06 22:52:11 +02:00
Jfreegman
1575a40d61
reduce inactive window refresh rate 2014-07-06 16:18:34 -04:00
Jfreegman
ad14baf601
remove unnecessary memsets 2014-07-06 03:41:48 -04:00
Jfreegman
8b6a5813e6 fix line_info_reset_start() bugs, a few other small fixes/cleanup 2014-07-06 01:48:50 -04:00
irungentoo
f4c76e12f4 A/V api change. 2014-07-05 16:19:38 -04:00
Jfreegman
3fa8c4be0b
small fix 2014-07-05 15:20:33 -04:00
Jfreegman
455eba3bfd
fix help popup flickering issue on some terminals 2014-07-05 14:46:16 -04:00
Jfreegman
de1e61bd5a code cleanup, improve welcome message 2014-07-04 14:19:20 -04:00
mannol
7fba5a59bf Fixed implicit declaration warning and merge conflict leftover 2014-07-04 18:14:06 +02:00
mannol
3a86ee923e Fixed merge conflicts 2014-07-04 18:05:50 +02:00
mannol
65e726a51a Now closing the window will end the call 2014-07-04 18:04:03 +02:00
Jfreegman
6754741f37
improve /help system and add startup welcome message 2014-07-04 03:24:29 -04:00