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

302 Commits

Author SHA1 Message Date
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
Jfreegman
3907edcdda this was right 2013-10-25 00:55:27 -04:00
Jfreegman
b9b3487581 fixed prompt input 2013-10-23 03:24:08 -04:00
Jfreegman
407d28bf5d awhen atoi returns 0 on invalid input we don't want that to count as valid 2013-10-20 07:16:26 -04:00
Jfreegman
77de8dd116 fixed bug that was causing random crashes 2013-10-20 02:11:23 -04:00
Jfreegman
957b335559 no longer need this 2013-10-20 01:27:45 -04:00
Jfreegman
0396ce6456 rm /msg command 2013-10-18 23:46:58 -04:00
Jfreegman
361c4cfafc adjusting max name length handling 2013-10-18 23:08:37 -04:00
Jfreegman
fe0ccf52e9 small fix 2013-10-18 22:18:48 -04:00
Jfreegman
e8d2f9418b fixed file sending queueing and other bugs 2013-10-18 01:35:08 -04:00
Jfreegman
34cc342010 handle duplicate files and another bug fix 2013-10-17 22:20:40 -04:00
Jfreegman
2ff1da396c refactored file saving/fixed bugs 2013-10-17 19:53:29 -04:00
Jfreegman
973bd3f396 save files to original name and some bug fixes 2013-10-17 06:13:28 -04:00
Jfreegman
958e77660e removed unneeded var, small fixes 2013-10-16 05:00:27 -04:00
Jfreegman
5f3293bfec fmove file send success message to chat window 2013-10-16 01:55:35 -04:00
Jfreegman
371fbc87a5 refactored sendfile and invite commands to not require names and to only work in chat windows 2013-10-13 19:09:20 -04:00