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

218 Commits

Author SHA1 Message Date
Jfreegman
74b84c4252 some code cleanup 2014-07-07 03:12:47 -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
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
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
61d3f7e63e
fix tab completion in prompt window 2014-06-29 16:54:27 -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
09badaa9ee refactor chat window input code, misc fixes 2014-06-26 02:52:01 -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
Jfreegman
63ea6154f4
show info box for audio calls 2014-06-23 18:54:23 -04:00
Jfreegman
34bd4a1c7c
fix a bunch of implicit declarations 2014-06-21 21:41:38 -04:00
Jfreegman
58a131426a
better handling of fatal errors 2014-06-18 15:54:05 -04:00
Jfreegman
24a85df15f remove scroll mode, scroll windows via PageUp/PageDown 2014-06-13 02:10:30 -04:00
Jfreegman
f10ce94f38
api changes 2014-06-11 20:04:20 -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
7206a9ea73 fix another possible buffer overflow
..
2014-06-01 13:42:42 -04:00
Sean Qureshi
4cac797b40
General cleanup
Signed-off-by: Sean Qureshi <sean@tox.im>
2014-04-19 14:58:13 -07:00
Jfreegman
93d77fdeca
load data before prompt init to fix bug with prompt logging init 2014-04-12 03:54:43 -04:00
Jfreegman
92948abcf1 implement basic user settings 2014-04-07 06:03:45 -04:00
Jfreegman
c46676daa5
buffer needs to be empty 2014-04-01 16:32:53 -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
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
29b549e677 few fixes 2014-03-25 21:43:49 -04:00
Jfreegman
3baa830afb move log struct to proper place 2014-03-25 08:25:10 -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
5e941427d3 refactor prompt to allow scrolling 2014-03-25 03:17:22 -04:00
Jfreegman
a40b6b1b1b replace prompt's PromptBuf struct with a ChatContext for compatibility 2014-03-24 07:55:28 -04:00
Jfreegman
e5b6e0ad9f refactor chat history to allow scrolling 2014-03-24 07:18:58 -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
99e36195f7 make sure default statusmsg shows correct version 2014-03-17 20:38:30 -04:00
Jfreegman
c055af7348 retain last status on load and some changes to statusbars 2014-03-15 07:40:13 -04:00
Jfreegman
d8d198c81c rm unused argument for sort func 2014-03-13 23:30:44 -04:00
Jfreegman
ac82961bea fix bug and load previous status messages on boot 2014-03-13 07:34:14 -04:00
mannol
ed3e9b476d This should fix segfault and remove one-line comments 2014-03-11 23:22:27 +01:00
mannol
c678d41709 Now supporting device selection 2014-03-08 01:12:51 +01: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
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
b6613a015f add license info to source files 2014-02-25 02:28:24 -05:00
Jfreegman
da6ef159e6 null check just incase 2014-02-22 04:50:47 -05:00
Jfreegman
9e2fde8d84 make status message version not hard-coded 2014-02-22 04:46:35 -05:00
Jfreegman
69c467fa5f rm unnecessary file transfer limit 2014-02-20 07:47:19 -05:00
Jfreegman
07089271cc prompt tab alealert when friend comes online 2014-02-13 06:24:58 -05:00
Jfreegman
866cafbf1b timestamp for prompt connection and friend request alerts 2014-01-22 23:29:28 -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
34cc4314a5 added groupchat actions 2013-12-13 20:57:32 -05:00
Jfreegman
1dad3711c4 better error handling for failed string conversions 2013-12-12 00:37:29 -05:00
Jfreegman
12e1a60ca3 ugly partial fix for bug 2013-12-11 05:41:02 -05:00
Jfreegman
ff30a29df1 small improvement 2013-12-11 04:49:21 -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
ce45580c83 partially fix bug where input line eats prompt messages 2013-12-06 05:07:35 -05:00
Jfreegman
18a7bbea3d fix 2013-12-05 23:05:16 -05:00
Jfreegman
7a14845790 add line kill and discard ability 2013-12-05 22:55:14 -05:00
Jfreegman
2ad238d69f cchange prompt to $ char and make timestamps blue 2013-12-05 03:29:39 -05:00
Jfreegman
70e8bdb409 fix line scrolling bug 2013-12-05 01:22:02 -05:00
Jfreegman
3740cb6763 fix prompt bug, improve comments, and give prompt its own window struct 2013-12-04 22:33:04 -05:00
Jfreegman
a57f94306a put back prompt char 2013-12-04 18:09:51 -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
ca1644c23b fix 2013-12-01 17:08:57 -05:00
Jfreegman
f67cc479ec format consistency 2013-12-01 16:59:46 -05:00
Jfreegman
b1b2cc44df minor improvements 2013-12-01 16:57:05 -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
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
a98ec22fd6 improve window alert functionality 2013-11-28 19:45:28 -05:00
AZ Huang
8459d44506 Make sure friend message is null-terminated else generate garbate on screen. 2013-11-28 20:21:52 +08:00
Jfreegman
1064e8d144 made borders-lines crisp 2013-11-23 23:46:46 -05:00
Jfreegman
6d2bf72ed3 update version 2013-11-23 21:42:43 -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
140b8b4690 improve file sending 2013-11-18 18:52:46 -05:00
Jfreegman
1ed6d83ed3 show name for default friend request message. also don't print key. 2013-11-17 23:14:27 -05:00
Jfreegman
e091b36b14 move prompt help command to global_commands.c 2013-11-15 14:38:58 -05:00
Jfreegman
5570b7c98a fix bug 2013-11-12 02:41:55 -05:00
Jfreegman
704b787ec2 formatting 2013-11-12 01:50:04 -05:00
Jfreegman
649233b718 fix help message 2013-11-10 23:38:12 -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
3f7e60eaf4 small bug fix and formatting 2013-10-25 00:29:40 -04:00