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

209 Commits

Author SHA1 Message Date
matt
a0cde4ae8c Merge remote-tracking branch 'origin/master' into keybinds 2014-07-28 14:06:54 +01:00
matt
9f01a45b1f Keybind defaults moved to settings.c; conf keybinds not reading correctly yet 2014-07-28 00:06:25 +01:00
mannol
18a6f621f0 Started adding support for popup notifications and adjustments to new core 2014-07-27 01:49:59 +02:00
Jfreegman
b68deef6db allow line_info_add to take formatted strings with variable # of args 2014-07-24 23:03:55 -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
83f0720a39
another UB fix 2014-07-16 15:55:04 -04:00
Jfreegman
b23ae5a4c3 add buffer yanking, clean up input functions 2014-07-14 14:44:42 -04:00
Jfreegman
9fa5a3fdb6
fix window cleanup bugs & give prompt its own cleanup func 2014-07-08 19:24:44 -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
Jfreegman
ad14baf601
remove unnecessary memsets 2014-07-06 03:41:48 -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
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
c271622670
fix resizing bugs 2014-06-30 23:56:47 -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
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
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
Jfreegman
3e797db16e
various fixes 2014-06-20 14:27:33 -04:00
Jfreegman
034a8f5d8b
code cleanup, improve do_connection 2014-06-19 13:50:41 -04:00
Jfreegman
58a131426a
better handling of fatal errors 2014-06-18 15:54:05 -04:00
Jfreegman
fc148be3e2
fix possible segfaults 2014-06-18 12:10:00 -04:00
Jfreegman
ce2d371c4b more fixes for line printing/scrolling 2014-06-14 01:45:51 -04:00
Jfreegman
b36680d767 fix bug 2014-06-13 03:47:18 -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
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
246a514e88
fix possible segfault 2014-04-02 18:57:11 -04:00
Jfreegman
20f126e1d8
fix possible segfault 2014-04-02 17:27:07 -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
08f57de9e0
fix segfault and memory leak 2014-04-01 02:38:32 -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
1b89af9063
null fix 2014-03-29 05:44:20 -04:00
Jfreegman
d873181306
fix scrolling bug 2014-03-29 04:40:35 -04:00
Jfreegman
94e936575e
fix memory leaks 2014-03-27 17:59:31 -04:00
Jfreegman
1b3c40b539
put help message in chatwindow box when in scroll mode 2014-03-27 05:08:48 -04:00
Jfreegman
bd5453002e
a few more fixes 2014-03-26 19:14:28 -04:00
Jfreegman
a5ce17f44e refactor groupchats to allow scrolling 2014-03-25 08:21:50 -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
mannol
ed3e9b476d This should fix segfault and remove one-line comments 2014-03-11 23:22:27 +01:00
Sean
9d50d52216 What a waste of a commit
Note to self, fixup rebase this before g finds it
2014-03-11 10:24:21 -07:00
Sean
6cb36e71fe I like using entire commits for tiny things 2014-03-11 10:21:35 -07:00
Sean
0b52de3773 Update groupchat.c 2014-03-11 10:19:14 -07:00
mannol
1fd07837ea Fixed build problems 2014-03-08 16:36:42 +01:00
Jfreegman
24b763bce6 simplify logging 2014-03-03 19:21:52 -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
6ee1f1ed0f fix 2014-02-26 21:30:27 -05:00
Jfreegman
044b731089 Fix bug 2014-02-26 21:00:35 -05:00
Jfreegman
d83ef1d8be update help messages 2014-02-26 19:45:11 -05:00
Jfreegman
9b57c05648 add command to turn logs on/off 2014-02-26 19:00:13 -05:00
Jfreegman
817f763589 give groupchat logs unique names 2014-02-26 17:15:34 -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
b6613a015f add license info to source files 2014-02-25 02:28:24 -05:00
Jfreegman
eb2d6afa00 make own nick green in groupchats 2014-02-16 23:15:27 -05:00
Jfreegman
16b8f85d95 send name instead of full path with file send request 2014-02-11 18:52:04 -05:00
Jfreegman
1f06606c5b enforce toxic max name length in groupchats 2014-02-10 20:13:22 -05:00
Jfreegman
0dd588182b don't alert when you type your own nick in groupchat 2014-02-09 22:55:42 -05:00
Jfreegman
da99d776df fix 2014-01-30 22:03:26 -05:00
Jfreegman
ebf7d4517f don't modify name list when truncating nicks to fit in groupchat side panel 2014-01-30 22:01:08 -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
f3cdb3cd62 Fix groupchat cursor movement. 2013-12-12 13:55:42 +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
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
5fc14a48db a few aesthetic changes 2013-12-08 05:45:23 -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
e834821348 replace name_compare with lib function 2013-12-08 01:18:10 -05:00
Jfreegman
b8b032e441 a few fixes, and make tab completion case insensitive 2013-12-08 01:07:22 -05:00
Jfreegman
4c27df32b0 add tab auto-complete function for groupchat names 2013-12-07 22:10:32 -05:00