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

157 Commits

Author SHA1 Message Date
Martin Prikryl
a9cb6dae98 Issue 2458 – After opening session in PuTTY, WinSCP process is never closed
https://winscp.net/tracker/2458

Source commit: 4149590f72e208c8d14dd424fb6a387d0cf7f963
2026-09-09 00:36:19 +02:00
Martin Prikryl
12afd2dca4 Switching to SHGetKnownFolderPath API
Source commit: 238a0941721e97531504513efaeb74dae9b23584
2026-08-02 13:17:22 +02:00
Martin Prikryl
941ce4e50e Issue 2440 – When opening session in PuTTY to a host for which WinSCP has multiple hostkeys cached, use the last key or the key that PuTTY has cached
https://winscp.net/tracker/2440

Source commit: 7a596711a8c49cb70687679fe72aec92159ddf6e
2026-05-19 00:59:46 +02:00
Martin Prikryl
74794abfcb Types and casts safe in respect to handle size for forward 64-bit compatibility (3rd after bdc1aefa)
https://winscp.net/tracker/618

Source commit: eee90f0247240b68ff48d15ff5dfd3fc851efb2b
2026-04-24 10:12:22 +02:00
Martin Prikryl
4136d3e545 Bug fix: Protocol additional information scrolling was broken
Caused by 3a887624

Implementing handy functions for managing internal components

Source commit: 701335de9b626f7f96daa34a4dc4f2dff10461f9
2026-02-27 01:19:15 +01:00
Martin Prikryl
a2119a7eac Types and casts safe in respect to pointer size for forward 64-bit compatibility
Also GetWindowLongPtr and GWLP_USERDATA

https://winscp.net/tracker/618

Source commit: c85fdf15e50ce8a6f35b1c4d2a0125a0b9c4f1f0
2026-01-22 14:51:13 +01:00
Martin Prikryl
e5efed8955 Refactoring old-style casts
Source commit: 3c37b3a958525c595ad44b081b2e0f3b288b8eb0
2025-12-18 01:20:33 +01:00
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
8e5c0b74c0 Memory leaks
Source commit: 08d872ed02a1daced24a57bc96820ee959c0e109
2025-10-22 18:39:46 +02:00
Martin Prikryl
ea45332b44 Reimplementing operation status centering (b38cf104) using background thread
As the primary thread can stuck during the operation, particularly when copying large file

Source commit: a91f5426d39f3bd9d0f3b859ef2f6f1b78525404
2025-10-02 18:21:25 +02:00
Martin Prikryl
1d9fe8c955 Changing compiler to Clang/bcc32c
- regarding the ILINK_LibraryPath for Cfg_1_Win32 (Debug):
Win32\Debug (not only Win32c\Debug) needs to be before Win32c\Release, as win32c does not include debug builds of Pascal code - so without that VCL debugging won't work
- IDE insist on adding CC_Suffix to all projects once switched to Clang, although it is only used in WinSCP.cbproj
- UNICODE define: Not needed for build (it's implicit), but CodeInsight does not know it it somehow

Source commit: da06d73eb86caff5ca9cac0185bed54da0da8f07
2025-09-04 07:53:01 +02:00
Martin Prikryl
b13e2e7c2b #pragma package(smart_init) is not useful out of packages
Source commit: 7635ac3b532214f27ea2b6fe6aa80398c857cfcd
2025-08-23 01:06:48 +02:00
Martin Prikryl
3817bbd736 Preparing for separate pre-compiled header file required by Clang
- Once doing that, including more headers to PCH, not just vcl.h
- Clang won't need explicit include, but we will probably keep it anyway.
- #pragma hdrstop has no effect in Clang

Source commit: adc8a268b6907c5337ccaa430cca7526793a3019
2025-08-22 15:43:55 +02:00
Martin Prikryl
8a6d3c374a Assertions and used variables corrections identified or imposed by Clang
Source commit: 7867f23a32b6fc0056ca5d37e3868daa67e05ca4
2025-08-01 09:32:00 +02: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
5fd939c221 Missing argument and warning
Source commit: b68c99d1a843f33ef00886e3e51794b6ff08c1e6
2025-05-30 09:39:19 +02:00
Martin Prikryl
b5d20839db Dark theme for Transfer Options dialog (part of Issue 1696)
https://winscp.net/tracker/1696

Source commit: 60e5ebeca3ffaa09da1e98f5d4301b052f1741ce
2025-05-30 01:20:01 +02:00
Martin Prikryl
1273f86676 Checkboxes had accelerators always visible in dark mode
Source commit: 4957d7e362d8089d0da66a30574332644ef8cddf
2025-05-30 01:09:36 +02:00
Martin Prikryl
e608d8ee82 Issue 2358 – Dark theme for Authentication Progress window
https://winscp.net/tracker/2358

Source commit: afdf968e3fab22d5e2d6d28fd04c3e84379a63d0
2025-05-28 01:01:07 +02:00
Martin Prikryl
6977f1cc67 Using native Windows dark theme for edits, memos, checkboxes and comboboxes
Buttons done in c1ccbe1e

Might also revert the combobox Style changes in TLoginDialog from a90827e6, if they have some negative side effects.
The dark mode now works without the change, if system theme is dark.

Part of Issue 1696.

Source commit: 2ce0e4b4c87878113010a06de4d51e1caf20df86
2025-05-23 22:08:15 +02:00
Martin Prikryl
c1ccbe1e60 Dark theme for buttons (part of Issue 1696)
https://winscp.net/tracker/1696

Source commit: 5e943294ff8381400e9eb40caf775e5fbc03a8be
2025-05-21 01:16:55 +02:00
Martin Prikryl
907f2ecf4c Dark theme for message boxes (part of Issue 1696)
https://winscp.net/tracker/1696

Source commit: 8922ca214bc7cb6b7f7accf19ec946763681650a
2025-05-08 00:58:16 +02:00
Martin Prikryl
a90827e611 Issue 2345 – Dark theme for Login dialog
https://winscp.net/tracker/2345

Comboboxes with csDropDownList style do not reflect the Color, but do with csOwnerDrawFixed.
csOwnerDrawFixed seems to behave the same, except for the height, which needs to be explicitly set slightly higher
Buttons are still white - they'd have to be custom-drawn (using "Windows10 Dark" custom style)?)
SetParentColor is probably obsoleted by 3a887624

Source commit: 851489ffff36845467f664a8a4a08d0556c1d2eb
2025-05-03 01:07:10 +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
bf735c00c7 In BCB11 TRichEdit uses MSFTEDIT.DLL/MSFTEDIT_CLASS by default already
Source commit: 0dec9fb6e32afbbd57ea79438181c6433f2aa6a0
2024-11-05 12:06:39 +01: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
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
f7189322c9 Improving layout of Login dialog search panel and adding search options context menu to it
Source commit: 1f0847bee5b0be697452b7bf026802d70a6293aa
2024-06-01 07:31:33 +02:00
Martin Prikryl
8dbc8efb82 Incremental search panel pops up on Ctrl+F to make the function easier to find (part of Bug 2281)
https://winscp.net/tracker/2281

Source commit: 1584b79e350aff206a19e95bd1f4debd1c0744ed
2024-05-31 01:32:47 +02:00
Martin Prikryl
d2deb06e87 Bug fix: Possibility that files in root folder were incorrectly used
Source commit: 88e091dd7ad1cbdac404d6e883ff8a44aa89b316
2024-03-12 14:36:12 +01:00
Mikhail Lukashov
a8e6220b88 fix typos 2024-01-05 10:37:32 +01:00
Martin Prikryl
86c89666a7 Factoring out CommaTextToStringList
Source commit: eda1757e64fb790acd85e0399f387b44f420146b
2023-11-02 01:31:01 +01:00
Martin Prikryl
fa89d3764e Trusted host certification authorities can be loaded from PuTTY (Bug 2145)
Source commit: 89ce74adb56ae374f5e0e3930f107dd2b5d2b67e
2023-09-23 07:19:59 +02:00
Martin Prikryl
4bd0859efa Passing password to PuTTY using named pipe instead of commandline
Source commit: 5fe46d2ae161d1c5e2132a3b7ef216def16cb405
2023-09-19 15:35:05 +02:00
Martin Prikryl
4eaf58404c Replacing redundant DeleteDirectory with RecursiveDeleteFile
Source commit: 2fd7838172df272fa63429fdaf0d5ce3157c98d5
2023-07-31 01:02:29 +02:00
Martin Prikryl
5cdd6617fa Visual feedback when control (drop down list particularly) is focused via keyboard accelerator
Source commit: 077c007c019dd890dcb3bad8ff44e5947aa265f3
2023-04-29 00:58:47 +02:00
Martin Prikryl
f4aae36d36 Bug fix: Some control labels were showing keyboard accelerators without keyboard intervention (see also 4031057b) + Bug fix: Pressing Alt with some combo boxes focused did not show keyboard accelerators (see also 822683ed)
Source commit: 754677b7d1a02e8e29dfe54c4bdcd08b783078b0
2023-03-02 01:01:55 +01:00
Martin Prikryl
bfddaa7d10 Unicode strings
Source commit: fb7f56501359a21f82edf82318850fa6c1385b61
2023-01-31 13:20:17 +01:00
Martin Prikryl
deb89bf039 App logging for Open in PuTTY
Source commit: 874547a2c32c07ae82a8df65d63d3cceae03a4e4
2023-01-13 00:58:33 +01:00
Martin Prikryl
1244c3e4ff QueryInterface should be matched with Release
Though in these two cases, the objects do not seem to be reference-counted anyway

Source commit: 34237b24b62bde64ff1fdbc5ee870166171134b2
2022-12-17 00:57:36 +01:00
Martin Prikryl
86f98e87ca Bug 2148: Failure when system theme changes after new version message box was displayed
https://winscp.net/tracker/2148

Source commit: 2fd6223d08ff7a9cd337865ced11659756d0a477
2022-12-17 00:55:34 +01:00
Martin Prikryl
e78ae6176e Bug 2125: Displaying current version on the New version notification + Contents of About dialog can be copied to the clipboard using Ctrl+C
https://winscp.net/tracker/2125

Source commit: 50ae66db19efb1f756ea809faad22a8067d53bff
2022-11-02 00:56:38 +01:00
Martin Prikryl
c1c38aeae7 Links update
Source commit: f68f3e1306042c250cab9f77d191cba821e6ffbe
2022-10-22 08:25:02 +02:00
Martin Prikryl
eec09ba9d9 Merge branch 'master' into dev
# Conflicts:
#	source/WinSCP.cbproj
#	source/resource/Propagation.rc
#	source/windows/GUITools.cpp

Source commit: 54f5c5cec4b31bf661815d81e7c4f5b9ccbe1f64
2022-09-12 13:52:20 +02:00
Martin Prikryl
2a8d8822bf Revert "Temporarily reverting "Logging system required thread" to limit code changes in Store-only release"
This reverts commit 5d52d63156.

Source commit: 291627c72a50caa987f611a18f15031848522cd2
2022-09-12 13:50:11 +02:00
Martin Prikryl
5d52d63156 Temporarily reverting "Logging system required thread" to limit code changes in Store-only release
This reverts commit 029d72160a.

Source commit: de27020ea670c0106659367af13550664eecf59f
2022-09-12 11:16:06 +02:00
Martin Prikryl
029d72160a Logging system required thread
Source commit: cce07000812dc6c65e064fc8ac781ff2c0783cf5
2022-09-10 00:58:23 +02:00
Martin Prikryl
070ff9ad32 Bug 2107: Private key pattern in PuTTY command-line
https://winscp.net/tracker/2107

Source commit: 9131c33ed478233657c25df035764a7cd1f03e4c
2022-09-01 00:54:29 +02:00
Martin Prikryl
3ecd0f1520 Failure when exiting when "system required" thread was not allocated, caused by 4b389600
(cherry picked from commit 6c9661a20e)

Source commit: f80bd426ef39ae533beefbce3e75cf4ff75dbe2b
2022-06-08 01:10:34 +02:00
Martin Prikryl
6c9661a20e Failure when exiting when "system required" thread was not allocated, caused by 4b389600
Source commit: 4e32679b8f1f6f8d082b87d7a169e90c1b4ffd29
2022-06-08 00:55:33 +02:00