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

124 Commits

Author SHA1 Message Date
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
AZ Huang
e29ce6ab6f Fix API ret code changes of ToxCore 2013-11-29 18:30:40 +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
f84ece13de Add groupchat side panel & add new callback 2013-11-23 21:19:59 -05:00
Jfreegman
d8da80914d alert chat window on file send/failure 2013-11-19 16:00:24 -05:00
Jfreegman
83458c64ec move timeout test out of while loop 2013-11-18 22:22:18 -05:00
Jfreegman
140b8b4690 improve file sending 2013-11-18 18:52:46 -05:00
Jfreegman
cf0840b80d small fixes 2013-11-17 15:45:26 -05:00
Jfreegman
e9ef2b1fc6 cflags were doing nothing 2013-11-15 21:36:05 -05:00
Jfreegman
e091b36b14 move prompt help command to global_commands.c 2013-11-15 14:38:58 -05:00
Jfreegman
c0d4070b96 small optimization 2013-11-15 02:26:26 -05:00
Jfreegman
3ceba62921 small optimization 2013-11-15 02:12:01 -05:00
Jfreegman
a0eac6a136 fix bug 2013-11-14 19:34:40 -05:00
Jfreegman
ee509a7cec add file sender timeouts 2013-11-14 19:14:54 -05:00
Jfreegman
89266c8eff display friendlist with online friends above offline 2013-11-09 02:50:32 -05: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
2ff1da396c refactored file saving/fixed bugs 2013-10-17 19:53:29 -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
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
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
Jfreegman
80c7b07f2e because i forgot to remove it 2013-09-25 00:59:40 -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
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
Jfreegman
89cb29afed moved misc helper functions to separate file and removed redundant includes 2013-09-20 20:35:03 -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
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
b7375fb2a1 made statusmessages resize dynamically according to window size 2013-09-13 02:02:49 -04: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
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
f50f93ee81 move define 2013-09-09 15:33:15 -04:00
Jfreegman
fde8059a4c tweaks and fixes 2013-09-09 00:56:47 -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
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
e5b5155c3e Change statusmsg to note for less confusion 2013-09-02 23:27:34 -04:00
Sean Qureshi
e6835483ce Improved msvc compatibility 2013-08-28 10:04:54 -07:00
Sean Qureshi
70936935c9 Merge pull request #14 from jin-eld/win32
Make sure toxic compiles on MinGW/Win32 again
2013-08-28 10:00:31 -07:00
Jfreegman
894dc28c6f Hiding DHT tab since it doesn't work currently 2013-08-27 04:58:30 -04:00
jin-eld
bb8a2b7700 Make sure toxic compiles on MinGW/Win32 again
The config dir stuff is simply broken and needs to be fixed. So for now
disabled it, until someone has time to look into it.
2013-08-27 11:02:47 +03:00
Manuel Argüelles
12af26b666 Add check for setlocale()
In wide char mode it is important to be sure that setlocale() function
succeed.
2013-08-24 18:59:57 -04:00
irungentoo
e6a13feae8 Fixed some warnings. 2013-08-24 19:16:43 -04:00
Sergey 'Jin' Bostandzhyan
2a46d48cdf Sync with new libtoxcore build system
First try to use pkg-config to find libtoxcore, fall back to manual
checks if pkg-config is not available.

Improve ncurses search, should now find everything on OSX.
2013-08-24 05:15:15 +03:00
Florian Hahn
2db69f0fd6 Use tox_ instead of m_ functions 2013-08-24 00:21:01 +02:00
Florian Hahn
0f97e37fa3 Remove unused global variable 2013-08-23 23:52:35 +02:00
Florian Hahn
59c628e4b1 Remove duplicated function resolve_addr 2013-08-23 23:52:07 +02:00
Florian Hahn
baadd95b45 Use new public api 2013-08-23 23:50:34 +02:00
Jfreegman
9ab34ca5dd resolve_addr() was removed from core 2013-08-23 17:25:08 -04:00
Manuel Argüelles
1087bbb4ff Make wide character support optional
Issue #514. FindCursesw modified to make it simpler. Wide character
can be disable by passing NO_WIDECHAR=ON.
2013-08-23 10:51:54 +03:00
Sergey 'Jin' Bostandzhyan
30666d2deb Install and use DHTservers file
DHTservers will go to $prefix/share/toxic/DHTservers
2013-08-23 01:37:19 +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