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

223 Commits

Author SHA1 Message Date
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
Jfreegman
f942982f4e alert user when name is mentioned in groupchat 2013-12-06 19:41:53 -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
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
03ef257fdc small fix 2013-12-03 05:18:49 -05:00
Jfreegman
1a86327f9f allow groupchat sidebar to scroll 2013-12-03 03:44:02 -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
f67cc479ec format consistency 2013-12-01 16:59:46 -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
bb6b28b7c3 allow line editing via arrow keys in chat/groupchat windows 2013-11-30 22:12:43 -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
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
b909ab37b7 add peer count to sidepanel 2013-11-29 01:30:10 -05:00
Jfreegman
04b394d6dd close file transfers on exit & fixes 2013-11-28 22:28:40 -05:00
Jfreegman
a98ec22fd6 improve window alert functionality 2013-11-28 19:45:28 -05:00
Jfreegman
7ca087b5e7 fix potential segfault 2013-11-27 22:46:09 -05:00
Jfreegman
9c6662163b handle no-names more efficiently 2013-11-27 19:29:58 -05:00
Jfreegman
eab41ccd3d a couple bug fixes 2013-11-27 01:54:22 -05:00
Jfreegman
5ad4bca7a9 uncomment 2013-11-26 22:16:18 -05:00
Jfreegman
53b1a297d2 move pointer inits and bug fix 2013-11-26 22:15:48 -05:00
Jfreegman
d00b9e26b7 fixes 2013-11-26 21:06:06 -05:00
Jfreegman
33ec2f96c2 rework peername list storing so no limit is needed 2013-11-26 20:45:08 -05:00
Jfreegman
8de666a349 a small fixes 2013-11-26 17:39:11 -05:00
Jfreegman
0a24137a58 rm debugging stuff 2013-11-25 20:20:51 -05:00
Jfreegman
5e37ddc0f8 testing groupchat stuff 2013-11-25 18:49:31 -05:00
Jfreegman
4aa68c8251 sort names in groupchat sidepanel 2013-11-24 02:33:03 -05:00
Jfreegman
1064e8d144 made borders-lines crisp 2013-11-23 23:46:46 -05:00
Jfreegman
fb246f2527 don't need that 2013-11-23 21:30:31 -05:00
Jfreegman
f84ece13de Add groupchat side panel & add new callback 2013-11-23 21:19:59 -05:00
Jfreegman
f43d735861 remove redundant cmd func args, use global prompt instead 2013-11-19 15:32:35 -05:00
Jfreegman
246c9283d0 bold currently selected friend in friendlist 2013-11-17 19:45:53 -05:00
Jfreegman
73cc9bfcf2 simplify groupchat counter 2013-11-17 16:09:14 -05:00
Jfreegman
cf0840b80d small fixes 2013-11-17 15:45:26 -05:00
Jfreegman
5570b7c98a fix bug 2013-11-12 02:41:55 -05:00
Jfreegman
549fc5ecb6 big refactor for command functionality 2013-11-09 21:43:56 -05:00
Jfreegman
957b335559 no longer need this 2013-10-20 01:27:45 -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
Jfreegman
75d356e52a format fixes 2013-10-11 04:42:30 -04:00
Jfreegman
17aead45ed put repeated code for printing time into a function 2013-10-11 01:11:43 -04:00
irungentoo
0c3767762e Fixed backspace key bug on xterm when toxic is compiled with widechar. 2013-09-26 07:52:17 -04:00
Jfreegman
39fc54972a > not having green text 2013-09-26 00:33:51 -04:00
Jfreegman
051069606b typo and slight word change 2013-09-24 16:18:22 -04:00
Jfreegman
bd3c14104a command fixes 2013-09-24 16:12:33 -04:00
Jfreegman
e6956b1abc fixes 2013-09-23 01:22:21 -04:00
Jfreegman
1e44018d2e too much beeping 2013-09-21 02:47:12 -04:00
Jfreegman
89cb29afed moved misc helper functions to separate file and removed redundant includes 2013-09-20 20:35:03 -04:00
Jfreegman
d49a5ca993 moved command parsing code to separate files 2013-09-19 17:03:22 -04:00
Jfreegman
e2de6a829e refactored prompt command parser to work with chat and groupchat windows 2013-09-19 06:37:42 -04:00
Jfreegman
49b78c9fd4 api update fixes 2013-09-17 20:54:25 -04:00
Jfreegman
84422b5845 fix 2013-09-17 06:05:31 -04:00
Jfreegman
6e0ac744cb more fixes 2013-09-17 06:03:08 -04:00
Jfreegman
b6bf0eb0a0 fixes 2013-09-16 00:28:28 -04:00
Jfreegman
399b92c8e7 added groupchats 2013-09-15 16:38:38 -04:00