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

253 Commits

Author SHA1 Message Date
Jfreegman
5da789cc37
save last online data in blocked list 2014-07-31 14:53:02 -04:00
Jfreegman
0254596c73
add help menu for friendlist 2014-07-31 13:49:15 -04:00
Jfreegman
fba0732faa
implement contact blocking 2014-07-31 12:48:49 -04:00
Jfreegman
3cae1d92cd
change online/offline symbols 2014-07-26 19:16:07 -04:00
Jfreegman
18e1f08e31 Merge branch 'master' of https://github.com/Tox/toxic 2014-07-24 23:04:07 -04:00
Jfreegman
b68deef6db allow line_info_add to take formatted strings with variable # of args 2014-07-24 23:03:55 -04:00
mannol
3a1e23a3ff Fixed sounds not playing 2014-07-25 02:12:32 +02:00
Jfreegman
a047cead05
fix a few notification issues 2014-07-22 14:38:32 -04:00
mannol
98ac4d7983 Added sound notifications and prepared for later system notifications. Also, now using libconfig for configuration loading. 2014-07-21 03:25:21 +02:00
mannol
933d46553f Added sounds 2014-07-21 01:12:13 +02:00
Jfreegman
190e1e73e8
change tab names: prompt = home, friends = contacts 2014-07-13 15:34:09 -04:00
Jfreegman
442f68cd31
wrap tox_get_name in function that truncates name if it's too long 2014-07-08 14:31:59 -04:00
Jfreegman
f1a3ed379e
fix nick truncating 2014-07-07 19:08:33 -04:00
Jfreegman
a009fbf20c use char instead of uint8_t, fix compiler warnings so toxic compiles with -Wall and -Werror on gcc and clang 2014-07-06 22:16:20 -04:00
mannol1
2ed9448b41 Merge pull request #174 from mannol1/master
Make closing window end call
2014-07-06 22:52:11 +02:00
Jfreegman
455eba3bfd
fix help popup flickering issue on some terminals 2014-07-05 14:46:16 -04:00
mannol
3a86ee923e Fixed merge conflicts 2014-07-04 18:05:50 +02:00
mannol
65e726a51a Now closing the window will end the call 2014-07-04 18:04:03 +02:00
Jfreegman
6754741f37
improve /help system and add startup welcome message 2014-07-04 03:24:29 -04:00
Jfreegman
10d0e99d72
core api const-correctness update 2014-07-02 17:30:31 -04:00
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
09badaa9ee refactor chat window input code, misc fixes 2014-06-26 02:52:01 -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
f3ee120c48 Merge branch 'master' of https://github.com/Tox/toxic 2014-06-23 18:54:48 -04:00
Jfreegman
63ea6154f4
show info box for audio calls 2014-06-23 18:54:23 -04:00
Ansa89
78af10fa1f Cast time to "time_t" 2014-06-23 10:57:27 +02:00
mannol
e47f2c05f3 Added VAD, changed device i/o, mute option, dynamic device changing and more 2014-06-22 02:18:23 +02:00
mannol
29b283c176 VAD sort of works 2014-06-21 01:58:00 +02:00
mannol
0c834b60f5 Not done yet. 2014-05-16 20:00:01 +02:00
Jfreegman
2837c5697f
small fix 2014-05-01 04:00:19 -04:00
Jfreegman
6b72ef0720
change a few memcpy's to strcpy to fix possible segfaults 2014-04-26 04:09:51 -04:00
Jfreegman
81125be971
show selected friend's ID at bottom of friendlist 2014-04-24 23:25:38 -04:00
Sean Qureshi
4cac797b40
General cleanup
Signed-off-by: Sean Qureshi <sean@tox.im>
2014-04-19 14:58:13 -07:00
Jfreegman
de3a28c6e6
create empty config file if none found && make default time 24 hours 2014-04-07 18:16:38 -04:00
Jfreegman
92948abcf1 implement basic user settings 2014-04-07 06:03:45 -04:00
Jfreegman
411ae8d0f5
off by 1 error 2014-04-01 04:43:52 -04:00
Jfreegman
e419299487
use correct types 2014-04-01 03:53:12 -04:00
Jfreegman
08f57de9e0
fix segfault and memory leak 2014-04-01 02:38:32 -04:00
Jfreegman
3b7e161149 don't send null terminated strings, and null terminate all incoming strings 2014-03-31 22:34:05 -04:00
Grayson MacKenzie
cce7892d94 Fixed character support 2014-03-30 16:40:13 -04:00
Jfreegman
21c48bde5c
string safety 2014-03-28 03:46:00 -04:00
Jfreegman
a5ce17f44e refactor groupchats to allow scrolling 2014-03-25 08:21:50 -04:00
Jfreegman
5e941427d3 refactor prompt to allow scrolling 2014-03-25 03:17:22 -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
8bea44a44c properly handle invalid statuses 2014-03-18 19:34:02 -04:00
Jfreegman
d03a661635 Merge branch 'master' of https://github.com/Tox/toxic 2014-03-17 19:58:08 -04:00
jin-eld
8024757e57 Fix toxic build when toxav is not available 2014-03-16 20:28:46 +01:00
Jfreegman
33a4e806e2 handle last online stuff properly & update toxic version 2014-03-16 03:31:48 -04:00
Jfreegman
65eb185a9f attempt to make friendlist more visually appealing 2014-03-15 04:14:46 -04:00
Jfreegman
a68fc671e5 show "last seen" time for offline friends 2014-03-14 23:46:24 -04:00
mannol
79fbf0a31f Fixes and stuff... 2014-03-14 23:08:08 +01:00
Jfreegman
d29836845c get unix time more efficiently 2014-03-13 23:56:46 -04:00
Jfreegman
d8d198c81c rm unused argument for sort func 2014-03-13 23:30:44 -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
b210068c1d Fixed segfault 2014-03-12 00:25:13 +01:00
mannol
ed3e9b476d This should fix segfault and remove one-line comments 2014-03-11 23:22:27 +01:00
Sean
a63cba645f Issue #89 workaround for a toxav_get_peer_id issue 2014-03-11 12:59:12 -07:00
mannol
e6f285adc7 Update with latest core 2014-03-11 01:04:53 +01:00
mannol
a80da2b58f Merge remote-tracking branch 'upstream/master' 2014-03-11 00:58:18 +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
mannol
63745afe09 Toxic now supports audio calls 2014-03-07 03:27:48 +01:00
mannol
416419a6e7 Toxic now supports audio calls 2014-03-07 03:14:04 +01:00
Jfreegman
33e16fe870 small optimization 2014-03-06 19:39:57 -05:00
Jfreegman
4b8de0d16d speed up friendlist loading on startup 2014-03-05 08:01:12 -05:00
Jfreegman
b6613a015f add license info to source files 2014-02-25 02:28:24 -05:00
mannol
e775c51a06 Merge upsteam/master 2014-02-22 23:58:36 +01:00
Jfreegman
7e23afb57e make friendlist offline statuses bold 2014-02-21 21:24:33 -05:00
Jfreegman
2982dc6ddd show pseudo-unique identifier in friend chat windows 2014-02-21 21:21:12 -05:00
Jfreegman
3cd15f3846 show number of online friends 2014-02-07 23:31:35 -05:00
Jfreegman
bd4b430fbb count_friendlist is too inefficient to use that way 2014-02-07 23:28:17 -05:00
Jfreegman
42cd80efe9 use API function for friend count instead of global var 2014-02-07 18:44:10 -05:00
Jfreegman
dfb5b16e7d show friend count and change friend delete key to delete 2013-12-14 19:29:45 -05:00
Jfreegman
34cc4314a5 added groupchat actions 2013-12-13 20:57:32 -05:00
Jfreegman
e834821348 replace name_compare with lib function 2013-12-08 01:18:10 -05:00
Jfreegman
ce45580c83 partially fix bug where input line eats prompt messages 2013-12-06 05:07:35 -05:00
Jfreegman
a2af0bc047 don't sort after every friend add on statup 2013-12-04 01:08:26 -05:00
Jfreegman
1a86327f9f allow groupchat sidebar to scroll 2013-12-03 03:44:02 -05:00
Jfreegman
ba750753a5 fix for possible divsion by zero 2013-12-02 18:34:14 -05:00
Jfreegman
7a89229375 allow friendlist to scroll up and down if friends overflow the window 2013-12-02 18:23:04 -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
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
Jfreegman
d29e5dbe48 fixes 2013-11-28 20:23:37 -05:00
Jfreegman
eab41ccd3d a couple bug fixes 2013-11-27 01:54:22 -05:00
Jfreegman
5e37ddc0f8 testing groupchat stuff 2013-11-25 18:49:31 -05:00
Jfreegman
8dabfdc2da oops 2013-11-24 22:34:22 -05:00
Jfreegman
34511ada02 fix bug 2013-11-24 22:31:58 -05:00
Jfreegman
3470a5eef7 improve friendlis sorting function 2013-11-24 18:22:48 -05:00
Jfreegman
e625bffbb4 sort friendlist alphabetically 2013-11-24 17:12:24 -05:00
Jfreegman
1064e8d144 made borders-lines crisp 2013-11-23 23:46:46 -05:00
Jfreegman
f43d735861 remove redundant cmd func args, use global prompt instead 2013-11-19 15:32:35 -05:00
Jfreegman
140b8b4690 improve file sending 2013-11-18 18:52:46 -05:00
Jfreegman
1ed6d83ed3 show name for default friend request message. also don't print key. 2013-11-17 23:14:27 -05:00
Jfreegman
d69b82a7b4 bug fix 2013-11-17 22:28:22 -05:00
Jfreegman
246c9283d0 bold currently selected friend in friendlist 2013-11-17 19:45:53 -05:00
Jfreegman
cf0840b80d small fixes 2013-11-17 15:45:26 -05:00
Jfreegman
0f5fed577d fix friendlist drawing bugs 2013-11-15 17:03:24 -05:00
Jfreegman
8bbd796755 fix on_friendadded() 2013-11-15 14:59:49 -05:00
Jfreegman
ee509a7cec add file sender timeouts 2013-11-14 19:14:54 -05:00
Jfreegman
be88c89e09 simplify pending groupchat handling 2013-11-12 17:26:13 -05:00
Jfreegman
704b787ec2 formatting 2013-11-12 01:50:04 -05:00
Jfreegman
549fc5ecb6 big refactor for command functionality 2013-11-09 21:43:56 -05:00
Jfreegman
89266c8eff display friendlist with online friends above offline 2013-11-09 02:50:32 -05:00
Jfreegman
706aed533d bit of cleanup 2013-11-02 20:32:35 -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
2ff1da396c refactored file saving/fixed bugs 2013-10-17 19:53:29 -04:00
Jfreegman
7046772a03 fixed friend requests queueing 2013-10-16 17:59:56 -04:00
Jfreegman
e60e4f4727 implemented file receving 2013-10-11 00:23:39 -04:00
Jfreegman
e6956b1abc fixes 2013-09-23 01:22:21 -04:00
Jfreegman
89cb29afed moved misc helper functions to separate file and removed redundant includes 2013-09-20 20:35:03 -04:00
Jfreegman
b4512811ba fixed prompt scroll bugs and statusbar struct issues 2013-09-18 17:30:35 -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
399b92c8e7 added groupchats 2013-09-15 16:38:38 -04: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
40dcfc82d2 made error handling more consistent and added exit function 2013-09-11 00:02:27 -04:00
Jfreegman
9e8fa92109 truncate friends' notes if they're too long 2013-09-10 04:04:13 -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
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
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
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
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
e5b5155c3e Change statusmsg to note for less confusion 2013-09-02 23:27:34 -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
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
3d062ca15b potential seg fault 2013-08-29 23:14:09 -04:00
Jfreegman
4f2e80ef28 added infinite loop check 2013-08-28 14:47:47 -04: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
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
baadd95b45 Use new public api 2013-08-23 23:50:34 +02:00