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

249 Commits

Author SHA1 Message Date
aSourceFish
c4386b195f
A bit of standard... 2017-11-15 05:54:46 +02:00
jfreegman
f2c116feb3
Fix potential string truncations with snprintf 2017-09-01 17:36:17 -04:00
jfreegman
0136f22076
Fix UI bugs & format
This fixes a bug where lines would sometimes be incorrectly marked as unread, as well as
a bug where inbound messages would sometimes be coloured incorrectly
2017-06-01 16:46:12 -04:00
jfreegman
6d3fbfee59
Merge branch 'TsarFox-master' 2017-05-24 14:57:32 -04:00
Daniel Hoffman
acee4615f8 double signal handler prevents accidental closes 2017-05-19 14:38:39 -05:00
jakob
b3ed8bc35c Finalized and documented the Python scripting interface. 2017-05-16 20:31:23 -04:00
jakob
90210daca7 Python interface for getting the user's nickname/status and executing commands 2017-05-15 22:12:28 -04:00
jakob
0e13a1f1bc Implemented a basic Python scripting engine, optional compilation. 2017-05-15 20:29:00 -04:00
root
c6c60d018e Added some fflush after the printf with no \n so we don't have a blank
screen when compiled with musl.
2017-01-28 00:06:03 -05:00
jfreegman
451d4ced80
Add option that prints toxic and toxcore version 2017-01-25 22:13:59 -05:00
jfreegman
1d71e2eb18
Port to toktok-c-toxcore branch 2016-12-18 00:01:51 -05:00
Jfreegman
f056f13329
Astyle everything and add an astyle options script to repo 2016-09-24 21:07:04 -04:00
Jfreegman
2194b9e259
Use time_t instead of uint64_t for timestamps
Also call time() directly from get_unix_time() instead of manually updating the time val.
2016-09-22 18:31:52 -04:00
Jfreegman
38ec96e96a
Thread nodeslist loading
This is necessary because DNS/http lookups block, and can do so for a very long time
2016-09-22 14:09:07 -04:00
Jfreegman
703d5419a3
Ignore offline bootstrap nodes, small refactor of Nodes struct 2016-09-21 12:51:57 -04:00
Jfreegman
a009f11c0c
Automatically update DHT nodeslist
List is now automatically fetched from nodes.tox.chat and placed in the
user config directory. The list is updated once every 30 days, and
will attempt to detect problems and re-fetch the list if necessary.

Also fixed a couple file descriptor leaks and cleaned some things up.
2016-09-20 00:00:09 -04:00
Jfreegman
1f02bb2be5
Refactor DHT bootstrap code
- Separate node list loading from connecting
- Put code in its own source file
- Rename a few functions
2016-09-17 14:26:23 -04:00
Jfreegman
9f74d3a3a8
Fix memory leak 2016-06-29 21:36:54 -04:00
Jfreegman
cf16849b37
Dynamically allocate memory for save file instead of using stack 2016-05-03 14:13:16 -04:00
Marvin Ewald
e6f839f9ac Enable multiline input
Adds a nonl() call to avoid translation from \r to \n when pressing
enter.
C-J -> \n
Enter -> \r
To allow multiline input, \n chars (e.g. when pressing C-J) are replaced
with a pilcrow. After hitting enter, every pilcrow is substituted with
\n again.
2016-02-28 02:35:36 +01:00
Jfreegman
2e609c46f6
Remove file transfer timeoutes, and remove a couple unused functions 2016-02-25 17:58:02 -05:00
JFreegman
93835f0455 Merge pull request #379 from FreakyPenguin/password_eval
Add password_eval option to skip password prompt
2016-01-19 18:31:04 -05:00
Antoine Kaufmann
ac6d8ff89c Add password_eval option to skip password prompt
Runs a command and uses its output as the password. This can be used for
getting the password from a password manager such as pass.
2016-01-19 13:45:52 -08:00
quininer
deccaec40e fix milliseconds 2015-12-22 10:43:08 +08:00
quininer
4419be36e8 remove useless var 2015-12-21 20:00:48 +08:00
quininer
b34b51e8c1 use tox_iteration_interval 2015-12-21 18:13:03 +08:00
Jfreegman
05f5f16af3
Fix various video bugs; it should be working now! 2015-11-12 05:01:28 -05:00
Jfreegman
14a8bdb874
Store temp data in same directory as original file 2015-11-07 21:38:32 -05:00
Jfreegman
dfff777283
Save data in a safer manner
By saving to a temp file then renaming it we avoid the possibility of data corruption
due to an interrupt (hard reboot, power outage etc.)
2015-11-05 17:46:00 -05:00
Jfreegman
a95fc7824c
Fix bug causing profile to be overwritten under a rare condition 2015-11-05 16:15:59 -05:00
Jfreegman
4ab99c73a0
Merge with master 2015-11-02 15:22:52 -05:00
Jfreegman
8584feab80
Replace DNS-based username lookups with HTTPS & drop utox.org support 2015-10-28 17:14:17 -04:00
Jfreegman
cea5f1fe04
Fix avatar size limit and fix comment 2015-10-20 22:47:11 -04:00
Jfreegman
462cfca175
Merge new AV branch 2015-10-20 17:57:54 -04:00
Jfreegman
db410cb01e
Use profile name that conforms with the standard 2015-10-14 23:09:11 -04:00
Jfreegman
f295352495
Replace instances of unsafe atoi function with safe counterpart 2015-09-02 19:41:21 -04:00
Jfreegman
69be1bc398
Fix nodes parsing bug 2015-08-28 02:44:38 -04:00
Jfreegman
b4464eda4d
Fix more threading issues 2015-08-27 21:29:34 -04:00
Jfreegman
28dd43608d
Fix a few notify/threading bugs and fix DHTnodes loading bug 2015-08-27 15:13:13 -04:00
Jfreegman
11701d22a1
Lots of bug fixes and general code cleanup 2015-08-27 03:38:08 -04:00
Jfreegman
c546df3917 Fix some filetransfer issues
- File transfers now timeout properly
- Small refactor related to creating new transfers
2015-08-21 00:44:40 -05:00
Jfreegman
ed0a4fb3b8 simplify timeout function 2015-08-21 00:44:40 -05:00
cnhenry
b7e613de32 Small fix to video cleanup 2015-08-21 00:44:12 -05:00
cnhenry
96162bf254 Fixed incorrect video device listing 2015-08-21 00:43:47 -05:00
cnhenry
6e0d19b01d Refactored video calls 2015-08-21 00:42:57 -05:00
cnhenry
ad04fa4dcd Major refactoring and fixes towards AV 2015-08-21 00:42:28 -05:00
Jfreegman
750258adef fix rare bug preventing toxcore from sleeping 2015-08-21 00:35:55 -05:00
Jfreegman
ea78dca756 Update dht nodes list and fix URL's 2015-08-21 00:35:54 -05:00
Jfreegman
3cb412632b Add option to enable acting as TCP relay server 2015-08-21 00:35:54 -05:00
Jfreegman
8301ab1bc2 Revert commit 312d0c3 (localization/gettext)
There were serious problems with branch merging that need to be resolved first
2015-08-21 00:35:40 -05:00
Jfreegman
1458a6bbc5 s/tox.im/tox.chat/g -- reflect new tox domain 2015-08-21 00:29:32 -05:00
Ansa89
0a2ad23c15 Add localization system (gettext) 2015-08-21 00:24:02 -05:00
cnhenry
43bda5f7d9 Refactoring and fix related to invite callback not being fired 2015-08-21 00:14:03 -05:00
cnhenry
3241551cfb Began conversion of audio code to new ToxAV API 2015-08-21 00:14:03 -05:00
cnhenry
6e90072fb8 Implemented OpenCV demo to demonstrate video device listing and set up code structure for video 2015-08-21 00:14:03 -05:00
Jfreegman
ca1fca5aa5 separate bootstrapping and adding TCP relays per toxcore API changes 2015-08-21 00:14:03 -05:00
Jfreegman
ef1068b6aa toxcore API changes to tox_new 2015-08-21 00:14:02 -05:00
Jfreegman
72982cee97 default tox options on initialization 2015-08-21 00:14:02 -05:00
Jfreegman
9a4eaa8693 correctly handle tox_new errors 2015-08-21 00:14:02 -05:00
Jfreegman
64e7553fb0 not clear which error message is given for ipv6 failure 2015-08-21 00:14:02 -05:00
Jfreegman
dd8df1df76 try to fall back to ipv4 if tox fails to init with ipv6 2015-08-21 00:14:02 -05:00
Jfreegman
bbdf4c96b9 fix a few avatar bugs 2015-08-21 00:14:02 -05:00
Jfreegman
2a787c1097
Fix some filetransfer issues
- File transfers now timeout properly
- Small refactor related to creating new transfers
2015-08-18 15:12:48 -04:00
Jfreegman
327259c4c8
simplify timeout function 2015-08-18 01:46:22 -04:00
Jfreegman
0047ba0e9f
fix rare bug preventing toxcore from sleeping 2015-08-08 12:55:46 -04:00
Jfreegman
688ea927f8
Update dht nodes list and fix URL's 2015-07-08 22:40:17 -04:00
Jfreegman
904f58c0e8
Add option to enable acting as TCP relay server 2015-07-08 21:01:32 -04:00
Jfreegman
035420e5c7
Revert commit 312d0c3 (localization/gettext)
There were serious problems with branch merging that need to be resolved first
2015-07-04 01:19:16 -04:00
Jfreegman
d8eca8393c
s/tox.im/tox.chat/g -- reflect new tox domain 2015-06-29 03:16:09 -04:00
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
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
e998c8a866
fix encryption API breakage 2015-03-31 21:56:11 -04:00
Jfreegman
12c880ab51
fix bootstrapping 2015-03-29 19:05:24 -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
jlo
ce1ae1d7dc added tab autocomplete for "/status o" => "/status online" 2015-03-17 14:25:15 -05: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
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
Jfreegman
e55e5f3f7e
add HTTP proxy support 2014-12-27 13:12:16 -05:00
Jfreegman
5aad8764b1
ensure messages in queue are always delivered in order 2014-12-03 22:10:21 -05:00
Jfreegman
4acfe84171
remove spammy connection messages 2014-11-30 12:20:01 -05:00
Jfreegman
835b821b75
put toxav loop in separate thread 2014-11-28 23:47:22 -05:00
Jfreegman
09bbec79cf
group audio almost works 2014-11-26 15:22:34 -05:00
Jfreegman
4a337ae3cb update for core audio refactor 2014-11-26 00:57:02 -05:00
Jfreegman
4e177d60b0
group title fixes and api update 2014-11-15 15:55:45 -05:00
Jfreegman
76c21c8b34
implement group titles 2014-11-14 22:15:59 -05:00
Jfreegman
43f45d67a4
core API update 2014-11-11 18:30:23 -05: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
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