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

2137 Commits

Author SHA1 Message Date
Diadlo
c11b3730c9
refactor: Rewrite isWidgetActive 2018-12-27 09:15:24 +03:00
Diadlo
4353468647
refactor: Rewrite update status message 2018-12-27 09:15:24 +03:00
Diadlo
8937f87f87
refactor: Rewrite update status 2018-12-27 09:15:24 +03:00
Diadlo
bb08d628fb
refactor: Rewrite getDialog 2018-12-27 09:15:24 +03:00
Diadlo
9129f256fa
refactor: Rewrite widget exists check 2018-12-27 09:15:24 +03:00
Diadlo
b806f9e7e3
refactor: Rewrite focus{Friend,Group} 2018-12-27 09:15:24 +03:00
Diadlo
2b3918b25e
refactor: Remove using of remove{Friend,Group} 2018-12-27 09:15:24 +03:00
Diadlo
ee5a7d8e94
refactor: Move some methods back to ContentDialog
Store in ContentDialog list of widgets and list of ContentDialogs in
ContentDialogManger
2018-12-27 09:15:24 +03:00
Diadlo
7ad8607c43
refactor: Create ContentDialogManager
Move all static methods from ContentDialog to ContentDialogManger. Make
if singletone for the first time. Also move some methods to avoid
compile errors.
2018-12-27 09:15:24 +03:00
Diadlo
a446d9b197
refactor: Remove ContentDialog::openNewDialog
It duplicates logic on Widget::openNewDialog
2018-12-27 09:15:24 +03:00
Diadlo
8499a71092
fix: Store groupId in D&D mime data
Fix drag and drop for groups
2018-12-26 14:29:38 +03:00
sudden6
ea9f429838
Merge pull request #5457
TriKriSta (4):
      refactor: edit default theme
      refactor: add colors to QTabBar
      refactor: rename a css file.
      style: add spaces in the resources file
2018-12-17 11:27:08 +01:00
TriKriSta
147cec3312 refactor: rename a css file. 2018-12-15 13:33:51 +02:00
Anthony Bilinski
8db744a505
feat(core): set group title for loaded groups
Replace double static_cast of pointer with reinterpret_cast.
reinterpret_cast in unsafe because the underlying data may be
meaningless in the new type, static cast to void then to a new pointer
type has exactly the same problem. This is our intention here.
2018-12-14 09:19:50 -08:00
Mick Sayson
25005c5c19 feat(db): File transfer history review comments 2018-12-05 21:15:14 -08:00
Anthony Bilinski
8427be6678 feat(db): add file hash to file history
Not currently used, but there are plans to display if a transfered file
has been modified, which the file hash will be needed for. Adding file
hash at the same time as file history also saves a db schema update.
2018-12-02 14:40:54 -08:00
Mick Sayson
d9b39b3102 feat(db): Hookup file history to the rest of the system 2018-12-02 14:40:53 -08:00
sudden6
f188409b8c
fix(autocomplete): don't auto-complete own nick
In the process also remove the dependency of the auto completer on Core.
2018-11-22 17:52:54 +01:00
sudden6
c6a197feca
refactor: re-format and cleanup 2018-11-14 13:58:24 +01:00
sudden6
9ecb6da051
Merge pull request #5415
Patrick (1):
      fix:(chatform): Issue 5115, use QSharedPointer for groupChatForms
2018-11-02 00:50:44 +01:00
sudden6
d93648c225
refactor: remove unneccessary Nexus includes 2018-11-01 10:22:36 +01:00
sudden6
de773efec7
refactor: remove another function from Nexus 2018-10-31 01:59:22 +01:00
sudden6
6097c3f94f
refactor: remove Nexus::quit() and replace with qApp->quit()
They are doing the same.
2018-10-31 01:51:20 +01:00
Patrick
37e5b6ce8b
fix:(chatform): Issue 5115, use QSharedPointer for groupChatForms 2018-10-31 00:02:19 +01:00
sudden6
eae3074aa7
Merge pull request #5404
Monsterovich (6):
      feat(ui): Added feature to generate colors for user names in tox groups
      fix(ui): groupcolors fix1
      fix(ui): groupcolors fix2
      fix(ui): fix anything
      fix(ui): oops
      fix(ui): remove useless variable
2018-10-29 00:04:16 +01:00
sudden6
7fa2dfead5
refactor(coreav): move CoreAV to the factory pattern too
- clean up error handling during construction of the Core
- prevent leaks by using unique_ptr
2018-10-25 08:06:19 +02:00
sudden6
2ab081b4a9
refactor: remove support for c-toxcore < 0.2.0
This code is only a maintainance burden and not used anymore.
2018-10-25 07:48:21 +02:00
Monsterovich
89cb24254d fix(ui): fix anything 2018-10-25 02:38:43 +02:00
Monsterovich
a4a8e361d0 fix(ui): groupcolors fix2 2018-10-25 02:38:43 +02:00
Monsterovich
ab89ca2d8e fix(ui): groupcolors fix1 2018-10-25 02:38:43 +02:00
Monsterovich
aaf5229ece feat(ui): Added feature to generate colors for user names in tox groups 2018-10-25 02:38:43 +02:00
Anthony Bilinski
dec90ad84d
fix(ui): allow adding friends with Tox URI
Fix #5385
2018-10-24 13:22:54 -07:00
sudden6
cc4a6e421e
refactor(chatform): remove unused macro 2018-10-24 14:04:12 +02:00
sudden6
133ac8def8
feat(themes): make themes follow standard paths 2018-10-24 14:04:12 +02: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
Jimi Huotari
71d1fa6f24
refactor(themes): load css and images from themes folder
Original work by tox-user.

The default theme is now placed in a different path:
- C:\users\%username%\AppData\roaming\qtox\themes - for Windows
- ~/Library/Application Support/qtox/themes - for MacOS
- ~/.config/qtox/themes - for other Unix systems including GNU/Linux

Thanks to that it's no longer required to recompile the program to modify
the theme.

In addition to that the default theme is also included as a resource. If
the theme folder or some file inside it is missing, qTox will load it
from resource.
2018-10-24 14:04:03 +02:00
sudden6
2408e76d0c
refactor: remove unused includes and format code 2018-10-16 23:35:36 +02:00
Anthony Bilinski
aa7542f729
fix(ui): re-sort friends list on friend rename
Fix #5387
2018-10-12 16:48:26 -07:00
Anthony Bilinski
2ecfbf7f28
Merge pull request #5373
Mick Sayson (2):
      refactor(files): clang-format generated whitespace changes
      feat(files): Add maximum size to autoaccept downloads
2018-10-12 14:28:11 -07:00
Mick Sayson
c8716e9c45 feat(files): Add maximum size to autoaccept downloads 2018-10-12 11:12:20 -07:00
Mick Sayson
939f2c865a refactor(files): clang-format generated whitespace changes 2018-10-12 11:12:20 -07:00
Anthony Bilinski
5f48fd4e10
fix(ui): only add chat message for call once
Fix #5370
2018-10-12 10:52:43 -07:00
sudden6
48e722b535
Merge pull request #5355
sudden6 (2):
      fix(video): workaround for webcams that provide no fps value
      fix(video): don't pass invalid pixel format strings to ffmpeg
2018-10-05 08:38:21 +02:00
Jakie.OYMJ
e6d40be72e fix: add remove history prompt, clear log area after remove 2018-10-05 10:24:39 +08:00
TriKriSta
8808c630f2 fix: show the date every new day (fixes #5280) 2018-09-30 00:07:17 +03:00
sudden6
3746bd13bc
fix(video): workaround for webcams that provide no fps value
fixes #5082
2018-09-29 18:42:31 +02:00
Anthony Bilinski
064dccf8b4
fix(ui): avatar highlight on hover in profile 2018-09-17 11:34:34 -07:00
Anthony Bilinski
0c757356d3
fix(avatar): set friend to identicon on empty avatar receipt
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons
*Split the concept of "changed" and "removed" into "changed", "set", and "removed"

Fixes #4724
2018-09-17 02:30:45 -07:00
Anthony Bilinski
91bdd40f10
fix(ui): remove focus window option, fixing alert() on Windows
Fix #4762
2018-09-14 11:08:19 -07:00
iphydf
52a5951d26
chore: Use nullptr instead of 0 for NULL pointer constants. 2018-09-07 21:38:59 +00:00