1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 12:43:24 +01:00
Commit Graph

1250 Commits

Author SHA1 Message Date
Jfreegman
2f93081a42 slight refactor of select_friend() and fix mistake 2013-09-04 17:22:16 -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
0be84ecbb3 notes/status messages no longer forced 2013-09-03 22:05:36 -04:00
Jfreegman
aa6e205ee8 Show offline friends names and some cosmetic changes 2013-09-03 21:31:50 -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
dbe84898b9 oops
oops

oops
2013-09-02 05:24:55 -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
73d6fba055 display status messages in friends list 2013-09-02 00:18:20 -04:00
Jfreegman
c5b9677fc0 properly implemented statuses 2013-09-01 22:11:47 -04:00
JFreegman
d636cc9780 Merge pull request #20 from JFreegman/master
fix buffer overflows and format issues
2013-09-01 15:15:10 -07:00
JFreegman
7a106c1104 Merge pull request #17 from manuel-arguelles/fix_blocking
Fix blocking while waiting for key
2013-08-31 19:32:31 -07:00
Sean Qureshi
5b9c5d9c0c Merge pull request #15 from JFreegman/master
implemented friend deletion
2013-08-31 18:27:31 -07:00
Jfreegman
bfeea47774 fix buffer overflows and format issues 2013-08-31 02:22:07 -04:00
Jfreegman
b99ce9ce46 proper fix for segfault, credit to manuel-arguelles 2013-08-30 20:13:29 -04:00
Jfreegman
3d062ca15b potential seg fault 2013-08-29 23:14:09 -04:00
Manuel Argüelles
ec7e458800 Fix blocking while waiting for key
The timeout() for input is set on main window (stdscr), since it seems
that for some ncurses implementations get_wch and getch are the same
(non widechar) wget_wch is used instead. The window passed must the
the main one, the others doesn't have the timeout settings. Another
option is to set wtimeout() on every window.
2013-08-29 21:56:27 -05:00
Giuliano Schneider
9ac42daf2b fixed "free(): invalid pointer" when XDG_CONFIG_HOME is set 2013-08-29 17:06:05 +02:00
Jfreegman
4f2e80ef28 added infinite loop check 2013-08-28 14:47:47 -04:00
Sean Qureshi
e6835483ce Improved msvc compatibility 2013-08-28 10:04:54 -07:00
Sean Qureshi
4616aef070 Improved msvc compatibility 2013-08-28 10:03:21 -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
c08639b8e1 small fixes 2013-08-28 05:53:47 -04:00
Jfreegman
f24eebaeed implemented friend deletion 2013-08-28 05:46:09 -04:00
Jfreegman
5cf982dfa1 Removed dht window because it's not supported by the new public api 2013-08-27 18:30:38 -04: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
stal
222124742c Merge pull request #10 from manuel-arguelles/check_locale
Add check for setlocale()
2013-08-26 13:02:25 -07:00
Sergey 'Jin' Bostandzhyan
ad1c9f0cae Fix for the "bad character" when doing backspace in chat window
Backspace was printing 'ć' instead of actually backspacing in a chat
window when widechar support was enabled.
2013-08-26 17:03:04 +03:00
irungentoo
e6a13feae8 Fixed some warnings. 2013-08-24 19:16:43 -04: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
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
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
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
95312642f4 Renamed windows.h header to avoid conflict on Win32
winsock2.h includes windows.h as well, if for some reason our windows.h
is chosen first then we will run into errors.
2013-08-23 01:09:23 +03:00
Sergey 'Jin' Bostandzhyan
43372f09a6 Move sources to an own subdirectory 2013-08-22 23:57:20 +03:00