Anthony Bilinski
d55332ee0a
fix(activity): change last activity time from QDate to QDateTime
...
* Allows for strict sorting based on last activity in the future
2019-05-17 09:09:51 -07:00
Anthony Bilinski
3f922100af
fix(friendlist): don't skip half of friends when sorting by activity
2019-05-16 17:20:50 -07:00
Anthony Bilinski
b7bd7c6215
refactor(group): move peer tracking logic to Group from GroupChatForm
...
* increase signal granularity
* reduce state in GroupChatForm
* remove differentiation of "joined" and "online" peers, it doesn't exist in toxcore and can't be tracked reliably in qTox
* add system message when peer name changes, even if due to alias
* add system message when self name changes, for clarity
2019-05-15 12:00:44 -07:00
Anthony Bilinski
dd007877a9
refactor(status): move Status out of Widget
2019-04-24 10:35:15 -07:00
Anthony Bilinski
c0fdc42e33
refactor(mime): store ToxPk and GroupId as mimedata
2019-04-16 00:51:35 -07:00
Anthony Bilinski
f7603c294b
refactor(id): use toxPk and groupId instead of core numbers
...
Allows creating classes for blocked friends which have toxPks but no
core number.
2019-04-16 00:44:16 -07:00
Anthony Bilinski
aa7542f729
fix(ui): re-sort friends list on friend rename
...
Fix #5387
2018-10-12 16:48:26 -07:00
sudden6
0d74134dc1
refactor(group): use displayedNameChanged signal
2018-04-30 01:19:34 +02:00
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files
2018-04-25 17:33:38 -07:00
Diadlo
2f9ba3c4d7
fix(group): Add second signal for titile changed
...
Fix #4800 .
In old implementation after Core title change notification, Group
updates self name and emit signal, core as subscribed on this signal and try to
change title twice.
In new implementation was added new signal to Group:
1. To notify core about user changes.
2. To notify views about core changes.
2017-11-15 09:17:22 +03:00
Diadlo
c6d76da0dd
refactor: Use ToxPk instead of ToxId
2017-09-10 13:21:32 +03:00
Diadlo
e606d3cb55
fix(group): Fix crash on group quit
...
Fix 'GroupWidget' removing
2017-08-19 16:18:52 +03:00
Diadlo
4fee43cded
refactor(group): Replace 'renameRequest' signal on Group::titleChanged
2017-08-06 20:28:05 +03:00
Diadlo
017653470d
refactor: Move friend and group in model directory
2017-08-06 13:55:02 +03:00
Diadlo
238f10c44f
refactor: Use const Friend pointer
2017-07-28 17:52:51 +03:00
sudden6
a3b234e6dd
chore(formatting): run clang-format
2017-06-01 09:50:59 +02:00
sudden6
a1181e10f2
chore(formatting): disable clang-format for certain code sections
2017-06-01 09:49:32 +02:00
Diadlo
5d117e6af8
refactor: Remove getCompactLayout from GenericChatroomWidget
2017-05-04 20:31:56 +03:00
Diadlo
15a385ba75
refactor(time): Make enum class
2017-04-14 13:57:57 +03:00
Diadlo
470c17cd1f
refactor(time): Cleanup time-related code
...
- Remove manual category creation.
- Remove shitty code duplication.
BREAKING CHANGE: Now 'last 7 days' can contains days from the last month.
2017-04-14 13:57:55 +03:00
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format
2017-02-26 11:52:45 +00:00
Diadlo
fcd8eed7cd
style: Fix style of a lot of pointers
2017-01-06 23:03:58 +03:00
Diadlo
4d806a3661
refactor: Remove using getFriendWidget from FriendListWidget
2017-01-06 23:03:58 +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 b4a9f04f925770b221bf0341fe81b107784d0865.
This reverts commit 592112296012a2159f09571bcff93066b8b6f847.
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
Diadlo
2da9de096f
refactor(drag&drop): Remove FriendWidget dependency
2016-11-05 10:20:36 +03:00
Diadlo
7c4e9e6153
Merge pull request #3741
...
bitok (1):
refactor: fixes of static analyze warnings
2016-09-25 00:57:04 +03: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
iphydf
d94712b2e2
refactor: Avoid RTTI by using qobject_cast.
...
This allows us to save some memory and executable size by removing the
need to generate and compile C++ RTTI.
2016-09-23 03:14:58 +01:00
Zetok Zalbavar
f1543144be
fix(friendlistwidget): use nullptr instead of 0
...
thanks to @sudden6's suggestion
2016-05-14 19:58:29 +01:00
agilob
f2aada8f4f
feat(i18n): Make activity by time labels translated by locale
2016-05-11 08:45:38 +01:00
tux3
b5cdfb3dce
Implement new SQLCipher based database and history
...
qTox will automatically import the old history on startup.
This new database code is much more robust.
It is very resilient and will not corrupt or disappear after a crash or
power failure, unlike the old code.
The on-disk database format is also much more compact now.
The database sync option in the advanced settings has been removed,
we know run many database operations asynchronously so performance
should not be a problem anymore, but we always ensure resiliency
in case of abrupt termination, so there is no tradeoff anymore.
2015-12-19 04:17:28 +01:00
TheSpiritXIII
4e5c4cb678
Multi-window: Fix circle modified from dialog window, fix groupchat leave warnings, flip dialog window title
2015-09-12 19:07:45 +02:00
TheSpiritXIII
c181df6336
Multi-window: Cycle widgets in opened windows
2015-09-12 19:07:44 +02:00
TheSpiritXIII
e574af7a5e
Fix friend list when day changes
2015-07-30 13:24:34 -04:00
TheSpiritXIII
bb29b07d70
Fix activity sorting out of bounds, update activity category when changed
2015-07-01 09:10:55 -04:00
PKEv
cd307bd52c
Update friendlistwidget.cpp
2015-07-01 14:54:34 +03:00
PKev
efe05a3ca5
fix sorting "by activity" #1948
...
fix spaces
2015-07-01 14:07:34 +03:00
TheSpiritXIII
b6df8ce34a
Circles: Fix sort circles on menus, fix groupchat rename through widget, improve activity sort performance
2015-06-26 10:54:50 +02:00
TheSpiritXIII
484a9ea87e
Circles: Fix crash when creating in category where it's not visible
2015-06-26 10:54:50 +02:00
TheSpiritXIII
7f7ab9a1bc
Circles: Fix quick switch crash, remove circle crash
2015-06-26 10:54:50 +02:00
TheSpiritXIII
5c80d06ee9
Circles: Add while searching
2015-06-26 10:54:49 +02:00
TheSpiritXIII
8357095d8a
Circles: Sort numbers at end, too
2015-06-26 10:54:49 +02:00
TheSpiritXIII
79424de10a
Circles: Use history for activity, fix search
2015-06-26 10:54:49 +02:00
TheSpiritXIII
d9d6f20bf7
Circles: Fix convention, crash and activity cycling
2015-06-26 10:54:49 +02:00
TheSpiritXIII
858b005567
Circles: Fix memory leaks and extraneous saving
2015-06-26 10:54:49 +02:00
TheSpiritXIII
9dd277623a
Fix circles: Fix rename on creation and graphical bug
2015-06-26 10:54:49 +02:00
TheSpiritXIII
c662c0aa92
Update activity on friendship, fix category friend removing (circles and activity)
2015-06-26 10:54:49 +02:00