Commit Graph

408 Commits

Author SHA1 Message Date
velter
980d731d32 Proposal to prevent duplicate register
Add a new property to control the behavior. By default, the behavior is not changed. Setting AllowDuplicateRegsiter to false will raise an exception each time a class/interface/function register a name already known.
2014-05-07 09:59:55 +02:00
Carlo Kok
b015e2522a Merge pull request #79 from velter/patch-6
Yet another x64 bug fix
2014-05-07 08:47:55 +02:00
velter
08d2743af9 Yet another x64 bug fix
Currency type is internally an int64. Casting its binary representation in RAX to an an int64 and affecting it to a currency will result in a *10000 multiplication.
2014-05-07 08:38:16 +02:00
Carlo Kok
fce4394925 Merge pull request #76 from lewinjh/master
Defining a "set of byte" no longer requires casting each element to byte
2014-05-04 10:09:52 +02:00
Lewin
c68d42b839 Merge branch 'master' of https://github.com/remobjects/pascalscript 2014-05-04 18:06:17 +10:00
Carlo Kok
bfe6ebdfbe Merge pull request #75 from velter/patch-5
x64 fix + warnings remove
2014-05-04 09:44:59 +02:00
Carlo Kok
8f849ea3f8 Merge pull request #77 from velter/patch-6
Fix FPC regression
2014-05-04 09:44:30 +02:00
velter
3ef8cb458c Try to fix FPC failure 2014-05-03 08:44:00 +02:00
Lewin
2c9dc5455c Defining a "set of byte" no longer requires casting each element to byte 2014-04-26 20:06:44 +10:00
evgenyk
853f9ec0a6 XE6 support was added 2014-04-16 13:09:14 +03:00
velter
561066d5cd Remove warnings
Implicit conversion from Ansi to Unicode
2014-04-08 17:35:29 +02:00
velter
db15d67e76 Remove warnings
Implicit conversion from ansi to unicode
2014-04-08 17:33:30 +02:00
velter
af0f3e069f Record returning functions x64
Make them work. Currently, the result is not passed on the stack leading to stack corruption
2014-04-08 17:29:17 +02:00
evgenyk
efa39a728e #46 and #47 were removed. 2014-03-11 10:18:28 +02:00
Carlo Kok
17250fabde Merge pull request #45 from VietSmall/patch-3
Update uPSRuntime.pas
2014-03-11 08:05:03 +01:00
Carlo Kok
010d4c320f Merge pull request #46 from VietSmall/patch-4
Create PascalScript_Core_DXe4.dpk
2014-03-11 08:04:46 +01:00
Carlo Kok
ffd96a5ee7 Merge pull request #47 from VietSmall/patch-5
Create PascalScript_Core_DXe4.dproj
2014-03-11 08:04:32 +01:00
Carlo Kok
96b415f190 Merge pull request #66 from geby/master
Removed undesirable typecast to WideString
2014-03-11 08:04:15 +01:00
Carlo Kok
1b6d5ac13b Merge pull request #70 from velter/patch-3
Remove warnings
2014-03-11 08:03:34 +01:00
evgenyk
2f5e0ceae1 0: D7: problem with compiling 2014-01-28 13:18:17 +02:00
Carlo Kok
9c79114c84 Update uPSUtils.pas 2014-01-26 16:05:34 +01:00
Carlo Kok
c2537de286 Update uPSUtils.pas 2014-01-26 16:03:56 +01:00
vovanl
0436da194f 65875: PS: AV when we use String result for x64 2014-01-16 16:55:26 +02:00
evgenyk
8f304011aa {$I PascalScript.inc} was removed 2013-12-26 18:21:48 +02:00
evgenyk
34982c8362 BuildPackages were removed 2013-12-26 10:17:37 +02:00
Carlo Kok
94c5198fd1 0: Cast to IPointer instead of Cardinal for 64bits Pascal SCript 2013-12-03 12:42:38 +01:00
evgeny-k
4f0682d518 Merge pull request #69 from velter/patch-2
Dynamic array handling
2013-11-18 08:50:41 -08:00
velter
36f007a7f2 Remove a warning 2013-11-18 17:34:49 +01:00
velter
986be14bfd Cosmetic change
It's better to use the VUnicodeString when casting to UnicodeString. This does not change anything in the result, but make the code clearer.
2013-11-18 17:31:22 +01:00
velter
6b3c6ae3ad Remove a warning 2013-11-18 17:27:44 +01:00
velter
9770856284 Dynmaic array handling
Dynamic array handling is severely broken on delphi x64 because the array header layout is different from 32bit (related to issue #63).

This patch refactor the handling by defining the header structure as a record to access refcount and length. I have done basic testing on x32 and x64 (Delphi XE2) and this works for the tests I have done. The header definition I have found for FPC include a function to get the length (the old code ignore this). I'm not familiar enough with FPC and someone will need to check if this patch need some adjustment for FPC.
2013-11-18 17:18:38 +01:00
Carlo Kok
8ec03b8cfb Merge pull request #68 from velter/patch-1
Patch for issue #67
2013-11-18 07:54:07 -08:00
velter
3c81406c02 Patch for issue #67 2013-11-18 16:52:26 +01:00
evgenyk
b06a4e3970 uXMLToRODL is added to uses section 2013-11-18 13:47:18 +02:00
evgenyk
e5817ea7d6 DataAbstract integration was added 2013-11-11 12:57:12 +02:00
evgenyk
d89a458e0a DataAbstract integration was added 2013-11-08 13:00:14 +02:00
evgenyk
85a15f6c03 DataAbstract integration was added 2013-11-08 11:12:36 +02:00
evgenyk
c0494c1564 RO SDK integration was moved to Addon\RemObjects SDK 2013-11-08 11:10:42 +02:00
geby
3cbd7e5628 - GetUnicodeString was same as GetWideString before. Improved to faster default conversions.
- Corrected result of 'plus' string operation to UnicodeString.
2013-11-07 14:30:46 +01:00
geby
b465a0cc9a PSGetUnicodeString was same as PSGetWideString. Removed undesirable typecast to WideString. Runtime is much faster now! 2013-11-07 14:11:34 +01:00
Carlo Kok
c92d51ca98 Merge pull request #65 from geby/master
Missing types in BT2S function.
2013-11-07 04:25:00 -08:00
geby
8109ae5384 Missing types in BT2S function. 2013-11-07 13:17:47 +01:00
Carlo Kok
3c93994501 Merge pull request #37 from Shoozza/kylix-compatibility-fix
Fix Kylix compilation errors
2013-11-07 03:47:43 -08:00
Gregor A. Cieslak
d7c5abb24f Fix IF/IFEND breaking Delphi2/Delphi3 support 2013-11-07 09:49:35 +01:00
Carlo Kok
555cc40c27 Merge pull request #64 from pier2013/patch-1
Update x64.inc
2013-11-04 12:22:15 -08:00
pier
bae521b293 Update x64.inc
fixed x64 floating point argument passing. see #29 and #32
2013-11-04 17:08:20 +01:00
Martijn Laan
5389059108 Fix compiler warnings introduced by #39. 2013-10-13 10:11:41 +02:00
evgenyk
4f0c868f31 XE4,XE5 support 2013-09-13 17:00:32 +03:00
evgenyk
60d39dc0ec #53: FCL(runtime) and LCL(designtime) 2013-08-21 13:51:20 +03:00
Carlo Kok
0a1dd69b31 Merge pull request #55 from vdemidov/master
Add support of interface-variable to Assigned function
2013-08-21 00:24:54 -07:00