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

252 Commits

Author SHA1 Message Date
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
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
9ee7a48910 add setting to disable welcome message 2014-09-19 01:11:23 -04:00
Jfreegman
3c2c1f15ce
message sending queue for fake offline messaging 2014-09-06 13:18:42 -04:00
Jfreegman
68f1dffba7
add command to decline friend requests 2014-08-25 14:08:01 -04:00
Jfreegman
75e8486061 add command to list pending friend requests, a few related fixes 2014-08-19 20:52:17 -04:00
Jfreegman
5718ad52db
a few fixes 2014-08-12 03:01:18 -04:00
Jfreegman
2f12a8d429 prevent statusmessage from wrapping on prompt screen 2014-08-10 00:37:26 -04:00
Jfreegman
396d08f0d2 refactor friend/blocklist, dynamically allocate memory 2014-08-07 13:24:29 -04:00
Jfreegman
3cbe61e111
fix a few formatting bugs and simplify code a bit 2014-08-02 15:35:57 -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
973f6206ee
enforce const correctess, fix undefined behaviour with string literals 2014-07-29 14:54:34 -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
b68deef6db allow line_info_add to take formatted strings with variable # of args 2014-07-24 23:03:55 -04:00
Jfreegman
8660047ec1
fix small bug, update readme, bump version 2014-07-23 15:15:14 -04:00
Jfreegman
a047cead05
fix a few notification issues 2014-07-22 14:38:32 -04: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
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
e19b0ed710 delete subwindows before parent window on resize to prevent memory leaks 2014-07-09 22:12:51 -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
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