jfreegman
1803da85c1
Refactor unread message flagging
...
This fixes an issue where the interface wasn't able to update
when the unread message flag changed. It also cleans up some
ugly code
2021-11-19 22:54:35 -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
8dfd009e0e
Some minor fixes for game module
2021-06-28 13:54:25 -04:00
jfreegman
7abf6388f8
Add ability to compile without game support
2021-05-24 14:30:28 -04:00
jfreegman
7aeb1a0aac
Add networking to game engine / add multiplayer chess
2021-05-24 14:30:27 -04:00
jfreegman
60bdcf0ba5
Begin implementing chess
2021-05-24 14:30:27 -04:00
jfreegman
a623976a0e
Add game module (WIP)
2021-05-24 14:30:26 -04:00
jfreegman
07a41f9e0b
Show previous window instead of Home after closing a window
2021-01-25 17:09:23 -05: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
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
jfreegman
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
zugz (tox)
d75d6e8b60
sort includes
2020-11-14 00:00:05 +00:00
jfreegman
dac0124f0f
Fix some issues with file transfers
...
- Fix bug causing failed avatar transfers to be sent as normal file transfers
when a friend goes offline and comes back online
- Remove some unused members of the FileTransfer struct
- Rename filenum -> filenumber and friendnum -> friendnumber
2020-11-13 19:38:33 -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
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
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
jfreegman
98cb7f58c0
Fix unused parameter and unused result warnings
2020-03-15 14:57:00 -04:00
jfreegman
9e3d4f3889
Check if pointer is null before accessing
2018-10-28 07:09:37 -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
d18cc8cbc2
Fix two memory leaks and properly clean up friendlist window
2018-10-19 17:43:03 -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
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
2710ab6034
Re-implement group nick change notifications
2018-02-25 03:43:19 -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
jakob
b3ed8bc35c
Finalized and documented the Python scripting interface.
2017-05-16 20:31:23 -04:00
jfreegman
451d4ced80
Add option that prints toxic and toxcore version
2017-01-25 22:13:59 -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
Marin Ivanov
c425aa2f27
Fixed input lag
2016-07-27 18:06:33 +02:00
Marin Ivanov
f89638635a
Remove help window flicker
2016-07-27 02:07:31 +02:00
Jfreegman
fa0e645a79
Fix a bunch of misc bugs and corner cases
2015-11-08 03:57:01 -05:00
Jfreegman
b4464eda4d
Fix more threading issues
2015-08-27 21:29:34 -04:00
Jfreegman
11701d22a1
Lots of bug fixes and general code cleanup
2015-08-27 03:38:08 -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
Jfreegman
84a0276668
Fix some possible race conditions related to line printing
2015-06-30 22:40:45 -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
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
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
Jfreegman
7865cea284
group audio stuff
2014-12-09 18:29:07 -05:00
Jfreegman
82aa64e8f7
properly close all groupchats on exit
2014-12-07 13:51:12 -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