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

99 Commits

Author SHA1 Message Date
Martin Prikryl
0cff6df9c4 Issue 2366 – Monitor placement and maximization is not remembered on monitors with different scaling than the primary one
https://winscp.net/tracker/2366
(cherry picked from commit c4a4c297d4)

Source commit: d814290719ad465a025922341d901cbde37ace98
2025-04-11 18:47:29 +02:00
Martin Prikryl
d70637ea00 Bug fix: "Copy key fingerprints to clipboard" command link was scaled incorrectly
Source commit: b286435b157bb40f8523ad2a88b21894428aa1bf
2025-03-27 12:29:45 +01:00
Martin Prikryl
28ffba2df0 Issue 2361 – Layout problems of by-default hidden columns on high-DPI displays
https://winscp.net/tracker/2361

Source commit: 79a9e1d15ab353e30939b9a3f7ce561febcc94bc
2025-03-26 01:24:53 +01:00
Martin Prikryl
398e461ede Canonical link
Source commit: 93427cba82eefbaf691db7a1e89c113af8b86809
2025-03-06 00:56:44 +01:00
Martin Prikryl
3a887624f6 Properly drawing background of selectable value displays on tab controls on Windows 11
(would also help on Windows XP, but we do not support that anymore)

Source commit: 23db1a3f17f5cd240650c5005fa33702ff7d7a2a
2025-03-04 15:09:11 +01:00
Martin Prikryl
9485cb3f7d Switching to Segoe UI font with slightly larger size (9) as recommended for Windows Vista and newer + All windows are now slightly larger accordingly and their layout was unified
Reverts e55f27da
Fixing some anchors and tab order on the way
Dialogs (and controls with specific width or height) are now about 10% wider

Note that main form already used the Segoe UI:9 by explicitly using UseDesktopFont for most/all of its controls

Layout rules
- follow IDE design guidelines in general
- controls start at 8x8, but at 9x9 in group boxes and 22v if group has title
- right and bottom padding in groupbox is the same as left padding
-for checkboxes the bottom padding of the checkmark is the same as left padding = 10
- buttons are 80x25 by default, with +14v with dropdown
- checkboxes/radiobuttons are +2h
- labels are 15 high, textboxes/comboxes 23
- indentation is controls under checkboxes is +16h

Source commit: 09a558e92af838e142d3624cb433cc052782881c
2025-01-16 16:27:20 +01:00
Martin Prikryl
9345fadc52 Removing redundant Windows XP-compatibility code (BCB11 does not support XP)
Source commit: 6442ebecf7dd5c6f45ffa9ef4ea34b82cf7ac95a
2024-11-28 00:55:43 +01:00
Martin Prikryl
f93e07ca05 Removing some workarounds that are no longer needed in BCB11
- Not sure if the "push -vi" workaround was obsoleted by BCB11, but it does not seem to be needed anymore
- TCustomPathLabel.CMStyleChanged workaround was obsoleted by change in TCustomLabel.CMStyleChanged
- status bar scaling is not implemented in TCustomStatusBar.ChangeScale

Source commit: 7de59e2226d9d96aecb0fc78cef01a6bd6fce1d6
2024-11-27 00:56:18 +01:00
Martin Prikryl
936095a230 Undoing change from 5d86eacb that only have effect in Debug build (by mistake), what is dangerous as it might hive some problems during debugging
Source commit: 761469dd02026c6a8cc4d14a474cc103df2b192f
2024-11-21 00:57:54 +01:00
Martin Prikryl
b75c57e786 Improving scaling of thirdparty "browser" control
With Tahoma font it does not work nicely. But the news browser control on Update box works well. It turned out to be due to Segoe UI font.
While it can just be coincidence, we want to move to Segoe UI anyway. So let's do it for About dialog already now.

Source commit: 3e6f173cb37d2e594de5d3bb2fdc2b6eec0e08d5
2024-11-14 00:53:56 +01:00
Martin Prikryl
8b557e8e94 Using BCB11 LockDrawing
Source commit: 36a6efeb7ebe4356e7fe2c3cfc24200e676bca3a
2024-11-13 01:34:01 +01:00
Martin Prikryl
f97dc3d402 Resolving compiler warning by inlining function that is called only once since c42123f5
Source commit: 38375a652737afd2263277f1e3a10ac9d7492bdd
2024-11-08 15:59:18 +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
e40c677e6e Command to find Move candidate on Synchronization checklist window
Source commit: 3afc367ae03df30fa853586a997bfa6fc51ffe53
2024-10-12 01:05:07 +02:00
Martin Prikryl
e55f27dab3 Temporary reverting font to Tahoma:8 (from default BCB 11's Segoe UI:9) to match the windows layout
Source commit: 815a497dffe349865a283f50ec0cd4af92cb3489
2024-10-08 15:54:52 +02:00
Martin Prikryl
e09e95ee43 Upgrade to C++ Builder 11
Comments:
- .res files seem to be linked automatically, so explicit entries in project files caused duplicates
- JCL updated for compatibility with BCB11 (jcld28win32.inc obtained by running JCJ installer [uninstalled afterwards])

Source commit: ec28d10a0bbb346ed2bb3940aed37e777342e663
2024-10-08 07:18:18 +02:00
Martin Prikryl
69b6a18593 Search for Preferences options
Source commit: 1dbd33e717c5f59fe9c0ba9cc8b03299cc001697
2024-07-28 01:01:25 +02:00
Martin Prikryl
ecf8d35436 Issue 2305 – Open window maximized when closed while minimized from maximized state
https://winscp.net/tracker/2305

Source commit: b35bb6aad0947c521784208ed8d51c8857bbc771
2024-07-25 00:54:19 +02:00
Martin Prikryl
363f3e3446 Issue 2288 – Tree indentation does not scale correctly
https://winscp.net/tracker/2288

Source commit: 043b0ba3da5deb0eeafb5e2f082680459142f338
2024-05-07 09:20:59 +02: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
b96d7d0001 Typo in a comment
Source commit: c8ff94499a219b5455670e47284b0f1a1d11a82b
2023-09-21 01:07:42 +02:00
Martin Prikryl
f4cd58ba3f Bug 2221: WinSCP loses focus after custom command is executed
https://winscp.net/tracker/2221

Restricts impact of 6ef0d1fb and undoes 1078dc75

Source commit: 9f6ab93d4f787c82b7ff2856fca9cf0538d27b01
2023-09-16 01:09:04 +02:00
Martin Prikryl
dca921e044 Adding window scaling and application closing to application log
Source commit: f327ff694fccb756638c46caaf50aa5026a4da69
2023-08-24 01:05:44 +02:00
Martin Prikryl
5cde111926 Typo in a comment
Source commit: 4cb9b5f737fbe8713d1885ccece2d8c985e7f9f4
2023-08-24 01:01:29 +02:00
Martin Prikryl
1e6d13791d Bug fix: Master password prompt was not added to taskbar when automatically loading workspace to yet invisible main window
Source commit: 1483f9c9210b036872a28020ba38be50c06bf309
2023-07-04 01:06:06 +02:00
Martin Prikryl
50123681a3 Typo in a comment
Source commit: adc336766461298896dcada17294a9ccfde3d7db
2023-03-25 09:44:30 +01:00
Martin Prikryl
390246710d Typos in comments
Source commit: 740d9dd055b223ae63fa830787d850a66c02765f
2023-01-31 13:23:38 +01:00
Martin Prikryl
8aaf8ab4a4 Optimizing adjusting to updated system font in attempt for fix Bug 2149: Failure/Hang when system settings change
https://winscp.net/tracker/2149

Source commit: cf7739f920af457e0cde9314b421c344c9681bdc
2022-12-17 01:04:59 +01:00
Martin Prikryl
ab8a4f3afd Displaying thanks and transitioning help toolbar message after Store installation over classic installation
Source commit: a93872eb3d38bbb6ad20ec1445ba25ae468fc9a3
2022-08-25 00:55:35 +02:00
Martin Prikryl
6ef0d1fb41 Panel focus was not restored after pseudo-modal authentication window was opened while session was opening by clicking a session tab (caused by 81ce67f0)
Source commit: 64585312898265008da7871d732758e070f66fe9
2022-08-10 01:03:52 +02:00
Martin Prikryl
195ad9a64a Bug 909: Expand environment variables in Open Directory/Location Profiles dialogs for local paths
https://winscp.net/tracker/909

Source commit: ba4ff1c3bbcf6267e86dd42c31b20cc8bd560edf
2022-05-04 01:01:15 +02:00
Martin Prikryl
2ec882ed95 Using an en-dash instead of a minus sign in window titles, local-local session names and various other places
Source commit: c4ea12980c1d69fe0a9560bcc5ba00810949212c
2021-02-16 00:46:17 +01:00
Martin Prikryl
98767185be Comment of PreserveFileName argument
Source commit: 2672a9bf752a110cad90da994606c2f0f4c9b254
2020-10-06 01:43:44 +02:00
Martin Prikryl
f4a248d112 Merge branch 'master' into dev
Source commit: 8a16b95d9de9f7f742332bed2dfdeb09b9263f83
2020-03-31 01:43:59 +02:00
Martin Prikryl
173dc56999 Bug 1838: Showing session name in Synchronization checklist and Keep remote directory up to date windows, when the operation was executed in a new window/from a command line
https://winscp.net/tracker/1838

Source commit: da39c9459f8eef6e4a5544c15353bfeff5384643
2020-03-31 01:04:10 +02:00
Martin Prikryl
be26803f86 Merge branch 'master' into dev
# Conflicts:
#	source/WinSCP.cbproj

Source commit: 85c8b994f82ae78c83d11d7208a16bd489cfd921
2020-02-27 15:47:21 +01:00
Martin Prikryl
8d726bc630 Bug 1828: Path on Address bar of Explorer interface cannot be submitted
https://winscp.net/tracker/1828

Source commit: f0033c19ca559ac05cedbd48289391438c115496
2020-02-25 01:56:39 +01:00
Martin Prikryl
27eacef3a4 LVM_QUERYINTERFACE is not implemented on Wine
Source commit: f77755c47a12870d50767cff3ffd56d4342b2e6d
2020-02-05 01:34:12 +01:00
Martin Prikryl
7e73c599d8 Unused variable (forgotten by eaa96d43)
Source commit: be3581bb04d635318fe8f271be6d11a13deaa5ab
2019-12-20 00:54:42 +01:00
Martin Prikryl
eaa96d43f3 Ctrl+Left/Right/Back work better on Raw Site Settings dialog
Source commit: 818144f12f28cd6ae1094e60f588c639bc851202
2019-12-19 01:00:53 +01:00
Martin Prikryl
64080c181e Typo in a comment
Source commit: 46040dfc2ea7816d9213eb9c2c869c703c6f2d3d
2019-08-09 01:17:00 +02:00
Martin Prikryl
0260185077 Autosizing "View Statistics" button for longer translations (asked for by Italian translator)
Source commit: 9041efa40da547efa1118169119ccf9b0693c754
2019-08-08 01:16:04 +02:00
Martin Prikryl
932ac192ae Configuration object may not exist for early (or late) error message dialogs
Source commit: 133b8723a86e3caedfa34bd6bf9cd1f525e12525
2019-07-11 14:22:35 +02:00
Martin Prikryl
5456e67edb Bug 1763: Validation of input boxes prevented cancelling dialogs using Cancel button
https://winscp.net/tracker/1763

Source commit: 7b6375bef21ce787a2382434b901501fc4696409
2019-07-09 03:13:18 +02:00
Martin Prikryl
8fd4df68dc Mechanism to take window screenshots without keyboard cues
Source commit: 76c1093ca5c53df13e999be4cb980e2c5b6a973c
2018-12-28 01:43:47 +01:00
Martin Prikryl
98e4fe1969 Dark mode for internal editor + AllowDarkModeForWindow needs recreating window (though it still does not work reliably)
Source commit: 2ce2751091af2059f69aadb32a90e7eec5cb1e76
2018-12-12 01:11:29 +01:00
Martin Prikryl
67acf979a0 133 function is not AllowDarkModeForWindow Windows 7 - causes crash
See 71340fa744

Source commit: b22b99266fdfd98f75c0768967f442e8a293dc8a
2018-12-09 01:11:56 +01:00
Martin Prikryl
71340fa744 Bug 1696: Dark theme
https://winscp.net/tracker/1696

Source commit: 5093ac8f9a61e0c632fbe5f2d3c55f03a3393dcf
2018-12-07 01:32:02 +01:00
Martin Prikryl
fda93b37c5 Bug 1702: User name edit box on Login dialog in some cases does not include modification commands (like Paste)
https://winscp.net/tracker/1702

Source commit: 2cc51eff1e4839e3594ca5f319cbeb11bfb4c592
2018-11-08 02:15:49 +01:00
Martin Prikryl
9411a657e2 Minimizing command-line operation now correctly minimizes all windows
Like clicking "Minimize" on Progress window over Synchronization progress window over Synchronization checklist window.

Problem revealed after 6f2e21efc9.

Source commit: dbf9620443433ca4e391182e025825863db5edac
2018-07-31 00:58:39 +02:00