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

7 Commits

Author SHA1 Message Date
Martin Prikryl
e94f594c4a Reimplemented THistoryComboBox in C++
- Started with delphi2cpp.exe
http://ivan.vecerina.com/code/delphi2cpp/

- string needs to be replaced with UnicodeString
- __fastcall needs to be added to virtual methods, constructors of components, and accessors of published properties

- Replaced void with TObject in OnGetData/OnSetData events as for some reasons the void causes linked problems, unless the class has PASCALIMPLEMENTATION attribute

Source commit: 6e3b0f977ecbcf9d3dc0706c129a911c0393569e
2025-11-06 12:01:57 +01:00
Martin Prikryl
71754fc61f Renaming pas to cpp and adding generated hpp as h to guide git in recognizing future translation to C++
(not compilable)

Source commit: a9468bbb15a8c5f9d4381cdc0299c378a2fbe90a
2025-11-06 07:34:54 +01: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
4031057b67 Control labels do not show keyboard accelerator cue, until Alt key is pressed
(including mechanism to inject a different control implementation + as I needed to add an header include to most form header files, I reordered include sections along a bit)

Source commit: aa2a1b6f5daf70865c0c87c0733aad1be4825b83
2018-12-28 11:08:28 +01:00
Martin Prikryl
8e37e22329 Bug 1396: Local custom commands for local files + Change: Remote custom commands cannot be executed with focus on local panel
https://winscp.net/tracker/1396

Source commit: 540d487ffe6db8a81dd9af3c552a8b5614a15197
2018-01-25 14:05:46 +01:00
Martin Prikryl
b8e0750e5a 5.6.5 2018-01-11 15:37:08 +01:00
Martin Prikryl
2e4b4738f0 5.2 2018-01-11 15:30:21 +01:00