Rey
69281ba739
Add support for 'array of _Enum_Type_' types for registered methods. ( #160 )
...
This will also add support for 'array of Boolean' type, as Boolean considered as enum in pascal script.
2017-10-01 22:53:15 +02:00
Pierre le Riche
8bd6ea180f
The TPSTypeRec.CalcSize calculated the element size for base types btProcPtr and btPointer as 20 bytes under 64-bit, however it was assumed to be 24 bytes in several other places, thus leading to buffer overruns. This fix supersedes the patch for issue #150 , changing the element size for both base types to 24 bytes and adjusting the code that previously assumed a size of 20 bytes. 32-bit code is not affected, since the element size was (and still is) 12 bytes in all cases. ( #152 )
...
An alternative approach would have been to fix all the places that previously treated the element size as 24 (as in the patch for issue #150 ), however an element size of 20 leads to misaligned pointers in array entries.
Signed-off-by: Pierre le Riche <git@pleasedontspam.me>
2017-06-12 14:45:29 +02:00
evgeny-k
d428ecc59f
CPUX64 not implemented MyAllMethodsHandler
2017-06-12 11:15:17 +03:00
evgeny-k
68f9356704
X64 Windows Open Array Buffer Overrun
2017-05-24 12:37:06 +03:00
SungDong Kim
5814bd027d
Fixed a character encoding problem of Application.MessageBox method in Unicode Delphi ( #146 )
2017-02-21 09:42:18 +01:00
evgeny-k
f4a25206ce
eDefines.inc was updated
2017-02-09 19:33:11 +03:00
evgeny-k
d2b23c5e6b
fix for prev
2017-01-11 14:22:13 +03:00
evgeny-k
ac6adc571e
PS: port to Delphi 10.2
2017-01-10 17:24:09 +03:00
Martijn Laan
dded578698
Fix InnerfuseCall memory leak for functions which return a string and use a calling convention other than register.
2017-01-04 12:46:43 +01:00
iferoc
7f43c66501
Pull request for #141 ( #142 )
...
Pull request for issue #141 - division of variant variables should return real (with PS_DELHIDIV compiler option)
2016-11-01 13:11:01 +01:00
Chee-Yang, Chau
40efb694c1
Re-align PascalScript_Core_D24.dpk and PascalScript_Core_D24.dproj compiler directives ( #138 )
2016-05-24 16:43:06 +02:00
Chee-Yang, Chau
4867683ff4
Fix compiling error: "E2056 String literals may have at most 255 elements" in unit uPSI_Dialogs.pas line 163. ( #137 )
2016-05-24 11:19:18 +02:00
Carlo Kok
19470174dd
Merge pull request #135 from uschuster/master
...
Pull request for #122
2016-05-13 14:51:16 +02:00
Uwe Schuster
57d7291d92
Fix for #122
...
- Fixed case of registered symbols using the case in Delphi sources
- Fixed formatting in method signatures
- put registration across multiple lines onto one line
"...GAMONSERV'
+'ER )');"
-> "...gamOnServer)');"
2016-05-13 14:34:11 +02:00
uschuster
8416d44d61
Merge pull request #1 from remobjects/master
...
Update from master
2016-05-13 14:02:24 +02:00
evgeny-k
c56385ecc0
fix for delphi7
2016-04-22 12:39:06 +03:00
Carlo Kok
4d5adcd119
Merge pull request #134 from Falcon0/FPC3Fixes
...
Fixed FPC3 compatibility
2016-04-17 15:37:40 +02:00
Tomek Kołosowski
6eaef325fb
Fixed FPC3 compatibility
2016-04-17 00:21:50 +02:00
evgeny-k
dd56475f06
Support for Delphi Seattle 10.1 was added
2016-04-15 13:16:26 +03:00
Carlo Kok
2c6e487e30
Merge pull request #130 from Falcon0/master
...
Fixed function VarType not exported in runtine in FPC
2016-03-01 08:41:29 +01:00
Tomek Kołosowski
d06ea36c61
Fixed function VarType not exported in runtine in FPC
2016-02-09 21:27:57 +01:00
Carlo Kok
2c0bde188a
Merge pull request #127 from mariuszekpl/master
...
fix single and double result in fpc x64 linux (replace movd by movq)
2015-12-13 17:59:07 +01:00
marius maximus
1cf322d8c6
fix single and double result in fpc x64 linux (replace movd by movq)
2015-12-12 22:50:57 +01:00
Carlo Kok
2fdeb7ee7d
Merge pull request #126 from mariuszekpl/master
...
replace movd to movq for move data into xmmX registers (lazarus 64bit linux)
2015-12-11 22:53:32 +01:00
marius maximus
db3b374915
replace movd to movq for move data into xmmX registers
2015-12-11 22:23:35 +01:00
Carlo Kok
883cd305ac
Merge pull request #125 from mariuszekpl/master
...
Fix exception when function return single for lazarus and delphi x64
2015-12-11 20:22:19 +01:00
marius maximus
8b9ce7a0f3
Fix exception when function return single and return correct value
2015-12-11 19:58:58 +01:00
Carlo Kok
971dc958fc
Merge pull request #119 from eferley/ef_fix_upsx_classes_tstrings_props
...
Additional property helpers for TStrings and TStringList
2015-10-28 13:13:45 +01:00
Eric Ferley
3eda9658f7
TStrings.StrictDelimiter only for D2006+
2015-10-28 12:41:29 +01:00
Eric Ferley
5efc340f89
TStrings.StrictDelimiter only for D2006+
2015-10-28 12:38:17 +01:00
Carlo Kok
69fe88d559
Merge pull request #115 from eferley/ef_fix_upscompiler_addclass
...
Allow TPSPascalCompiler.AddClass to adjust InheritsFrom
2015-10-27 17:13:46 +01:00
Carlo Kok
b4e22a5c46
Merge pull request #118 from eferley/ef_fix_upscompiler_setdefprop_errmsg
...
Make Exception messsages more useful for TPSCompileTimeClass.SetDefau…
2015-10-27 17:13:32 +01:00
Martijn Laan
7a704b55de
Merge pull request #117 from eferley/ef_fix_upsruntime_regfuncname
...
Bug in TPSExec.RegisterFunctionName
2015-10-27 16:32:35 +01:00
Martijn Laan
615f46ff79
Merge pull request #116 from eferley/ef_fix_upscomponent_execimport2
...
TPSCustomPlugin.ExecImport2 typo (calling FOnExecImport1)
2015-10-27 16:32:14 +01:00
eferley
da476ac4ca
Make Exception messsages more useful for TPSCompileTimeClass.SetDefaultPropery
2015-10-26 15:13:28 +01:00
eferley
11bf95bfb6
Additional property helpers for TStrings and TStringList
2015-10-26 15:08:10 +01:00
eferley
a3bcee5ecb
Bug in TPSExec.RegisterFunctionName
2015-10-26 14:54:39 +01:00
eferley
902f43c6a3
TPSCustomPlugin.ExecImport2 typo (calling FOnExecImport1)
2015-10-26 14:41:44 +01:00
eferley
ccf76308bd
Allow TPSPascalCompiler.AddClass re-registration of a class (if AllowDuplicateRegister) to adjust InheritsFrom instead of adding duplicate class registration
2015-10-26 14:30:57 +01:00
Carlo Kok
4307114139
Merge pull request #114 from ccy/master
...
Fix Win64 platform compile error for PascalScript_Core_D23 package
2015-10-19 09:00:02 +02:00
Chau Chee Yang
ea5a1fd6f2
Fix Win64 platform compile error for PascalScript_Core_D23 package
2015-10-19 12:03:26 +08:00
evgenyk
6805e7be10
eDefines.inc was updated
2015-10-16 20:55:58 +03:00
Carlo Kok
216ec33518
Merge pull request #113 from modulo7/master
...
EABI
2015-09-13 21:16:52 +02:00
modulo7
4a2a43c8ba
Remove commented out code
2015-09-13 18:46:37 +00:00
modulo7
ed095d93b5
Initialise sindex
...
Add copyright/contact details for us.
2015-09-13 18:19:35 +00:00
modulo7
0ede149fa6
Merge branch 'master' of https://github.com/remobjects/pascalscript
2015-08-15 21:15:41 +00:00
modulo7
7898234ad7
Merge branch 'master' of https://github.com/modulo7/pascalscript
2015-08-15 21:05:25 +00:00
modulo7
aa59bb1260
initial dynamic array return values implementation
2015-08-15 21:04:32 +00:00
modulo7
b31757f1e8
fill in asm implementation for old abi FPA return values in new return value
...
code.
2015-08-15 21:40:13 +01:00
evgenyk
630444be8e
XE9 support was added
2015-08-05 15:17:09 +03:00