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

4841 Commits

Author SHA1 Message Date
Martin Prikryl
00f664e86f Bumping devel version to stable 6.7
Source commit: 1cf02d11e9ebfe51b188723429e7a6c7768a2271
2026-10-14 10:27:10 +02:00
Eduardo Correia
8f67d22382 Give script rmdir's directory entries a full path
For rmdir, TScript::CreateFileList (fltDirectories) creates a bare
TRemoteFile with only its name and type: no directory list and no full
file name. TWebDAVFileSystem::DeleteFile takes the path from
File->FullFileName, and TRemoteFile::GetFullFileName then dereferences the
null Directory. With WinSCP 6.5.7 a script doing

  mkdir /work/gone
  rmdir /work/gone

over WebDAV fails with "Invalid access to memory" in
TRemoteFileList::GetFullDirectory (from TWebDAVFileSystem::FilePath,
TTerminal::DoDeleteFile, TScript::RmDirProc).

The entry now carries its absolute path, resolved as TTerminal::DoDeleteFile
resolves the same name. Protocols that use the file name (SFTP, SCP, FTP)
are unaffected; WebDAV now deletes the directory.
2026-10-13 14:08:14 +02:00
Eduardo Correia
d6dd4c7ec8 Free the Ed448 curve in ec_cleanup
ec_cleanup frees every curve ecc-ssh.c sets up except Ed448: ec_ed448 lacks
the WINSCP_CURVE_CLEANUP its siblings have and ec_cleanup does not call it,
so its points and bignums leak at shutdown once an Ed448 key was used.
2026-10-13 11:16:37 +02:00
Eduardo Correia
be053db0a6 Forget the freed system directory in win_misc_cleanup
win_misc_cleanup frees get_system_dir's cached buffer but leaves the pointer
and its size, so a get_system_dir call after the cleanup returns freed
memory instead of fetching the directory again.
2026-10-13 11:13:14 +02:00
Eduardo Correia
d89d03e5df Leave the PuTTY section when random_add_noise returns early
random_add_noise enters putty_section and then returns without leaving it
when the generator is not active. The section is recursive, so the thread
that returned keeps working, but any other thread entering it -- another
session's socket, RNG or bignum code -- then blocks for good.
2026-10-13 11:10:16 +02:00
Eduardo Correia
4e9af64b9c Pop aes-ni.c's clang attribute under the condition it was pushed
aes-ni.c pushes its target attribute under #ifdef __clang__ but pops it
under #ifdef _WIN64. For clang targeting Win64 the two coincide. Otherwise
they do not: clang targeting 32-bit Windows (clang-cl in a WINSCP_VS build)
reports the push as unterminated and fails, and MSVC targeting x64 meets a
pop of a clang pragma it does not know (warning C4068). The pop now has the
push's condition.
2026-10-13 11:03:41 +02:00
Eduardo Correia
1c4e584fe9 Swap GetParentProcessId's memset arguments back
memset takes the fill value before the size, so
memset(&ProcessEntry, sizeof(ProcessEntry), 0) zeroed nothing. It was
harmless, as Process32First fills the entry it reads, but the entry is now
cleared as intended.
2026-10-13 10:57:49 +02:00
Eduardo Correia
8a82e298f8 Close the handle FileGetSymLinkTargetSafe opens
FileGetSymLinkTargetSafe opens the link with CreateFile to read its reparse
point, but never closes the handle, so each call leaks one. DriveView calls
it for every symbolic link and junction it lists.
2026-10-13 10:52:56 +02:00
Martin Prikryl
b5f56bd2d4 Unused code
Inspired by PR #68

Source commit: 9c96e906501d8a22d305aa24ccf3162a287feb40
2026-10-13 10:47:52 +02:00
Martin Prikryl
69edabbe2d Issue 2469 – Failure when using options in button drop down menus on Overwrite confirmation box
https://winscp.net/tracker/2469

Source commit: 51281856e8bae26ce21ae495f726c91a72f5ff03
2026-10-13 00:38:14 +02:00
Martin Prikryl
78ef7c2cb7 Issue 2468 – Failure when keeping remote directory up to date
https://winscp.net/tracker/2468

Source commit: c75cda631f3837d27f311f66f2fb90d225e1bd1a
2026-10-13 00:36:43 +02:00
Martin Prikryl
05616dc742 Fixing stacktrace collection for abnormal program termination for 64-bit build
Source commit: d211d0525413d5b9a06ea25c788fa3d1377c68f3
2026-10-13 00:35:57 +02:00
Martin Prikryl
aaae9dcb51 Allowing to report abnormal program terminations + Handling all types of exceptions
Source commit: 469bb8038a53cf2510d92222e66351ba3c6c4a66
2026-10-10 00:36:12 +02:00
Martin Prikryl
4fc182de35 Forgotten declaration
Should have been removed in a6916d41

Source commit: 56826244476f1b2e80aa109510456f82d5615fc4
2026-10-08 00:35:55 +02:00
Martin Prikryl
c057d1d62c Bumping devel version to 6.6.5
Source commit: 7414ce374e4876772f7e49f55526a0ebe63f2360
2026-10-07 16:37:59 +02:00
Martin Prikryl
ac781f63fe Update to Expat 2.9.0
Source commit: 2d2fc87baa17104082d3ddaab96216a3f342f60a
2026-10-07 11:03:29 +02:00
Martin Prikryl
2724e8a53f Issue 2466 – Temporary directory structure for edited remote file reflected the current remote directory path rather than an actual path of the edited file
https://winscp.net/tracker/2466

Source commit: 639bddac91fecf53e0c3b5fd5835e9dd1c5ab0a5
2026-10-07 11:01:58 +02:00
Martin Prikryl
b6b2b34acf Obsolete comment
Source commit: dcb9f632e911b3f04ee9a42ed0126ce98b0e236a
2026-10-07 00:38:28 +02:00
Martin Prikryl
0b3eca59ad Not scanning local directory symlinks pointing to network drives
Source commit: 19baa413392caabbb7afea6eb2b925cc98ca5076
2026-10-07 00:36:56 +02:00
Martin Prikryl
a9fa4a583a Translating TDriveViewInt's ReadSubDirs, DoScanDir and AddChildNode to C++ before modifying them
Source commit: f8c0cdbb0c4e8665eac9a9b9526d6714ed6457cf
2026-10-07 00:36:09 +02:00
Martin Prikryl
a6916d4101 Unused code obsoleted by 64050d10
Source commit: 92ea806f97f6683c5e5158c7236b49ce04aa620c
2026-10-03 08:42:27 +02:00
Martin Prikryl
86413f4712 Removing some unused Jcl code
Source commit: 72d2f60cf89412442d2f4029cb43ae9d02ed2636
2026-10-03 08:41:44 +02:00
Martin Prikryl
0707234bbe Removing all debug info sources except for .map file
Seems to have no significant impact on release build (have some on debug build).
With 64-bit build, no impact at all. With 32-bit, there are some differences, but all seem to be in misidentified frames anyway (which are volatile, so the impact might not be due to change in sources)

Source commit: b8d538dd403c7f78778247278bed6e685a5589fb
2026-10-01 00:37:56 +02:00
Martin Prikryl
e13157118a Using themed button drop down menu on Overwrite confirmation box
Source commit: ca02aa76c6041990b5341fecf5f5c25f74a9b2a2
2026-09-30 00:37:29 +02:00
Martin Prikryl
55800c95bd Issue 2463 – Show keyboard accelerators on overwrite confirmation box when keyboard modifier is pressed
https://winscp.net/tracker/2463

Source commit: 493db416a23e77c36621f7443eafbcb685a3512a
2026-09-30 00:35:59 +02:00
Martin Prikryl
8526f3abad Bug fix: System context menus always show in dark mode
Source commit: 1a3891cbab7a71c19b9d8ebdea444f5972abe15a
2026-09-30 00:35:13 +02:00
Martin Prikryl
25d00e3382 Removing references to unused JclStreams unit
Source commit: 3d8b5558637974ca5494d73d55bb044f866b01a8
2026-09-26 00:38:04 +02:00
Martin Prikryl
48944c9dcd Merge branch 'thirdparty'
Source commit: 844378810bafe8357370c90ca53f6ef2a7b84bd1
2026-09-26 00:37:23 +02:00
Martin Prikryl
1135b2ee10 JclStreams unit is not being used
Source commit: 481d128d5f19978a3b955b62c9c53bde3c25c23c
2026-09-26 00:36:44 +02:00
Martin Prikryl
84ebbff07d Merge branch 'thirdparty'
Source commit: da48e14c3ed2a1a386cd3f0f6cec5655081551a7
2026-09-26 00:36:22 +02:00
Martin Prikryl
e3f0c9318c JCL 2.9.9331 (as of 10b92737)
includes: Fix two bugs in the JCLDebug address to source lookup
(though it does not seem to have any positive impact on exception stack trace collection)

Source commit: e49c36ce4a97a6eeb4a1f43743893fdab854ba50
2026-09-26 00:35:44 +02:00
Martin Prikryl
64050d10c7 Removing no longer working OneDrive code
Source commit: 8a28dd98ba1cf2216dbd176900d23c8acf13685c
2026-09-25 00:36:53 +02:00
Martin Prikryl
018c4f46c9 Issue 2462 – Fix crashes or unexpected behaviour when user saves a site and a workspace with the same name
https://winscp.net/tracker/2462

Source commit: 3a22f95c30ceef8713a7b992eb2b8fc49c72444a
2026-09-25 00:36:08 +02:00
Martin Prikryl
7e0360edc3 Issue 2457 – When selecting a site to perform a command-line operation with, it was possible to select a workspace or a folder, resulting in unexpected behaviour or failure (2nd after c595d52f, now for download URLs)
https://winscp.net/tracker/2457

Source commit: 9621a1cd439031b65a328a81cbfc1cfd49956c6f
2026-09-24 00:48:03 +02:00
Martin Prikryl
e42c1ba59f Fixing assertion and updating comment obsoleted by 777aa221
Source commit: b0ab32a91690074c2c034520c9a93dfc954e4f07
2026-09-12 07:41:05 +02:00
Martin Prikryl
777aa22159 Improving placement of widows, particularly those opened, while the main window is not visible (notably during command-line operations)
Source commit: 307d5b671223917e4a9d7a31aaefd5987c173c1b
2026-09-12 00:36:44 +02:00
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
d2189bd4d4 Issue 2459 – Optionally default to keeping Login dialog open after opening session in PuTTY
https://winscp.net/tracker/2459

Source commit: 35d501ac3a022a0f28b1968b49131d12d45c6559
2026-09-09 00:35:31 +02:00
Martin Prikryl
a69cbd7165 Issue 2456 – Increase length limit of proxy host name for updates preferences
https://winscp.net/tracker/2456

Source commit: 089f96c2e48af687cfc3a8e755d4fe37a2f5b081
2026-09-08 00:40:26 +02:00
Martin Prikryl
c595d52fb8 Issue 2457 – When selecting a site to perform a command-line operation with, it was possible to select a workspace or a folder, resulting in unexpected behaviour or failure
https://winscp.net/tracker/2457

Source commit: 4ba24fc7f915728e77c9ec86acceae1932dd58fd
2026-09-08 00:39:39 +02:00
Martin Prikryl
e9b1860006 Link updates
Source commit: d947e04bdfdcaec955178b255bad454e9e9fa84a
2026-09-03 16:40:56 +02:00
Martin Prikryl
917ea6e08f Bumping devel version to 6.6.4
Source commit: de023fc927e65f024ee7477da9663abe8c4d35b6
2026-09-03 16:36:29 +02:00
Martin Prikryl
0e7cea84e5 Loading package API (from 648b6c0a) dynamically to restore Windows 7 compatibility
Source commit: 8014fd3d5ddf35292cf1a0f6c0cfb4f07a563048
2026-09-03 00:34:41 +02:00
Martin Prikryl
d47792f01c Issue 2455 – Some strings use incorrect translation in 64-bit version
https://winscp.net/tracker/2455

Some related refactoring:
Refactoring php release script includes
Reusing complete_translations in copy_complete_translations.php
Removing obsolete maketran.bat hack

Source commit: 07476ec822e4bd7b8b1c65ceb9783b6d92f20489
2026-09-01 12:53:54 +02:00
Martin Prikryl
11ce2859c0 Links update
Source commit: a99ad766ce70165b2aa13cc27bb88f8bd4a57893
2026-09-01 12:52:09 +02:00
Martin Prikryl
d37ac4f3cb Updating project file to PuTTY 0.85
Source commit: cda428276d42fbcdebe6d6cbcf4f6c6e973f5c59
2026-08-26 16:08:26 +02:00
Martin Prikryl
0a91a3e4e3 Merge branch 'thirdparty'
# Conflicts:

#	source/putty/ssh/connection2.c

Source commit: 4413da04be2a27098da2488953e6e86301be66cd
2026-08-26 16:07:38 +02:00
Martin Prikryl
b3732d9b70 PuTTY 0.85
Source commit: c9fb0e3663609e43f0fc37e1e96e9f2177809f15
2026-08-26 16:06:53 +02:00
Martin Prikryl
184bda4bf7 Resetting differences to official PuTTY from afbcdcd1 that are not needed with Clang-based compiler
Source commit: aea5830a0db64b028ed6dd6328cbcb8f2d87baf8
2026-08-26 16:05:41 +02:00
Martin Prikryl
9d2ab68f0f Merge branch 'thirdparty_hotfix' into thirdparty
Source commit: 29cd13353b04e1e8333d6a4e5308ca72111e9029
2026-08-26 16:04:08 +02:00