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

37 Commits

Author SHA1 Message Date
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
a5dcb5f03c Using std::size instead of custom macro
Source commit: 1a89c80dd42426351f261526b617534bab664208
2025-12-07 01:17:54 +01: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
0071ffadac Issue 2377 – Avoid replacing %2F with a slash and %2E with a dot in special cases on upload to avoid path traversal
https://winscp.net/tracker/2377

Source commit: e95a501a6e32e51312c7641c6398734f8c00fc2a
2025-05-23 01:10:43 +02:00
Martin Prikryl
f7f00c631e 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

Source commit: 5c1338d95bd275082288dd1e773a033df6e379cd
2025-03-13 16:39:24 +01:00
Mikhail Lukashov
a8e6220b88 fix typos 2024-01-05 10:37:32 +01: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
7f1aaa1b1a Bug 1922: Do not use a transfer via temporary file for files that would exceed system length limit with the temporary extension
https://winscp.net/tracker/1922

Source commit: f9016b757e70c4d7479abe4cc9b3ff1ad2878ed3
2020-11-10 00:38:32 +01:00
Martin Prikryl
6e5c55fab9 With SFTP protocol files can be streamed from stdin in scripting (part of Bug 1738)
https://winscp.net/tracker/1738

Source commit: 9c5fd31853ec9bea872e1598abebc92ff507d693
2020-05-08 03:52:20 +02:00
Martin Prikryl
891e603d76 With SFTP protocol files can be streamed to stdout in scripting (part of Bug 1738)
https://winscp.net/tracker/1738

Source commit: c8f8fa855c60a139deee81060486543f934f9d6c
2020-05-01 01:17:38 +02:00
Martin Prikryl
6b9c89aca8 Invalid assertion
Source commit: b4ae8e3fc315489aeb5960cbe7ac04d79ec201f9
2020-01-15 10:53:59 +01:00
Martin Prikryl
56eaa66b7c Speed box in Progress window responds to mouse wheel
Source commit: 72f6f29b46659dbced4b1d7eaffd03cf312b2ccb
2019-08-24 01:01:34 +02:00
Martin Prikryl
ebc5784505 Bug fix: When using a local custom command from Synchronization checklist window, opened from a command-line, the connection was closed
Fixed by refactoring that removes gross long standing hack.

Source commit: a8c3ef29226e6c762910f7824a68fef9aedd70cc
2019-07-12 00:43:57 +02:00
Martin Prikryl
a16fea2f60 Typo in macro name
Source commit: c8b0f63924a2a904c3d9b5a02aef64f66f361970
2018-11-08 03:53:33 +01:00
Martin Prikryl
92d9b9620b Bug 1691: With parallel background transfers, it is not possible to disable size calculation, which effectively prevented parallel transfers from working
https://winscp.net/tracker/1691

Source commit: e44d90c8fd31ed2cb265dc8bf07ebc81530c17ae
2018-10-23 01:21:24 +02:00
Martin Prikryl
78506ae1b7 Transfer settings that do not have a dedicated scripting switch or a .NET TransferSettings property can be set using -rawtransfesettings switch or TransferSettings.AddRawSettings method + Generated script/code can generate these + Tests that previously used AddRawConfiguration(@"Interface\CopyParam\...), use AddRawSettings now. + It's possible to limit number of command line parameters used for open-ended switches like -rawconfig, -rawsettings and -rawtransfesettings using syntax -switch[count] + Fixing GetFilesExcludeEmptyDirectories test (it didn't upload hidden files previously)
Source commit: 4a84ba5ed0f2f09f4815c11cb4714e0c2ef7fc12
2018-10-12 01:45:30 +02:00
Martin Prikryl
7fb5949f62 Refactoring
Source commit: ef5f3b4df02895f17df40506b5134120ddc6d381
2018-10-11 14:05:14 +02:00
Martin Prikryl
19f9225b37 Calculating sizes of all synchronization transfers at the very beginning and showing the sizes on checklist + Not calculating size of transfers again, if they were calculated already on the checklist
Source commit: 08ed8201139d023e0a1e0794a7c4a426d9d4ad6c
2018-08-09 01:28:02 +02:00
Martin Prikryl
5c121f0706 Bug 207: Do not synchronize/transfer empty directories
https://winscp.net/tracker/207

Source commit: ab606eeb44335834ce2795b16b474a25ed30716a
2018-07-27 01:03:23 +02:00
Martin Prikryl
275a6f24bb Whitespace
Source commit: e04b099387378c94ec74958e8cfc4b0bb7721e07
2018-07-24 03:05:53 +02:00
Martin Prikryl
6c55046771 Hidden files can be excluded from transfer/synchronization
Source commit: a6c74512eca11eb7106a72b0087b868a0f2bf454
2018-06-26 05:12:12 +02:00
Martin Prikryl
0a08412ec1 Bug 1653: Files can be optionally encrypted when storing them on SFTP server
https://winscp.net/tracker/1653

Source commit: 31d8bb5e3aebe725081c5ad74aa1e10b4f739356
2018-06-14 01:26:55 +02:00
Martin Prikryl
c16fd9a54b Function "Keep remote directory up to date" can be started in a new window
Source commit: 2cb0af9c9fd298daecd8df6096cd20536377e51f
2018-03-14 17:37:01 +01:00
Martin Prikryl
c08b64cda4 Factoring out ReverseOperationSide
Source commit: 583bd96f34edca99cccd3c9ca0df684403f7999b
2018-01-28 16:21:47 +01:00
Martin Prikryl
d0699c4783 Bug 1543: Generated code uses TransferOptions.Speed instead of TransferOptions.SpeedLimit
https://winscp.net/tracker/1543

Source commit: 08f1ef31ccd9c08588e3a050b97944f0b94b3edd
2018-01-28 07:46:01 +01:00
Martin Prikryl
0e6ab8a0ef Factoring out AnyMask constant
Source commit: d2de188e9c4422706a72c8c7664c1a498aa9800a
2018-01-27 22:52:18 +01:00
Martin Prikryl
a75af65a64 Bug 1410: Option to preserve directory timestamps is not enabled for synchronization
https://winscp.net/tracker/1410

Source commit: 44ccb939ffd3154cef5522869fef03ff9ef25430
2018-01-25 17:34:58 +01:00
Martin Prikryl
04fab653e6 Not using "my" prefix for VB.NET variables + No redundant declaration of Session variable type + Bug fix: Session timeout was incorrectly set in seconds, instead of milliseconds + Using -Property switch to initialize SessionOptions properties in PowerShell + Generating code for transfer settings + TransferOptions.ResumeSupport is settable + Setting TransferResumeSupport.Threshold automatically sets State to Smart
Source commit: ce746f6a04b2557b7fa77e1dbabdf41bb61de248
2018-01-25 15:06:04 +01:00
Martin Prikryl
fb68ee6f0c Generating transfer script + Not highlighting script strings + Script command-line
Source commit: ccddd850406040fc9feda4e5a71ae20f5514bf09
2018-01-25 15:02:00 +01:00
Martin Prikryl
b55e9565da Function call-line syntax for DebugFail + Replacing all DebugAssert(false) with DebugFail
Source commit: 358df59fa46a04bd1b2a141b826fa5c499303ae6
2018-01-24 20:47:51 +01:00
Martin Prikryl
987728ea0c Prettifying debug macros
Source commit: ba529d34782876686ca07031e9c0b7c17f9e92fd
2018-01-24 20:39:55 +01:00
Martin Prikryl
048ebddb93 Bug 94: Preserve timestamps of directories (SFTP)
https://winscp.net/tracker/94

Source commit: 342c0cb56287554c059c6461aaf234f889c661ed
2018-01-24 17:06:59 +01:00
Martin Prikryl
d8f92984b9 First public commit of dev branch
Source commit: 98cb9d870efc1c60826db4398ec35c5cbe809e6a
2018-01-24 14:13:46 +01:00
Martin Prikryl
26b6b13bc8 5.6 2018-01-11 15:36:22 +01:00
Martin Prikryl
4dad4a32f0 5.2.5 2018-01-11 15:31:49 +01:00
Martin Prikryl
2e4b4738f0 5.2 2018-01-11 15:30:21 +01:00