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

47 Commits

Author SHA1 Message Date
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
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
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
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
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
f459e6adcd Issue 1806 – Dark theme for session tabs
https://winscp.net/tracker/1806

Source commit: b4d616373263171966a7ba90a7aed42fe6abb8f8
2024-05-31 01:19:06 +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
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
5551c3b2fe Since 45ef6924 the last local-local tab still had space for close button reserved
Source commit: 042423a21991008ef7ca2918588860feb59f8595
2021-06-17 13:03:07 +02:00
Martin Prikryl
883b85120d Optimizing tabs update
Source commit: fac21341af1db9ce76c7c3717d0d24c0ccfa2e46
2021-06-17 13:00:53 +02:00
Martin Prikryl
45ef69246d Bug 1423: Tab titles are shortened to fit window width as needed
https://winscp.net/tracker/1423

Tabs show tooltips with full session name and paths

+ Reserving space to tab button is encapsulated to the TThemeTabSheet class

Source commit: 30b49eb47b29d5f8cae1fcbdd4abc9670026fa44
2021-03-30 00:58:20 +02:00
Martin Prikryl
cee4e67202 Missing call to the parent implementation
Source commit: d1d546cbaa89e4877b4e80f2731595fc6eb0de88
2021-03-30 00:56:21 +02:00
Martin Prikryl
1c885eb601 Tabs are always TThemeTabSheet
Source commit: 343c78be5991018fe04068b6c61daaa3f4329081
2021-03-29 00:48:16 +02:00
Martin Prikryl
fb28d236fb Bug 1893: Allowing opening both local and remote tabs using "new tab" tab
https://winscp.net/tracker/1893

Source commit: c6b495cd3f9021f2d9d8fcddb0587644dd2ade4c
2021-03-12 00:53:44 +01:00
Martin Prikryl
ea24ee3405 Disconnect/Reconnect Session commands + Tab of a session that fails to connect/reconnect is not closed
Source commit: 546c99291ae6bc7a109fb54d172f2937d2f58630
2019-06-20 01:59:48 +02:00
Martin Prikryl
896a47fa5e Unused code
Source commit: edf75cb74f03b5cf4528b7bcf0a7e105e61cca3c
2018-12-06 01:52:22 +01:00
Martin Prikryl
5769d285d2 Bug 1699: With themes disabled, an empty space is reserved for and working as a close button on a session tab even though the button is not drawn
https://winscp.net/tracker/1699

Source commit: 88ff3466c80fe110602daa409e3dd43cf3d089aa
2018-11-01 03:17:36 +01:00
Martin Prikryl
c48fb16840 Bug 1393: Close button on session tab + Non-active session can be closed, as well as disconnected sessions without a need to reconnect them
https://winscp.net/tracker/1393

Source commit: b63ce2363155fa969d91e07f294cca9f1c5c2a98
2018-09-13 02:15:46 +02:00
Martin Prikryl
c81bc18e59 On Windows 10, our two ways to calculate tab height indeed differ, use the larger value
Source commit: b1eafecd73d8fda11a317dcc56903e76669d95a4
2018-01-28 15:13:43 +01:00
Martin Prikryl
52a4c3e3f3 Updating links
Source commit: 30521817bf2efb93fda9fe4d108616e6976a8b25
2018-01-28 01:26:15 +01:00
Martin Prikryl
987728ea0c Prettifying debug macros
Source commit: ba529d34782876686ca07031e9c0b7c17f9e92fd
2018-01-24 20:39:55 +01:00
Martin Prikryl
64f7ab815d Prevent assertion when starting on 200% Windows 10
Source commit: 27152b734aaf322491231c85b9b8c9b650f4e9e0
2018-01-24 17:46:55 +01:00
Martin Prikryl
d8f92984b9 First public commit of dev branch
Source commit: 98cb9d870efc1c60826db4398ec35c5cbe809e6a
2018-01-24 14:13:46 +01:00
Martin Prikryl
a9cd1f05f4 5.2.6 2018-01-11 15:32:05 +01:00
Martin Prikryl
4dad4a32f0 5.2.5 2018-01-11 15:31:49 +01:00
Martin Prikryl
0b4c19ead3 5.2.4 2018-01-11 15:31:27 +01:00
Martin Prikryl
2e4b4738f0 5.2 2018-01-11 15:30:21 +01:00