1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-01 18:27:45 +02:00
Commit Graph

67 Commits

Author SHA1 Message Date
jfreegman
b7002ef3f0
Allow ncurses refresh rate to be set dynamically
This allows us to have a higher refresh rate only when necessary (e.g. games)
2021-11-20 09:49:04 -05:00
jfreegman
f3f81111c8
Greatly reduce redundant window refreshing
This should substantially reduce CPU usage and possibly fix some
issues with interface jittering/flashing
2021-11-19 17:54:35 -05:00
jfreegman
7aeb1a0aac
Add networking to game engine / add multiplayer chess 2021-05-24 14:30:27 -04:00
Lily
2ff9d29491
Custom colors proof of concept
Fix formatting

Fix repeated variable in example config
2020-12-05 17:46:13 -06: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
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
e428879beb
Fix clashing key bindings
Scrolling the groupchat peer list now uses ctrl+up and down
2020-10-13 19:52:43 -04:00
jfreegman
9c06ad608b
Add ability to skip words in input field with ctrl-left/right arrow 2020-10-10 11:21:15 -04:00
jfreegman
0fea930c24
Convert deprecated uppercase enums to camelcase 2018-10-10 13:34:17 -04:00
jfreegman
63cc23401a
Improve readability of defines 2018-10-08 13:39:04 -04:00
iphydf
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
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
jfreegman
a37bf300f9
Update astylerc to match toxcore & reformat all source files 2018-07-18 11:33:16 -04: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
jfreegman
1d71e2eb18
Port to toktok-c-toxcore branch 2016-12-18 00:01:51 -05:00
Jfreegman
f056f13329
Astyle everything and add an astyle options script to repo 2016-09-24 21:07:04 -04:00
Marvin Ewald
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
Jfreegman
fa0e645a79
Fix a bunch of misc bugs and corner cases 2015-11-08 03:57:01 -05:00
Jfreegman
f295352495
Replace instances of unsafe atoi function with safe counterpart 2015-09-02 19:41:21 -04:00
Jfreegman
035420e5c7
Revert commit 312d0c3 (localization/gettext)
There were serious problems with branch merging that need to be resolved first
2015-07-04 01:19:16 -04:00
Ansa89
85d3c18ba6 Add localization system (gettext) 2015-05-28 15:50:55 +02:00
Jfreegman
dd9186e834
re-implement avatar setting 2015-04-04 03:26:38 -04:00
Jfreegman
e998c8a866
fix encryption API breakage 2015-03-31 21:56:11 -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
Jfreegman
ae87b2eb2d
begin port to new API 2015-03-25 22:56:45 -04:00
fr33domlover
0c39e7b158 Add support for auto-away based on screen attach/detach 2015-03-09 01:38:30 +02:00
Loui Chang
53e4b2c971 Add support for custom timestamps in chat and logs.
Internal representations of the time_format setting are replaced by timestamp format strings.
time_format is only used in the setup.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2015-02-23 00:46:33 -05:00
Jfreegman
7865cea284
group audio stuff 2014-12-09 18:29:07 -05:00
Jfreegman
09bbec79cf
group audio almost works 2014-11-26 15:22:34 -05:00
Jfreegman
76c21c8b34
implement group titles 2014-11-14 22:15:59 -05:00
Jfreegman
dd8c2caac7
more prep for audio groups 2014-11-14 20:13:08 -05:00
Jfreegman
43f45d67a4
core API update 2014-11-11 18:30:23 -05:00
Jfreegman
e4a28d1839
make groupchat announcements behave properly 2014-10-09 01:39:22 -04:00
Jfreegman
e6b18231c0
add ability to toggle groupchat peerlist with ctrl-b 2014-10-08 02:45:08 -04:00
Jfreegman
43552161f9
implement word deletion via ^W 2014-10-05 23:12:58 -04:00
Jfreegman
23cf9686cb
safer string handling 2014-10-03 17:53:50 -04:00
Jfreegman
e7697b8fba
make ctrl-L force refresh the window 2014-10-01 16:24:36 -04:00
Jfreegman
05661ca9b6
core API update and refactor group invites a bit 2014-09-27 22:50:20 -04:00
Jfreegman
b071a9e992
more thorough error checking 2014-09-23 22:51:56 -04:00
Jfreegman
133c0e8d63
rename reserved identifiers per C standard 2014-09-22 21:24:45 -04:00
Jfreegman
9d5fe03285
small fix 2014-09-22 18:38:46 -04:00
Jfreegman
388d78d11e
add option to encrypt an existing unencrypted data file 2014-09-15 16:17:58 -04:00
Jfreegman
51e274ea38
implement data file encryption 2014-09-14 17:46:28 -04:00
Jfreegman
5b9bd603ea
implement read receipts 2014-09-07 02:43:53 -04:00
Jfreegman
67f637a1e1
redirect stderr before audio init to prevent error spam 2014-08-14 21:31:28 -04:00
Jfreegman
72010dd2e1
allow connections through proxies 2014-08-14 20:31:52 -04:00
Jfreegman
396d08f0d2 refactor friend/blocklist, dynamically allocate memory 2014-08-07 13:24:29 -04:00
Jfreegman
15e91cfa99 formatting, use case-insensitive string compare, use defines for keycodes 2014-07-28 21:47:35 -04:00
Jfreegman
ca7110b37c
small visual adjustment to progress bar 2014-07-28 19:36:30 -04:00
Zetok Zalbavar
7a7e4f573a Fix ONLINE_CHAR being identical to OFFLINE_CHAR 2014-07-28 18:38:15 +01:00