1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-14 18:23:03 +01:00
Commit Graph

37 Commits

Author SHA1 Message Date
jfreegman
960ad7c4cb
Add ability to compile without game support 2021-04-22 12:57:15 -04:00
jfreegman
787d081e74
Add networking to game engine / add multiplayer chess 2021-04-22 12:57:15 -04:00
jfreegman
97cb43a218
Begin implementing chess 2021-04-22 12:57:14 -04:00
jfreegman
b9ea733470
Add game module (WIP) 2021-04-22 12:57:11 -04:00
Maxim Biro
973e60ef11
Fix Makefile assignment bug
When a user provides variable=value as an argument to make, all
assignments to that variable are ignored within the Makefile because the
user has explicitly overrode variable to be "value". This made the
ENABLE_ASAN assignment to be ignored, resulting in Toxic always enabling
ASAN unless you run `make ENABLE_ASAN=disabled`, which is not
documented and not how it's intended to work. This can be fixed by
prefixing the assignment with "override", but to be in line with other
argument assignments we just change the variable name.

See more at:
https://www.gnu.org/software/make/manual/html_node/Overriding.html
2021-01-19 20:18:24 -05:00
jfreegman
ae94bc593b
Rename some build options for naming consistency 2021-01-19 15:21:31 -05:00
jfreegman
1e985c1456
Interface improvements and bump to v0.10.0
- Give window tab and statusbar a make over
- Place window tab above input field
- Reduce input field to one square in height
- Refactor window tab so that it's now a subwin of its parent ToxWindow
- Fix bug causing notification counter to sometimes increment by 2
- No longer scroll on output when output is not at bottom of screen
- Show a small indicator on far left of window tab when output is
  not at bottom of screen
- Reduce ncurses/UI thread sleep time by half
- Handle nanosleep errors better
2020-11-29 23:26:51 -05:00
jfreegman
3f2826bd66
Add release and LLVM asan build options
The release build uses -O2 and flto, and has no debug symbols.
-Wmissing-field-initializer was removed due to false positives
on newer versions of clang
2020-11-26 16:04:54 -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
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
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
1303053a27
Use c99 standard instead of gnu99
No gnu99 extensions are used or will be used
2020-10-29 19:29:28 -04:00
Robin Linden
26b5fe8f9d
fix: Fix incorrect file specified error when building in WSL from CLion 2020-10-24 12:52:43 +02:00
jfreegman
98cb7f58c0
Fix unused parameter and unused result warnings 2020-03-15 14:57:00 -04:00
jfreegman
437dd8baeb
Some misc fixes 2020-02-29 14:14:56 -05:00
Leonid Bobrov
f90a774470
Make Toxic easier to port 2018-10-03 22:00:43 +00:00
jfreegman
af11f16bef
fix merge mistake take 2 2018-07-07 10:29:12 -04:00
jfreegman
1d27a496ef
fix merge mistake 2018-07-06 15:43:32 -04:00
iphydf
43ca840658
Conditionally compile api.c and python_api.c contents.
Based on `-DPYTHON`, instead of based on which files are listed in the
source list. This simplifies people's lives when compiling from the
command line with `cc *.c`.
2018-07-06 14:42:33 +00:00
François-Xavier Carton
46f646afcf Add an option to disable qr codes 2018-06-16 05:07:16 +02:00
jfreegman
221edb0012
add a .travis file and some build fixes 2018-02-26 02:34:38 -05:00
aSourceFish
ecf1c317b7
Make Toxic compile at NetBSD, STAGE 0 2017-11-15 05:24:19 +02:00
Ansa89
6bc5d8c543
QR PNG: convert some variables to macros 2016-10-06 11:52:26 +02:00
Ansa89
958df9f2e8
Add possibility to save QR code in PNG file format 2016-10-05 20:57:50 +02: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
d16be574f3
Add stack protection compile flag to Makefile 2015-11-10 23:34:46 -05:00
Jfreegman
39c4b7ecdd
Add ability to print your Tox ID's QR code to a file 2015-11-08 22:51:46 -05:00
JFreegman
93a73cbef2 Merge pull request #351 from mneumann/fix_build_dragonfly
Fix compile for DragonFlyBSD
2015-11-07 17:26:30 -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
Michael Neumann
2c3921a9fb Fix compile for DragonFlyBSD 2015-09-09 13:23:48 +02:00
cnhenry
c8a9ac21f3 Implemented OSX device listing 2015-08-21 00:44:25 -05:00
Jfreegman
dd9186e834
re-implement avatar setting 2015-04-04 03:26:38 -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
Ansa89
dfbb1338a5 Makefile: be less aggressive when cleaning 2015-03-21 19:31:00 +01:00
Ansa89
a11289de79 Move makefile into root directory
Requested by @mannol.
2015-03-21 18:35:40 +01:00