iphydf
701c0e1e94
cleanup: Reduce the amount of "extern" in .c files.
...
There is no check at all that the types of externs actually match the
type of the definition. This just accidentally was not a problem, but now
the compiler helps a bit in keeping it that way.
2021-12-11 22:35:51 +00:00
jfreegman
3cdcfbf4e5
Reduce size of some large stack memory allocations
2020-10-25 13:48:14 -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
94d22a8853
Allow empty status messages
2018-10-09 18:21:05 -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
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
11701d22a1
Lots of bug fixes and general code cleanup
2015-08-27 03:38:08 -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
Ansa89
2b19f56e63
Update for toxcore API break
2015-02-01 21:09:48 +01:00
Jfreegman
dd8c2caac7
more prep for audio groups
2014-11-14 20:13:08 -05:00
Jfreegman
33cfca7ecc
bug fixes and code cleanup
2014-09-28 17:49:48 -04:00
Jfreegman
544c402f78
implement avatars (setting only) and generalize path tab-complete
2014-09-26 03:10:44 -04:00
Jfreegman
133c0e8d63
rename reserved identifiers per C standard
2014-09-22 21:24:45 -04:00
Jfreegman
68f1dffba7
add command to decline friend requests
2014-08-25 14:08:01 -04:00
Jfreegman
75e8486061
add command to list pending friend requests, a few related fixes
2014-08-19 20:52:17 -04:00
Jfreegman
5718ad52db
a few fixes
2014-08-12 03:01:18 -04:00
Jfreegman
396d08f0d2
refactor friend/blocklist, dynamically allocate memory
2014-08-07 13:24:29 -04:00
Jfreegman
973f6206ee
enforce const correctess, fix undefined behaviour with string literals
2014-07-29 14:54:34 -04:00
Jfreegman
bc94e08970
sendfile tab-complete for ~/ shortcut
2014-07-21 15:11:30 -04:00
mannol
98ac4d7983
Added sound notifications and prepared for later system notifications. Also, now using libconfig for configuration loading.
2014-07-21 03:25:21 +02:00
Jfreegman
9fa5a3fdb6
fix window cleanup bugs & give prompt its own cleanup func
2014-07-08 19:24:44 -04:00
Jfreegman
a009fbf20c
use char instead of uint8_t, fix compiler warnings so toxic compiles with -Wall and -Werror on gcc and clang
2014-07-06 22:16:20 -04:00
Jfreegman
a2e6a25fc8
make prompt window look like chat/groupchat windows (fixes various bugs, allows history scrolling)
2014-06-28 18:40:22 -04:00
Jfreegman
31acdcada3
reorganize toxic_windows.h into two separate header files, rename main.c to toxic.c
2014-06-11 18:14:12 -04:00
Sean Qureshi
4cac797b40
General cleanup
...
Signed-off-by: Sean Qureshi <sean@tox.im>
2014-04-19 14:58:13 -07:00
Jfreegman
50a37495f8
API update
2014-03-18 21:48:26 -04:00
mannol
c678d41709
Now supporting device selection
2014-03-08 01:12:51 +01:00
Jfreegman
9b57c05648
add command to turn logs on/off
2014-02-26 19:00:13 -05:00
Jfreegman
b6613a015f
add license info to source files
2014-02-25 02:28:24 -05:00
Jfreegman
44d9f7fe61
busy status mutes beeping
2013-12-09 19:25:09 -05:00
Jfreegman
4065715b78
split lists up so only commands that work in given window autocomplete
2013-12-09 17:56:20 -05:00
Jfreegman
ce45580c83
partially fix bug where input line eats prompt messages
2013-12-06 05:07:35 -05:00
Jfreegman
7a14845790
add line kill and discard ability
2013-12-05 22:55:14 -05:00
Jfreegman
a57f94306a
put back prompt char
2013-12-04 18:09:51 -05:00
Jfreegman
89cb29afed
moved misc helper functions to separate file and removed redundant includes
2013-09-20 20:35:03 -04:00
Jfreegman
d49a5ca993
moved command parsing code to separate files
2013-09-19 17:03:22 -04:00
Jfreegman
e2de6a829e
refactored prompt command parser to work with chat and groupchat windows
2013-09-19 06:37:42 -04:00
Jfreegman
b4512811ba
fixed prompt scroll bugs and statusbar struct issues
2013-09-18 17:30:35 -04:00
Jfreegman
40dcfc82d2
made error handling more consistent and added exit function
2013-09-11 00:02:27 -04:00
Jfreegman
261310b091
added status bar to prompt and fixed some bugs
2013-09-06 19:59:45 -04:00
Sergey 'Jin' Bostandzhyan
c157837f97
Added autotools based build scripts
...
Limitations:
currently the tox core library does not ship proper public headers,
so we'll have to tell the configure script where the headers are (i.e.
directory in the ProjectTox-Core source tree.
Since these headers are not really public, they include sodium.h, so
right now the toxic configure script will check for sodium.h as well.
We also need to look for the libsodium library for linking vs Tox core.
2013-08-23 01:30:49 +03:00
Sergey 'Jin' Bostandzhyan
43372f09a6
Move sources to an own subdirectory
2013-08-22 23:57:20 +03:00