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

6 Commits

Author SHA1 Message Date
Martin Prikryl
71754fc61f Renaming pas to cpp and adding generated hpp as h to guide git in recognizing future translation to C++
(not compilable)

Source commit: a9468bbb15a8c5f9d4381cdc0299c378a2fbe90a
2025-11-06 07:34:54 +01:00
Martin Prikryl
74fdf539de Clang imposed changes that should be noop and have no effect on classic compiler (2nd after 92ba1e3f0 + preceding commits)
Mostly
– explicit static global variables
– const, sign and down casts safety
– same-named variables in nested scopes
– incorrectly identified uninitialized variables
– semicolon after function implementation
– unused variables, fields, arguments and macros
– exact include filename case
– field initialization order
– typename use
– struct vs class declarations
– incorrectly identified uninitialized variables
– refactoring to solve Clang internal compiler error when using new variable in __finally block

Source commit: 3da995ff5169eefcfe3b3b7cc0d019c660096c07
2025-06-24 16:32:34 +02: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
e3fe05fcbb Bug 2217: Make it harder to mis-click "never show this again" checkboxes
https://winscp.net/tracker/2217

Source commit: 7157c1f4fe74785f34861fd9f24c4c03042e4588
2023-09-21 01:10:05 +02:00
Martin Prikryl
bfea7e51a3 Accelerator was visible on Target path label on Copy dialog and it wasn't associated with the exit box
Source commit: 1e6382dc89fe8630fcdad635457f23ab68a16a80
2023-02-18 01:07:30 +01:00
Martin Prikryl
5156f7cbcb Local-local copy options dialog, including an operation mask support
Source commit: 3187d463d0b664039658d333b42b3a15d79af909
2020-10-06 01:56:28 +02:00