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

195 Commits

Author SHA1 Message Date
Jfreegman
a2e6a25fc8
make prompt window look like chat/groupchat windows (fixes various bugs, allows history scrolling) 2014-06-28 18:40:22 -04:00
Jfreegman
ef097757f3 general cleanup: rm unused config.h, add license info to device.c/h, add a couple compiler options and fix warnings 2014-06-24 17:47:35 -04:00
Jfreegman
34bd4a1c7c
fix a bunch of implicit declarations 2014-06-21 21:41:38 -04:00
Jfreegman
58a131426a
better handling of fatal errors 2014-06-18 15:54:05 -04:00
Jfreegman
24a85df15f remove scroll mode, scroll windows via PageUp/PageDown 2014-06-13 02:10:30 -04:00
Jfreegman
f10ce94f38
api changes 2014-06-11 20:04:20 -04:00
Jfreegman
31a2e648c5
code cleanup 2014-06-11 18:47:18 -04:00
Jfreegman
31acdcada3 reorganize toxic_windows.h into two separate header files, rename main.c to toxic.c 2014-06-11 18:14:12 -04:00
Jfreegman
f9e15cd60b
no trailing space for command tab-complete 2014-06-02 03:19:59 -04:00
Jfreegman
848b4e9a4c
fix possible buffer overflow 2014-06-01 12:54:45 -04:00
Jfreegman
d65d0a08aa fix chat scroll bug 2014-06-01 03:45:46 -04:00
Sean Qureshi
4cac797b40
General cleanup
Signed-off-by: Sean Qureshi <sean@tox.im>
2014-04-19 14:58:13 -07:00
Grayson MacKenzie
f8a4312fdd Repaired window switching after widechar fix 2014-03-30 16:42:27 -04:00
Grayson MacKenzie
cce7892d94 Fixed character support 2014-03-30 16:40:13 -04:00
Jfreegman
c1dfb741c9 typging change callback update 2014-03-20 20:59:54 -04:00
Jfreegman
d49e911fe4 type fixes 2014-03-19 03:14:08 -04:00
Jfreegman
50a37495f8 API update 2014-03-18 21:48:26 -04:00
Jfreegman
3ad82cf3b1 fix bug in issue #104 2014-03-17 22:18:04 -04:00
Grayson MacKenzie
e6c68143bd Fixed incorrectly handled error check for longchars 2014-03-16 20:18:31 -04:00
Jfreegman
9d52b6ab5d forgot a lock 2014-03-13 06:43:53 -04:00
Jfreegman
f6a85518bc implement multi-threading 2014-03-13 06:06:53 -04:00
mannol
ed3e9b476d This should fix segfault and remove one-line comments 2014-03-11 23:22:27 +01:00
Jfreegman
d08feb2cc5 simplify popup drawing 2014-03-09 01:02:54 -05:00
Jfreegman
fe0641e981 add popup alert on friend delete 2014-03-08 23:57:21 -05:00
Jfreegman
33e16fe870 small optimization 2014-03-06 19:39:57 -05:00
Jfreegman
a61f5f6a6d properly close windows on exit 2014-02-26 05:23:11 -05:00
Jfreegman
b6613a015f add license info to source files 2014-02-25 02:28:24 -05:00
Jfreegman
2b707f1d80 implemented typing status 2014-02-23 04:28:33 -05:00
Jfreegman
42cd80efe9 use API function for friend count instead of global var 2014-02-07 18:44:10 -05:00
Jfreegman
34cc4314a5 added groupchat actions 2013-12-13 20:57:32 -05:00
Jfreegman
4c27df32b0 add tab auto-complete function for groupchat names 2013-12-07 22:10:32 -05:00
Jfreegman
3804233c21 didnt mean to change that 2013-12-06 22:07:37 -05:00
Jfreegman
e224f92210 change keys toctrl-o and p due to weird bug with ctrl-[ 2013-12-06 22:03:35 -05:00
Jfreegman
d232538317 make ctrl-] [ keys switch pages 2013-12-06 20:56:30 -05:00
Jfreegman
f942982f4e alert user when name is mentioned in groupchat 2013-12-06 19:41:53 -05:00
Jfreegman
a2af0bc047 don't sort after every friend add on statup 2013-12-04 01:08:26 -05:00
Jfreegman
c25296e65a fixes 2013-11-30 16:09:45 -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
a98ec22fd6 improve window alert functionality 2013-11-28 19:45:28 -05:00
Jfreegman
8de666a349 a small fixes 2013-11-26 17:39:11 -05:00
Jfreegman
5e37ddc0f8 testing groupchat stuff 2013-11-25 18:49:31 -05:00
Jfreegman
f84ece13de Add groupchat side panel & add new callback 2013-11-23 21:19:59 -05:00
Jfreegman
f43d735861 remove redundant cmd func args, use global prompt instead 2013-11-19 15:32:35 -05:00
Jfreegman
8bbd796755 fix on_friendadded() 2013-11-15 14:59:49 -05:00
Jfreegman
be88c89e09 simplify pending groupchat handling 2013-11-12 17:26:13 -05:00
Jfreegman
549fc5ecb6 big refactor for command functionality 2013-11-09 21:43:56 -05:00
Jfreegman
361c4cfafc adjusting max name length handling 2013-10-18 23:08:37 -04:00
Jfreegman
75d356e52a format fixes 2013-10-11 04:42:30 -04:00
Jfreegman
cb396c0e7c Implemented file sending 2013-10-10 04:52:05 -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
JFreegman
0aece37c4c Merge pull request #45 from JFreegman/master
set friendnames properly and some fixes
2013-09-24 13:24:36 -07: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
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
399b92c8e7 added groupchats 2013-09-15 16:38:38 -04:00
Jfreegman
863121273e added cmuch smaller client-specific maximum name length 2013-09-13 00:35:48 -04: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
40dcfc82d2 made error handling more consistent and added exit function 2013-09-11 00:02:27 -04:00
Jfreegman
f50f93ee81 move define 2013-09-09 15:33:15 -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
9c7cad0d55 made prompt window beep/blink on friend request 2013-09-06 02:51:10 -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
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
e5b5155c3e Change statusmsg to note for less confusion 2013-09-02 23:27:34 -04:00
Jfreegman
ed68350424 format fixes 2013-09-02 05:15:29 -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
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
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
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
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
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
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