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

203 Commits

Author SHA1 Message Date
Jfreegman
ae7087e760 fix 2013-10-25 00:33:00 -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
72565cdaec simplify execute function some more 2013-10-23 01:03:18 -04:00
Jfreegman
6595e2bce5 small fixes 2013-10-22 06:39:13 -04:00
Jfreegman
dee263704c make function constant time 2013-10-22 01:59:06 -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
77de8dd116 fixed bug that was causing random crashes 2013-10-20 02:11:23 -04:00
Jfreegman
957b335559 no longer need this 2013-10-20 01:27:45 -04:00
Jfreegman
4ad6853e2e rewrote execute function 2013-10-20 00:50:08 -04:00
Jfreegman
7a0951afc6 simplify string_is_empty 2013-10-18 23:58:33 -04:00
Jfreegman
0396ce6456 rm /msg command 2013-10-18 23:46:58 -04:00
Jfreegman
361c4cfafc adjusting max name length handling 2013-10-18 23:08:37 -04:00
Jfreegman
fe0ccf52e9 small fix 2013-10-18 22:18:48 -04:00
Jfreegman
e8d2f9418b fixed file sending queueing and other bugs 2013-10-18 01:35:08 -04:00
Jfreegman
34cc342010 handle duplicate files and another bug fix 2013-10-17 22:20:40 -04:00
Jfreegman
2ff1da396c refactored file saving/fixed bugs 2013-10-17 19:53:29 -04:00
Jfreegman
973bd3f396 save files to original name and some bug fixes 2013-10-17 06:13:28 -04:00
Jfreegman
7046772a03 fixed friend requests queueing 2013-10-16 17:59:56 -04:00
Jfreegman
958e77660e removed unneeded var, small fixes 2013-10-16 05:00:27 -04:00
Jfreegman
5f3293bfec fmove file send success message to chat window 2013-10-16 01:55:35 -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
Jfreegman
2cff7c8b89 updated version 2013-10-11 00:32:00 -04:00
Jfreegman
ce302d2410 fix 2013-10-11 00:28:47 -04:00
Jfreegman
e60e4f4727 implemented file receving 2013-10-11 00:23:39 -04:00
Jfreegman
cb396c0e7c Implemented file sending 2013-10-10 04:52:05 -04:00
Jfreegman
8a2ffcd0ff fixed status bugs and made them case insensitive 2013-09-28 01:20:43 -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
49a10e5a40 use touchwin instead of mvwin and this doesn't need its own function 2013-09-27 16:14:43 -04:00
irungentoo
7da72b79ef Added define that fixes text not being visible on rxvt-unicode. 2013-09-26 09:51:21 -04:00
irungentoo
e51ebd9c7c Attempted fix for setting bg color. 2013-09-26 08:51:12 -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
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
80c7b07f2e because i forgot to remove it 2013-09-25 00:59:40 -04:00
Jfreegman
10f5627912 fixed groupchat join but 2013-09-25 00:38:39 -04:00
irungentoo
cbb23a4f75 fixed windows build. 2013-09-24 20:21:34 -04:00
irungentoo
a92672d2b4 Merge branch 'master' of https://github.com/Tox/toxic 2013-09-24 17:47:49 -04:00
irungentoo
6320ea756f Fixed possible bug. 2013-09-24 17:47:42 -04:00
JFreegman
0aece37c4c Merge pull request #45 from JFreegman/master
set friendnames properly and some fixes
2013-09-24 13:24:36 -07: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
irungentoo
92ff51f335 Fixed "fread() failed" bug on windows. 2013-09-24 15:23:09 -04:00
irungentoo
04a44b7cdb Fixed windows crash. 2013-09-24 07:55:02 -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
2892f71877 bug fix 2013-09-22 00:07:59 -04:00
Jfreegman
eea27e72ca fix group join bug 2013-09-21 22:18:02 -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
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
dfab23163b Merge branch 'master' of https://github.com/Tox/toxic 2013-09-18 00:26:33 -04:00
Jman012
9cb50ed538 Let windows.c actually get the tox *m.
main.c called init_windows(m), but windows.c only had init_windows(). This caused m to be NULL, which didn't cause any crashes, but it was certainly a headache for trying to do some new stuff.
2013-09-17 20:19:46 -07:00
Jfreegman
49b78c9fd4 api update fixes 2013-09-17 20:54:25 -04:00
Jfreegman
4e5e3be95f misplaced comment 2013-09-17 19:15:29 -04:00
Jfreegman
42de821e3c use/display nicks instead of friend numbers for groupchat invites 2013-09-17 19:11:23 -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
063bc7ca86 Merge branch 'ipv6.init_connection' of https://github.com/FullName/toxic into FullName-ipv6.init_connection 2013-09-16 23:10:29 -04:00
Coren[m]
560e6be66b Merge remote-tracking branch 'upstream/master' into ipv6.init_connection 2013-09-17 03:21:54 +02: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]
a0a6443820 Convert line on reading from file, not on using. 2013-09-15 14:31:59 +02: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
Coren[m]
960bed12a8 If the user gave a filename for the datafile, don't imply that they want to ignore the serverlist file. 2013-09-14 11:21:38 +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
c061895266 Unnecessary casting 2013-09-11 21:44:39 -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
2e84836f8c Merge pull request #32 from FullName/Delta
if tox_new() fails, don't crash and leave the terminal in a broken state
2013-09-10 17:40:12 -07:00
Coren[m]
c9c9592685 if tox_new() fails, don't crash and leave the terminal in a broken state 2013-09-11 01:34:29 +02:00
Jfreegman
9e8fa92109 truncate friends' notes if they're too long 2013-09-10 04:04:13 -04:00
Jfreegman
f50f93ee81 move define 2013-09-09 15:33:15 -04:00
Jfreegman
4fc063d5fe api changed return on function 2013-09-09 06:54:36 -04:00
Jfreegman
1b5bcb4ffa tweaks and fixes 2013-09-09 01:08:06 -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
ba7d01d3c1 bug fix and remove redundant code 2013-09-06 00:56:55 -04:00
Jfreegman
3ddae51998 small fix 2013-09-05 18:36:46 -04:00
Jfreegman
05c7727fb8 Added a statusbar to chat windows and removed spammy messages 2013-09-05 18:24:58 -04:00