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

184 Commits

Author SHA1 Message Date
Martin Prikryl
7f4661e5e9 Link update
(cherry picked from commit 8ac6a430c3)

Source commit: 2d1e916268c1d45b47cf355762a67566f706a9b6
2025-11-07 01:15:46 +01:00
Martin Prikryl
fe44a85b14 Bug fix: Failure when reading empty certificate authority configuration
(cherry picked from commit 9fefb2536c)

Source commit: 105088f20f028f01afdd031953d8bb35303a9120
2025-07-07 01:17:36 +02:00
Martin Prikryl
62f3211df3 Issue 2380 – Local directories sometimes cannot be deleted
https://winscp.net/tracker/2380
(cherry picked from commit ec910f92cc)

Source commit: f260f5a62bfb2d550780f6111ea0be76b6ae0d31
2025-06-04 15:52:45 +02:00
Martin Prikryl
f02b75470e Some (hopefully noop) refactoring to solve Clang internal compiler error when using new variable in __finally block + Some other small code changes imposed by Clang
(cherry picked from commit 92ba1e3f0e)

Source commit: 61a79bd46194d4318828269d21fe548f508dda03
2025-03-14 16:21:31 +01:00
Martin Prikryl
5dc46ec23f Clang identifies some functions as "noreturn" + one noexcept(false)
(cherry picked from commit 7b54dde3a6)

Source commit: e6fd24a871e574ed762797210a5ce126deeab1f3
2025-03-14 16:19:14 +01:00
Martin Prikryl
05ddf80cdd Clang incorrectly warns about some variables being unintialized, while the classic compiler warns that the value is never used
(cherry picked from commit 8073dbef30)

Source commit: c9c3abff3471b59072048c2e6a1c3010719d0521
2025-03-14 09:43:44 +01:00
Martin Prikryl
3f4e41fee0 Clang imposed changes that should be noop and have no effect on classic compiler
Mostly:
– incorrectly identified uninitialized variables
– explicit static global variables
– const, sign and down casts and safety
– typename use
– semicolon after function implementation
– unused variables, fields, arguments and macros
– field initialization order
– exact include filename case
– redundant in code macros already defined at project level

(cherry picked from commit f7f00c631e)

Source commit: 90ad9390853aba308abe73cf02e0281238c53c87
2025-03-13 16:46:26 +01:00
Martin Prikryl
8cd48fd0e5 Code errors identified by Clang
Notably:
Bug fix: Monospace font is not remembered if SSH banners are administratively forced
Change: Bug fix: In XML log, filename tag was included in stat tag, although explicitly documented not to

(cherry picked from commit 4019b56ffb)

Source commit: 8f8d10bc0c9f4ca626dceda1d3e9889dc22f4394
2025-03-13 06:42:18 +01:00
Martin Prikryl
ee99cb926e Issue 2353 – Display and modify S3 file/object tags
https://winscp.net/tracker/2353
(cherry picked from commit e202af0bdc)

Source commit: 412b87273dcae90457c83baa08cecaf675edd1e8
2025-03-13 00:57:01 +01:00
Martin Prikryl
0d64cc1278 Issue 2352 – Remember empty session password
https://winscp.net/tracker/2352

Source commit: 8deb7a84540894f0ce1a0b3c0ff08ebffdaa44df
2025-02-28 14:27:35 +01:00
Martin Prikryl
82ca508ba5 Bug fix: Unicode contents in web sources was incorrectly decoded
Casting RawByteString to UTF8String does not properly decode UTF8

Source commit: 85ab7076039c7fc9f8b35c73b7c843ed6f892834
2025-02-28 01:09:12 +01:00
Martin Prikryl
bbedba6bb1 Bug fix: Failure when trying to use a file not containing a private key as a client certificate file with WebDAV
Source commit: e0f0381f09526e14ec4f9347e976d6bf30504221
2025-01-07 15:01:12 +01:00
Michael Lukashov
400bee57cf minor: Fix typos (#59)
Fix various minor typos
2024-12-25 11:25:35 +01:00
Martin Prikryl
6bc0a0142f Missing calling convention was causing random crashes later
Source commit: b68e9881e2da3424df429161e6d98a774fdbc495
2024-11-29 13:47:51 +01:00
Martin Prikryl
cd227ab151 Too much cleanup in 9345fadc + Inlining function used only once since
Source commit: 6328815a16d7ce56c4ff17b31dc661aa60cd8c80
2024-11-28 15:28:16 +01:00
Martin Prikryl
b0f03a87ba But fix: On Windows 11, Windows 10 version was logged
As part of refactoring, calling GetProductInfo unconditionally as it should be supported on all Windows version we support
Also querying ProductName from 64-bit key, as JCL does (does not help with Windows 11 though)

Source commit: f5f6c075df730b9e5283d6490647bf0c11b23629
2024-11-28 01:03:15 +01:00
Martin Prikryl
921ac904a1 In BCB11 Win32BuildNumber works correctly even on Windows 10 and newer
Source commit: 142548c65265adb7bfb8b7949a1a27b4083754d2
2024-11-28 00:57:50 +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
ae9b173170 Issue 2327 – Failure when opening TLS connection with invalid OpenSSL configuration file
https://winscp.net/tracker/2327

Source commit: ee33d2badfff95c721fe412c86e7b305674e6703
2024-11-20 01:09:37 +01:00
Martin Prikryl
743f8d60f4 Issue 2325 – Gracefully handle invalid Unicode characters FFFF and FFFE in filenames in .NET assembly
https://winscp.net/tracker/2325

As a side effect this also "fixes" unexpected encoding of invalid character replacement in session log file (value 1 was encoded as 0100, instead of expected 0001)

Source commit: fb80501de79abd3bbd2d4d994252029f5f7bda88
2024-11-16 01:43:28 +01:00
Martin Prikryl
313c424f0f In BCB11, files temporarily downloaded for local custom command were incorrectly identified as modified
Because timestamps returned by FileAge and TSearchRec.TimeStamp do not match anymore.
They both returned "wrong" timestamp in XE6. In 11, TSearchRec.TimeStamp was "fixed", but FileAge wasn't.

SysUtils' TSearchRec.TimeStamp not seem to behave the same as our TSearchRecSmart::GetLastWriteTime()

Source commit: eabc8d1804da280ca5e9a158c27cc91ed5ee2302
2024-11-12 01:18:44 +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
3a3f514c59 Issue 912 – Thumbnail view in file panel (remote)
https://winscp.net/tracker/912

Source commit: 8fbf80f9ea42f043cfb856821f474c80da45aa5e
2024-09-05 13:05:19 +02:00
Martin Prikryl
5e33daf15f Issue 2301 – Some Unicode texts, notably custom command names, were saved incorrectly in an INI file
https://winscp.net/tracker/2301

Source commit: d4e2d35de89e549991b2d661c86bce8f52b27f3f
2024-07-10 13:13:46 +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
Martin Prikryl
e782da2c87 Issue 2260 – Failure when trying to synchronize files by checksum on server that does not support it
https://winscp.net/tracker/2260

Source commit: d23d1a3ca251922e98b128ea807f120a690fe517
2024-02-21 01:03:48 +01:00
Mikhail Lukashov
a8e6220b88 fix typos 2024-01-05 10:37:32 +01:00
Martin Prikryl
d82e155904 Logging Un/Registering to handle protocol URL addresses
Source commit: 8448f6de5b55dc642fb6114c0830b85812360b71
2024-01-04 16:32:44 +01:00
Martin Prikryl
1ab3de7c59 Issue 2245 – Window Store installation on Windows 11 was incorrectly using INI file for configuration storage by default
https://winscp.net/tracker/2245

On Windows 11 (unless WinSCP was run as Administrator the first time) the default packaged HKLM registry key was not loaded, causing WinSCP to default to INI file. On Windows 10 the problem does not exist.
I never liked using cryptic binary Registry.dat file for distributing default settings anyway. This is good opportunity to get rid of it and instead have the application use the intended defaults automatically on UWP

Source commit: 16adc7b5d73cdcab5160cda99b62de5a99ff7229
2023-12-22 16:48:36 +01:00
Martin Prikryl
532f1847b2 Use up-to-date OpenSSL API + Use the same API to retrieve cipher suites for /info, as we use for neon (and indirectly for FTP too)
Noop change (currently SSLv23_client_method is just an alias to TLS_client_method, same for TLS_method vs SSLv23_method

Source commit: d35fcf2fbb722795f1ef267051892f0a931e2ab2
2023-12-07 01:08:06 +01:00
Martin Prikryl
b306995b1c OpenedSessionsS3Amazon and OpenedSessionsS3Other counters
Source commit: 5c34dc40d39cf93a217f8f341ab960db92f52853
2023-11-14 01:08:52 +01:00
Martin Prikryl
ccaddd6380 Bug 2236: Shorter and more friendly formatting of long time intervals
https://winscp.net/tracker/2236

Source commit: d3b1b217bea47a81b2b6bc413eb5184f7c582933
2023-11-09 01:03:44 +01:00
Martin Prikryl
804ec9c9c9 Bug 52: Use file hash as criterion for synchronization
https://winscp.net/tracker/52

Source commit: 66fd353f8e26a7bd3317ee7cc4e6d15e7d6cfb52
2023-11-07 02:03:32 +01:00
Martin Prikryl
86c89666a7 Factoring out CommaTextToStringList
Source commit: eda1757e64fb790acd85e0399f387b44f420146b
2023-11-02 01:31:01 +01:00
Martin Prikryl
db87bc1810 Bug 2145: Support for OpenSSH certificates for host verification
https://winscp.net/tracker/2145

Source commit: 9dda484bf38f9a72b61a2c3d8e7dd8892ee96c2b
2023-09-08 08:59:22 +02:00
Martin Prikryl
266b470cf8 Using tolower and towupper
Source commit: 9679e092efa1a4683538eb9b46374f90b5699ab3
2023-08-19 01:13:29 +02:00
Martin Prikryl
4eaf58404c Replacing redundant DeleteDirectory with RecursiveDeleteFile
Source commit: 2fd7838172df272fa63429fdaf0d5ce3157c98d5
2023-07-31 01:02:29 +02:00
Martin Prikryl
1aee6f1464 Bug 513: Download single large file using multiple SFTP connections
https://winscp.net/tracker/513

Source commit: d57dcad76dfe8b333dfedd8419bce984a181280c
2023-07-27 01:02:51 +02:00
Martin Prikryl
c9390ec2f8 Factoring out TSearchRecChecked::GetFilePath()
Source commit: 520a6513e98fa51aaf4bf4609dd5f187291ab035
2023-06-29 01:06:58 +02:00
Martin Prikryl
c0b78d0056 Bug 2056: File on local network share treated as folder when uploading
https://winscp.net/tracker/2056

Source commit: 8193faf5d491ec33d128da1405dc9f88faa123ab
2023-02-04 01:16:52 +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
6b910c5885 Typo in a comment
Source commit: 8184c0b5fa4b4e823978512d516e09af34c9154b
2022-10-25 17:32:58 +02:00
Martin Prikryl
ee9becf65e OpenSSL does not have any explicit initialization (since 1.1?)
Source commit: 9c03f1b6c412ed2286d70201e44f4c00b8a314a4
2022-10-13 00:58:11 +02:00
Martin Prikryl
686c3b611f Bug 2118: Reading password from a named pipe
https://winscp.net/tracker/2118

Source commit: 25f8a95d0ac0db13af786c8ceee5d191dee7dc92
2022-09-28 01:03:40 +02:00
Martin Prikryl
ce65d95fa7 Reporting first run date and package name when checking for application updates + Enforcing check for 3rd party packages + Store installations can display messages from updates check too
Source commit: c5dcb70f2b871e7bfe18662a71f7692d689bd632
2022-08-29 00:53:02 +02:00
Martin Prikryl
b5f0f2cdb8 Bug fix: Incorrect escaping of values in single-quoted patterns in custom commands + Unifying escaping of shell command arguments
Source commit: 9a8ae65931380050e988b295b0ddd818c11a08a4
2022-07-03 01:05:07 +02:00
Martin Prikryl
fb707f79f3 Factoring out NotImplemented()
Source commit: 7a72c7024d5636476d85c4ef6ac837654d2224c9
2022-07-02 01:03:28 +02:00
Martin Prikryl
4b38960069 Bug 2083: Workaround for an apparent bug in Windows 11 that prevents WinSCP from stopping Windows going to the sleep mode during transfers
https://winscp.net/tracker/2083

Source commit: 3db5f1e4d3a6e85e5c16559935f5273e1e905f6c
2022-06-04 00:54:12 +02:00
Martin Prikryl
7fca46e47d Bug 2082: Workaround for calls to system API failing when used first time against some network shares (Samba) with paths over the legacy Windows limit
https://winscp.net/tracker/2082

Source commit: 382de6e533d4ac3c8161b9c282741491fb08dc97
2022-06-02 15:10:39 +02:00
Martin Prikryl
b5b1478c13 Reusing FromUnixPath
Source commit: c03aac0277583b673ab6f31a0692bfef96a781b1
2021-12-15 07:52:41 +01:00