1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00

18 Commits

Author SHA1 Message Date
Martin Prikryl
1f8dc7a31e Some parts of GUI (panel headers, scrollbars, buttons, checkboxes) show in dark theme even when system-wide app theme is light + On Windows 11, using system dark tab theme, that uses different shades for active and disabled/disconnected tabs (Issue 2452)
https://winscp.net/tracker/2452

Source commit: ac0cd81a2b667fb01888cd9df7ff85232d39c489
2026-08-21 01:31:30 +02:00
Martin Prikryl
86b35a6a39 Introduced C++ shell around some heavy Pascal classes to allow their gradual reimplementation to C++
UNICODE define added everywhere (except Putty, which in Ansi code) to make sure A/W suffixes are added consistently across the code

CreateDirectory renamed to avoid problems with being interpreted as CreateDirectoryW in C++ code and CreateDirectory in Pascal code (being also a function in WinAPI)

Source commit: b8d27b5097829c42f853b629e57aebaaab066b9e
2025-12-05 01:29:29 +01:00
Martin Prikryl
1bd51d52d1 Updating DPI scaling to BCB11
– Control's Canvas does not have Font updated when painting, so it needs to be set explicitly in some places
– Page control drawing was not only incompatible, but broken in general, so it was refactored – giving up on trying to make it 100% mimic system drawing
– CM_DPICHANGED replaced with OnAfterMonitorDpiChanged for form-level scaling. Not really necessary, just for style. Though it is not called for initial resize (at least when starting on primary monitor with temporary non-system DPI)
– OnResize is not called for DPI change, so in some instances, some OnResize call was duplicated in OnAfterMonitorDpiChanged/CM_DPICHANGED
– Scaling of thirdparty box still does not work correctly (but Updates box works??)
– Scaling on primary monitor with temporary non-system DPI is bad
– TTreeView enabled DPI scaling when using Images that is not Scaled
– Discaring obsolete FSiteButtonsPadding workaround
– Controls programmatically added to form are automatically scaled to the form's DPI (relevant for message boxes)

Source commit: a86dddbfada30a5bc409687489bdcd12842050af
2024-11-08 10:55:22 +01:00
Martin Prikryl
96e3df207c Issue 2147 – Optional larger toolbar icons
https://winscp.net/tracker/2147

Source commit: 4ceed24135fe0abbe9c94709fe792e9262dfec87
2024-08-18 14:08:09 +02:00
Martin Prikryl
f459e6adcd Issue 1806 – Dark theme for session tabs
https://winscp.net/tracker/1806

Source commit: b4d616373263171966a7ba90a7aed42fe6abb8f8
2024-05-31 01:19:06 +02:00
Martin Prikryl
0d17857851 Refactoring
Source commit: 9e6e8fde1b5aa1e946639efec40d65139491d3d2
2023-10-20 07:33:35 +02:00
Martin Prikryl
09c377b68b Bug fix: Corrected some painting artifacts on session tabs, particularly on Windows 11
On Windows 11 when painting via in-memory bitmap, the top corners of the tabs have dark pixels. Drawing directly corrects that, and as DoubleBuffered is on anyway, it should do not harm.

Source commit: 916c0636202703dbb702b3fe6d6cf523f4bd0879
2023-10-20 07:31:09 +02:00
Martin Prikryl
373e9df081 Bug 2229: Optional more prominent active session tab
https://winscp.net/tracker/2229

Source commit: 34ba17af7debe2240f0e0be471e4226e93b4432c
2023-10-18 01:12:30 +02:00
Martin Prikryl
fb09f329e4 Bug fix: Tab close button of new session was drawn as clicked, if it was opened from Login dialog popped up after the last session was closed by clicking its close button
Caused by fb28d236

Source commit: 7aa4f9ac8b06fb982491cf2b3c85926a5ead8376
2023-02-18 01:05:23 +01:00
Martin Prikryl
45ef69246d Bug 1423: Tab titles are shortened to fit window width as needed
https://winscp.net/tracker/1423

Tabs show tooltips with full session name and paths

+ Reserving space to tab button is encapsulated to the TThemeTabSheet class

Source commit: 30b49eb47b29d5f8cae1fcbdd4abc9670026fa44
2021-03-30 00:58:20 +02:00
Martin Prikryl
1c885eb601 Tabs are always TThemeTabSheet
Source commit: 343c78be5991018fe04068b6c61daaa3f4329081
2021-03-29 00:48:16 +02:00
Martin Prikryl
fb28d236fb Bug 1893: Allowing opening both local and remote tabs using "new tab" tab
https://winscp.net/tracker/1893

Source commit: c6b495cd3f9021f2d9d8fcddb0587644dd2ade4c
2021-03-12 00:53:44 +01:00
Martin Prikryl
ea24ee3405 Disconnect/Reconnect Session commands + Tab of a session that fails to connect/reconnect is not closed
Source commit: 546c99291ae6bc7a109fb54d172f2937d2f58630
2019-06-20 01:59:48 +02:00
Martin Prikryl
c48fb16840 Bug 1393: Close button on session tab + Non-active session can be closed, as well as disconnected sessions without a need to reconnect them
https://winscp.net/tracker/1393

Source commit: b63ce2363155fa969d91e07f294cca9f1c5c2a98
2018-09-13 02:15:46 +02:00
Martin Prikryl
d8f92984b9 First public commit of dev branch
Source commit: 98cb9d870efc1c60826db4398ec35c5cbe809e6a
2018-01-24 14:13:46 +01:00
Martin Prikryl
4dad4a32f0 5.2.5 2018-01-11 15:31:49 +01:00
Martin Prikryl
0b4c19ead3 5.2.4 2018-01-11 15:31:27 +01:00
Martin Prikryl
2e4b4738f0 5.2 2018-01-11 15:30:21 +01:00