1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 18:33:25 +01:00
Commit Graph

1768 Commits

Author SHA1 Message Date
jfreegman
922c184195
Only include python libs when necessary 2017-06-06 19:03:40 -04:00
jfreegman
56a9571509
Make sure message id fits inside a signed int 2017-06-02 01:15:44 -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
c4ace288af
Bump to v0.8.0 2017-05-24 15:10:50 -04:00
jfreegman
6d3fbfee59
Merge branch 'TsarFox-master' 2017-05-24 14:57:32 -04:00
=
be5e7906da Fix fortune.py input issues 2017-05-24 10:10:18 -04:00
jakob
369f26932e Fix error messages being printed when autorun_path is unset. 2017-05-23 19:12:53 -04:00
jakob
22ea522baf Add "/run" to autocompleter and fix example Python script. 2017-05-22 20:47:56 -04:00
jakob
4f60d546e6 Disable Python support in the default build 2017-05-21 16:18:39 -04:00
jakob
76d1eafdc0 Change visibility on Python commands list 2017-05-20 08:18:28 -04:00
jakob
37912f2d88 Update INSTALL.md 2017-05-19 21:09:29 -04:00
jfreegman
09710327c5
Merge branch 'Dako300-master' 2017-05-19 20:05:52 -04:00
Daniel Hoffman
acee4615f8 double signal handler prevents accidental closes 2017-05-19 14:38:39 -05:00
jakob
5ed26eda9b Added constants to the Python interface for calls to execute. 2017-05-19 15:35:31 -04:00
jakob
6d2b90ac9f Error reporting on failure of invoke_autoruns and solved issue with call to Py_FinalizeEx 2017-05-18 21:37:28 -04:00
jakob
02ea0fac44 get_status returns a string rather than an integer. 2017-05-17 08:39:29 -04:00
jakob
7d3d129624 Updated code style 2017-05-16 23:19:39 -04: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
nurupo
09e2690211 Fixed INSTALL formatting (#443) 2017-04-12 12:00:43 -04:00
jfreegman
e65e3af274
Merge branch 'peetcamron-fix/fflush-for-musl' 2017-01-28 00:45:28 -05: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
7a7402ff86
Update text files with new toktok toxcore link 2016-12-21 17:08:32 -05:00
jfreegman
600e013adc
Bump to version 0.7.2 2016-12-18 00:11:24 -05:00
jfreegman
1d71e2eb18
Port to toktok-c-toxcore branch 2016-12-18 00:01:51 -05:00
Jfreegman
f858714edd
Fix small nodeslist parsing bug 2016-10-23 12:26:18 -04:00
Jfreegman
4df44a7274 Merge branch 'tharvik-master' 2016-10-18 12:21:58 -04:00
tharvik
a26ed9d28f
add missing implicit include 2016-10-18 09:38:28 +02:00
louisabraham
2bd5083b8f Corrected brew errors (#413)
Corrected brew errors
2016-10-07 13:24:31 -04:00
Jfreegman
8805f694b9
Merge branch 'Ansa89-qr_png' 2016-10-06 11:48:33 -04:00
Ansa89
71040355fd
QR: close file descriptor on error 2016-10-06 11:54:27 +02:00
Ansa89
6bc5d8c543
QR PNG: convert some variables to macros 2016-10-06 11:52:26 +02:00
Jfreegman
abb39ea6b5
Fix a few resource leaks 2016-10-05 15:17:56 -04:00
Jfreegman
15846d2b50 Merge branch 'Ansa89-qr' 2016-10-05 14:58:10 -04:00
Ansa89
958df9f2e8
Add possibility to save QR code in PNG file format 2016-10-05 20:57:50 +02:00
Jfreegman
2fd43aebee Merge branch 'Ansa89-fix_checks' 2016-10-05 12:23:23 -04:00
Ansa89
34c29745cc
Makefile: use correct variable name when checking video libs 2016-10-05 09:09:22 +02:00
Ansa89
da6fe41d75
Makefile: fix video libs check 2016-10-04 10:25:49 +02:00
Thierry Thomas
e17fa89d8f Update misc_tools.c (#408)
* Update misc_tools.c

Fix build on FreeBSD with clang.

Without this patch, compilation fails with these messages:

  CC    misc_tools.o
/usr/ports/net-im/toxic/work/toxic-0.7.1/src/misc_tools.c:479:24: error: variable has incomplete type 'struct sockaddr_in'
    struct sockaddr_in s_addr;
                       ^
/usr/ports/net-im/toxic/work/toxic-0.7.1/src/misc_tools.c:479:12: note: forward declaration of 'struct sockaddr_in'
    struct sockaddr_in s_addr;
           ^
/usr/ports/net-im/toxic/work/toxic-0.7.1/src/misc_tools.c:480:22: error: use of undeclared identifier 'AF_INET'
    return inet_pton(AF_INET, address, &(s_addr.sin_addr)) != 0;
                     ^
2 errors generated.

* Fix build on FreeBSD with clang

Without this patch, compilation fails with these messages:

CC misc_tools.o
/usr/ports/net-im/toxic/work/toxic-0.7.1/src/misc_tools.c:479:24: error: variable has incomplete type 'struct sockaddr_in'
struct sockaddr_in s_addr;
^
/usr/ports/net-im/toxic/work/toxic-0.7.1/src/misc_tools.c:479:12: note: forward declaration of 'struct sockaddr_in'
struct sockaddr_in s_addr;
^
/usr/ports/net-im/toxic/work/toxic-0.7.1/src/misc_tools.c:480:22: error: use of undeclared identifier 'AF_INET'
return inet_pton(AF_INET, address, &(s_addr.sin_addr)) != 0;
^
2 errors generated.
2016-09-25 22:32:17 -04:00
Jfreegman
f056f13329
Astyle everything and add an astyle options script to repo 2016-09-24 21:07:04 -04:00
Jfreegman
3515623159
Bump version to 0.7.1 2016-09-23 13:05:05 -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
c24e1bd2b8
Fix a few A/V race conditions 2016-09-22 18:00:14 -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
d2b572ede1
Add ipv6 support for bootstrap nodes and refactor parsing code 2016-09-21 21:22:05 -04:00
Jfreegman
703d5419a3
Ignore offline bootstrap nodes, small refactor of Nodes struct 2016-09-21 12:51:57 -04:00
Jfreegman
221d761ff4
Ignore bootstrap nodes that use a domain instead of IP address
Domains cause toxcore to do blocking DNS requests which creates noticable lag
and might (??) leak IP addresses when using a proxy
2016-09-21 00:28:16 -04:00
Jfreegman
151f5f0c51
Add setting to control DHT nodeslist update frequency
Also rename a few things and semi-fix man page format issues
2016-09-20 13:13:12 -04:00