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

43 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
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
7b54dde3a6 Clang identifies some functions as "noreturn" + one noexcept(false)
Source commit: fc0c35fdddcd50a10d9ca13fc515164885325f81
2025-03-14 16:15:03 +01:00
Michael Lukashov
400bee57cf minor: Fix typos (#59)
Fix various minor typos
2024-12-25 11:25:35 +01:00
smoking_ace
d5e22e44bc FileMasks.cpp Fix typos 2024-05-27 15:34:02 +02:00
Mikhail Lukashov
a8e6220b88 fix typos 2024-01-05 10:37:32 +01:00
Martin Prikryl
266b470cf8 Using tolower and towupper
Source commit: 9679e092efa1a4683538eb9b46374f90b5699ab3
2023-08-19 01:13:29 +02:00
Martin Prikryl
c9390ec2f8 Factoring out TSearchRecChecked::GetFilePath()
Source commit: 520a6513e98fa51aaf4bf4609dd5f187291ab035
2023-06-29 01:06:58 +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
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
0df732b93f Removing test code committed by mistake in 958a9949
Source commit: d41fe7ab3fe03a4c88cf5b6f7085eca18cf7778b
2022-01-11 11:46:59 +01:00
Martin Prikryl
958a9949c6 Bug 2052: File masks relative to the root of an operation
https://winscp.net/tracker/2052
(cherry picked from commit c5a60526ed)

Source commit: d1db6dd6b43b56565709801383e235ce4c6a1005
2021-12-15 01:11:42 +01:00
Martin Prikryl
6065119808 Refactoring
(cherry picked from commit 484211795c)

Source commit: c3f15056bc97c251d79ccad535a2477d312800f3
2021-12-15 01:09:31 +01:00
Martin Prikryl
1d8cf6407e Consistent behavior of copy constructor and assignment operator
(cherry picked from commit e622af34a8)

Source commit: 05259bf179885999d8f6076947c5a4b6ce23c4a7
2021-12-15 01:05:18 +01:00
Martin Prikryl
535d48dd35 Interface for matching filenames only against a file mask
Among other to reduce confusing set of Matches overloads. Another benefit is that now all Matches overloads know, if the path is local or remote, what will be useful for upcoming relative/rooted path masks.

(cherry picked from commit 0cebfe10f7)

Source commit: 7bf48939ca1bb7314be94988dc67d14d02158697
2021-12-15 01:03:15 +01:00
Martin Prikryl
cf63287794 Bug fix: Target file name with escaped operation mask special symbols was incorrectly interpreted as an actual operation mask on some dialogs (upload, duplicate, etc), resulting in misplaced warnings
Source commit: 9a2b77d6fb85ad4fd6da1d8a786f328debad97e9
2020-12-09 00:47:01 +01:00
Martin Prikryl
467099ed55 Bug fix: Custom command patterns !S/!E do not include fingerprint of TLS certificate
(cherry picked from commit f21e2db167)

Source commit: 5dc6f93c8d37c30b6c6e994479f88c860f95fbf8
2020-11-26 14:12:31 +01:00
Martin Prikryl
d454b68ad4 Bug fix: Local custom commands that need session but no remote files were not disabled when session was not connected
(cherry picked from commit 5248f2f7e0)

Source commit: 335f6c6e808a6898cae6f6e0ac66f5c7926932d2
2020-11-26 13:41:51 +01:00
Martin Prikryl
2c11def183 Bug fix: Using directory exclude mask on Find dialog caused all non excluded folder to be unintentionally included in the search results + Bug 1819: It is not possible to recursively search for a folder
(cherry picked from commit ea5a4e8ddc)

Source commit: 743b7106af59b398ef3af9944714463eea35098d
2020-01-28 01:08:01 +01:00
Martin Prikryl
209f865590 Bug fix: Failure when starting (local) custom command with no session opened
Caused by Bug 857

Source commit: f36ba204c6e196471df34f0fe4adbf7289c5f664
2019-03-15 01:50:48 +01:00
Martin Prikryl
86971f7e4c Factoring out TryStrToDateTimeStandard
Source commit: 8773a6357b7b6c65b2abc09e2463a1bb25ca303d
2018-11-24 03:59:45 +01:00
Martin Prikryl
3267334917 Session URL can contain any raw session settings using connection parameter. New custom command pattern !E can generate such URL for use in WinSCP extensions.
Source commit: 7c9de42181088d8aaa9a96abaa420534f9e71a27
2018-05-17 22:47:41 +02:00
Martin Prikryl
e29607679e Bug 1638: Allow authentication with empty passwords in scripting
https://winscp.net/tracker/1638

Source commit: 5b00160666c5a8153219d5f4ee48bff9a8760c97
2018-04-21 02:55:03 +02:00
Martin Prikryl
9d0b0e3fc6 Change: Session.ScanFingerprint has mandatory algorithm parameter. + Displaying both SHA-256 and MD5 fingerprint of SSH host key on Server and protocol information dialog
Source commit: 11b4510273b16007335d41eefede396e3ebf0d0f
2018-01-28 18:26:20 +01:00
Martin Prikryl
153e7f77bf Failure when inspecting PuTTY pattern when no session is opened (the failure was silently ignored)
Source commit: 1d95b09efdc8b41d7c272cd5afd3e271b94137c9
2018-01-28 01:16:25 +01:00
Martin Prikryl
4ccbd9c352 IsAnyMask is just an opposite of IsEffectiveFileNameMask
Source commit: 74a000c1d80d060544b5af13f2563472cf9419f3
2018-01-27 22:53:18 +01:00
Martin Prikryl
0e6ab8a0ef Factoring out AnyMask constant
Source commit: d2de188e9c4422706a72c8c7664c1a498aa9800a
2018-01-27 22:52:18 +01:00
Martin Prikryl
33cb2f4010 Bug fix: Digits-only file mask constraint was interpreted as time constraint instead of size constraint (caused by the Bug 672) + Change: Failing on invalid size constraint
+ Size constraint unit tests

Source commit: bb41faa987ca3fa15c7fe433b7d3357c1841d1ff
2018-01-27 22:31:31 +01:00
Martin Prikryl
393eae5450 Bug 1456: Expand patterns in default value of extension options
https://winscp.net/tracker/1456

Source commit: 4dab0653f422d054736959e799d9443d18f05754
2018-01-27 09:00:53 +01:00
Martin Prikryl
52632dc707 Bug fix: Custom command patterns were replaced in values of extension options
Source commit: 9a09b2f0b3c0bb17cd81045381220c2863c7af64
2018-01-27 08:59:56 +01:00
Martin Prikryl
8b45c7cf46 Bug 1443: The -pw argument is added to PuTTY command-line, even when !P pattern is used + Custom command and PuTTY patterns are case-insensitive
https://winscp.net/tracker/1443

Source commit: 01d8ad847838e3f1e6d274a9ddf7690ebdb81f48
2018-01-27 04:18:02 +01:00
Martin Prikryl
06cbecad7a Bug 1437: Opening several files in editor at once using their paths
https://winscp.net/tracker/1437

Source commit: 708b5910d810fe8986229944a3a7cde6a5f504c9
2018-01-26 11:57:16 +01:00
Martin Prikryl
092c24d412 Bug 1436: Some scripting commands or command-line switches were not recognized on some locales (like Welsh) when used or defined with a mixed case (like /XmlLog vs. /xmllog)
https://winscp.net/tracker/1436

Source commit: 81e27b5c5e4ae826955e2646cab1d21414d69eca
2018-01-26 11:55:51 +01:00
Martin Prikryl
809e928548 The %TIMESTAMP% syntax allows formating time strings for a time relative to present time
Source commit: cab8c70acd555994927b7aeb9008da1f778cd9a5
2018-01-26 02:28:50 +01:00
Martin Prikryl
428db9665c All custom command prompts are entered on one dialog box.
Source commit: 65f90e78beef38e78fe1ba3bafbe70d9ca469da5
2018-01-26 00:27:41 +01:00
Martin Prikryl
d8f92984b9 First public commit of dev branch
Source commit: 98cb9d870efc1c60826db4398ec35c5cbe809e6a
2018-01-24 14:13:46 +01:00
Martin Prikryl
4ab6d5be32 5.7.4 2018-01-11 15:38:07 +01:00
Martin Prikryl
b8e0750e5a 5.6.5 2018-01-11 15:37:08 +01:00
Martin Prikryl
87c5906b1d 5.6.4 2018-01-11 15:36:57 +01:00
Martin Prikryl
4dad4a32f0 5.2.5 2018-01-11 15:31:49 +01:00
Martin Prikryl
43ec878d4b 5.2.2 2018-01-11 15:30:52 +01:00
Martin Prikryl
2e4b4738f0 5.2 2018-01-11 15:30:21 +01:00