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