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

187 Commits

Author SHA1 Message Date
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
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
957b335559 no longer need this 2013-10-20 01:27:45 -04:00
Jfreegman
7046772a03 fixed friend requests queueing 2013-10-16 17:59:56 -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
2cff7c8b89 updated version 2013-10-11 00:32:00 -04:00
Jfreegman
4ffb98dcdb make correct error message print 2013-09-27 22:12:52 -04:00
Jfreegman
38f6f446c4 bug and format fixes 2013-09-27 19:55:11 -04:00
Jfreegman
7de4089695 oops 2013-09-26 00:35:50 -04:00
Jfreegman
39fc54972a > not having green text 2013-09-26 00:33:51 -04:00
Jfreegman
10f5627912 fixed groupchat join but 2013-09-25 00:38:39 -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
d76c80951b set friendnames using api function 2013-09-23 15:43:02 -04:00
Jfreegman
e6956b1abc fixes 2013-09-23 01:22:21 -04:00
Jfreegman
bde7aacc8d guarantee unique nicks 2013-09-22 20:25:48 -04:00
Jfreegman
7fed456e3b more fixes 2013-09-22 04:32:51 -04:00
Jfreegman
eea27e72ca fix group join bug 2013-09-21 22:18:02 -04:00
Jfreegman
89cb29afed moved misc helper functions to separate file and removed redundant includes 2013-09-20 20:35:03 -04:00
Jfreegman
ec6b37e09e automatically update default statusmessage with version 2013-09-19 19:15:54 -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
b4512811ba fixed prompt scroll bugs and statusbar struct issues 2013-09-18 17:30:35 -04:00
Jfreegman
42de821e3c use/display nicks instead of friend numbers for groupchat invites 2013-09-17 19:11:23 -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
03f807f1cd merge 2013-09-15 17:17:21 -04:00
Jfreegman
399b92c8e7 added groupchats 2013-09-15 16:38:38 -04:00
Coren[m]
f78bca7269 Adapted to ipv6-enabled tox
main.c:
- init_tox(): tox_new() => tox_new(TOX_ENABLE_IPV6_DEFAULT) (enables dual-stack per default)
- resolv_addr(): killed
- init_connection(): use tox_bootstrap_from_address(), which does the resolving

prompt.c:
- cmd_connect(): use tox_bootstrap_from_address(), which does the resolving
2013-09-15 09:22:23 +02:00
JFreegman
657b65dd19 Merge pull request #36 from JFreegman/master
Client specific max name length / status messages now dynamically resize
2013-09-13 17:15:06 -07:00
Jfreegman
170abde373 off by one error 2013-09-13 04:01:10 -04:00