tux3
c75ee8a661
fix: Various IPC event handling and related bugs on startup
...
Fixes #1926 : When an IPC event was processed locally, if the window was closed before the core could start, the event handler would be forever stuck in the background waiting for the core to start. We fix this by substituting QApplication::quit() by a Nexus::quit() function and a Nexus::isRunning() function, which gives us a condition for exiting blocking processEvents() loops. We cannot simply use QApplication::quit(), because this function has no effect before the start of the event loop.
The problem was further exacerbated by the Tox URI event handler being (incorrectly) blocking. The IPC owner would block in this event handler, and the sender of the event would give up waiting and process the event itself a second time, potentially triggering the first bug. We fix the event handlers accordingly to be (mostly) non-blocking.
Also fixes a related deadlock between ~Core and ~Profile in the case of an early exit
2017-02-17 17:18:52 +01:00
sudden6
7cd800374a
refactor(encryption): move everything to ToxEncrypt
...
This commit removes coreencryption.cpp and replaces it with ToxEncrypt.
2017-02-07 20:05:32 +01:00
sudden6
38cecdc780
refactor(history): remove deprecated historykeeper
...
This commit removes historykeeper and code only used by it.
BREAKING CHANGE:
qTox can't open old historykeeper chatlogs after this commit. Use
previous versions to migrate to the new database.
2017-02-05 22:20:12 +01:00
Diadlo
22d3aa11de
fix: Add workaround for FreeBSD and ICU
...
This patch fix problem with ICU on FreeBSD
Implementation by @VVD
2017-01-24 23:30:08 +03:00
Diadlo
fcd8eed7cd
style: Fix style of a lot of pointers
2017-01-06 23:03:58 +03:00
sudden6
0e4cff884d
fix(avatar): wrong conversion of own ToxId
...
e07d8d358f
broke the loading of the own
avatar
fix #4048
2017-01-05 10:54:35 +01:00
Diadlo
29bb319025
refactor(friend): Small refactoring
...
Method renamed to be same with `Group` i.e. `getGroupId`, changed Friend
eventFlag type on bool
2017-01-05 00:56:32 +03:00
sudden6
e07d8d358f
feat(toxid): reduce passing Tox IDs around
...
reasons:
- most of the time we don't even know the Tox ID but only the Public Key
- use well defined objects instead of strings that could be anything
2017-01-04 00:20:24 +01:00
Zetok Zalbavar
d4ac13dbf4
revert: "refactor: Added to include path and exclude it from all includes"
...
Revert needed, since otherwise there is no way to do automatic sorting
of includes.
Also reverted change to the docs, as leaving it would make incorrect
docs.
In case of conflicts, includes were sorted according to the coding
standards from #3839 .
This reverts commit b4a9f04f92
.
This reverts commit 5921122960
.
2016-12-29 16:10:53 +00:00
sudden6
94ec5614f2
feat(toxid): Improve the ToxId class
2016-12-29 13:36:56 +01:00
Diadlo
074f345b2e
style(smileypack): Small style improvements
2016-12-29 00:44:15 +03:00
Diadlo
56d656502c
fix: Fix problem with unicode symbols on FreeBSD
...
Fix #4012
2016-12-29 00:44:15 +03:00
Diadlo
32909559b6
docs: Added docs to PassKeyDeleter and updated Core methods
2016-12-19 00:42:54 +03:00
iphydf
de407c4714
chore: Update qTox to the latest toxencryptsave API.
...
Since ownership is somewhat unclear, we now use shared_ptr to pass
these around instead of unique_ptr.
2016-12-19 00:42:54 +03:00
Diadlo
32bbdb2b98
docs(profile): Removed @example tag from createProfile method
2016-12-18 17:24:37 +00:00
Zetok Zalbavar
231e1d746a
fix: remove unnecessary variable when checking whether save is a TES
...
There is a reason why magic length is not exposed via TES header –
knowing it is not needed. Client should check whether file is a TES with
a define that is provided in the public API.
2016-12-09 04:37:25 +00:00
Zetok Zalbavar
7b60a5dd36
chore: explicitly mention that copyright belongs to qTox contributors
2016-11-29 11:12:06 +00:00
Diadlo
b4a9f04f92
refactor: Added to include path and exclude it from all includes
2016-11-28 23:28:42 +03:00
sudden6
330d6405f7
Merge pull request #3827
...
sudden6 (3):
feat(database): use own public key as salt to encrypt the database
feat(database): make a backup before upgrading
refactor(database): reduce line length in some places
2016-11-24 10:50:07 +01:00
tux3
a4bda26525
fix: dataToString correctness regression
...
It would incorrectly prepend garbage to the output and then truncate it, regression introduced in 6c150a04c0
2016-11-23 21:38:22 +01:00
sudden6
456c4455fb
refactor(database): reduce line length in some places
2016-11-22 08:18:35 +01:00
sudden6
c1d471faa1
feat(database): make a backup before upgrading
...
If anything is wrong with the newly encrypted db this will save the
data.
2016-11-22 08:18:34 +01:00
sudden6
c4b9d302d0
feat(database): use own public key as salt to encrypt the database
...
fixes #3583
BREAKING CHANGE:
The database will be encrypted with a new key, qTox versions before this
commit won't be able to decrypt the database.
2016-11-22 08:18:30 +01:00
Diadlo
b522da5bed
refactor(history): Moved creaton of RawDatabase from History constuctor
2016-11-06 12:37:39 +03:00
Zetok Zalbavar
64bbc6cfbb
style: change postfix increment to prefix increment
2016-11-03 07:57:14 +00:00
Alice Weigt
22b89beaf1
fix(settings): Change test sound button to checkbox
...
Fixes #3800 & #3809
2016-10-12 03:49:03 -07:00
Zetok Zalbavar
3c9f8a68e2
style: remove unnecessary semicolon for Q_DECLARE_FLAGS
...
Fixes a -Wpedantic warning.
2016-10-05 12:18:09 +01:00
Zetok Zalbavar
bbdd4f044c
fix(UI): bump default emoticon size, since otherwise it can be too small
...
E.g. #3777
2016-10-04 10:05:47 +01:00
sudden6
29da2210c9
feat(smileys): try to load smileys from XDG_DATA_DIR directories
...
This provides a location where users can store custom smiley packs
2016-10-01 23:22:33 +02:00
sudden6
610e21169a
Merge pull request #3442
...
Jeanbon (1):
feat(autoAnswer): add auto answer feature
2016-09-26 19:13:16 +02:00
Jeanbon
7fe8a86c03
feat(autoAnswer): add auto answer feature
2016-09-25 19:31:03 +02:00
bitok
2c03257700
refactor: fixes of static analyze warnings
...
There is many static analyze warnings for qTox. Fixed most dangerous and several simple.
2016-09-23 14:47:53 +01:00
Diadlo
4ecbf616dc
refactor(rawdatabase): Added license text
2016-09-21 23:29:46 +03:00
Diadlo
6c9f77530e
refactor(rawdatabase): Small style refactor
2016-09-21 23:29:46 +03:00
Diadlo
85ee69f008
fix(rawdatabase): Added anonymizing SQL query in logs
...
Fixed #3399 .
2016-09-21 23:29:46 +03:00
Diadlo
212ab1d416
Merge pull request #3713
...
PKEv (1):
fix(settings): correct default value of dateformat
2016-09-15 22:51:00 +03:00
Diadlo
6f0431ae50
fix(settings): Use old settings instead of default values
...
Using rollback instead of default values will save old settings
Fixed #3706 .
2016-09-14 00:54:01 +03:00
PKEv
e794acbccc
fix(settings): correct default value of dateformat
...
incorrect values of a default date format field remains empty in form
fix #3707
2016-09-13 14:35:47 +03:00
Diadlo
a3c201d3b2
fix(settings): Fixed group to load makeToxPortable setting
...
Fixed #3681 .
2016-09-06 15:15:28 +03:00
Zetok Zalbavar
f41dbf5324
chore: add a TODO with removal date for deprecated historykeeper
...
Closes #3654
2016-09-04 19:03:16 +01:00
Diadlo
740d91b61a
fix(settings): Added loader for old settings
2016-08-26 13:20:12 +03:00
Diadlo
f0e26e0f48
refactor(proxy): Changed port type on unsigned int.
2016-08-26 13:11:57 +03:00
Diadlo
4dfe3ec226
feat(settings): Moved proxy to personal settings
...
Fix #2465
2016-08-26 13:11:57 +03:00
Diadlo
9c9f1c11d1
feat(settings): Added reset settings button
2016-08-26 13:11:56 +03:00
Diadlo
60aea2c2b4
docs: Removed comments which will not be in api doc
2016-08-19 00:20:24 +03:00
Diadlo
72780e6c7a
docs(todo): Changed todo format
2016-08-19 00:20:24 +03:00
Diadlo
31d8e7eef0
docs: Replaced simple on doxygen tag
2016-08-19 00:20:23 +03:00
Diadlo
902828fcc2
docs(persistence): Added leading stars
2016-08-19 00:20:23 +03:00
Nils Fenner
e2f9d2cfe8
fix(settings): const getters
2016-08-14 18:08:45 +02:00
Nils Fenner
f00b9008e6
feat(settings): add notification signals for changed settings values
...
Makes changes to settings application wide transparent. The properties section is optional in theory, but comes in very handy, if we decide to access settings e.g. from within a script context.
2016-08-14 18:08:24 +02:00