1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-01 18:17:46 +02:00
Commit Graph

417 Commits

Author SHA1 Message Date
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
Jfreegman
2f981ecb12 make audio messages compatible with new printing method 2014-03-25 04:39:44 -04:00
Jfreegman
e5b6e0ad9f refactor chat history to allow scrolling 2014-03-24 07:18:58 -04:00
Sean Qureshi
5956c6acaf
Merge branch 'master' of https://github.com/mannol1/toxic 2014-03-23 15:32:51 -07:00
mannol
58f33fa1d6 Merge upstream 2014-03-23 22:54:56 +01:00
Jfreegman
c1dfb741c9 typging change callback update 2014-03-20 20:59:54 -04:00
Jfreegman
d49e911fe4 type fixes 2014-03-19 03:14:08 -04:00
Jfreegman
50a37495f8 API update 2014-03-18 21:48:26 -04:00
Jfreegman
8bea44a44c properly handle invalid statuses 2014-03-18 19:34:02 -04:00
Jfreegman
d03a661635 Merge branch 'master' of https://github.com/Tox/toxic 2014-03-17 19:58:08 -04:00
Jfreegman
c055af7348 retain last status on load and some changes to statusbars 2014-03-15 07:40:13 -04:00
mannol
79fbf0a31f Fixes and stuff... 2014-03-14 23:08:08 +01:00
Jfreegman
f6a85518bc implement multi-threading 2014-03-13 06:06:53 -04:00
Lehi Toskin
93fb9611f7 SPELLING IS FOR FOOLS 2014-03-11 19:54:09 -07:00
mannol
ed3e9b476d This should fix segfault and remove one-line comments 2014-03-11 23:22:27 +01:00
mannol
a80da2b58f Merge remote-tracking branch 'upstream/master' 2014-03-11 00:58:18 +01:00
mannol
c678d41709 Now supporting device selection 2014-03-08 01:12:51 +01:00
mannol
63745afe09 Toxic now supports audio calls 2014-03-07 03:27:48 +01:00
mannol
416419a6e7 Toxic now supports audio calls 2014-03-07 03:14:04 +01:00
Jfreegman
33e16fe870 small optimization 2014-03-06 19:39:57 -05:00
Jfreegman
2fcfa954ab move file sender stuff to its own files 2014-03-05 05:06:21 -05:00
Jfreegman
675c8fa89f fix 2014-03-05 03:37:07 -05:00
Jfreegman
d1153f96ca small refactor for incoming file transfers 2014-03-05 03:31:12 -05:00
Jfreegman
24b763bce6 simplify logging 2014-03-03 19:21:52 -05:00
Jfreegman
7f38c3c6e7 add prompt logging support 2014-03-01 18:06:35 -05:00
Jfreegman
7109b8fa18 refactor logging functions to only handle chatlog pointers 2014-03-01 07:10:44 -05:00
Jfreegman
4fb82cceaa save logging preference for friend chats and improve log command message 2014-02-27 23:33:00 -05:00
Jfreegman
46b046a209 make C-e and C-aa work like they do in bash and fix/format help messages 2014-02-27 18:55:18 -05:00
Jfreegman
9b57c05648 add command to turn logs on/off 2014-02-26 19:00:13 -05:00
Jfreegman
8e4db369bc log events 2014-02-26 06:35:19 -05:00
Jfreegman
a61f5f6a6d properly close windows on exit 2014-02-26 05:23:11 -05:00
Jfreegman
5ff7065744 basic logging for groupchats 2014-02-26 03:51:26 -05:00
Jfreegman
831d8e5f24 implement chat logging 2014-02-26 01:51:06 -05:00
Jfreegman
b6613a015f add license info to source files 2014-02-25 02:28:24 -05:00
Jfreegman
b018aa384e small fix and don't show typing alert for /commands 2014-02-23 05:38:44 -05:00
Jfreegman
5b9d3f6f62 fix segfault 2014-02-23 05:15:48 -05:00
Jfreegman
2b707f1d80 implemented typing status 2014-02-23 04:28:33 -05:00
mannol
e775c51a06 Merge upsteam/master 2014-02-22 23:58:36 +01:00
Jfreegman
fd3604be44 small fix 2014-02-22 01:04:40 -05:00
Jfreegman
a4cb568558 small fix 2014-02-21 22:02:16 -05:00
Jfreegman
2982dc6ddd show pseudo-unique identifier in friend chat windows 2014-02-21 21:21:12 -05:00
Jfreegman
c3d2ff6bfb couple fixes 2014-02-11 19:12:26 -05:00
Jfreegman
16b8f85d95 send name instead of full path with file send request 2014-02-11 18:52:04 -05:00
Jfreegman
42cd80efe9 use API function for friend count instead of global var 2014-02-07 18:44:10 -05:00
Jfreegman
feefecb2ac fix a couple bugs 2013-12-18 20:18:02 -05:00
Jfreegman
d04f5fa102 beep when it should beep 2013-12-15 20:52:10 -05:00
Jfreegman
14c9599a30 couple fixes 2013-12-14 15:38:21 -05:00
Jfreegman
c371c37bce had the names confused 2013-12-14 01:10:22 -05:00
Jfreegman
6f034d434a this makes more sense 2013-12-14 00:57:46 -05:00
Jfreegman
eb6d832e3e correct usage of wcwidth() 2013-12-14 00:36:58 -05:00
Jfreegman
34cc4314a5 added groupchat actions 2013-12-13 20:57:32 -05:00
AZ Huang
bc8e737514 Fix wchar cursor movement. 2013-12-12 13:43:29 +08:00
Jfreegman
1dad3711c4 better error handling for failed string conversions 2013-12-12 00:37:29 -05:00
Jfreegman
629041d465 simplify code a bit 2013-12-11 03:29:31 -05:00
Jfreegman
9a5a598c5a add line history with up/down keys 2013-12-11 00:10:09 -05:00
Jfreegman
ccc0640dab put string helpers in own file 2013-12-10 03:03:45 -05:00
Jfreegman
44d9f7fe61 busy status mutes beeping 2013-12-09 19:25:09 -05:00
Jfreegman
4065715b78 split lists up so only commands that work in given window autocomplete 2013-12-09 17:56:20 -05:00
Jfreegman
674aa682e7 implement tab completion for commands 2013-12-08 18:14:57 -05:00
Jfreegman
df57adcc6d fix memory leaks and safer way to convert strings from wc to mb 2013-12-08 04:16:49 -05:00
Jfreegman
7a14845790 add line kill and discard ability 2013-12-05 22:55:14 -05:00
Jfreegman
e3400e095b a few fixes and update version 2013-12-04 16:21:32 -05:00
Jfreegman
1517cbb6cb allow line editing in prompt window 2013-12-04 16:14:33 -05:00
Jfreegman
424ab7cd10 fix prompt user input mechanics 2013-12-04 03:57:03 -05:00
Jfreegman
88ebb06ba5 colour theme changes 2013-12-03 18:01:17 -05:00
Jfreegman
7a89229375 allow friendlist to scroll up and down if friends overflow the window 2013-12-02 18:23:04 -05:00
Jfreegman
b1b2cc44df minor improvements 2013-12-01 16:57:05 -05:00
Jfreegman
192a06c4f0 fixed arrow printing bug 2013-12-01 13:25:03 -05:00
Jfreegman
49655e13a0 fix 2013-12-01 03:29:12 -05:00
Jfreegman
5850e1c333 line edit support for home, del and end keys 2013-12-01 02:58:21 -05:00
Jfreegman
37dd2bee2d Merge branch 'master' of https://github.com/Tox/toxic 2013-11-30 22:15:16 -05:00
Jfreegman
bb6b28b7c3 allow line editing via arrow keys in chat/groupchat windows 2013-11-30 22:12:43 -05:00
JFreegman
8f1da153a7 Merge pull request #59 from FullName/path-idx-real-fix
Fix partial fix: A slash in pos 0 still led to read access to pathname[-1].
2013-11-30 16:26:30 -08:00
Coren[m]
4f4a379a01 Fix partial fix: A slash in pos 0 still led to read access to pathname[-1]. 2013-11-30 22:14:09 +01:00
Jfreegman
c25296e65a fixes 2013-11-30 16:09:45 -05:00
Jfreegman
f6a6aecaf5 fix window related bugs and warn user when max window limit has been reached 2013-11-30 05:35:25 -05:00
Jfreegman
8ff907d719 wrong signal 2013-11-29 19:31:47 -05:00
Jfreegman
a02bbfa643 kill file transfer if writing fails 2013-11-29 19:26:59 -05:00
Jfreegman
57c2872b75 try to limit scope of globals 2013-11-29 18:52:21 -05:00
Jfreegman
7ad520f128 reduce syntactic complexity - these don't need to be void 2013-11-29 17:48:08 -05:00
AZ Huang
8c0ad1ef80 Fix corresponding API name changes in toxcore. 2013-11-29 23:14:59 +08:00
Jfreegman
8cf3043dd3 Merge branch 'master' of https://github.com/Tox/toxic 2013-11-28 20:24:58 -05:00
Jfreegman
d29e5dbe48 fixes 2013-11-28 20:23:37 -05:00
irungentoo
e21e5c18ff Fix possible crash. 2013-11-28 19:52:30 -05:00
Jfreegman
a98ec22fd6 improve window alert functionality 2013-11-28 19:45:28 -05:00
Jfreegman
2057e7bc4f couple fixes 2013-11-28 18:56:56 -05:00
AZ Huang
f71f07b0ad Add extra check to opened file opointer. 2013-11-28 03:31:10 +08:00
AZ Huang
bb5ee93c88 Fix trailing slashes which leads to segfault. 2013-11-28 03:27:44 +08:00
Jfreegman
8de666a349 a small fixes 2013-11-26 17:39:11 -05:00
Jfreegman
1064e8d144 made borders-lines crisp 2013-11-23 23:46:46 -05:00
Jfreegman
f43d735861 remove redundant cmd func args, use global prompt instead 2013-11-19 15:32:35 -05:00
Jfreegman
b16ff16abc move window blink/beep to a function 2013-11-19 02:31:22 -05:00
Jfreegman
73cc9bfcf2 simplify groupchat counter 2013-11-17 16:09:14 -05:00
Jfreegman
ee509a7cec add file sender timeouts 2013-11-14 19:14:54 -05:00
Jfreegman
be88c89e09 simplify pending groupchat handling 2013-11-12 17:26:13 -05:00
Jfreegman
9b7b401455 small fix 2013-11-12 16:53:41 -05:00
Jfreegman
5570b7c98a fix bug 2013-11-12 02:41:55 -05:00
Jfreegman
7542247c48 improve duplicate file handling 2013-11-12 02:18:43 -05:00
Jfreegman
704b787ec2 formatting 2013-11-12 01:50:04 -05:00
Jfreegman
26d561eb77 some minor fixes 2013-11-10 23:17:46 -05:00
Jfreegman
549fc5ecb6 big refactor for command functionality 2013-11-09 21:43:56 -05:00