Commit Graph

150 Commits

Author SHA1 Message Date
Zhao Yuhang 415fb55222 win: adapt to latest qtbase changes 2023-10-21 11:07:34 +08:00
Zhao Yuhang ff4b9f3879 minor tweaks 2023-10-15 13:16:10 +08:00
Yuhang Zhao 12d580cc06 win: workaround Qt bug 2023-10-12 10:56:47 +08:00
Yuhang Zhao e169c219a0 win: minor tweaks 2023-10-08 10:54:29 +08:00
Yuhang Zhao d86f55832f refactor 2023-10-04 11:37:39 +08:00
Yuhang Zhao 8f98ab865c win: minor tweaks 2023-09-28 18:06:47 +08:00
Yuhang Zhao 97112f853f win: allow square corner on win11 2023-08-31 18:26:49 +08:00
Yuhang Zhao 9279500c18 minor tweaks 2023-08-28 11:18:45 +08:00
SineStriker 0ce47469a9
Use better workaround to emulate mouse events (#273) 2023-08-28 11:01:24 +08:00
Yuhang Zhao f584bd3a34 little fix 2023-08-27 15:59:38 +08:00
Yuhang Zhao 6abb636a19 large refactor 2023-08-27 15:12:06 +08:00
SineStriker 2db829884d
Fix hover bug caused by system popup menu (#272) 2023-08-26 17:59:17 +08:00
SineStriker 102bf93b84
Improve mouse move handler (#271) 2023-08-26 16:21:48 +08:00
SineStriker 2d639071cc
Fix bugs after mouse press (#270) 2023-08-26 16:04:29 +08:00
SineStriker 6ff0bc9300
Fix emulate message bug and git modules, window part mistakes, non client leave mistakes and crash (#269)
* Fix emulate message bug and git modules

* Fix window part mistakes

* Fix WM_NCMOUSELEAVE message mistakes and crash

* Fix maximize minimize button hover problem
2023-08-26 12:18:36 +08:00
Yuhang Zhao bdb1b5d68f snap layout: improve 2023-08-25 18:19:32 +08:00
Yuhang Zhao f7368d0a08 widgets: PIMPL refactor 2023-08-25 17:50:22 +08:00
Yuhang Zhao e6a4849f81 snap layout: refactor 2023-08-25 15:30:20 +08:00
Yuhang Zhao e0abdb04ce snap layout: improve 2023-08-25 14:13:39 +08:00
Yuhang Zhao e8977c7486 snap layout: improve 2023-08-25 13:17:51 +08:00
Yuhang Zhao 4a1f5fb1f4 win: replace an old workaround with new one 2023-08-24 10:24:33 +08:00
Yuhang Zhao a130fef677 win: refactor 2023-08-23 18:04:31 +08:00
Yuhang Zhao 644266923b win: snap layout refactor 2023-08-21 15:07:07 +08:00
Yuhang Zhao 469c686ade refactor 2023-08-21 12:43:44 +08:00
Yuhang Zhao 2202fbf1c2 snap layout: get rid of the transparent window 2023-08-20 16:58:26 +08:00
Yuhang Zhao 2c8bd8ce8c win: minor improvements 2023-08-18 17:25:13 +08:00
Yuhang Zhao 861b94d8ac win: improve an old workaround 2023-08-17 11:55:50 +08:00
Yuhang Zhao 013f2e845f win: minor improvement 2023-08-14 11:02:17 +08:00
Yuhang Zhao 2035fed510 win: fix regression 2023-08-07 17:41:15 +08:00
Yuhang Zhao 8d3ef93885 win: fix theme not updating 2023-08-05 13:46:23 +08:00
Yuhang Zhao cb3827210c win: minor improvement 2023-08-04 19:27:18 +08:00
Yuhang Zhao 3342a28895 refactor 2023-08-01 14:28:09 +08:00
Yuhang Zhao 86bc1c0142 cleanup & optimize, part 2
The file size of FramelessHelper binaries should be smaller than before. Core: Win32 MSVC2022 x64 release build, -20KB
The general performance should be improved, due to double lookups are all eliminated.
2023-07-30 18:28:38 +08:00
Yuhang Zhao ad90846797 fix qt5 builds 2023-07-29 16:29:05 +08:00
Yuhang Zhao 1b4b5b620f fix qt5 builds 2023-07-29 16:25:47 +08:00
Yuhang Zhao c6ca6cc794 include std headers, avoid transitive include 2023-07-29 15:57:03 +08:00
Yuhang Zhao 4ed21585b4 cleanup core module
Core mostly done. TODO: Widgets & Quick module
2023-07-29 15:29:38 +08:00
Yuhang Zhao d9ce1c4302 win: fix snap layout not working unless resize once 2023-07-28 15:20:25 +08:00
Yuhang Zhao 8e73e3eac8 win: add more sanity checks 2023-07-18 17:53:44 +08:00
Yuhang Zhao 6c27125d69 win: guard some code with proper version check 2023-06-19 16:07:43 +08:00
Yuhang Zhao 00b67ead0e win: remove unnecessary code & add some comments
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-06-04 13:28:14 +08:00
Yuhang Zhao 1e754c1612 minor fixes 2023-06-02 14:51:12 +08:00
Yuhang Zhao e7da37d06a deprecated unused function & other minor tweaks
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-21 12:04:57 +08:00
Yuhang Zhao e67a91d668 refactor: remove all mutexes
They are currently not used and slow down the general performance.
2023-05-19 13:31:20 +08:00
Yuhang Zhao 1ba9c9c918 refactor 2023-05-19 11:55:41 +08:00
Yuhang Zhao a3cfa59d1d improve dpi change experience
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-13 11:30:54 +08:00
Yuhang Zhao b039a9130a win: minor refactor 2023-04-28 09:14:06 +08:00
Yuhang Zhao 41e91bb39a win: fix wrong restore geometry when after DPI changes 2023-04-25 15:19:31 +08:00
Yuhang Zhao b2561c16ba minor refactor 2023-04-23 13:42:27 +08:00
Yuhang Zhao a203e2c3ca win32: fix restore geometry bug
The upstream fix has not been merged yet, however, it will be in 6.5.1 for sure.

Fixes: #20

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-04-22 15:21:49 +08:00