Commit Graph

529 Commits

Author SHA1 Message Date
evgeny-k
098587c659 Merge branch 'master' of github.com:remobjects/pascalscript 2024-05-14 10:39:38 +03:00
evgeny-k
29622984a4 #267: Array of const broken? 2024-05-14 10:38:14 +03:00
Martijn Laan
f5638ff139 Make this work on Unicode: var S: set of AnsiChar; begin S := ['a', 'b']; end; 2024-05-12 09:07:48 +02:00
Martijn Laan
7d888cda8c Add TLinkLabel from Delphi 2010. 2024-05-10 14:35:40 +02:00
evgeny-k
5530baf4f1 fix for exception support in x64. incomplete 2024-04-09 16:58:30 +03:00
evgeny-k
f5da34521d better x64 support: use class helpers for registration properties and methods 2023-11-17 13:27:50 +03:00
evgeny-k
d5057bb2c6 0: fix for prev 2023-11-15 16:33:50 +03:00
evgeny-k
597d68934e 266: Error when calling delphi function in x64 mode 2023-09-18 14:55:54 +03:00
evgeny-k
3bf2b93a1a D29 packages were added 2023-09-18 14:55:06 +03:00
evgenyk
78c62be048 266: Error when calling delphi function in x64 mode 2023-09-13 13:43:51 +03:00
evgeny-k
f68967d58f problems with x32/x64 call were fixed 2022-09-19 15:49:35 +03:00
evgeny-k
a732050c7d problems with x32/x64 call were fixed 2022-09-12 16:48:38 +03:00
evgeny-k
922338afa0 0: issue with compiling in delphi7 2022-08-04 23:15:39 +03:00
pjrobin
5f33baadd3
fix for #232 (#257)
Fixing the "Could not call proc" #232
2022-03-02 21:24:10 +01:00
evgenyk2
964d957d3f Delphi 11 support was added 2021-09-16 12:02:37 +03:00
evgenyk2
4a44e94824 Merge branch 'master' of github.com:remobjects/pascalscript 2021-09-16 11:58:04 +03:00
evgenyk2
339371bcfd Delphi 11 support was added 2021-09-16 11:57:52 +03:00
Grzegorz
639f1e2d2c
FPC Fix, missing Anchors properties (#252) 2021-08-25 12:31:51 +02:00
Martijn Laan
689b7a3ac2
Fix ReadParameters not setting parameter parser positions even though ValidateParameters does use them. 2020-12-10 15:37:56 +01:00
evgeny-k
d0c71ab36d events of TPSScript were restored 2020-12-04 16:50:23 +03:00
Martijn Laan
5c701ec81e
Fix 64 bit return values some more, using the correct method which was already used by cdRegister. 2020-10-28 17:26:41 +01:00
Martijn Laan
04f5647ec7
Fix 64 bit return values. 2020-10-01 21:46:00 +02:00
zed
ebf3798c97
fix IPointer type definition (#234) 2020-09-30 13:53:11 +02:00
Rey
63dc2a78e1
Fix for #220 (#221)
* Add support for 'array of _Enum_Type_'  types for registered methods.


This will also add support for 'array of Boolean' type, as Boolean considered as enum in pascal script.

* Fix wrong compilation error pos if happened on the last line after PreProcessor.AdjustMessages (#220)

Fix for #220
We should update Res.Row / Res.Col if Pos is
Item.LineOffset[Item.LineOffsetCount - 1] <= Pos < Item.EndPos
2020-09-30 13:51:47 +02:00
Rey
621e77e550
Improve PreProcessor DEFINE errors descriptions (#222)
* Add support for 'array of _Enum_Type_'  types for registered methods.


This will also add support for 'array of Boolean' type, as Boolean considered as enum in pascal script.

* Improve preprocessor error DEFINE errors desc by adding filename

* Add missing parameter for RPS_DefineTooManyParameters
2020-09-30 13:51:19 +02:00
evgeny-k
41ed958b61 #238. win64 problem with string 2020-09-08 15:59:10 +03:00
evgeny-k
957de21fe8 fpc: INVOKECALL support for arm/aarch64 2020-09-02 16:05:37 +03:00
Martijn Laan
e42274928a
Add optional OnWriteLine2. Can be used to support Step Out debugging. 2020-08-31 07:03:54 +02:00
evgeny-k
ab01a58610 0: eDefines.inc was updated 2020-06-09 15:20:25 +03:00
evgeny-k
29776d8014
Merge pull request #231 from santiagoIT/master
Added support for Delphi 10.4 Sydney
2020-06-09 15:16:29 +03:00
santiagoIT
a0cdccce84 Added support for Delphi 10.4 Sydney 2020-06-08 15:41:26 -05:00
Martijn Laan
f55409add2 Add PS_USECLASSICINVOKE to make it possible to avoid using InvokeCall.inc which was introduced by #207. Alse cleanup the case some of the directives here and make it work on AUTOREFCOUNT. 2020-02-20 15:48:25 +01:00
Martijn Laan
45b18b0259 Fix for #207 which commented this line with no apparent reason + cleanup. 2020-02-20 15:24:37 +01:00
Martijn Laan
530ca86b69 Fix IDispatchInvoke on Unicode. 2020-02-18 21:15:44 +01:00
Chee-Yang, Chau
37158027fb #213: Invoke method consist of extended data type cause access violation (#215) 2019-11-26 09:13:56 +01:00
evgeny-k
b1286c1550 fix from #211 issue 2019-09-30 12:28:56 +03:00
Vizit0r
86a057c868 1)InvokeCall added, instead of all different callers (x86, x64, powerpc etc) for Delphi 2010+. (#207)
Tested on Win x86&x64, Android, MacOS32 - no problems observed.

2) Changes for correct MACOS compilation in Delphi

3) few changes and fixes for correct work on D7.
2019-08-26 06:49:56 +02:00
Vizit0r
51a015cbc5 1) fix of OPENARRAYOFU16 and OPENARRAYOFS16 declarations (#205)
2) DynArray "out of range" errors extended, now included info about curr index and array length
3) uPSUtils - takilng ansi string length from 0 index - changed to correct Length() calling.
4) added names forming for dynarrays when compiling.
2019-08-20 07:24:22 +02:00
Martijn Laan
1f846a56c8 Added call stack functionality. Taken from #203 by Vizit0r, with fixes and cleanup. Does not yet display parameter values, nor does it return position information. 2019-08-15 08:13:39 +02:00
evgeny-k
eff7823c09 0: INLINE_SUPPORT define was added 2019-08-07 13:43:05 +03:00
santiagoIT
e893802668 64 bit builds now use the same VersionInfo as 32 bit builds. Previously the version for 64 bit builds was always 1.0.0.0. (#199) 2019-05-01 06:40:02 +02:00
SB-MBP-2017\Santiago
733da55707 64 bit builds now use the same VersionInfo as 32 bit builds. Previously the version for 64 bit builds was always 1.0.0.0. 2019-04-30 16:59:50 -05:00
Martijn Laan
bcf0f1b1b7 Fix warnings. Again, don't know exactly which version introduced each warning, kept it at Tokyo. 2019-02-03 14:06:51 +01:00
Martijn Laan
5812d520e8 Use TStream.Seek fix on Tokyo as well. 2019-02-03 14:04:52 +01:00
Martijn Laan
7b33a99b24 Add support for TScrollBox/TForm.Constraints. 2019-01-29 20:19:15 +01:00
Martijn Laan
c2ee410b06 Fix the wrong TStream.Seek overload being called (at least in Rio) in the same way TStream.CopyFrom was fixed. Not sure what version introduced the problem so kept it at Rio. Also a cleanup for CopyFrom. 2019-01-23 19:36:46 +01:00
evgeny-k
d5aa9e1eed 0: avoid bug with safecall calls in delphi/linux 2019-01-21 13:14:14 +03:00
Martijn Laan
4ec845b79e Fix PropertyToString wide and Unicode strings bug. 2019-01-15 17:55:01 +01:00
Martijn Laan
3ee6af752a Fix TAnchorKind and add Anchors properties. 2018-12-29 14:53:14 +01:00
Martijn Laan
86b5b61f65 Register TPanel.BevelKind as well. 2018-12-23 19:56:11 +01:00