1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

152 Commits

Author SHA1 Message Date
jenli669
04a9bc46f4
docs(copyright): update and add copyright info
zealously updates and adds qTox copyright information.

Fixes #5713
2019-06-28 01:18:26 +02:00
jenli669
b9876f3342
refactor(startup): check parser args with empty(), not size() 2019-06-25 10:17:14 +02:00
jenli669
ea2510157c
refactor(startup): decouple loginscreen from model 2019-06-25 10:17:07 +02:00
sudden6
22362d2940
refactor(audio): Remove Audio singleton
This commit finally removes the Audio singleton and allocates the audio
backend in main.cpp.
2019-05-21 21:05:27 +02:00
Anthony Bilinski
97d05f9d67
refactor(id): make ContactId interface, implement GroupId
Precursor for group history, friend blocking
2019-04-13 12:58:25 -07:00
Anthony Bilinski
18b52ce568
fix: register RowId meta type for use in fileInserted signal 2019-03-21 14:00:59 -07:00
Anthony Bilinski
edf6b67313
refactor(core): strong type message receipt and row ID
Avoid implicit casting and invalid arithmetic.
2019-01-28 10:58:54 -08:00
Anthony Bilinski
8bf059bb2e
chore(ui): remove broken auto update
No need to keep it ifdef'd out in code, it can be re-added from git history instead once fixed.
2019-01-08 09:03:12 -08:00
Anthony Bilinski
6c9d7b59c1
feat(ui): add update notification enabled with -DUPDATE_CHECK
Fix #5335
2019-01-08 09:02:17 -08:00
sudden6
bc3d3b3b13
fix(main): register IPC handlers only after starting up 2018-10-31 01:46:33 +01:00
sudden6
5033fc3f5d
refactor: remove unused includes and don't set Tox as organization
Having "Tox" as Organization results in all standard paths being "Tox/
qTox" instead of "qTox". Since there is no such thing as "Tox"
organization I removed it.
2018-10-24 14:04:12 +02:00
Anthony Bilinski
7839a26083
fix(settings): save settings early on Windows shutdown
Need to save before top level window is closed.

Fix #1969
2018-09-14 10:26:23 -07:00
iphydf
52a5951d26
chore: Use nullptr instead of 0 for NULL pointer constants. 2018-09-07 21:38:59 +00:00
sudden6
24e7c4efd4
refactor(core): format code 2018-07-05 17:10:26 +02:00
sudden6
7f7b29e55e
refactor(core): use smart pointers instead of raw pointers 2018-07-05 17:05:41 +02:00
Andrius Štikonas
c1caeb585a fix(wayland): Fix desktop file name in Qt properties
fixes #5141
2018-05-14 19:24:16 +01:00
Anthony Bilinski
1af3ad69e8
fix(login): start login screen on profile select by -p option 2018-04-26 13:43:10 -07:00
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
Anthony Bilinski
703876c372
fix(login): Don't dereference null pointer
Fix #5032
2018-03-24 17:04:31 -07:00
tox-user
23f6ad7047 fix: remove build date and time from main.cpp
This is the first step to having reproducible builds. It
should allow to make an identical build in the same environment
and increase privacy when sharing logs, because the build time
was not in UTC.
2018-03-22 23:09:17 +00:00
Anthony Bilinski
d2ad2107f2
fix(IPC): Update profileName to update IPC ID after login screen
Fix #4948
Fix #5025
2018-03-21 02:37:14 -07:00
sudden6
11f263ffc3
refactor(nexus): make loginscreen independent of nexus 2018-02-01 22:00:06 +01:00
sudden6
196529b8e8
chore: disable broken autoupdater by default 2018-01-04 01:03:52 +01:00
Diadlo
c274cec87e
fix(ipc): Add check if IPC init failed
Also add error code to debug message.

Partially fix #4785
2017-11-22 22:59:51 +03:00
anthony.bilinski
0906b8eb1f feat(login): Add command line argument to open login screen
Fixes #4673
2017-09-26 13:41:46 -07:00
sudden6
d746ea9daf
Merge pull request #4650
anthony.bilinski (1):
      feat(ui): output instructions when user tries to open a second instance
2017-09-17 11:24:34 +02:00
anthony.bilinski
a601df31da fix(exit): delete heap-based QApplication before exit
Fixes #4648
2017-09-14 00:01:38 -07:00
anthony.bilinski
48d65c269a feat(ui): output instructions when user tries to open a second instance
Fixes #3483
2017-09-14 00:00:38 -07:00
Vincas Dargis
32b97cb927 fix(platform): handle terminating POSIX signals
Add PosixSignalNotifier utility class to covert POSIX signals to
Qt signals and allow qTox to quit appropriately on Linux, FreeBSD
and macOS.

Might protect from data corruption bugs when application is being
terminated during I/O.

Fixes: #4470
2017-09-09 17:19:51 +03:00
Diadlo
0b5b3fcf1a
fix(main): Use correct way to handle application quit
Handle apllication aboutToQuit signal
2017-06-22 10:22:18 +03:00
Diadlo
9908c7473b
refactor(main): Use application pointer 2017-06-22 10:22:18 +03:00
sudden6
a3b234e6dd
chore(formatting): run clang-format 2017-06-01 09:50:59 +02:00
Diadlo
c2f82f7808
fix(IPC): Add update profileId in to IPC
Fix #4384
2017-05-24 19:41:54 +03:00
Diadlo
5d117e6af8
refactor: Remove getCompactLayout from GenericChatroomWidget 2017-05-04 20:31:56 +03:00
Diadlo
7d3020cba3
refactor(IPC): Remove IPC singlton 2017-05-04 20:31:56 +03:00
Yuri
e597d391fc fix(includes): Added missing #include <ctime>
time(3) requires this include. Found when qTox failed to build on the FreeBSD due to the missing include.
2017-04-11 00:04:48 -07:00
Zetok Zalbavar
bfd47733c2
fix(UI): actually load bundled Unicode font as soon as possible
Hopefully this fixes an issue with ugly fonts that started happening
some time ago for Windows & FreeBSD users.
2017-03-12 12:14:25 +00:00
sudden6
ffd7d0e93e
chore(font): update default font and add its license
Also add a warning message, if the font wasn't loaded.
2017-02-26 20:54:20 +01:00
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format 2017-02-26 11:52:45 +00:00
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
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
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
iphydf
153ebb339d
chore: Shorten source file names in log messages.
In cmake builds, `__FILE__` is the absolute file path. In qmake, it's a
relative path. For in-tree qmake builds, it would be `"src/..."`, for
out of tree, it could be `"../src/..."` or `"../qTox/src/..."` or any
other relative path depending on how qTox was built. This change
normalises them to paths based in src.
2016-09-04 18:29:30 +01: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
4018c0041b
feat(main): Changed time in logs on UTC.
Fix #3554.
2016-07-26 14:06:48 +03:00
Diadlo
104c7c6e0c
style(main): Small style fixes 2016-06-28 22:42:49 +03:00
Diadlo
29ab61efdf
fix(main): Closing file before removing
Fix #3440
2016-06-26 21:13:39 +03:00
sudden6
e0961722bf
Merge pull request #3302
Diadlo (1):
      refactor(android): All android code is removed
2016-05-15 13:37:55 +02:00