1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-29 23:26:45 +02:00
Commit Graph

44 Commits

Author SHA1 Message Date
3cdcfbf4e5 Reduce size of some large stack memory allocations 2020-10-25 13:48:14 -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
94d22a8853 Allow empty status messages 2018-10-09 18:21:05 -04:00
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
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
29f55c5277 Update API
-Removed usage of deprecated API functions
-Integrated conference changes with a few regressions
2018-02-25 00:00:06 -05:00
11701d22a1 Lots of bug fixes and general code cleanup 2015-08-27 03:38:08 -04:00
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
ae87b2eb2d begin port to new API 2015-03-25 22:56:45 -04:00
2b19f56e63 Update for toxcore API break 2015-02-01 21:09:48 +01:00
dd8c2caac7 more prep for audio groups 2014-11-14 20:13:08 -05:00
33cfca7ecc bug fixes and code cleanup 2014-09-28 17:49:48 -04:00
544c402f78 implement avatars (setting only) and generalize path tab-complete 2014-09-26 03:10:44 -04:00
133c0e8d63 rename reserved identifiers per C standard 2014-09-22 21:24:45 -04:00
68f1dffba7 add command to decline friend requests 2014-08-25 14:08:01 -04:00
75e8486061 add command to list pending friend requests, a few related fixes 2014-08-19 20:52:17 -04:00
5718ad52db a few fixes 2014-08-12 03:01:18 -04:00
396d08f0d2 refactor friend/blocklist, dynamically allocate memory 2014-08-07 13:24:29 -04:00
973f6206ee enforce const correctess, fix undefined behaviour with string literals 2014-07-29 14:54:34 -04:00
bc94e08970 sendfile tab-complete for ~/ shortcut 2014-07-21 15:11:30 -04:00
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
9fa5a3fdb6 fix window cleanup bugs & give prompt its own cleanup func 2014-07-08 19:24:44 -04:00
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
a2e6a25fc8 make prompt window look like chat/groupchat windows (fixes various bugs, allows history scrolling) 2014-06-28 18:40:22 -04:00
31acdcada3 reorganize toxic_windows.h into two separate header files, rename main.c to toxic.c 2014-06-11 18:14:12 -04:00
4cac797b40 General cleanup
Signed-off-by: Sean Qureshi <sean@tox.im>
2014-04-19 14:58:13 -07:00
50a37495f8 API update 2014-03-18 21:48:26 -04:00
c678d41709 Now supporting device selection 2014-03-08 01:12:51 +01:00
9b57c05648 add command to turn logs on/off 2014-02-26 19:00:13 -05:00
b6613a015f add license info to source files 2014-02-25 02:28:24 -05:00
44d9f7fe61 busy status mutes beeping 2013-12-09 19:25:09 -05:00
4065715b78 split lists up so only commands that work in given window autocomplete 2013-12-09 17:56:20 -05:00
ce45580c83 partially fix bug where input line eats prompt messages 2013-12-06 05:07:35 -05:00
7a14845790 add line kill and discard ability 2013-12-05 22:55:14 -05:00
a57f94306a put back prompt char 2013-12-04 18:09:51 -05:00
89cb29afed moved misc helper functions to separate file and removed redundant includes 2013-09-20 20:35:03 -04:00
d49a5ca993 moved command parsing code to separate files 2013-09-19 17:03:22 -04:00
e2de6a829e refactored prompt command parser to work with chat and groupchat windows 2013-09-19 06:37:42 -04:00
b4512811ba fixed prompt scroll bugs and statusbar struct issues 2013-09-18 17:30:35 -04:00
40dcfc82d2 made error handling more consistent and added exit function 2013-09-11 00:02:27 -04:00
261310b091 added status bar to prompt and fixed some bugs 2013-09-06 19:59:45 -04:00
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
43372f09a6 Move sources to an own subdirectory 2013-08-22 23:57:20 +03:00