9e3d4f3889
Check if pointer is null before accessing
2018-10-28 07:09:37 -04:00
b7d67c1d86
re-init AV for unblocked contacts
2018-10-20 02:56:37 -04:00
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
d18cc8cbc2
Fix two memory leaks and properly clean up friendlist window
2018-10-19 17:43:03 -04:00
ce6d4861fb
Fix bug where autocomplete added a forward slash to files with no extension
...
Also slightly refactored the line complete functions
2018-10-17 18:00:09 -04:00
8f0e6026f0
Add enum for file_type() and a little cleanup
2018-10-17 18:00:08 -04:00
258736995d
Remove ability to set note with status command
2018-10-17 18:00:08 -04:00
56e03a3f8b
No longer require quotes to enclose paths
2018-10-17 18:00:08 -04:00
b6c746b5f5
No longer require quotes for commands that take strings as arguments
2018-10-17 18:00:07 -04:00
0fea930c24
Convert deprecated uppercase enums to camelcase
2018-10-10 13:34:17 -04:00
94d22a8853
Allow empty status messages
2018-10-09 18:21:05 -04:00
63cc23401a
Improve readability of defines
2018-10-08 13:39:04 -04:00
f90a774470
Make Toxic easier to port
2018-10-03 22:00:43 +00:00
e7c5fbc873
Cleanup xtra.c
...
Privatise some functions that don't need to be public
Fix struct names starting with _ char
Remove unnecessary memset of Xtra struct in init_xtra()
2018-09-27 03:41:58 -04:00
d62902ffb3
Use (void) in prototypes instead of ().
...
Also, removed `__inline` from an extern function (why was it there?).
Also, moved one extern declaration to a header file. There are lots of
these that need to be moved, but one thing at a time.
2018-09-13 23:47:47 +00:00
bebff3be0e
Use (void) for empty parameter list in C.
2018-09-08 17:23:07 +00:00
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
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
a37bf300f9
Update astylerc to match toxcore & reformat all source files
2018-07-18 11:33:16 -04:00
3cd2bc7e3c
Don't compile A/V code if AUDIO/VIDEO are not #defined.
2018-07-06 15:46:12 +00:00
685837357b
Add bazel build file for toxic.
2018-07-06 14:41:16 +00:00
46f646afcf
Add an option to disable qr codes
2018-06-16 05:07:16 +02:00
68ce17a57f
Temp fix for nick change spam on group join
2018-04-19 22:23:49 -04:00
a69fad15c1
Use default timestamp format if provided one is invalid
2018-04-10 17:47:21 -04:00
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
a223329815
Fix persistent groupchat loading
2018-02-27 18:46:56 -05:00
221edb0012
add a .travis file and some build fixes
2018-02-26 02:34:38 -05:00
2710ab6034
Re-implement group nick change notifications
2018-02-25 03:43:19 -05:00
bc3ffac0ba
re-add group peer list sorting
2018-02-25 01:21:22 -05:00
29f55c5277
Update API
...
-Removed usage of deprecated API functions
-Integrated conference changes with a few regressions
2018-02-25 00:00:06 -05:00
a290f0f7f8
Update toxav API calls
2018-02-24 15:38:07 -05:00
5cd196a769
Fix autocomplete bug
...
Formatting was messed up due to not accounting for null byte in directory list
2018-02-20 20:54:26 -05:00
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
b9f9546e2b
Fix typedef enums and potential uninitialised value.
2018-01-20 18:30:35 +00:00
846bc4613e
Fix comment
2017-11-20 07:07:24 -05:00
fe6a7074ea
Dynamically allocate audio calls structure
...
This fixes a bug that caused a segfault when attempting to call a friend with a
friend number above the MAX_CALLS limit
2017-11-20 07:02:56 -05:00
0bd5b4ddee
Repair operating system checks ( #474 )
2017-11-16 16:59:51 -05:00
351a50c214
Do not assume what is not Linux or a BSD descendant is OSX
2017-11-15 21:02:10 +01:00
b905a1a3c5
One more bit of standard...
2017-11-15 05:56:13 +02:00
c4386b195f
A bit of standard...
2017-11-15 05:54:46 +02:00
ed1e617380
Make Toxic compile at NetBSD, STAGE 2
2017-11-15 05:50:00 +02:00
1382adb1f6
Make Toxic compile at NetBSD, STAGE 1
2017-11-15 05:46:47 +02:00
8f94b0a218
Shut down the warning at *BSD
2017-11-11 21:17:34 +02:00
85a0becbf9
Make Toxic compile at OpenBSD
2017-11-11 21:04:45 +02:00
fec36ad9e6
Make Toxic compile at OpenBSD
2017-11-11 21:03:28 +02:00
e1bfa30769
Refresh device list on /lsdev.
2017-10-31 18:08:06 +02:00
ebcbc7497b
Indicate selected device when printing.
2017-10-31 17:45:39 +02:00
8508451ba6
avoid unnecessary redrawing
2017-10-29 16:50:42 +01:00
febc725763
Fix tmux detached detection
...
The old code failed if the session had a custom name instead of the
default numeric id. To be safe in both cases, look for the session_id in
the tmux list-sessions output.
2017-09-05 12:49:48 +02:00
f2c116feb3
Fix potential string truncations with snprintf
2017-09-01 17:36:17 -04:00