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

417 Commits

Author SHA1 Message Date
Jfreegman
92d76c7f99
Display a user warning when log fails to initialize 2015-08-19 00:42:28 -04: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
c39f8909cd
Send file control cancel on failure to resume transfer 2015-08-10 20:41:11 -04:00
Jfreegman
32e541bd1c
Fix file transfers breaking when friends go offline 2015-08-10 14:22:13 -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
84a0276668
Fix some possible race conditions related to line printing 2015-06-30 22:40:45 -04:00
Ansa89
85d3c18ba6 Add localization system (gettext) 2015-05-28 15:50:55 +02: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
bdb0951c84
a few small filetransfer fixes 2015-03-29 19:29:38 -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
ae87b2eb2d
begin port to new API 2015-03-25 22:56:45 -04:00
Jfreegman
470eaeb97b Merge branch 'master' of https://github.com/hardlyeven/toxic into hardlyeven-master 2015-03-18 15:45:37 -04:00
Andrey Alekseenko
ec23cedc3a Fixing couple leaking file descriptors 2015-03-18 19:28:04 +03:00
jlo
ce1ae1d7dc added tab autocomplete for "/status o" => "/status online" 2015-03-17 14:25:15 -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
Jfreegman
73c94b25ba
update DHTnodes, fix comment 2014-12-05 20:26:10 -05:00
Jfreegman
ab2ea5936d
correct value 2014-12-05 13:47:47 -05:00
Jfreegman
90985af007
properly handle file pausing 2014-12-05 13:23:45 -05:00
Jfreegman
5a175f374a
fix file statusbar draw bug 2014-12-03 21:38:37 -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
7a7e8a7f8d
prep for audio groups 2014-11-11 20:49:05 -05:00
Jfreegman
43f45d67a4
core API update 2014-11-11 18:30:23 -05:00
Jfreegman
9f0daca5eb
filter escape sequences from all inbound nicks and status messages 2014-10-07 16:18:06 -04:00
Jfreegman
7eebbd982d fix 2014-10-03 21:12:59 -04:00
Jfreegman
5c66f5c161
fixes 2014-10-03 19:29:12 -04:00
Jfreegman
23cf9686cb
safer string handling 2014-10-03 17:53:50 -04:00
Jfreegman
33cfca7ecc
bug fixes and code cleanup 2014-09-28 17:49:48 -04:00
Jfreegman
05661ca9b6
core API update and refactor group invites a bit 2014-09-27 22:50:20 -04:00
Jfreegman
544c402f78
implement avatars (setting only) and generalize path tab-complete 2014-09-26 03:10:44 -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
00cccad22c a few general fixes 2014-09-24 15:20:15 -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
1c16467eb9
don't share chatlogs across data files (changes log naming convention) 2014-09-22 17:09:39 -04:00
Jfreegman
dc3b2e04ab
load chatlog history when opening a chatwindow 2014-09-22 04:29:28 -04:00
Jfreegman
0a6ce62363
don't write unsent messages to log 2014-09-11 01:36:33 -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
934459dea8
show connection change message in chat windows 2014-08-31 14:17:33 -04:00
Jfreegman
f48ec4f49b
array bounds fix 2014-08-20 13:10:21 -04:00
Jfreegman
affc88d0a8 error checking for file senders, fixes 2014-08-17 15:32:38 -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
Jfreegman
d6aaa95b25
ignore invalid file data callbacks 2014-08-12 15:27:42 -04:00
Jfreegman
2f12a8d429 prevent statusmessage from wrapping on prompt screen 2014-08-10 00:37:26 -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
64db9f73a2 update file transfers for core changes 2014-08-04 16:47:45 -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
79372cc80d
don't show full path when sending files 2014-08-03 15:12:55 -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
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
476dec46b6 add settings to toggle typing notifications for self and others 2014-07-29 20:14:44 -04: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
Jfreegman
49538a986c improve file transfer progress line 2014-07-27 18:00:33 -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
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
mannol
f0f1138c54 Fixed some build errors 2014-07-21 23:48:39 +02: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
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
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
1ce731471d fix potential race conditions 2014-07-09 02:21:01 -04:00
Jfreegman
9fa5a3fdb6
fix window cleanup bugs & give prompt its own cleanup func 2014-07-08 19:24:44 -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
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
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
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
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
Jfreegman
10d0e99d72
core api const-correctness update 2014-07-02 17:30:31 -04:00
Jfreegman
0f37e50419 groupchat keys can sometimes start with a 0 2014-07-02 14:13:35 -04:00
Jfreegman
893cfaa543
correctly reposition call infobox on resize 2014-07-01 11:17:52 -04:00
Jfreegman
c271622670
fix resizing bugs 2014-06-30 23:56:47 -04:00
Jfreegman
a126f9c1a6 don't excessively update percentage complete line during file transfers 2014-06-30 14:17:07 -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
da65ba4e8d
give file senders their own threads 2014-06-26 18:20:56 -04:00
Jfreegman
09badaa9ee refactor chat window input code, misc fixes 2014-06-26 02:52:01 -04:00
Jfreegman
43c1140aa2
improve input scrolling, fix some unicode issues (WIP) 2014-06-24 21:02:16 -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
Ansa89
76f81c4d33 Wide characters support and removed unused files 2014-06-24 17:35:23 +02:00
Jfreegman
7ac7713268 improve call duration string & remove a couple unused functions 2014-06-24 02:58:18 -04:00
Jfreegman
490c80dae9 don't allow calls to offline friends 2014-06-23 22:15:39 -04:00
Jfreegman
f324d2d34b some fixups 2014-06-23 21:56:58 -04:00
Jfreegman
63ea6154f4
show info box for audio calls 2014-06-23 18:54:23 -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
mannol
94b271da5d wat 2014-06-22 02:31:24 +02:00
mannol
e47f2c05f3 Added VAD, changed device i/o, mute option, dynamic device changing and more 2014-06-22 02:18:23 +02:00
Jfreegman
62239a1fda fix backspace bug 2014-06-21 11:55:32 -04:00
Jfreegman
bba81ac884
fix offset issue 2014-06-20 23:56:59 -04:00
Jfreegman
9f4248b1e1
redesign text input field to scroll horizontally, increase max string size 2014-06-20 23:08:13 -04:00
mannol
29b283c176 VAD sort of works 2014-06-21 01:58:00 +02:00
Jfreegman
58a131426a
better handling of fatal errors 2014-06-18 15:54:05 -04:00
Jfreegman
ce2d371c4b more fixes for line printing/scrolling 2014-06-14 01:45:51 -04:00
Jfreegman
a516724760
fix bug 2014-06-13 19:05:25 -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
bfa266c604
refactor calling of toxic_string functions 2014-06-06 15:27:06 -04:00
Jfreegman
97dedd32fb better fix for trailing spaces issue 2014-06-04 01:19:20 -04:00
Jfreegman
789c491c1e
fix a few file transfer bugs 2014-06-03 16:04:57 -04:00
Jfreegman
c2dce960b8
add setting to allow specified download path & some fixes 2014-06-03 02:02:24 -04:00
Jfreegman
7206a9ea73 fix another possible buffer overflow
..
2014-06-01 13:42:42 -04:00
Jfreegman
083ca2f3b7
missing format arg 2014-05-25 13:31:44 -04:00
mannol1
a04f7ee661 Merge pull request #130 from mannol1/master
Updated toxic to build against new core.
2014-05-25 18:54:19 +02:00
Jfreegman
445f5aa1fd fix possible buffer overflow 2014-05-23 23:52:43 -04:00
mannol
0c834b60f5 Not done yet. 2014-05-16 20:00:01 +02:00
AZ Huang
a46fe25283 Force terminate filename. 2014-05-06 03:39:09 +08:00
Sean Qureshi
4cac797b40
General cleanup
Signed-off-by: Sean Qureshi <sean@tox.im>
2014-04-19 14:58:13 -07:00
Jfreegman
92948abcf1 implement basic user settings 2014-04-07 06:03:45 -04:00
Jfreegman
411ae8d0f5
off by 1 error 2014-04-01 04:43:52 -04:00
Jfreegman
e419299487
use correct types 2014-04-01 03:53:12 -04:00
Jfreegman
f3a8ba6ab3 small fix 2014-04-01 03:16:38 -04:00
Jfreegman
6d98f38128
forgot a few string nulls 2014-04-01 02:49:35 -04:00
Jfreegman
3b7e161149 don't send null terminated strings, and null terminate all incoming strings 2014-03-31 22:34:05 -04:00
Jfreegman
43a5ee2d4f
esc isn't printable 2014-03-30 21:31:20 -04:00
Grayson MacKenzie
cce7892d94 Fixed character support 2014-03-30 16:40:13 -04:00
Jfreegman
d873181306
fix scrolling bug 2014-03-29 04:40:35 -04:00
Jfreegman
21c48bde5c
string safety 2014-03-28 03:46:00 -04:00
Jfreegman
8c071fb208 fix potential segfaults 2014-03-28 01:46:09 -04:00
Jfreegman
b36a8fd8fa show percentage complete for file transfers 2014-03-27 23:05:50 -04:00
Jfreegman
1b3c40b539
put help message in chatwindow box when in scroll mode 2014-03-27 05:08:48 -04:00
Jfreegman
92c0f737ac . 2014-03-25 22:02:48 -04:00
Jfreegman
a5ce17f44e refactor groupchats to allow scrolling 2014-03-25 08:21:50 -04:00