kornes
edd4789bf7
perf: ignore WM_SHOWWINDOW
hide event ( #4198 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-12-03 11:20:31 +01:00
nerix
a16342fd82
perf: Speed Up Opening of Settings Dialog ( #4193 )
...
fix https://github.com/Chatterino/chatterino2/issues/1266
2022-11-27 20:15:22 +01:00
pajlada
032f290767
Sort and force grouping of includes ( #4172 )
...
This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
kornes
f2b35fb7dc
Fix white border appearing around maximized window ( #4190 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
fixes https://github.com/Chatterino/chatterino2/issues/2205
2022-11-25 20:32:45 +00:00
kornes
fbfa5e0f41
Disable use of Qt APIs deprecated in 5.15.0 and earlier versions ( #4133 )
2022-11-10 20:11:40 +01:00
Mm2PL
3303cdc0cb
BaseTheme is no more 🦀 ( #4132 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-11-10 09:07:50 +00:00
pajlada
6ef8e482c3
Set window icon in the whole application instead of in BaseWindow ( #3554 )
...
This makes icon visible on Ubuntu 20.04 while using AppImage build (and possibly some other setups as well).
2022-01-30 16:08:02 +01:00
pajlada
51ece94f58
Update Settings and Signals version ( #3398 )
...
Co-authored-by: zneix <zneix@zneix.eu>
2021-12-19 14:57:56 +00:00
pajlada
b41df18933
Fixed a crash that could occur on certain Linux systems when toggling the Always on Top flag. ( #3385 )
...
* Get `isVisible` value *before* toggling AlwaysOnTop hint
* Add changelog entry
2021-12-05 13:38:21 +01:00
Mm2PL
703f3717e2
Add custom hotkeys. ( #2340 )
...
Co-authored-by: LosFarmosCTL <80157503+LosFarmosCTL@users.noreply.github.com>
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-11-21 17:46:21 +00:00
Paweł
047e10a833
Removed checks for no longer supported Qt 5.11 ( #3093 )
2021-07-30 16:18:30 +00:00
pajlada
c9f62fed4c
Fix windows being brought back to life after the settings dialog was closed ( #2613 )
...
Fixed with the help of @jammehcow
2021-04-11 14:22:32 +00:00
Paweł
be21e5b52d
Fixed deprecated method QPalette::{Fore,Back}ground ( #2510 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 16:03:16 +01:00
Leon Richardt
0eed45ae67
Chore: Proper Lambda Formatting ( #2167 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-11-08 12:02:19 +01:00
pajlada
1ee1e8837f
Use Qt's dialog where applicable ( #1843 )
2020-10-31 16:42:48 +01:00
fourtf
6e6413da02
added DebugCount for BaseWindow
2020-08-22 22:54:03 +02:00
fourtf
f7237dccdd
added colon emote popup for ffz and bttv
2020-08-15 18:59:17 +02:00
Rasmus Karlsson
dad9677bba
BaseWindow: Make sure windowTopMost signal is attached to our list of managed connections
2020-06-14 12:26:23 +02:00
Daniel
ccdbedb93c
Fix "Always on top" setting for MacOS and Linux ( #1708 )
...
Closes #1166
2020-05-30 11:32:25 +02:00
Daniel Pasch
a230bc7c89
improve tooltips by only positioning the element once we know it's in… ( #1693 )
...
Things like tooltips now only sets its position once. The position used to be set twice and could cause some annoying flickering.
2020-05-24 11:51:16 +02:00
Daniel Pasch
dd5455d1cf
Improve window "move within desktop rectangle" code ( #1685 )
...
This is used by tooltips to make sure they're always visible
Behaviour changed to stick to screen instead and flip up if no space left below cursor
2020-05-16 12:16:17 +02:00
fourtf
6052846bc3
added checks to mitigate floating point crashes
2020-04-19 21:05:40 +02:00
Leon Richardt
17aa3f71cd
Remove Debug Output In Many Different Places ( #1607 )
...
* Application.cpp: Remove whisper debug output
* TwitchAccount.cpp: Remove AutoMod debug output
* BaseWindow.cpp: Remove mouse tracking debug output
* RunGui.cpp: Remove debug output for cleared cache items
* Notebook.cpp: Remove debug output for selected widgets
* LimitedQueue.hpp: Remove commented debug output
* IrcMessageHandler.cpp: Remove debug output when receiving whispers
* UserInfoPopup.cpp: Remove user name debug output
* ChannelView.cpp: Remove debug output when clicking a message
* Image.cpp: Remove commented debug output
* AttachedWindow.cpp: Remove commented debug output
* SplitOverlay.cpp: Remove commented debug output
* TwitchMessageBuilder.cpp: Remove debug output for highlights
* TwitchMessageBuilder.cpp: Remove debug output for blocked messages
* PubsubClient.cpp: Remove debug output on PubSub::listen
* PubsubClient.cpp: Remove debug output on PubSub::tryListen
* IncognitoBrowser.cpp: Remove debug output of browser command
* NativeMessaging.cpp: Remove debug output of message
2020-03-19 18:06:21 +01:00
pajlada
3c8992cac1
Remove FMT dependency ( #1472 )
...
All occurrences of log() have been replaced with qDebug()
bonus meme: remove a bunch of std::string usages in the pubsub client
Fixes #1467
2020-01-03 20:51:37 +01:00
fourtf
443aba3f9c
fixed tooltip deselect issue
2019-12-29 11:14:55 +01:00
fourtf
b70806409d
workaround for white border
2019-12-26 23:23:59 +01:00
Rasmus Karlsson
0e1f1196d6
reformat
2019-11-02 12:36:42 +01:00
fourtf
6f710823ed
renamed getInstance() -> instance() for singletons
2019-10-07 22:42:34 +02:00
fourtf
b1cbf09427
removed appbase directory
2019-10-07 15:46:41 +02:00
fourtf
38b23d77ce
moved BaseWindow and related files into appbase
2018-11-22 22:10:29 +01:00
fourtf
cf26f10b80
initial appbase integration
2018-11-21 21:37:41 +01:00
Rasmus Karlsson
ac4a496a06
Update to latest settings library version
2018-11-03 13:00:07 +01:00
23rd
69233b77ff
Fixed Unmaximize button in title bar for Windows. ( #845 )
...
* Fixed Unmaximize button in title bar for Windows.
* Clang-formated BaseWindow.cpp.
2018-10-29 21:12:24 +01:00
fourtf
3db0b5f95c
open settings when right clicking moderation button
2018-10-21 16:13:26 +02:00
fourtf
e259b9e39f
added brace wrapping after if and for
2018-10-21 13:43:02 +02:00
Rasmus Karlsson
a947bf74c8
Occasionally save window/split/tab layout
...
The window layout is only saved if something has been changed.
When something relevant to the window layout is changed, a save is
queued to run after 10 seconds.
If within those 10 seconds, another thing is changed, that timer is
reset and will run after 10 seconds again.
Events that cause the save to be queued up:
- Tab created
- Tab removed
- Tab moved
- Tab name changed
- Split created
- Split removed
- Split moved
- Split channel changed
- Split resized
- Window moved
- Window resized
What currently does not trigger the save to be queued up:
- Active tab changed
2018-10-07 16:27:40 +00:00
fourtf
af7b742a23
changed .clang-format
2018-08-15 22:46:20 +02:00
Daniel Pasch
c4e3bf1a8c
Fix compiling on macOS High Sierra ( #665 )
...
* mac docs update relating to qt
give a little more detailed installation guide for the qt installation
* Fix compiling on clang, now compiles on macOS High Sierra
2018-08-13 20:10:32 +02:00
fourtf
f6414c9d7e
remove settings and paths from Application
2018-08-12 12:56:28 +02:00
fourtf
44f5a15da3
turning a lot of includes into forward declares
2018-08-11 22:23:06 +02:00
fourtf
81f2f8781a
fixed window frame for qt 5.11.1
2018-08-09 15:13:11 +02:00
fourtf
e1f180ac28
added qt version number to about tab
2018-08-09 06:34:14 +02:00
fourtf
d89b62692a
refined SplitHeader
2018-08-08 15:35:54 +02:00
fourtf
f71ff08e68
changed to 80 max column
2018-08-06 21:17:03 +02:00
fourtf
280bb4cf8e
Renamed private members
2018-07-06 19:24:35 +02:00
fourtf
b639604a47
refactored BaseWidget
2018-07-06 17:11:37 +02:00
fourtf
741c1f7820
refactored Window
2018-07-06 17:03:57 +02:00
fourtf
f2238729f1
worked on the UpdatePromptDialog
2018-07-05 11:42:40 +02:00
fourtf
f02a89690e
added mechanic for deleting a BaseWindow on focus out
2018-07-05 10:34:04 +02:00
fourtf
335cbf8758
added basic download icon to the window frame
2018-07-04 20:42:51 +02:00