1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-16 05:43:01 +01:00
Commit Graph

1067 Commits

Author SHA1 Message Date
Ansa89
85d3c18ba6 Add localization system (gettext) 2015-05-28 15:50:55 +02:00
Jfreegman
d0a7ca17d2
separate bootstrapping and adding TCP relays per toxcore API changes 2015-05-24 17:56:30 -04:00
Jfreegman
36640224af
toxcore API changes to tox_new 2015-05-24 17:36:13 -04:00
Jfreegman
231078b6b9
default tox options on initialization 2015-05-18 19:52:22 -04:00
Jfreegman
414f58d896
correctly handle tox_new errors 2015-04-14 17:18:09 -04:00
Jfreegman
4d73f8b241
not clear which error message is given for ipv6 failure 2015-04-13 00:58:33 -04:00
Jfreegman
82e76a3b5b
try to fall back to ipv4 if tox fails to init with ipv6 2015-04-13 00:32:35 -04:00
Jfreegman
0bc610e18d
null terminate status message 2015-04-10 00:16:01 -04:00
Jfreegman
02e6d2db3c
fix possible segfault 2015-04-09 02:14:23 -04:00
Jfreegman
1a7eaeddba
fix a few avatar bugs 2015-04-04 21:15:34 -04:00
Jfreegman
dd9186e834
re-implement avatar setting 2015-04-04 03:26:38 -04:00
Jfreegman
523f205646
re-implement friendlist last seen 2015-04-02 22:19:09 -04:00
Jfreegman
e998c8a866
fix encryption API breakage 2015-03-31 21:56:11 -04:00
Jfreegman
eaea68c33e
fix bug where contacts would appear online twice in a row 2015-03-31 18:39:42 -04:00
Jfreegman
4780cfeafc
remove non-existant group commands 2015-03-31 17:11:43 -04:00
Jfreegman
bdb0951c84
a few small filetransfer fixes 2015-03-29 19:29:38 -04:00
Jfreegman
e3130c92c0
small fix 2015-03-29 19:26:16 -04:00
Jfreegman
12c880ab51
fix bootstrapping 2015-03-29 19:05:24 -04:00
Jfreegman
522aabd4e4
Refactor and clean up file transfers
(No longer rely on undefined core filenumber property for indexing)
2015-03-29 18:33:51 -04:00
Jfreegman
2d3c5c9450
Mostly finished with new API port
- File transfers currently don't support pausing/resuming
- Avatars are not yet done
2015-03-28 02:56:54 -04:00
Jfreegman
ae87b2eb2d
begin port to new API 2015-03-25 22:56:45 -04:00
Jfreegman
470eaeb97b Merge branch 'master' of https://github.com/hardlyeven/toxic into hardlyeven-master 2015-03-18 15:45:37 -04:00
Andrey Alekseenko
ec23cedc3a Fixing couple leaking file descriptors 2015-03-18 19:28:04 +03:00
jlo
ce1ae1d7dc added tab autocomplete for "/status o" => "/status online" 2015-03-17 14:25:15 -05:00
Jfreegman
090d3339a0
fix auto-away bugs
Manually set aways no longer unaway when they shouldn't, and busy status is no longer overridden
2015-03-13 20:33:23 -04:00
Jfreegman
442d9e22b4
use pthread for mplex detach polling for better portability 2015-03-11 18:38:07 -04:00
fr33domlover
0c39e7b158 Add support for auto-away based on screen attach/detach 2015-03-09 01:38:30 +02:00
Loui Chang
53e4b2c971 Add support for custom timestamps in chat and logs.
Internal representations of the time_format setting are replaced by timestamp format strings.
time_format is only used in the setup.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2015-02-23 00:46:33 -05:00
Loui Chang
38a0f6fae4 Make little action indicators on each output line configurable.
Also added a new DISCONNECTION line info type.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2015-02-13 02:09:40 -05:00
Loui Chang
5cbbb62ce2 Fix whitespace
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2015-02-09 23:33:49 -05:00
Spagy
dfc594f949 Correct filename comment from main.c to toxic.c 2015-02-04 13:56:31 +00:00
Ansa89
2b19f56e63 Update for toxcore API break 2015-02-01 21:09:48 +01:00
dantok
c8a4f88ff3 Update configdir.c 2015-01-25 21:53:13 +01:00
dantok
eeeaf8d707 Update autocomplete.c 2015-01-25 21:52:07 +01:00
dantok
37b3b5a5ed Fix an edge case when obtaining home directory.
Make the path to home directory empty before calling get_home_dir(), otherwise if the call fails, the contents are undefined.
2015-01-25 20:49:52 +01:00
dantok
a561ef8c49 Fixed emptying avatar_path if the path is too long. 2015-01-25 20:17:32 +01:00
Jfreegman
ff0fbbc379
small fix 2015-01-01 12:50:51 -05:00
Anthony Parsons
e722b665d1
Make "Last seen" handle year rollover correctly 2015-01-01 05:44:18 +00:00
Jfreegman
e55e5f3f7e
add HTTP proxy support 2014-12-27 13:12:16 -05:00
Jon Poler
1b89bc9051 Made the keys section of settings_load more readable in settings.c 2014-12-17 12:15:18 -05:00
Jfreegman
7700ef83e0
disable broken callback 2014-12-09 20:30:13 -05:00
Jfreegman
9922b3a4f3
forgot IFDEFs 2014-12-09 18:55:14 -05:00
Jfreegman
d561d2e1ac
fix 2014-12-09 18:35:14 -05:00
Jfreegman
7865cea284
group audio stuff 2014-12-09 18:29:07 -05:00
Jfreegman
424189cad9
small fix 2014-12-07 21:48:29 -05:00
Jfreegman
82aa64e8f7
properly close all groupchats on exit 2014-12-07 13:51:12 -05:00
Jfreegman
f451d961bc
close output device on group exit 2014-12-07 12:16:49 -05:00
Jfreegman
0a0891fa98
fix building without audio 2014-12-06 13:40:45 -05:00
Jfreegman
9464b369a4
fix possible crash 2014-12-06 13:26:27 -05:00
Jfreegman
73c94b25ba
update DHTnodes, fix comment 2014-12-05 20:26:10 -05:00
Jfreegman
ab2ea5936d
correct value 2014-12-05 13:47:47 -05:00
Jfreegman
90985af007
properly handle file pausing 2014-12-05 13:23:45 -05:00
Jfreegman
5aad8764b1
ensure messages in queue are always delivered in order 2014-12-03 22:10:21 -05:00
Jfreegman
5a175f374a
fix file statusbar draw bug 2014-12-03 21:38:37 -05:00
Jfreegman
4acfe84171
remove spammy connection messages 2014-11-30 12:20:01 -05:00
Jfreegman
e995a1cb69
AV api changes 2014-11-30 09:27:45 -05:00
Jfreegman
867f041c23 more group stuff 2014-11-29 09:39:55 -05:00
A. L'mao
2fa53c0531 Destroy AL context before closing dhndl
fixes seggy on os x, i think
2014-11-28 22:08:31 -08:00
Jfreegman
673800c947
forgot something 2014-11-28 23:51:32 -05:00
Jfreegman
835b821b75
put toxav loop in separate thread 2014-11-28 23:47:22 -05:00
Jfreegman
78587ad20b
disable group audio callback until it works properly 2014-11-26 17:39:02 -05:00
Jfreegman
09bbec79cf
group audio almost works 2014-11-26 15:22:34 -05:00
JFreegman
751b5f9943 only include audio_call.h if audio is defined 2014-11-26 12:24:52 -05:00
Jfreegman
4a337ae3cb update for core audio refactor 2014-11-26 00:57:02 -05:00
Jfreegman
141b36af04
handle errors for name functions 2014-11-15 22:39:24 -05:00
Jfreegman
4238c20e72
api update 2014-11-15 15:59:19 -05:00
Jfreegman
4e177d60b0
group title fixes and api update 2014-11-15 15:55:45 -05:00
Jfreegman
1bd880708b
a couple formatting fixes 2014-11-14 22:35:23 -05:00
Jfreegman
76c21c8b34
implement group titles 2014-11-14 22:15:59 -05:00
Jfreegman
dd8c2caac7
more prep for audio groups 2014-11-14 20:13:08 -05:00
Jfreegman
7a7e8a7f8d
prep for audio groups 2014-11-11 20:49:05 -05:00
Jfreegman
43f45d67a4
core API update 2014-11-11 18:30:23 -05:00
Jfreegman
adb36a39bb
minor visual adjustment 2014-11-05 18:46:18 -05:00
Jfreegman
008163bf6c
fix 2014-10-18 17:29:23 -04:00
Jfreegman
e83356faef Merge branch 'new' of https://github.com/louipc/toxic into louipc-new 2014-10-13 00:14:29 -04:00
Loui Chang
9c7ac9043a prompt: Add version line to startup message.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-10-12 23:12:56 -04:00
Loui Chang
b86c0d357f Update toxencryptsave api change.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2014-10-12 23:04:30 -04:00
mannol
75dd26518f Finished drag and drop support 2014-10-12 23:26:28 +02:00
mannol
2cc261c619 Some random fixups 2014-10-12 22:54:18 +02:00
Jfreegman
f7d46f1100
possibly fix sound notification bug 2014-10-12 01:49:56 -04:00
Jfreegman
be264528d2
possibly fix sound notification bug 2014-10-12 00:28:28 -04:00
mannol
c825adc1e3 Dnd works 2014-10-11 23:53:02 +02:00
Jfreegman
4e9f125e95
core API function name change 2014-10-10 22:44:05 -04:00
JFreegman
d26c8fe447 Merge pull request #264 from zetok/indicator
Change action messages indicator
2014-10-09 16:46:51 -04:00
Jfreegman
e42d635195
non-critical thread failures shouldn't be fatal 2014-10-09 16:39:01 -04:00
Zetok Zalbavar
a32cd1c19b
Change action messages indicator 2014-10-09 21:36:42 +01:00
Jfreegman
14dc02ac83
fix segfault 2014-10-09 15:47:48 -04:00
Jfreegman
e4a28d1839
make groupchat announcements behave properly 2014-10-09 01:39:22 -04:00
Jfreegman
0908920b51
fix segfault 2014-10-08 18:06:15 -04:00
Jfreegman
8a882916fb
fix setting custom keybinding 2014-10-08 15:22:49 -04:00
Jfreegman
55ada8ad2f
fix groupchat resizing when peerlist is off 2014-10-08 14:53:09 -04:00
Jfreegman
d3a489b756 update settings and docs with peerlist-toggle keybinding 2014-10-08 03:08:08 -04:00
Jfreegman
e6b18231c0
add ability to toggle groupchat peerlist with ctrl-b 2014-10-08 02:45:08 -04:00
Jfreegman
cc0145d561
reduce system calls, increase time between message queue re-send attempts 2014-10-08 01:50:34 -04:00
Jfreegman
9f0daca5eb
filter escape sequences from all inbound nicks and status messages 2014-10-07 16:18:06 -04:00
Jfreegman
1f2bd44dce
don't allow newlines and tabs in nicks 2014-10-07 00:43:03 -04:00
Jfreegman
6492bd12f9
escape newlines in contact names/status messages 2014-10-06 16:23:43 -04:00
Jfreegman
43552161f9
implement word deletion via ^W 2014-10-05 23:12:58 -04:00
Jfreegman
e5d45fdf1d
correct return code check 2014-10-05 02:29:40 -04:00
Jfreegman
bd69c8da18
small fix 2014-10-04 17:01:02 -04:00
Jfreegman
8c3e3ebe24 fix blocklist saving bug 2014-10-03 23:52:54 -04:00
Jfreegman
7eebbd982d fix 2014-10-03 21:12:59 -04:00
Jfreegman
5c66f5c161
fixes 2014-10-03 19:29:12 -04:00
Jfreegman
40f70fc1e3
groupchat fixes 2014-10-03 18:57:32 -04:00
Jfreegman
9cf4427375
core groupchat names should be working 2014-10-03 17:55:36 -04:00
Jfreegman
23cf9686cb
safer string handling 2014-10-03 17:53:50 -04:00
mannol
70add920fe Making progress with dnd 2014-10-03 16:59:32 +02:00
Jfreegman
c56c6cc219
some temporary fixes for new wip groupchats 2014-10-02 23:22:37 -04:00
Jfreegman
e9a0296851
ignore tox_load errors until toxcore is fixed 2014-10-02 22:25:21 -04:00
Jfreegman
de30433e26
better data operation error handling 2014-10-02 02:07:54 -04:00
Jfreegman
fa64fa8b93 replace call sounds
Signed-off-by: Jfreegman <jfreegman@gmail.com>
2014-10-01 19:38:09 -04:00
mannol
50c7942cb5 Started working on dnd for toxic 2014-10-01 23:28:34 +02:00
Jfreegman
e7697b8fba
make ctrl-L force refresh the window 2014-10-01 16:24:36 -04:00
Jfreegman
b46a77f977
forced end of page is not working out 2014-10-01 15:01:23 -04:00
Jfreegman
5af561c811 new default sounds; rm unused sounds 2014-10-01 01:16:17 -04:00
Jfreegman
ae984d4f04
don't show version in default status message 2014-09-30 17:02:03 -04:00
Jfreegman
97a8ecd115
small fix and bump version to 0.5.2 2014-09-29 13:56:17 -04:00
Jfreegman
6248baf98b
fix segfault 2014-09-29 01:30:22 -04:00
Jfreegman
33cfca7ecc
bug fixes and code cleanup 2014-09-28 17:49:48 -04:00
mannol
a01cc35368 Merge branch 'master' of github.com:Tox/toxic 2014-09-28 16:48:09 +02:00
mannol
b10eebd77e This should fix audio problem 2014-09-28 16:47:31 +02:00
Jfreegman
05661ca9b6
core API update and refactor group invites a bit 2014-09-27 22:50:20 -04:00
mannol
784883f773 What if, like, photosynthesis is a lie?! 2014-09-28 00:13:45 +02:00
Jfreegman
a9e5723ca4 a couple fixes 2014-09-27 03:08:19 -04:00
Jfreegman
95dfea8d29
keep chatlog names consistent with friend name changes 2014-09-27 02:28:11 -04:00
Jfreegman
e574af7d68
fix CPU usage issue regarding audio drivers, courtesy of mannol 2014-09-26 20:32:48 -04:00
Ansa89
6ad744f770 Add stdlib.h header to allow off_t type 2014-09-26 10:50:42 +02:00
Ansa89
5b394e6f35 notify.c: better headers order 2014-09-26 10:46:14 +02:00
Jfreegman
940af2c711 a few fixes, update example config file 2014-09-26 03:39:36 -04:00
Jfreegman
544c402f78
implement avatars (setting only) and generalize path tab-complete 2014-09-26 03:10:44 -04:00
Jfreegman
cee9e624b8 more UI changes 2014-09-25 15:23:50 -04:00
Jfreegman
2e65ee3609
a few UI changes 2014-09-25 04:31:45 -04:00
Jfreegman
3a176e1cab
move to page end after pressing return 2014-09-25 00:42:08 -04:00
Jfreegman
00cccad22c a few general fixes 2014-09-24 15:20:15 -04:00
Jfreegman
a432d733d7
use 64-bit off_t for file sizes 2014-09-24 14:23:08 -04:00
Jfreegman
893e88294b
more succinct way to get file sizes 2014-09-24 00:06:02 -04:00
Jfreegman
b071a9e992
more thorough error checking 2014-09-23 22:51:56 -04:00
Jfreegman
48cf4ebf02
fix for issue #254 2014-09-23 21:32:05 -04:00
Jfreegman
133c0e8d63
rename reserved identifiers per C standard 2014-09-22 21:24:45 -04:00
Jfreegman
bf54cb36ef set signal handlers at more appropriate places 2014-09-22 20:00:36 -04:00
Jfreegman
9d5fe03285
small fix 2014-09-22 18:38:46 -04:00
Jfreegman
c3f68b60d3
bigger log identifiers to reduce chance of collision 2014-09-22 17:34:30 -04:00
Jfreegman
1c16467eb9
don't share chatlogs across data files (changes log naming convention) 2014-09-22 17:09:39 -04:00
Jfreegman
3c74385f5c
use proper variable type for sig handler flags 2014-09-22 14:27:33 -04:00
Jfreegman
c07c0028bb
increase line_info msg buffer size so won't cut off long log lines 2014-09-22 13:49:09 -04:00
Jfreegman
dc3b2e04ab
load chatlog history when opening a chatwindow 2014-09-22 04:29:28 -04:00
Jfreegman
9ee7a48910 add setting to disable welcome message 2014-09-19 01:11:23 -04:00
Jfreegman
daf4614ba6
improve behaviour of misused encryption options 2014-09-19 00:29:30 -04:00
Jfreegman
919d36369c
add option to unencrypt an encrypted data file 2014-09-18 23:50:51 -04:00
Jfreegman
a1015a366a
update DHTnodes, small fixes 2014-09-17 13:52:27 -04:00
Ansa89
4a52b06954 Usage help: add missing comma 2014-09-16 11:54:58 +02:00
Jfreegman
89f9c07b9e
add confirmation when creating new password 2014-09-15 19:00:36 -04:00
Jfreegman
388d78d11e
add option to encrypt an existing unencrypted data file 2014-09-15 16:17:58 -04:00
Jfreegman
a2a23b3932
password prompt fixes 2014-09-15 04:13:12 -04:00
Jfreegman
f405ae8b42
improvements to password entry screen 2014-09-14 21:49:38 -04:00
Jfreegman
cf3f6750eb
small fix 2014-09-14 18:25:13 -04:00
Jfreegman
51e274ea38
implement data file encryption 2014-09-14 17:46:28 -04:00
Jfreegman
0a6ce62363
don't write unsent messages to log 2014-09-11 01:36:33 -04:00
Jfreegman
13c5de5531
increase time between message send retries 2014-09-10 16:18:37 -04:00
Jfreegman
21f8e7f398
couple small fixes 2014-09-09 15:16:27 -04:00
Jfreegman
bcf4a5af90
message queue improvements 2014-09-09 14:06:28 -04:00
Jfreegman
09f90d095b properly flag lines with unread mark 2014-09-07 22:28:54 -04:00
Jfreegman
416ebc9ab8
another fix 2014-09-07 22:05:17 -04:00
Jfreegman
3ca22aa714
fix 2014-09-07 21:43:16 -04:00
Jfreegman
8dd25e1f0b code cleanup, add delay for unread message notification 2014-09-07 15:08:01 -04:00
Jfreegman
5b9bd603ea
implement read receipts 2014-09-07 02:43:53 -04:00
Jfreegman
3c2c1f15ce
message sending queue for fake offline messaging 2014-09-06 13:18:42 -04:00
Andriy Voskoboinyk
1ff97161fb temporarily revert a862874740. 2014-09-05 14:15:25 +03:00
Andriy Voskoboinyk
667410e879 fix another potential memory leak 2014-09-05 13:17:10 +03:00
Andriy Voskoboinyk
a862874740 mark exit_toxic_* functions as noreturn 2014-09-05 13:15:56 +03:00
Andriy Voskoboinyk
79bde4e5bf fix potential memory leak and move cleanup to the end of the function 2014-09-05 13:02:26 +03:00
Jfreegman
833b724e9f
fix bug 2014-09-04 18:48:55 -04:00
Jfreegman
96b68058bb code cleanup and fix bug that sometimes prevented tab notifications from working 2014-09-04 18:28:20 -04:00
Andriy Voskoboinyk
a9b0028a15 move some code inside _X11 ifdef 2014-09-04 01:41:02 +03:00
Andriy Voskoboinyk
b18e6cff5a move duplicate code into separate function 2014-09-04 01:36:37 +03:00
Jfreegman
009095af24
slight simplification for command list iteration 2014-09-02 02:23:44 -04:00
Jfreegman
2ce42ab057 bump version to 0.5.0 2014-09-01 18:56:20 -04:00
Jfreegman
934459dea8
show connection change message in chat windows 2014-08-31 14:17:33 -04:00
Jfreegman
511907fbc5 better way to check if files exist 2014-08-27 22:51:46 -04:00
Jfreegman
155e194174
fix segfault on unknown long option 2014-08-27 14:30:06 -04:00
Jfreegman
b1c7e21ca9
fix possible segfaults 2014-08-27 13:54:02 -04:00
Jfreegman
7edcf6cb45 add setting to set path for chatlogs 2014-08-26 23:56:37 -04:00
Jfreegman
f2aa57c4fa
additional messages for startup options 2014-08-26 02:28:05 -04:00
Jfreegman
8bf4405fd0
fix error code 2014-08-25 19:55:00 -04:00
Jfreegman
21ef1788ca
print init messages to prompt window intead of stderr 2014-08-25 19:26:41 -04:00
Jfreegman
68f1dffba7
add command to decline friend requests 2014-08-25 14:08:01 -04:00
Jfreegman
f48ec4f49b
array bounds fix 2014-08-20 13:10:21 -04:00
Jfreegman
bd20513493 a few fixes 2014-08-19 23:41:43 -04:00
Jfreegman
75e8486061 add command to list pending friend requests, a few related fixes 2014-08-19 20:52:17 -04:00
Jfreegman
affc88d0a8 error checking for file senders, fixes 2014-08-17 15:32:38 -04:00
Jfreegman
eca4882ce2
transfer progress bar fix 2014-08-17 13:50:22 -04:00
Jfreegman
58b0a04019 separate file transfer updates from callbacks 2014-08-17 00:11:49 -04:00
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