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

135 Commits

Author SHA1 Message Date
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
1f8dc7a31e Some parts of GUI (panel headers, scrollbars, buttons, checkboxes) show in dark theme even when system-wide app theme is light + On Windows 11, using system dark tab theme, that uses different shades for active and disabled/disconnected tabs (Issue 2452)
https://winscp.net/tracker/2452

Source commit: ac0cd81a2b667fb01888cd9df7ff85232d39c489
2026-08-21 01:31:30 +02:00
Martin Prikryl
6f2c0027df Obvious Begin/End mismatch
No negative impact is know - the calls are not incremental. But it might have caused  some flicker.

Source commit: 4833f200de05da107b3486f5b43dd9475a75dc4f
2026-08-21 01:30:34 +02:00
Martin Prikryl
bda0528671 Obsolete comment
Source commit: 231272d9f89113899d279384afcc3c41dc14e10f
2026-08-21 01:29:37 +02:00
Martin Prikryl
d1bb298c70 Merge branch 'master' into dev
# Conflicts:
#	source/core/Common.cpp
#	source/core/Http.cpp
#	source/core/PuttyIntf.cpp

Source commit: 1ebaa60a257791f90bbc04243bd8a6a7696546de
2026-04-28 07:06:11 +02:00
Martin Prikryl
d4605ab579 Link update
Source commit: c443e6a58dd9441be695a5c2c69de851db4d868e
2026-04-24 00:58:44 +02:00
Martin Prikryl
d843cab082 Adding more startup sequence counter steps (Y, Q, V, Z, a) around F
(previous steps added in aee26917)

Source commit: b93e0f99f5dfce22f9bb9e1451ba11040ad05355
2026-04-04 01:24:19 +02:00
Martin Prikryl
4990947f08 Issue 2425 – Preserve panel scroll position after rename
https://winscp.net/tracker/2425

Source commit: 9579f528949653a0029338bb4c4cb1deab1001b1
2026-03-31 01:31:29 +02:00
Martin Prikryl
19d0b5610d 91621fb4 is no longer needed after 86b35a6a
Source commit: 8e132e337d1a6ebc3e41b2681963d0209aa0a339
2025-12-29 01:28:45 +01:00
Martin Prikryl
cc8d9dd8f4 Issue 1274 – Do not use drag images (for directory tree)
For file list (dirview) use of drag images was disabled already in Bug 1274. Now disabling it for tree view (driveview) too and consequently removing all related support code.
That gets rid of global GlobalDragImageList, which the 64-bit linker has problems with.

https://winscp.net/tracker/1274
https://winscp.net/tracker/618

Source commit: 10f13c6de6259711dbd0688402d9a11423fcc8b0
2025-12-27 13:18:58 +01:00
Martin Prikryl
674c6958ec Fixing local thumbnail bug introduced in c562d3d
Source commit: 31a0e0f30397a79acfac9cc9e20d62c792928716
2025-12-27 11:11:32 +01:00
Martin Prikryl
c562d3d4c4 Getting rid of TDictionary as it crashes 64-bit linker
https://winscp.net/tracker/1016

Source commit: 02d79c8672c60c572c9b722a93dea8b5030ea1fe
2025-12-23 17:40:36 +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
86b35a6a39 Introduced C++ shell around some heavy Pascal classes to allow their gradual reimplementation to C++
UNICODE define added everywhere (except Putty, which in Ansi code) to make sure A/W suffixes are added consistently across the code

CreateDirectory renamed to avoid problems with being interpreted as CreateDirectoryW in C++ code and CreateDirectory in Pascal code (being also a function in WinAPI)

Source commit: b8d27b5097829c42f853b629e57aebaaab066b9e
2025-12-05 01:29:29 +01:00
Martin Prikryl
91621fb4cc Isolating TDriveView from TDirView to allow it to be translated to C++ independently
Can be undone, once both are translated

Source commit: ce0c1de6685e5ef69fd3599aef7c609ff9e15175
2025-11-08 01:05:33 +01:00
Martin Prikryl
d6968a6244 Cleaner RegisterComponents code
Source commit: 4a86964ae585868a7d1a80ca875d859f4887b5d9
2025-11-06 12:06:34 +01:00
Martin Prikryl
f4222357f6 "pragma warn -pch" workaround no longer needed
(probably because of upgrade to clang)

Source commit: 88b0cb1a431e373f717efd90e569b4500f9f0f28
2025-11-06 12:04:18 +01:00
Martin Prikryl
316475d1fe Issue 2400 – Pasting cut files from the clipboard into a local panel copies them instead of moving them
https://winscp.net/tracker/2400

Source commit: 1611bbe26e4d713795c2b07e1f17146a31f4461b
2025-11-04 01:11:06 +01:00
Martin Prikryl
f4779bc1a0 Link update
(cherry picked from commit 357a80634a)

Source commit: 95e99c82f1410c6b6d78e456762e950aea070c4d
2025-09-22 17:15:24 +02:00
Martin Prikryl
357a80634a Link update
Source commit: d5fd02d51d7f622fee65be501bbde368469a6307
2025-09-22 17:08:30 +02:00
Martin Prikryl
4c615a1ff1 Clang imposed changes that should be noop and have no effect on classic compiler (mostly for release build) (4th after cea3db7f)
Source commit: 6071393e7ecab31c096ca36631fd59b29469c08c
2025-08-01 09:33:52 +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
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
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
2dc85eee36 Issue 2315 – Optimize loading of file panels when switching between tabs with different filters
https://winscp.net/tracker/2315

Source commit: 1796f6af97fcb6e42460ef58591f243640562f2f
2024-09-26 15:26:51 +02:00
Martin Prikryl
751d61e109 Issue 2313 – Prevent redrawing scrollbars when loading remote directory tree
https://winscp.net/tracker/2313

Source commit: 3af49432cc51409c43a0fdf2cb956b7a5de0989e
2024-09-18 00:58:25 +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
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
f880c68e23 Issue 912 – Thumbnail view in file panel (local)
https://winscp.net/tracker/912

Source commit: 4326a2efd8333867e5697a63f320f4cdf919708b
2024-06-27 00:52:41 +02:00
Martin Prikryl
f459e6adcd Issue 1806 – Dark theme for session tabs
https://winscp.net/tracker/1806

Source commit: b4d616373263171966a7ba90a7aed42fe6abb8f8
2024-05-31 01:19:06 +02:00
Martin Prikryl
fc32fc22f6 Merge branch 'master' into dev
Source commit: d4af96a95d75b15e2fa61ba2f3c43b6a384e73f9
2024-05-29 09:24:26 +02:00
smoking_ace
0d5e233ee0 Typo Fixes in the comments (#54)
* ThemePageControl.cpp : Typo Fix

* UnixDriveView.cpp : Typo fixes

* FtpFileSystem.cpp: Typo Fix

* ThemePageControl.cpp: Incorporting the comments

* Update ThemePageControl.cpp

* Update UnixDriveView.cpp
2024-05-29 09:04:15 +02:00
Martin Prikryl
9f9d4655f1 Easier use of TValueRestorer
Source commit: 605e98cefaa62284f2b1150fdc355e88d48bdbd3
2024-03-20 13:56:00 +01:00
Martin Prikryl
dead6ec3d6 Typo in a comment
Source commit: 71c47f689f8cad63ca8dd34dab32f5f60d0c2203
2024-03-20 13:54:12 +01:00
Martin Prikryl
87821bc2ba Reusing variable for consistency
Source commit: cd4338f92d19af9740de295d41838318581079ec
2024-02-03 10:46:20 +01:00
Martin Prikryl
a76f4130f4 Issue 2257 – New tab icon is drawn incorrect on Explorer interface with Show selective text labels turned off
https://winscp.net/tracker/2257

Source commit: f94dcc775f1df3b742b9aebec8c9b744caaef051
2024-02-03 10:43:42 +01:00
Martin Prikryl
24291003ed Issue 2255 – Failure after long frequent use of session tabs
https://winscp.net/tracker/2255

Source commit: 105d8a010c30dd1ed8ffe41baccfb2f542436221
2024-01-31 01:30:39 +01:00
Martin Prikryl
0d17857851 Refactoring
Source commit: 9e6e8fde1b5aa1e946639efec40d65139491d3d2
2023-10-20 07:33:35 +02:00
Martin Prikryl
09c377b68b Bug fix: Corrected some painting artifacts on session tabs, particularly on Windows 11
On Windows 11 when painting via in-memory bitmap, the top corners of the tabs have dark pixels. Drawing directly corrects that, and as DoubleBuffered is on anyway, it should do not harm.

Source commit: 916c0636202703dbb702b3fe6d6cf523f4bd0879
2023-10-20 07:31:09 +02:00
Martin Prikryl
373e9df081 Bug 2229: Optional more prominent active session tab
https://winscp.net/tracker/2229

Source commit: 34ba17af7debe2240f0e0be471e4226e93b4432c
2023-10-18 01:12:30 +02:00
Martin Prikryl
35d5daab2f Unused code
Source commit: a93a0930100abdf4842d6a892e6f89a3777bdc55
2023-10-18 01:09:17 +02:00
Martin Prikryl
fb09f329e4 Bug fix: Tab close button of new session was drawn as clicked, if it was opened from Login dialog popped up after the last session was closed by clicking its close button
Caused by fb28d236

Source commit: 7aa4f9ac8b06fb982491cf2b3c85926a5ead8376
2023-02-18 01:05:23 +01:00
Martin Prikryl
e2d1c7f7b7 Typo in a comment
Source commit: 89a9743b05a7b1f39ec2ee2b1ce4eff5196c1c27
2023-02-18 00:58:14 +01:00
Martin Prikryl
867e0e6317 DScpComp package won't compile since 09646b57
Source commit: b4fae1ae6bf3b54bd18dc99aa88e02649d0a7409
2023-01-18 13:43:35 +01:00
Martin Prikryl
09646b5796 Bug 41 implementation was not working with panel sorting + Failure when calculating directory sizes in local-local mode
https://winscp.net/tracker/41

Source commit: d63b35133175c7c97532883dc64b901228b90798
2022-12-14 15:25:45 +01:00
Martin Prikryl
ce998d551c Bug 1024: Option to always sort directories by name
https://winscp.net/tracker/1024

Source commit: 8214bd11646dcc7f4bad4a64cd6ed8ce177c672c
2022-10-14 00:59:08 +02:00
Martin Prikryl
cb021fe3e3 Bug 2120: Consistent behavior across protocols when renaming/moving remote files
https://winscp.net/tracker/2120

Source commit: 0f11f96996352d8354d27e06d699e2c3baa4653f
2022-10-01 01:03:37 +02:00
Martin Prikryl
27f61a0b10 Bug 1631: Optimize loading of large directories
https://winscp.net/tracker/1631

Source commit: 25241c4cd35cdfe4b94a8f847511acba3b5cc68f
2022-04-27 08:28:55 +02:00