1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 21:16:45 +02:00
Commit Graph

94 Commits

Author SHA1 Message Date
960ad7c4cb Add ability to compile without game support 2021-04-22 12:57:15 -04:00
787d081e74 Add networking to game engine / add multiplayer chess 2021-04-22 12:57:15 -04:00
97cb43a218 Begin implementing chess 2021-04-22 12:57:14 -04:00
b9ea733470 Add game module (WIP) 2021-04-22 12:57:11 -04:00
2ff9d29491 Custom colors proof of concept
Fix formatting

Fix repeated variable in example config
2020-12-05 17:46:13 -06:00
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
9d65997871 Add notification counters to bottom tab
A counter now increments in the bottom bar for unfocused windows showing how
many unread messages are pending. Tabs with no pending messages show [*]
instead of their index (showing the index is useless and somewhat confusing)
2020-11-21 11:25:41 -05:00
53a7530e8a Some UI improvements
- Bottom tab now only shows indices of active chat windows unless focused
- Always focus Home screen on startup instead of the last loaded conference
- Conference tab names are no longer prefixed with the conference number
- Home and Contact tab names are now capitalized
2020-11-19 01:30:30 -05:00
d75d6e8b60 sort includes 2020-11-14 00:00:05 +00:00
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
71d7d355a6 Use enum to identify window types instead of bool variables 2020-11-09 17:01:22 -05:00
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
3015138a5a Manually attempt to decode input char sequences
This is currently a fallback method for when the terminal doesn't
detect ctrl arrow sequences, but it is generalized for future additions
2020-10-13 16:12:55 -04:00
a7466c3142 Add option to disable LAN 2020-08-10 21:56:45 -04:00
4bda799a4b Add the ability to log to file (#84) 2020-05-16 23:12:54 -04:00
4bfb344caa Add option for toxcore logging in stderr 2020-05-04 16:15:28 -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
0fea930c24 Convert deprecated uppercase enums to camelcase 2018-10-10 13:34:17 -04:00
63cc23401a Improve readability of defines 2018-10-08 13:39:04 -04: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
b9f9546e2b Fix typedef enums and potential uninitialised value. 2018-01-20 18:30:35 +00:00
b3ed8bc35c Finalized and documented the Python scripting interface. 2017-05-16 20:31:23 -04:00
1d71e2eb18 Port to toktok-c-toxcore branch 2016-12-18 00:01:51 -05:00
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
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
04576fea7e Add paste-mode to allow multiline text pasting
Ctrl-T toggles paste mode.
Useful when pasting multiline text because it avoids triggering an
enter keypress after linebreaks.
Instead, every \r is translated to \n which is again translated to a
pilcrow (see previous commit).
The pasted text can then be sent as a whole instead of splitting up in
multiple messages.
2016-02-28 21:40:41 +01:00
a5e5e98afc Disabled video calls for the time being 2015-11-03 23:50:01 +01:00
4ab99c73a0 Merge with master 2015-11-02 15:22:52 -05:00
8584feab80 Replace DNS-based username lookups with HTTPS & drop utox.org support 2015-10-28 17:14:17 -04:00
ad04fa4dcd Major refactoring and fixes towards AV 2015-08-21 00:42:28 -05:00
c2c612b85a Fixed v4l2 capture crash, and refactored to prepare for new features 2015-08-21 00:40:09 -05:00
d359ba6a54 Fixed YUV stride issues 2015-08-21 00:38:44 -05:00
54e2fe8d6f Implemented video frames ready to send through ToxAV. NOTE: Contains YUV stride issues 2015-08-21 00:37:57 -05:00
9b6efb65de Implemented video preview and preparations for ToxAV 2015-08-21 00:37:23 -05:00
3cb412632b Add option to enable acting as TCP relay server 2015-08-21 00:35:54 -05:00
43bda5f7d9 Refactoring and fix related to invite callback not being fired 2015-08-21 00:14:03 -05:00
f2121fae74 Implemented audio calls using new ToxAV API 2015-08-21 00:14:03 -05:00
3241551cfb Began conversion of audio code to new ToxAV API 2015-08-21 00:14:03 -05:00
904f58c0e8 Add option to enable acting as TCP relay server 2015-07-08 21:01:32 -04:00
522aabd4e4 Refactor and clean up file transfers
(No longer rely on undefined core filenumber property for indexing)
2015-03-29 18:33:51 -04:00
ae87b2eb2d begin port to new API 2015-03-25 22:56:45 -04:00
e55e5f3f7e add HTTP proxy support 2014-12-27 13:12:16 -05:00
673800c947 forgot something 2014-11-28 23:51:32 -05:00
4e177d60b0 group title fixes and api update 2014-11-15 15:55:45 -05:00
76c21c8b34 implement group titles 2014-11-14 22:15:59 -05:00
dd8c2caac7 more prep for audio groups 2014-11-14 20:13:08 -05:00
43f45d67a4 core API update 2014-11-11 18:30:23 -05:00
e6b18231c0 add ability to toggle groupchat peerlist with ctrl-b 2014-10-08 02:45:08 -04:00
23cf9686cb safer string handling 2014-10-03 17:53:50 -04:00
e7697b8fba make ctrl-L force refresh the window 2014-10-01 16:24:36 -04:00