zugz (tox)
d75d6e8b60
sort includes
2020-11-14 00:00:05 +00:00
zugz (tox)
7dead5ec96
Implement simplistic VAD
2020-11-14 00:00:01 +00:00
zugz
ddcf224db2
Implement groupAV
2020-11-14 00:00:01 +00:00
zugz
daf794c4a2
Rework audio device handling
...
We now have at most one input and one output device open at any time,
but can have multiple capture callbacks and multiple output sources.
2020-11-14 00:00:01 +00:00
jfreegman
77ab71f26f
Refactor message queue
...
We now attempt to send all queued messages per call to cqueue_try_send() instead
of just the oldest message in the queue. This speeds things up substantially.
Also fixed a very unlikely bug where the read receipt might wrap around to zero
which we used as a reserved value for an unsent message
2020-11-11 16:28:50 -05:00
jfreegman
68e1ba312d
Use compound literals to zero out structs instead of memset
...
This is cleaner and much less prone to bugs
2020-11-10 21:25:27 -05:00
jfreegman
71d7d355a6
Use enum to identify window types instead of bool variables
2020-11-09 17:01:22 -05:00
jfreegman
4188b392cc
Rename: groupchats -> conferences
...
This is in line with the toxcore API naming scheme and is in preparation
for the merge with the new groupchat implementation
2020-11-08 10:08:24 -05:00
jfreegman
42763905d7
Replace deprecated usleep function with nanosleep
...
usleep was declared obsolete in POSIX.1-2001
2020-11-04 22:05:59 -05:00
jfreegman
a86884c40e
Remove legacy code and fix a couple format specifiers
...
This code was added over 5 years ago and no longer serves a purpose
2020-11-03 01:00:08 -05:00
jfreegman
3f02e119f4
add missing malloc error checks and fix widechar to char comparison
2020-11-03 00:59:28 -05:00
jfreegman
1bbd50aac7
Fix a few issues
...
- realloc needs to be error checked
- use correct format specifiers
- make sure optarg and DATA_FILE aren't null before using them
2020-11-02 18:08:54 -05:00
jfreegman
e7a0c32a68
Refactor a few complex functions
...
Also moved some single use functions from misc_tools to their
respective files
2020-11-01 15:55:07 -05:00
jfreegman
7560bc9547
modularize string arrays for line completion
...
Instead of using various different forms of string arrays and having to handle them
differently for string completion, we now always use char pointer arrays. This allows
us to remove some large stack allocations, remove a bunch of confusing defines that
keep track of global array sizes, and generally unclutters the code so it's easier
to read.
2020-11-01 11:29:51 -05:00
jfreegman
2b43340c90
Convert all variable length arrays to heap allocations
...
VLA's are inherently unsafe so the safest option is to not use them
2020-11-01 11:29:48 -05:00
jfreegman
ff1620c923
fix invalid usage of stderr and incorrect formatting
2020-11-01 11:19:18 -05:00
jfreegman
a7466c3142
Add option to disable LAN
2020-08-10 21:56:45 -04:00
jfreegman
f012007cc4
A couple small fixes
2020-05-19 21:44:35 -04:00
jfreegman
dcf3baf60f
Make sure logger file is closed after tox_kill
2020-05-18 13:58:55 -04:00
JFreegman
4bda799a4b
Add the ability to log to file ( #84 )
2020-05-16 23:12:54 -04:00
jfreegman
4bfb344caa
Add option for toxcore logging in stderr
2020-05-04 16:15:28 -04:00
iphydf
68db926f9f
Check that files are formatted correctly.
...
Fail the CI build if they are not.
2020-04-23 01:16:57 +00:00
jfreegman
e7142e49fd
Terminate notify before windows
...
This fixes a use after free bug
2020-04-22 20:54:53 -04:00
iphydf
6f72a191ba
Revert "Add feature flags and missing #includes."
...
This reverts commit dd5fa236ae
.
Also, set `-std=gnu99` in Bazel build.
2020-04-17 19:37:22 +00:00
iphydf
dd5fa236ae
Add feature flags and missing #includes.
...
These are needed to compile on some strict Linuxes.
2020-04-15 21:34:30 +00:00
jfreegman
98cb7f58c0
Fix unused parameter and unused result warnings
2020-03-15 14:57:00 -04:00
iphydf
45ff6d8bac
Migrate to Camel_Case enum types.
...
UPPER_CASE enum types are deprecated and will be removed in 0.3.0.
2020-03-07 18:11:41 +00:00
JFreegman
bb2257973e
Load conference titles on startup for saved conferences ( #43 )
2019-06-30 14:51:13 -04:00
Rob Levitsky
f7b73af9a7
Add config option for the notification timeout duration
2018-11-10 08:54:59 -05:00
jfreegman
73aaa44d12
Add config option to set data file auto-save frequency
2018-10-30 18:22:30 -04:00
jfreegman
c4a11f8dc7
Refactor ToxWindows
...
ToxWindow constructor functions now return pointers instead of structs
ToxWindow windows array now holds pointers instead of structs
Refactor some logic in windows.c pertaining to keeping track of active windows
Use uint8_t for window array indexing
2018-10-19 17:43:06 -04:00
jfreegman
56e03a3f8b
No longer require quotes to enclose paths
2018-10-17 18:00:08 -04:00
jfreegman
0fea930c24
Convert deprecated uppercase enums to camelcase
2018-10-10 13:34:17 -04:00
jfreegman
94d22a8853
Allow empty status messages
2018-10-09 18:21:05 -04:00
jfreegman
63cc23401a
Improve readability of defines
2018-10-08 13:39:04 -04:00
iphydf
20b5e46850
Rename callback implementations to be of the form on_$event
.
...
So it's easy to map from implementation to the event without looking at
the `tox_callback_*` calls.
2018-07-18 17:06:28 +00:00
iphydf
f2b796940e
Add missing braces to if/for/while blocks.
...
Astyle doesn't quite catch all of them.
2018-07-18 15:56:21 +00:00
jfreegman
a37bf300f9
Update astylerc to match toxcore & reformat all source files
2018-07-18 11:33:16 -04:00
jfreegman
815c29ee31
Significantly reduce time before trying to re-send a message with no read receipt
...
(also some formatting cleanup)
2018-03-03 23:54:12 -05:00
jfreegman
a223329815
Fix persistent groupchat loading
2018-02-27 18:46:56 -05:00
jfreegman
29f55c5277
Update API
...
-Removed usage of deprecated API functions
-Integrated conference changes with a few regressions
2018-02-25 00:00:06 -05:00
iphydf
51f1daeec8
Treat Tox_Options as opaque struct: no deref, no alloc.
...
We allocate it inside toxcore and dereference it inside as well. This
allows us to change the layout of that struct and add new members.
2018-01-20 19:51:13 +00:00
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