1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-06-01 12:41:59 +02:00
Commit Graph

89 Commits

Author SHA1 Message Date
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
zugz
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
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
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
a7466c3142
Add option to disable LAN 2020-08-10 21:56:45 -04:00
JFreegman
4bda799a4b
Add the ability to log to file (#84) 2020-05-16 23:12:54 -04:00
jfreegman
4bfb344caa
Add option for toxcore logging in stderr 2020-05-04 16:15:28 -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
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
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
iphydf
b9f9546e2b
Fix typedef enums and potential uninitialised value. 2018-01-20 18:30:35 +00:00
jakob
b3ed8bc35c Finalized and documented the Python scripting interface. 2017-05-16 20:31:23 -04:00
jfreegman
1d71e2eb18
Port to toktok-c-toxcore branch 2016-12-18 00:01:51 -05:00
Jfreegman
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
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
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
Eniz Vukovic
a5e5e98afc Disabled video calls for the time being 2015-11-03 23:50:01 +01: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
cnhenry
ad04fa4dcd Major refactoring and fixes towards AV 2015-08-21 00:42:28 -05:00
cnhenry
c2c612b85a Fixed v4l2 capture crash, and refactored to prepare for new features 2015-08-21 00:40:09 -05:00
cnhenry
d359ba6a54 Fixed YUV stride issues 2015-08-21 00:38:44 -05:00
cnhenry
54e2fe8d6f Implemented video frames ready to send through ToxAV. NOTE: Contains YUV stride issues 2015-08-21 00:37:57 -05:00
cnhenry
9b6efb65de Implemented video preview and preparations for ToxAV 2015-08-21 00:37:23 -05:00
Jfreegman
3cb412632b Add option to enable acting as TCP relay server 2015-08-21 00:35:54 -05:00
cnhenry
43bda5f7d9 Refactoring and fix related to invite callback not being fired 2015-08-21 00:14:03 -05:00
cnhenry
f2121fae74 Implemented audio calls using new ToxAV API 2015-08-21 00:14:03 -05:00
cnhenry
3241551cfb Began conversion of audio code to new ToxAV API 2015-08-21 00:14:03 -05:00
Jfreegman
904f58c0e8
Add option to enable acting as TCP relay server 2015-07-08 21:01:32 -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
ae87b2eb2d
begin port to new API 2015-03-25 22:56:45 -04:00
Jfreegman
e55e5f3f7e
add HTTP proxy support 2014-12-27 13:12:16 -05:00
Jfreegman
673800c947
forgot something 2014-11-28 23:51:32 -05:00
Jfreegman
4e177d60b0
group title fixes and api update 2014-11-15 15:55:45 -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
e6b18231c0
add ability to toggle groupchat peerlist with ctrl-b 2014-10-08 02:45:08 -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
133c0e8d63
rename reserved identifiers per C standard 2014-09-22 21:24:45 -04:00
Jfreegman
3c74385f5c
use proper variable type for sig handler flags 2014-09-22 14:27:33 -04:00
Jfreegman
919d36369c
add option to unencrypt an encrypted data file 2014-09-18 23:50:51 -04:00
Jfreegman
388d78d11e
add option to encrypt an existing unencrypted data file 2014-09-15 16:17:58 -04:00