1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-03 10:46:44 +02:00
Commit Graph

225 Commits

Author SHA1 Message Date
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
d18cc8cbc2 Fix two memory leaks and properly clean up friendlist window 2018-10-19 17:43:03 -04:00
0fea930c24 Convert deprecated uppercase enums to camelcase 2018-10-10 13:34:17 -04:00
a37bf300f9 Update astylerc to match toxcore & reformat all source files 2018-07-18 11:33:16 -04: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
fe6a7074ea Dynamically allocate audio calls structure
This fixes a bug that caused a segfault when attempting to call a friend with a
friend number above the MAX_CALLS limit
2017-11-20 07:02:56 -05:00
8508451ba6 avoid unnecessary redrawing 2017-10-29 16:50:42 +01:00
52dd60dc86 Fix potential int truncation and double-check lengths before copy 2017-08-28 19:37:19 -04:00
f056f13329 Astyle everything and add an astyle options script to repo 2016-09-24 21:07:04 -04:00
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
cf16849b37 Dynamically allocate memory for save file instead of using stack 2016-05-03 14:13:16 -04:00
e6f839f9ac Enable multiline input
Adds a nonl() call to avoid translation from \r to \n when pressing
enter.
C-J -> \n
Enter -> \r
To allow multiline input, \n chars (e.g. when pressing C-J) are replaced
with a pilcrow. After hitting enter, every pilcrow is substituted with
\n again.
2016-02-28 02:35:36 +01:00
39c4b7ecdd Add ability to print your Tox ID's QR code to a file 2015-11-08 22:51:46 -05:00
fa0e645a79 Fix a bunch of misc bugs and corner cases 2015-11-08 03:57:01 -05:00
14a8bdb874 Store temp data in same directory as original file 2015-11-07 21:38:32 -05:00
dfff777283 Save data in a safer manner
By saving to a temp file then renaming it we avoid the possibility of data corruption
due to an interrupt (hard reboot, power outage etc.)
2015-11-05 17:46:00 -05:00
a5e5e98afc Disabled video calls for the time being 2015-11-03 23:50:01 +01:00
462cfca175 Merge new AV branch 2015-10-20 17:57:54 -04:00
db410cb01e Use profile name that conforms with the standard 2015-10-14 23:09:11 -04:00
b4464eda4d Fix more threading issues 2015-08-27 21:29:34 -04:00
11701d22a1 Lots of bug fixes and general code cleanup 2015-08-27 03:38:08 -04:00
ad04fa4dcd Major refactoring and fixes towards AV 2015-08-21 00:42:28 -05:00
8301ab1bc2 Revert commit 312d0c3 (localization/gettext)
There were serious problems with branch merging that need to be resolved first
2015-08-21 00:35:40 -05:00
0a2ad23c15 Add localization system (gettext) 2015-08-21 00:24:02 -05:00
43bda5f7d9 Refactoring and fix related to invite callback not being fired 2015-08-21 00:14:03 -05:00
f2121fae74 Implemented audio calls using new ToxAV API 2015-08-21 00:14:03 -05:00
3241551cfb Began conversion of audio code to new ToxAV API 2015-08-21 00:14:03 -05:00
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
85d3c18ba6 Add localization system (gettext) 2015-05-28 15:50:55 +02:00
dd9186e834 re-implement avatar setting 2015-04-04 03:26:38 -04:00
523f205646 re-implement friendlist last seen 2015-04-02 22:19:09 -04:00
eaea68c33e fix bug where contacts would appear online twice in a row 2015-03-31 18:39:42 -04:00
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
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
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
2b19f56e63 Update for toxcore API break 2015-02-01 21:09:48 +01:00
ff0fbbc379 small fix 2015-01-01 12:50:51 -05:00
e722b665d1 Make "Last seen" handle year rollover correctly 2015-01-01 05:44:18 +00:00
e995a1cb69 AV api changes 2014-11-30 09:27:45 -05:00
4a337ae3cb update for core audio refactor 2014-11-26 00:57:02 -05:00
43f45d67a4 core API update 2014-11-11 18:30:23 -05:00
9f0daca5eb filter escape sequences from all inbound nicks and status messages 2014-10-07 16:18:06 -04:00
6492bd12f9 escape newlines in contact names/status messages 2014-10-06 16:23:43 -04:00
bd69c8da18 small fix 2014-10-04 17:01:02 -04:00
8c3e3ebe24 fix blocklist saving bug 2014-10-03 23:52:54 -04:00
23cf9686cb safer string handling 2014-10-03 17:53:50 -04:00
e9a0296851 ignore tox_load errors until toxcore is fixed 2014-10-02 22:25:21 -04:00
6248baf98b fix segfault 2014-09-29 01:30:22 -04:00
33cfca7ecc bug fixes and code cleanup 2014-09-28 17:49:48 -04:00