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

1025 Commits

Author SHA1 Message Date
Jfreegman
b870679f2c
allow resuming of broken file transfers (needs testing) 2014-08-16 17:20:53 -04:00
Loui Chang
595e42b587 Clarify function of -b switch.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-08-16 02:35:21 -04:00
Loui Chang
3e79a5ca8b Add -b flag for debugging
For now this just prints messages to stderr, so the user should manually
redirect stderr to avoid breaking the ui. This can be later expanded
upon to provide debugging messages in the command window.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-08-15 19:06:16 -04:00
Jfreegman
68ec484a58
don't allow DNS lookups when using a proxy + forced TCP & fix arg parsing 2014-08-15 15:13:35 -04:00
Jfreegman
1d6ccf56a8
name conflict with core function might cause linking error 2014-08-15 12:22:39 -04:00
Jfreegman
67f637a1e1
redirect stderr before audio init to prevent error spam 2014-08-14 21:31:28 -04:00
JFreegman
5e175d5319 Merge pull request #220 from louipc/master
new tox_bootstrap_from_address() behaviour and a minor ui change
2014-08-14 20:47:17 -04:00
Jfreegman
778db0fece core change: ports no longer in network byte order 2014-08-14 20:38:33 -04:00
Jfreegman
72010dd2e1
allow connections through proxies 2014-08-14 20:31:52 -04:00
Loui Chang
39556b36f3 port is no longer passed in network byte order to tox_bootstrap_from_address()
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-08-14 20:10:14 -04:00
Loui Chang
dc9ffa6e56 ipv6enabled parameter was removed in toxcore.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-08-14 19:51:52 -04:00
Loui Chang
1e92bb3c2b help: lowercase keybinding hints for clarity.
Seeing the uppercase character I expected it to be the actual key.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-08-14 19:22:59 -04:00
Jfreegman
edbdf2966a
toxcore API update, add option to force TCP connection 2014-08-14 18:45:41 -04:00
Jfreegman
35cc815cdb add option to specify DNSservers path 2014-08-12 22:32:36 -04:00
Jfreegman
a318bdb034
add option to not connect to the DHT network 2014-08-12 18:59:27 -04:00
Jfreegman
d6aaa95b25
ignore invalid file data callbacks 2014-08-12 15:27:42 -04:00
Jfreegman
5718ad52db
a few fixes 2014-08-12 03:01:18 -04:00
Jfreegman
0f4cffbacc
a few dns fixes 2014-08-11 01:59:01 -04:00
Jfreegman
d9a861331f
Use DNS server list instead of hard coding domains/keys 2014-08-10 21:40:19 -04:00
Jfreegman
2f12a8d429 prevent statusmessage from wrapping on prompt screen 2014-08-10 00:37:26 -04:00
Jfreegman
e75cf4f3ad fix bug where tab alert colours weren't being properly prioritized 2014-08-08 13:39:05 -04:00
Jfreegman
bb85f31bb2 convert bytes for file transfer message, general fixes 2014-08-07 19:31:36 -04:00
Jfreegman
396d08f0d2 refactor friend/blocklist, dynamically allocate memory 2014-08-07 13:24:29 -04:00
Jfreegman
6ab184e7ce
file transfer improvements and bug fixes 2014-08-05 17:38:33 -04:00
mannol
147030e06f Fix ringing sounds 2014-08-05 01:41:06 +02:00
Jfreegman
09fd5cb69f
small fix 2014-08-04 18:04:54 -04:00
Jfreegman
64db9f73a2 update file transfers for core changes 2014-08-04 16:47:45 -04:00
Jfreegman
28633be2dd
a few fixes and improve error messages 2014-08-04 14:35:34 -04:00
Jfreegman
6fdafceda8 add ability to cancel file transfers 2014-08-04 02:03:23 -04:00
Jfreegman
38ed0c86ad
use hangup cmd to cancel outgoing call requests 2014-08-03 23:11:19 -04:00
Jfreegman
ad23816096
fix filetransfer bug 2014-08-03 16:44:21 -04:00
Jfreegman
bc4a730e76 re-adding until better solution found 2014-08-03 15:42:14 -04:00
Jfreegman
79372cc80d
don't show full path when sending files 2014-08-03 15:12:55 -04:00
Jfreegman
c9e4246ac5 Merge branch 'master' of https://github.com/Tox/toxic 2014-08-03 11:54:49 -04:00
Felix Janda
c49de7733c Add missing includes
Fixes compilation with musl libc
2014-08-03 09:44:48 +02:00
Jfreegman
3fc7c90630
stderr redirect doesn't work as intended, add invalid command message when no sound 2014-08-03 01:31:33 -04:00
Jfreegman
53663a7832
try to end curses session gracefully on SIGSEGV 2014-08-03 00:26:44 -04:00
Jfreegman
c14f2a3fcd put chatlogs in their own directory 2014-08-02 21:03:59 -04:00
Jfreegman
3cbe61e111
fix a few formatting bugs and simplify code a bit 2014-08-02 15:35:57 -04:00
mannol
f98e6bdcb4 Fix bug 2014-08-02 19:21:40 +02:00
Jfreegman
0884954c84
fix data file init bug 2014-08-02 13:04:29 -04:00
mannol1
43727c6730 Merge pull request #210 from mannol1/master
Fresh pack of backdoors
2014-08-02 17:31:36 +02:00
Jfreegman
618b731d5a
fix possible buffer overflow 2014-08-01 23:00:52 -04:00
mannol
46975bf38b Updated with latest core 2014-08-02 02:10:21 +02:00
mannol
8f3989000d Box notifications are like ready 2014-08-02 00:37:02 +02:00
Jfreegman
9fe75fbc47
fix 2014-08-01 15:05:10 -04:00
Jfreegman
c455e79604
dynamically adjust main loop sleep time according to recommended value 2014-08-01 13:56:49 -04:00
Jfreegman
a223545853 close chatwindow if its associated contact is blocked/deleted 2014-07-31 22:05:09 -04:00
Jfreegman
b243f7aa62 Merge branch 'master' of https://github.com/Tox/toxic 2014-07-31 15:13:10 -04:00
Jfreegman
899452d7cd Merge branch 'block' 2014-07-31 15:04:05 -04:00
Jfreegman
af68fa7ee0
endian correctness 2014-07-31 15:02:19 -04:00
Jfreegman
5da789cc37
save last online data in blocked list 2014-07-31 14:53:02 -04:00
stal
7e5b41c8e0 another apple include: <sys/syslimits.h>
for NAME_MAX
2014-07-31 10:52:36 -07:00
Jfreegman
0254596c73
add help menu for friendlist 2014-07-31 13:49:15 -04:00
stal
67c02404b7 alut is not part of OpenAL.framework on OS X
therefore the linux include path works fine
2014-07-31 10:38:04 -07:00
Jfreegman
fba0732faa
implement contact blocking 2014-07-31 12:48:49 -04:00
Ansa89
d06086a656 Try to support older versions of OpenAL 2014-07-31 13:14:33 +02:00
Ansa89
b62787ce47 Makefile: refactoring and adding desktop notifications support 2014-07-30 14:14:13 +02:00
Jfreegman
75708f7600
couple small fixes 2014-07-30 02:46:08 -04:00
Jfreegman
476dec46b6 add settings to toggle typing notifications for self and others 2014-07-29 20:14:44 -04:00
Jfreegman
973f6206ee
enforce const correctess, fix undefined behaviour with string literals 2014-07-29 14:54:34 -04:00
Jfreegman
15e91cfa99 formatting, use case-insensitive string compare, use defines for keycodes 2014-07-28 21:47:35 -04:00
matt
5275da5a6b Merge branch 'keybinds'
configurable keybinds finished and working, merging with master branch
2014-07-29 00:55:39 +01:00
matt
e891b1281b Configurable keybinds implemented and example conf updated 2014-07-29 00:53:44 +01:00
Jfreegman
ca7110b37c
small visual adjustment to progress bar 2014-07-28 19:36:30 -04:00
matt
8960eb98f4 Example conf updated 2014-07-28 22:47:33 +01:00
Zetok Zalbavar
7a7e4f573a Fix ONLINE_CHAR being identical to OFFLINE_CHAR 2014-07-28 18:38:15 +01:00
matt
a7e6ab7758 reads correctly from config file now, need to go through and check each one and then look at usability 2014-07-28 15:19:50 +01:00
matt
a0cde4ae8c Merge remote-tracking branch 'origin/master' into keybinds 2014-07-28 14:06:54 +01:00
Jfreegman
94a8ce5aa8
fix buggy path autocomplete behaviour 2014-07-28 01:33:12 -04:00
Jfreegman
b18a67d656 put file senders in a round-robin queue so multiple transfers upload at a uniform pace 2014-07-27 22:27:27 -04:00
mannol1
02708534c0 Merge pull request #200 from mannol1/master
Core adjustments
2014-07-28 01:35:58 +02:00
mannol
d5710d80e0 Upstream adaption 2014-07-28 01:35:40 +02:00
matt
8dcba3219d Merge remote-tracking branch 'origin/master' into keybinds 2014-07-28 00:32:05 +01:00
matt
9f01a45b1f Keybind defaults moved to settings.c; conf keybinds not reading correctly yet 2014-07-28 00:06:25 +01:00
Jfreegman
49538a986c improve file transfer progress line 2014-07-27 18:00:33 -04:00
Jfreegman
77e152ad36
fix security flaw where untrusted input wasn't being sanitized 2014-07-26 21:22:55 -04:00
mannol
4834642b80 Merge remote-tracking branch 'upstream/master' 2014-07-27 01:50:06 +02:00
mannol
18a6f621f0 Started adding support for popup notifications and adjustments to new core 2014-07-27 01:49:59 +02:00
Jfreegman
3cae1d92cd
change online/offline symbols 2014-07-26 19:16:07 -04:00
Jfreegman
02b192d6ee fix bug and typo 2014-07-25 20:17:22 -04:00
Jfreegman
f630a3e604
fix possible buffer overflows and undefined behaviour 2014-07-25 17:55:21 -04:00
Jfreegman
fb5a9bc043 fix backspace bug, simplify a bit 2014-07-25 15:51:29 -04:00
irungentoo
26ad5a00a3 Fixed out of bounds read. 2014-07-25 15:17:46 -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
8d8df585ad
sort directories and skip special symbols for path autocomplete 2014-07-23 18:34:32 -04:00
Jfreegman
8660047ec1
fix small bug, update readme, bump version 2014-07-23 15:15:14 -04:00
Jfreegman
9476db02a9
allow disabling of individual sounds 2014-07-23 14:59:36 -04:00
Ansa89
3cc629cbc1 Add hardcoded path for sound notifications 2014-07-23 11:25:38 +02:00
mannol1
50fca4cddf Merge pull request #193 from Ansa89/makefile-fix
Makefile: little refactoring
2014-07-23 03:51:52 +02:00
Jfreegman
a047cead05
fix a few notification issues 2014-07-22 14:38:32 -04:00
Ansa89
196af10d01 Move init and exit in right place 2014-07-22 12:30:35 +02:00
Ansa89
1e0e93e5c6 Makefile: little refactoring 2014-07-22 09:59:44 +02:00
Jfreegman
ac01d6d316 fix config file loading, fix makefile compile errors 2014-07-21 18:57:16 -04:00
mannol
f0f1138c54 Fixed some build errors 2014-07-21 23:48:39 +02:00
Jfreegman
bc94e08970 sendfile tab-complete for ~/ shortcut 2014-07-21 15:11:30 -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
7e667a8028 print multiple matches for all tab-complete operations, fix bug when tab-completing at end of line 2014-07-18 13:48:21 -04:00
Jfreegman
d4e41d6053 autocomplete pathnames with spaces 2014-07-18 03:20:40 -04:00
Jfreegman
f30dccf726
return correct value, fix comment 2014-07-18 01:52:33 -04:00
Jfreegman
ea3fcd5b79 auto-completion for paths when sending file & improved auto-complete algorithm to do partial matches 2014-07-18 01:37:33 -04:00
Jfreegman
e61d070def
cleanup/error checks 2014-07-17 03:35:18 -04:00
Jfreegman
b5f34f42a8 small fix 2014-07-16 21:34:50 -04:00
Jfreegman
4426eaddd9
increase max friends 2014-07-16 15:59:54 -04:00
Jfreegman
83f0720a39
another UB fix 2014-07-16 15:55:04 -04:00
Jfreegman
ce4f293574 fix undefined behaviour with string literals 2014-07-16 12:51:07 -04:00
Jfreegman
b23ae5a4c3 add buffer yanking, clean up input functions 2014-07-14 14:44:42 -04:00
Jfreegman
190e1e73e8
change tab names: prompt = home, friends = contacts 2014-07-13 15:34:09 -04:00
Jfreegman
ee67cf0bf1
use full name for log 2014-07-10 02:54:56 -04:00
Jfreegman
aaeb47dc14
create dns loopup threads in detached state & add a few missing error descriptions 2014-07-09 23:40:46 -04:00
Jfreegman
e19b0ed710 delete subwindows before parent window on resize to prevent memory leaks 2014-07-09 22:12:51 -04:00
mannol
df676423a7 Fixed conflicts 2014-07-10 01:29:18 +02:00
mannol
cf8dda6b0d Fixes problems with upstream changes 2014-07-10 01:24:14 +02:00
Jfreegman
1ce731471d fix potential race conditions 2014-07-09 02:21:01 -04:00
Jfreegman
f98c77432b
exit toxic properly on ^C 2014-07-08 20:21:51 -04:00
Jfreegman
9fa5a3fdb6
fix window cleanup bugs & give prompt its own cleanup func 2014-07-08 19:24:44 -04:00
Jfreegman
5b9fd70f30
autosave every 60 seconds 2014-07-08 14:46:50 -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
Ansa89
57b52f35b4 Use long int instead uint64_t 2014-07-08 09:39:42 +02:00
Jfreegman
27a31a8399
truncate long chat window names 2014-07-07 19:39:33 -04:00
Jfreegman
f1a3ed379e
fix nick truncating 2014-07-07 19:08:33 -04:00
Jfreegman
74b84c4252 some code cleanup 2014-07-07 03:12:47 -04:00
Jfreegman
00e6546f0c
namelength should be signed, -Werror is probably overkill 2014-07-06 22:31:11 -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
1575a40d61
reduce inactive window refresh rate 2014-07-06 16:18:34 -04:00
Jfreegman
ad14baf601
remove unnecessary memsets 2014-07-06 03:41:48 -04:00
Jfreegman
8b6a5813e6 fix line_info_reset_start() bugs, a few other small fixes/cleanup 2014-07-06 01:48:50 -04:00
irungentoo
f4c76e12f4 A/V api change. 2014-07-05 16:19:38 -04:00
Jfreegman
3fa8c4be0b
small fix 2014-07-05 15:20:33 -04:00
Jfreegman
455eba3bfd
fix help popup flickering issue on some terminals 2014-07-05 14:46:16 -04:00
Jfreegman
de1e61bd5a code cleanup, improve welcome message 2014-07-04 14:19:20 -04:00
mannol
7fba5a59bf Fixed implicit declaration warning and merge conflict leftover 2014-07-04 18:14:06 +02: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
0f37e50419 groupchat keys can sometimes start with a 0 2014-07-02 14:13:35 -04:00
Jfreegman
95d09e4b75
fix window resizing bug on some platforms and add -O1 optimization flag 2014-07-01 19:39:25 -04:00
Jfreegman
7c71c35797 possibly fix segfault 2014-07-01 15:04:29 -04:00
Jfreegman
893cfaa543
correctly reposition call infobox on resize 2014-07-01 11:17:52 -04:00
Jfreegman
3e22c9b829
allow friendlist to be resized properly 2014-07-01 01:17:31 -04:00
Jfreegman
c271622670
fix resizing bugs 2014-06-30 23:56:47 -04:00
Jfreegman
a126f9c1a6 don't excessively update percentage complete line during file transfers 2014-06-30 14:17:07 -04:00
Jfreegman
44d524134f
need mutexes 2014-06-30 11:42:11 -04:00
Jfreegman
7ae807002e file sender thread was a failed experiment - do_file_senders should only be called once per tox_do iteration 2014-06-30 03:03:43 -04:00
Jfreegman
a194f7ad87
add option to use the default locale 2014-06-29 18:14:28 -04:00
Jfreegman
61d3f7e63e
fix tab completion in prompt window 2014-06-29 16:54:27 -04:00
Jfreegman
ebc5cd9285
manpage fixes/rm redundant comments & make alerts setting more intuitive 2014-06-28 22:05:05 -04:00
Jfreegman
97536d2a72
add setting option to disable timestamps 2014-06-28 20:33:46 -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
f8998b5891
properly close file senders on exit 2014-06-28 12:55:05 -04:00
Jfreegman
33e98fd720
put file senders in one thread due to weird issues & a few fixes 2014-06-28 12:14:43 -04:00
mannol1
134e5873a9 Merge pull request #165 from mannol1/master
Fixed setting buffer to half of the size
2014-06-27 01:46:24 +02:00
mannol
89a95eca16 Fixed setting buffer to half of the size 2014-06-27 01:45:15 +02:00
Jfreegman
d881312e3e should fix the high cpu usage issue 2014-06-26 19:35:12 -04:00
Jfreegman
da65ba4e8d
give file senders their own threads 2014-06-26 18:20:56 -04:00
Jfreegman
581261afca
fix backspace issue on some platforms 2014-06-26 11:19:51 -04:00
Jfreegman
09badaa9ee refactor chat window input code, misc fixes 2014-06-26 02:52:01 -04:00
Jfreegman
43c1140aa2
improve input scrolling, fix some unicode issues (WIP) 2014-06-24 21:02:16 -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
6490fa598c Merge pull request #157 from Ansa89/widechar
Wide characters support
2014-06-24 17:04:21 -04:00
Jfreegman
c41464c990
fix dns compatibility for apple 2014-06-24 13:20:12 -04:00
Ansa89
76f81c4d33 Wide characters support and removed unused files 2014-06-24 17:35:23 +02:00
Jfreegman
7ac7713268 improve call duration string & remove a couple unused functions 2014-06-24 02:58:18 -04:00
Jfreegman
490c80dae9 don't allow calls to offline friends 2014-06-23 22:15:39 -04:00
Jfreegman
f324d2d34b some fixups 2014-06-23 21:56:58 -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
mannol
2a6a5b13d7 Forgot to set index in some callbacks 2014-06-24 00:30:11 +02:00
mannol
476b056ed0 make it dynamic 2014-06-24 00:20:44 +02:00
mannol
f47991e18e Reverse call_idx and enable running call when devices fail to load 2014-06-23 23:57:12 +02:00
Ansa89
cb93c6ec65 Cast time to "time_t" 2014-06-23 10:58:24 +02:00
Ansa89
78af10fa1f Cast time to "time_t" 2014-06-23 10:57:27 +02:00
mannol
48361a003e Merged upstream and other fixes 2014-06-22 21:07:11 +02:00
Jfreegman
34bd4a1c7c
fix a bunch of implicit declarations 2014-06-21 21:41:38 -04:00
mannol
94b271da5d wat 2014-06-22 02:31:24 +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
Jfreegman
6b9ef7e6c9
refactor string funcs 2014-06-21 17:55:01 -04:00
Jfreegman
62239a1fda fix backspace bug 2014-06-21 11:55:32 -04:00
Jfreegman
bba81ac884
fix offset issue 2014-06-20 23:56:59 -04:00
Jfreegman
9f4248b1e1
redesign text input field to scroll horizontally, increase max string size 2014-06-20 23:08:13 -04:00
mannol
e06f0ffb7e Missed device.* 2014-06-21 02:04:25 +02:00
mannol
29b283c176 VAD sort of works 2014-06-21 01:58:00 +02:00
Jfreegman
3e797db16e
various fixes 2014-06-20 14:27:33 -04:00
Jfreegman
034a8f5d8b
code cleanup, improve do_connection 2014-06-19 13:50:41 -04:00
Jfreegman
eb7d910683
add toxme.se to dns3 server list 2014-06-18 20:22:26 -04:00
Jfreegman
85af9f55ba
improve key bindings (I think?) 2014-06-18 20:07:34 -04:00
Jfreegman
ca98b49813
fix scrolling bug 2014-06-18 18:29:07 -04:00
Jfreegman
0cff881d69
small fix 2014-06-18 18:07:51 -04:00
Jfreegman
7eb82a0fe5 bump version to 0.4.1 2014-06-18 16:15:34 -04:00
Jfreegman
58a131426a
better handling of fatal errors 2014-06-18 15:54:05 -04:00
Jfreegman
72e9e7d9c4 add str_to_lower function, ignore DNS domain name case 2014-06-18 13:12:39 -04:00
Jfreegman
fc148be3e2
fix possible segfaults 2014-06-18 12:10:00 -04:00
Jfreegman
bc51714148
exit dns threads with pthread_exit 2014-06-17 19:32:02 -04:00
Jfreegman
b24325d879 threads for DNS lookups 2014-06-17 19:19:48 -04:00
Jfreegman
b480e22a27 don't need this 2014-06-17 19:16:42 -04:00
Jfreegman
1456cef991 implement toxdns3 username lookups 2014-06-17 00:48:30 -04:00
Jfreegman
53cb4b0248
ignore ^C 2014-06-15 15:36:29 -04:00
Jfreegman
2c4f0d593d
fix len values 2014-06-14 14:09:20 -04:00
Jfreegman
499c66f411
include config header 2014-06-14 13:54:21 -04:00
Jfreegman
1b5da956e5 more fixes 2014-06-14 03:00:04 -04:00
Jfreegman
ce2d371c4b more fixes for line printing/scrolling 2014-06-14 01:45:51 -04:00
Jfreegman
a516724760
fix bug 2014-06-13 19:05:25 -04:00
Jfreegman
a0ef4d752f
small fix 2014-06-13 17:37:11 -04:00
Jfreegman
65ad64bf42
fix some buggy behaviour with scrolling 2014-06-13 15:37:04 -04:00
Jfreegman
b36680d767 fix bug 2014-06-13 03:47:18 -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
stal
612c6c95eb fix openal includes on mac os
#140
2014-06-11 16:40:43 -07: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
12e33a1760
drop broken windows support 2014-06-11 14:37:36 -04:00
Jfreegman
328e7f8d57
fix compile error when no audio support 2014-06-10 17:34:15 -04:00
Jfreegman
33000598fc
more intuitive option logic 2014-06-08 01:05:01 -04:00
Jfreegman
6a2ef5cc6c
terminate audio before core on exit 2014-06-07 17:59:17 -04:00
Jfreegman
2a63e62aba
--help message 2014-06-07 17:14:48 -04:00
Jfreegman
8c5ac1f77d
proper commandline args 2014-06-07 14:36:37 -04:00
Jfreegman
bfa266c604
refactor calling of toxic_string functions 2014-06-06 15:27:06 -04:00
Jfreegman
901ffbc7c0
improve function 2014-06-04 14:41:36 -04:00
Jfreegman
97dedd32fb better fix for trailing spaces issue 2014-06-04 01:19:20 -04:00
Jfreegman
789c491c1e
fix a few file transfer bugs 2014-06-03 16:04:57 -04:00
Jfreegman
c2dce960b8
add setting to allow specified download path & some fixes 2014-06-03 02:02:24 -04:00
Jfreegman
f9e15cd60b
no trailing space for command tab-complete 2014-06-02 03:19:59 -04:00
Jfreegman
7206a9ea73 fix another possible buffer overflow
..
2014-06-01 13:42:42 -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
mannol
7ccf4b6432 Little fix(tm) 2014-05-29 23:42:22 +02:00
mannol
d18ba78d03 Allow toxic to compile without av 2014-05-29 23:25:09 +02:00
Jfreegman
ab1c97fb2b properly set default user settings 2014-05-29 13:58:37 -04:00
Jfreegman
f0962bd060
add setting to control history size 2014-05-25 19:54:34 -04:00
Jfreegman
083ca2f3b7
missing format arg 2014-05-25 13:31:44 -04:00
mannol1
8481b50f97 Merge pull request #132 from Impyy/master
Update audio_call.c
2014-05-25 18:55:40 +02:00
mannol1
a04f7ee661 Merge pull request #130 from mannol1/master
Updated toxic to build against new core.
2014-05-25 18:54:19 +02:00
Imperative
10d47d1ac6 Update audio_call.c
Fixed 2 small typos.
2014-05-24 15:35:10 +02:00
Jfreegman
445f5aa1fd fix possible buffer overflow 2014-05-23 23:52:43 -04:00
Jfreegman
1b49a89c8e
correct inaccuracy 2014-05-20 20:59:43 -04:00
Jfreegman
9bf92d1e48 Merge branch 'master' of https://github.com/Tox/toxic 2014-05-20 19:38:39 -04:00
Jfreegman
da308b2253
fix file transfer bug 2014-05-20 19:36:53 -04:00
mannol
0c834b60f5 Not done yet. 2014-05-16 20:00:01 +02:00
Sean
2cf5430b85 Fixed a "bug" 2014-05-13 10:14:19 -07:00
Sean
30d2a5514e Yup 2014-05-13 10:11:20 -07:00
Sean
1d6a6efb81 Merge FreeBSD fixes upstream 2014-05-08 13:13:33 -07:00
AZ Huang
a46fe25283 Force terminate filename. 2014-05-06 03:39:09 +08:00
AZ Huang
dfe3f1c4c2 Fix file sender null terminator. 2014-05-06 01:16:59 +08: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
Jfreegman
17ad66346e
make cleaclear command refresh curses 2014-04-22 21:16:35 -04:00
Jfreegman
3a9056745f Merge branch 'master' of https://github.com/Tox/toxic 2014-04-20 16:43:14 -04:00
Jfreegman
9b997fbf01
fix bug 2014-04-20 16:42:37 -04:00
Sean Qureshi
4cac797b40
General cleanup
Signed-off-by: Sean Qureshi <sean@tox.im>
2014-04-19 14:58:13 -07:00
irungentoo
7f5dc0a756
Removed useless line. 2014-04-19 17:49:19 -04:00
Jfreegman
93d77fdeca
load data before prompt init to fix bug with prompt logging init 2014-04-12 03:54:43 -04:00
Jfreegman
5b3acf3f6b
fix issue where log file cannot be created due to invalid name/path 2014-04-12 03:39:15 -04:00
Jfreegman
a29136d6b7 use toxic settings for colour theme instead of config flag 2014-04-12 03:12:45 -04:00
Jfreegman
4a8db6f098 Merge branch 'terminal_colors' of https://github.com/ooesili/toxic into ooesili-terminal_colors 2014-04-12 03:04:36 -04:00
Jfreegman
766ae685c2
add setting to disable terminal alerts 2014-04-11 21:47:09 -04:00
Jfreegman
e384f87a04
increase line message buffer size 2014-04-10 18:16:27 -04:00
Jfreegman
688564cfc2
merge 2014-04-08 17:23:19 -04:00
Jfreegman
4643996c3a
add audio settings for conf file 2014-04-08 17:20:21 -04:00
mannol1
eef5b4941f Merge pull request #121 from czarkoff/openbsd
Include "pthread.h"
2014-04-08 13:57:07 +02:00
Dmitrij D. Czarkoff
f54cd87abc Drop typedef redeclarations
C99 doesn't permit redeclaring typedefs in the same scope.
2014-04-08 12:11:10 +02:00
Dmitrij D. Czarkoff
be8a0de38d Include "pthread.h"
It isn't implicit on OpenBSD.
2014-04-08 12:09:42 +02:00
Jfreegman
cd0bccfbeb
remove leading 0 and am/pm for 12 hour timestamp in chat windows 2014-04-08 02:50:56 -04:00
Jfreegman
de3a28c6e6
create empty config file if none found && make default time 24 hours 2014-04-07 18:16:38 -04:00
Jfreegman
5976d33fef
settings_load needs to be before init_term 2014-04-07 06:22:51 -04:00
Jfreegman
e17b62c98b Merge branch 'master' of https://github.com/Tox/toxic 2014-04-07 06:04:15 -04:00
Jfreegman
92948abcf1 implement basic user settings 2014-04-07 06:03:45 -04:00
mannol
8ce1a3d3e9 Codec settings and MORE! 2014-04-06 23:56:49 +02:00
mannol
cb9622136c Merge remote-tracking branch 'upstream/master' 2014-04-06 23:26:02 +02:00
mannol
46b57feb2f Codec settings 2014-04-06 23:26:00 +02:00
Jfreegman
a9bcab4aee
fix possible memory leak 2014-04-06 05:20:46 -04:00
Wesley Merkel
b9290c8a83 Let user disable native colours with ./configure 2014-04-05 13:31:53 -06:00
Jfreegman
246a514e88
fix possible segfault 2014-04-02 18:57:11 -04:00
Jfreegman
20f126e1d8
fix possible segfault 2014-04-02 17:27:07 -04:00
Wesley Merkel
82027a5b4f Use default terminal fg/bg colors when we can. 2014-04-02 14:25:12 -06:00
Jfreegman
3b2010200d
possibly fix scrolling bug 2014-04-02 04:59:51 -04:00
Jfreegman
24cd6d772f
bigger history 2014-04-01 17:42:27 -04:00
Jfreegman
c46676daa5
buffer needs to be empty 2014-04-01 16:32:53 -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
f3a8ba6ab3 small fix 2014-04-01 03:16:38 -04:00
Jfreegman
6d98f38128
forgot a few string nulls 2014-04-01 02:49:35 -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
Jfreegman
15815bf4bb
split big function up 2014-03-31 21:26:09 -04:00
Jfreegman
43a5ee2d4f
esc isn't printable 2014-03-30 21:31:20 -04: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
1420618eb0 small fix 2014-03-30 01:22:40 -04:00
Jfreegman
52d6e8431f
fix 2014-03-29 21:16:25 -04:00
Jfreegman
1b89af9063
null fix 2014-03-29 05:44:20 -04:00
Jfreegman
d873181306
fix scrolling bug 2014-03-29 04:40:35 -04:00
Jfreegman
26640cda14 prevent screen from moving on input when in scroll mode 2014-03-28 19:52:26 -04:00
Jfreegman
21c48bde5c
string safety 2014-03-28 03:46:00 -04:00
Jfreegman
8c071fb208 fix potential segfaults 2014-03-28 01:46:09 -04:00
Jfreegman
b36a8fd8fa show percentage complete for file transfers 2014-03-27 23:05:50 -04:00
Jfreegman
94e936575e
fix memory leaks 2014-03-27 17:59:31 -04:00
Jfreegman
1b3c40b539
put help message in chatwindow box when in scroll mode 2014-03-27 05:08:48 -04:00
Jfreegman
bd5453002e
a few more fixes 2014-03-26 19:14:28 -04:00
Jfreegman
c218e104e7
a few fixes 2014-03-26 05:52:21 -04:00
Jfreegman
bb97f3e543 merge 2014-03-25 22:10:05 -04:00
Jfreegman
92c0f737ac . 2014-03-25 22:02:48 -04:00
Jfreegman
29b549e677 few fixes 2014-03-25 21:43:49 -04:00
Jfreegman
3baa830afb move log struct to proper place 2014-03-25 08:25:10 -04:00
Jfreegman
a5ce17f44e refactor groupchats to allow scrolling 2014-03-25 08:21:50 -04:00
Jfreegman
2f981ecb12 make audio messages compatible with new printing method 2014-03-25 04:39:44 -04:00
Jfreegman
5e941427d3 refactor prompt to allow scrolling 2014-03-25 03:17:22 -04:00
Jfreegman
a40b6b1b1b replace prompt's PromptBuf struct with a ChatContext for compatibility 2014-03-24 07:55:28 -04:00
Jfreegman
e5b6e0ad9f refactor chat history to allow scrolling 2014-03-24 07:18:58 -04:00
Sean Qureshi
5956c6acaf
Merge branch 'master' of https://github.com/mannol1/toxic 2014-03-23 15:32:51 -07:00
mannol
58f33fa1d6 Merge upstream 2014-03-23 22:54:56 +01:00
Jfreegman
7384440a3d small fix 2014-03-21 04:03:07 -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
8bea44a44c properly handle invalid statuses 2014-03-18 19:34:02 -04:00
Jfreegman
3ad82cf3b1 fix bug in issue #104 2014-03-17 22:18:04 -04:00
Jfreegman
99e36195f7 make sure default statusmsg shows correct version 2014-03-17 20:38:30 -04:00
Jfreegman
d03a661635 Merge branch 'master' of https://github.com/Tox/toxic 2014-03-17 19:58:08 -04:00
mannol
705a55d1b5 Open devices when call starts instead of keeping them opened all the time 2014-03-18 00:50:15 +01:00
Grayson MacKenzie
e6c68143bd Fixed incorrectly handled error check for longchars 2014-03-16 20:18:31 -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
c055af7348 retain last status on load and some changes to statusbars 2014-03-15 07:40:13 -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
ac82961bea fix bug and load previous status messages on boot 2014-03-13 07:34:14 -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
Jfreegman
c37311ae36 an experiment gone horribly wrong 2014-03-12 18:48:25 -04:00
Jfreegman
ce76896eb3 easier way to format timestamps 2014-03-12 03:08:13 -04:00
Lehi Toskin
93fb9611f7 SPELLING IS FOR FOOLS 2014-03-11 19:54:09 -07:00
Sean
cc3513968e I don't even 2014-03-11 19:30:23 -07:00
Jfreegman
dd697d7af1 Merge branch 'master' of https://github.com/Tox/toxic 2014-03-11 20:00:12 -04:00
Jfreegman
a32d76ed16 fix 2014-03-11 20:00:03 -04:00
mannol
b210068c1d Fixed segfault 2014-03-12 00:25:13 +01:00
Jfreegman
0151b9b49f rm 'connecting' message and a few small fixes 2014-03-11 18:57:32 -04:00
mannol
ed3e9b476d This should fix segfault and remove one-line comments 2014-03-11 23:22:27 +01:00
Jman012
9f06331a0b Fixed another clang issue with bools that broek file sending. 2014-03-11 13:11:22 -07:00
Sean
a63cba645f Issue #89 workaround for a toxav_get_peer_id issue 2014-03-11 12:59:12 -07:00
Sean
9d50d52216 What a waste of a commit
Note to self, fixup rebase this before g finds it
2014-03-11 10:24:21 -07:00
Sean
6cb36e71fe I like using entire commits for tiny things 2014-03-11 10:21:35 -07:00