1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-15 06:23:02 +01:00
Commit Graph

229 Commits

Author SHA1 Message Date
jfreegman
f012007cc4
A couple small fixes 2020-05-19 21:44:35 -04:00
jfreegman
98cb7f58c0
Fix unused parameter and unused result warnings 2020-03-15 14:57:00 -04:00
jfreegman
127f9462e0
make friend add fail if friend is in the block list 2019-11-16 01:55:47 -05:00
jfreegman
b7d67c1d86
re-init AV for unblocked contacts 2018-10-20 02:56: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
a37bf300f9
Update astylerc to match toxcore & reformat all source files 2018-07-18 11:33:16 -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
jfreegman
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
zugz
8508451ba6 avoid unnecessary redrawing 2017-10-29 16:50:42 +01:00
jfreegman
52dd60dc86
Fix potential int truncation and double-check lengths before copy 2017-08-28 19:37:19 -04:00
Jfreegman
f056f13329
Astyle everything and add an astyle options script to repo 2016-09-24 21:07:04 -04: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
cf16849b37
Dynamically allocate memory for save file instead of using stack 2016-05-03 14:13:16 -04:00
Marvin Ewald
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
Jfreegman
39c4b7ecdd
Add ability to print your Tox ID's QR code to a file 2015-11-08 22:51:46 -05:00
Jfreegman
fa0e645a79
Fix a bunch of misc bugs and corner cases 2015-11-08 03:57:01 -05:00
Jfreegman
14a8bdb874
Store temp data in same directory as original file 2015-11-07 21:38:32 -05:00
Jfreegman
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
Eniz Vukovic
a5e5e98afc Disabled video calls for the time being 2015-11-03 23:50:01 +01:00
Jfreegman
462cfca175
Merge new AV branch 2015-10-20 17:57:54 -04:00
Jfreegman
db410cb01e
Use profile name that conforms with the standard 2015-10-14 23:09:11 -04: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
cnhenry
ad04fa4dcd Major refactoring and fixes towards AV 2015-08-21 00:42:28 -05:00
Jfreegman
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
Ansa89
0a2ad23c15 Add localization system (gettext) 2015-08-21 00:24:02 -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
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
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
523f205646
re-implement friendlist last seen 2015-04-02 22:19:09 -04:00
Jfreegman
eaea68c33e
fix bug where contacts would appear online twice in a row 2015-03-31 18:39:42 -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
Loui Chang
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
Ansa89
2b19f56e63 Update for toxcore API break 2015-02-01 21:09:48 +01:00
Jfreegman
ff0fbbc379
small fix 2015-01-01 12:50:51 -05:00
Anthony Parsons
e722b665d1
Make "Last seen" handle year rollover correctly 2015-01-01 05:44:18 +00:00
Jfreegman
e995a1cb69
AV api changes 2014-11-30 09:27:45 -05:00
Jfreegman
4a337ae3cb update for core audio refactor 2014-11-26 00:57:02 -05:00
Jfreegman
43f45d67a4
core API update 2014-11-11 18:30:23 -05:00
Jfreegman
9f0daca5eb
filter escape sequences from all inbound nicks and status messages 2014-10-07 16:18:06 -04:00
Jfreegman
6492bd12f9
escape newlines in contact names/status messages 2014-10-06 16:23:43 -04:00
Jfreegman
bd69c8da18
small fix 2014-10-04 17:01:02 -04:00
Jfreegman
8c3e3ebe24 fix blocklist saving bug 2014-10-03 23:52:54 -04:00