Anthony Bilinski
af3e0183b6
revert(chatlog): "prohibition to remove messages in group chat"
...
This reverts commit 5aeac56b76
.
2021-11-21 16:17:09 -08:00
Anthony Bilinski
37b58ee8ee
revert(chatlog): "feat: save selected search text after scrolling up"
...
This reverts commit dbf880078e
.
2021-11-21 16:17:09 -08:00
Anthony Bilinski
cf76ae0869
revert(chatlog): "update workerStb"
...
This reverts commit 177bf12f11
.
2021-11-21 16:17:08 -08:00
Anthony Bilinski
e18725c966
revert(chatlog): "fix stick to bottom behavior"
...
This reverts commit f2fa601073
.
2021-11-21 16:17:08 -08:00
Anthony Bilinski
69cd33b733
fix(chatform): Scroll to bottom on load, broken on refactor
...
Fix #6314
2021-10-24 16:42:46 -07:00
Mick Sayson
d338ed97d9
refactor(chatform): Move typing notification creation into ChatLog
...
* Part of attempt to reduce interdependencies between
ChatForm<->ChatLog.
2021-02-01 05:09:26 -08:00
Mick Sayson
d0f4c336ba
refactor(chatform): Use IChatLog to get date in GenericChatForm
...
* Allows for deletion of APIs returning ChatLine::Ptr from ChatLog
* Bonus removal of unused "getFirstTime" function from GenericChatForm
2021-01-30 22:35:31 -08:00
TriKriSta
3bf3128a4f
fix(ui): implement and connect reloadTheme in leaf classes
...
This allows leaf classes to update independently when the GUI has changed themes, without
their parent having to call updateTheme() manually.
Fix #5924
Fix #5592
2020-08-28 10:19:53 -07:00
bodwok
1aad91944e
fix(chatlog): fixed rendering of new messages when scrolling up
2020-04-07 19:58:00 +03:00
Anthony Bilinski
ef8c2b7cb3
Merge branch 'v1.17-dev'
2020-03-28 01:43:40 -07:00
Anthony Bilinski
2c1a86482a
chore(style): remove old style casts and cross sign comparisons
...
Enable warnings for both. Favour casting to signed rather than casting to
unsigend for comparisons. Per isocpp's core guidelines ES.102, signed
arithmetic gives more expected results. If we need one extra bit of range,
using longer signed types achives that.
Fix #6010
Fix #6012
2020-03-21 20:29:10 -07:00
Anthony Bilinski
a7f3495956
fix(chatlog): enable dynamic view range in chatlog with history disabled
...
Message caching is handled by SessionChatLog in memory even when history is
disabled. ChatLog doesn't need to worry about how the messages its rendering
are being stored. Dynamic loading up and down in chatlog is sitll functional.
2020-03-21 19:41:22 -07:00
sudden6
f2fa601073
fix(chatlog): fix stick to bottom behavior
...
This commit fixes the behavior when a message is received while the
chatlog is scrolled to the bottom. With this change, the chatlog will
stick to the bottom when it is scrolled all the way down. If it is
somewhere in the middle (e.g. for search) the chatlog will not change
its position.
2020-03-15 16:45:09 +01:00
Mick Sayson
64bae38b99
fix(chatform): Prevent date line oscillations maxing CPU
...
The previous implementation of hiding the date line would cause 100% cpu
usage. When the date line was shown it would hide the top line, causing
the date line to be hidden again due to a state change in which dates
was visible.
This is a minimal patch to work around the issue by pretending the line
covered by the date line is the first visible line when the dateline is
shown
Fixes #5620
2019-11-09 15:00:36 -08:00
Anthony Bilinski
b95bac238d
fix(chatlog): update precise selection when chatlog content changes
...
Fix #5769 . Precise selections (within one chatline) need to be invalidated when
the line they are apart of is removed from the chatlog.
2019-09-28 18:00:20 -07:00
Anthony Bilinski
08b2c848e2
refactor(chatlog): use enum class instead of enum to avoid implicit casts
2019-09-28 17:07:06 -07:00
Anthony Bilinski
2bba12175e
fix(chatlog): update multi line selection on chatlog change
...
Fixes crash due to out of bound access. Fixes selection box jumping on history load.
Fix #5769
2019-08-30 03:50:25 -07:00
TriKriSta
177bf12f11
fix: update workerStb
2019-08-28 14:26:20 -07:00
TriKriSta
dbf880078e
feat: save selected search text after scrolling up
2019-08-28 14:26:08 -07:00
TriKriSta
5aeac56b76
feat: prohibition to remove messages in group chat
2019-07-22 21:16:26 +03:00
TriKriSta
0a9e72020e
refactor: edit load history when scrolling
2019-07-22 21:16:26 +03:00
TriKriSta
b807998fe9
refactor: simple edit code
2019-07-22 21:16:26 +03:00
TriKriSta
4c7ecb6024
feat: remove part messages from chat
2019-07-22 21:16:26 +03:00
TriKriSta
c2d5b422b3
feat: edit position chat after load history
2019-07-22 21:16:26 +03:00
TriKriSta
b705ac8060
feat: load messages from the database after date
2019-07-22 21:16:26 +03:00
TriKriSta
fb2957c5ee
feat: load messages from the database before date
2019-07-22 21:16:26 +03:00
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
TriKriSta
f64bb48a92
refactor: edit styles
...
edit typing color and image,
move colors for background selected text and background searched text
in palette files
2019-03-02 01:58:58 +02:00
sudden6
d6d433c617
Merge pull request #5558
...
TriKriSta (8):
style: add dark style
refactor: move palette colors in ini files
feat: edit reload themes
refactor: rename palette colors
style: edit styles
feat: add color for links in palette
refactor: edit variables for themes
fix: initialization theme
2019-02-26 18:20:28 +01:00
TriKriSta
c6142e4287
refactor: rename palette colors
2019-02-22 18:01:43 +02:00
TriKriSta
e146c11f0f
feat: edit reload themes
2019-02-21 15:53:31 +02:00
TriKriSta
5bc27b08bc
refactor: move palette colors in ini files
2019-02-20 15:42:53 +02:00
TriKriSta
87d6883a0f
style: add dark style
2019-02-19 16:21:44 +02:00
TriKriSta
d0e8ba8b9c
feat: show date in chat log
2019-01-28 21:15:52 +02:00
TriKriSta
01281e87cb
Merge branch 'master' into search
2018-08-14 01:08:54 +03:00
ezavod
2cdff7e9ed
fix(chatform): mark message with triple click
...
Fixes #5211 . Only trigger on triple clicks that are caused by the same
mouse button clicked successively.
2018-07-09 16:33:30 +02:00
TriKriSta
610e04aa26
feat: use search settings
2018-06-24 21:11:20 +03:00
Anthony Bilinski
ca32e77d74
feat(history): load set number of messages from history
...
Fix #3124
Fix #3004
Instead of loading a set 7 days of history. Better performance when there are lots of messages, and better context when friends haven't talked in over a week.
Removed historyBaselineDate, introduced in deb8440c6a
to fix duplicate messages, but duplicate messages were very likely fixed by https://github.com/qTox/qTox/pull/4607 .
Also refactored history loading.
2018-05-06 15:31:54 -07:00
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files
2018-04-25 17:33:38 -07:00
TriKriSta
de9c906117
feat: edit load history for search
2018-02-10 17:56:16 +02:00
sudden6
a3b234e6dd
chore(formatting): run clang-format
2017-06-01 09:50:59 +02:00
ezavod
3acbc148f5
feat(chatform): mark message with triple click
...
This is an implementation of proposal #4003 .
2017-03-28 17:20:01 +02:00
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format
2017-02-26 11:52:45 +00:00
sudden6
d320b1f259
Merge pull request #4137
...
Yuri (1):
fix(font): Made font changes in settings apply on screen instantly.
2017-02-06 15:18:14 +01:00
Yuri
742583bb9e
fix(font): Made font changes in settings apply on screen instantly.
...
Before the user had to restart qTox for the font change to take effect.
Now it changes instantly.
2017-02-05 21:49:30 -08:00
Yuri
a18e0b6a2c
fix(clipboard): Made clipboard operations work the same on all OSes.
...
Qt should handle all OS differences, not individual apps.
2017-02-02 20:18:26 -08:00
Diadlo
fcd8eed7cd
style: Fix style of a lot of pointers
2017-01-06 23:03:58 +03: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
tux3
a7de2680d9
feat(UI): Add 'Copy link' context menu item
...
Fixes #927
2016-12-07 13:54:40 +01:00
Zetok Zalbavar
7b60a5dd36
chore: explicitly mention that copyright belongs to qTox contributors
2016-11-29 11:12:06 +00:00