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

187 Commits

Author SHA1 Message Date
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
Jfreegman
b7375fb2a1 made statusmessages resize dynamically according to window size 2013-09-13 02:02:49 -04:00
Jfreegman
863121273e added cmuch smaller client-specific maximum name length 2013-09-13 00:35:48 -04:00
Sean Qureshi
34fb7ba885 Manually merged changes by 1100110 2013-09-12 17:31:10 +00:00
Jfreegman
35cd2a2914 endwin needs to come first 2013-09-12 01:33:41 -04:00
Jfreegman
052f9f9936 more error handling 2013-09-11 18:07:26 -04:00
Jfreegman
f004a4ba82 added exit_toxic function (for real this time) 2013-09-11 00:12:03 -04:00
Jfreegman
40dcfc82d2 made error handling more consistent and added exit function 2013-09-11 00:02:27 -04:00
Jfreegman
9e8fa92109 truncate friends' notes if they're too long 2013-09-10 04:04:13 -04:00
Jfreegman
fde8059a4c tweaks and fixes 2013-09-09 00:56:47 -04:00
Jfreegman
9798dd6b95 code cleanup/bug fixes 2013-09-08 03:18:34 -04:00
Jfreegman
08d87cc996 fix potential segfaul and added default friend request msg 2013-09-07 00:48:21 -04:00
Jfreegman
dd6a558a62 forgot to init 2013-09-06 21:39:22 -04:00
Jfreegman
9bf9dbe875 better way to check connection status 2013-09-06 21:37:16 -04:00
Jfreegman
261310b091 added status bar to prompt and fixed some bugs 2013-09-06 19:59:45 -04:00
Jfreegman
9c7cad0d55 made prompt window beep/blink on friend request 2013-09-06 02:51:10 -04:00
Jfreegman
05c7727fb8 Added a statusbar to chat windows and removed spammy messages 2013-09-05 18:24:58 -04:00
Jfreegman
369233ba04 remove superfluous prompt alerts and some visual changes 2013-09-05 01:34:23 -04:00
Jfreegman
f7d96b0779 define curses colours and replace magic numbers 2013-09-05 00:47:33 -04:00
Jfreegman
f5695a4b3e implemented status and connectionstatus callbacks 2013-09-04 21:25:59 -04:00
Jfreegman
f93af40f28 Save messenger data on exit 2013-09-04 02:05:36 -04:00
Jfreegman
20d1ad9842 save nicks and exit tox properly 2013-09-04 00:58:23 -04:00
Jfreegman
577f42c075 fix more potential segfaults 2013-09-03 01:02:58 -04:00
Jfreegman
094311785e fixed potential segfault 2013-09-03 00:20:17 -04:00
Jfreegman
db309936ab Remove opening/closing quotes from strings 2013-09-02 23:39:33 -04:00
Jfreegman
e5b5155c3e Change statusmsg to note for less confusion 2013-09-02 23:27:34 -04:00
JFreegman
e37aa54f3b Merge pull request #23 from lukechampine/betterprompt
refactor command argument parsing
2013-09-02 15:36:35 -07:00
Luke Champine
82dee36729 Add documentation/error messages for missing quotation marks 2013-09-02 17:48:16 -04:00
Luke Champine
a0e3b7dfd1 refactor command argument parsing 2013-09-02 13:35:38 -04:00
Jfreegman
ed68350424 format fixes 2013-09-02 05:15:29 -04:00
Jfreegman
713f2347bc add statusmsg command to chat windows 2013-09-02 01:14:51 -04:00
Jfreegman
c5b9677fc0 properly implemented statuses 2013-09-01 22:11:47 -04:00
irungentoo
e6a13feae8 Fixed some warnings. 2013-08-24 19:16:43 -04:00
Florian Hahn
2db69f0fd6 Use tox_ instead of m_ functions 2013-08-24 00:21:01 +02:00
Florian Hahn
baadd95b45 Use new public api 2013-08-23 23:50:34 +02:00
Sergey 'Jin' Bostandzhyan
78deb13c45 Added check and define for wide char support
Try to figure out if wide character support is available and provide
the necessary define for toxic.
2013-08-23 10:57:31 +03:00
Sergey 'Jin' Bostandzhyan
c157837f97 Added autotools based build scripts
Limitations:

currently the tox core library does not ship proper public headers,
so we'll have to tell the configure script where the headers are (i.e.
directory in the ProjectTox-Core source tree.

Since these headers are not really public, they include sodium.h, so
right now the toxic configure script will check for sodium.h as well.

We also need to look for the libsodium library for linking vs Tox core.
2013-08-23 01:30:49 +03:00
Sergey 'Jin' Bostandzhyan
43372f09a6 Move sources to an own subdirectory 2013-08-22 23:57:20 +03:00