Commit Graph

536 Commits

Author SHA1 Message Date
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
vdemidov
ff9f866b9f Add support of interface-variable to Assigned function
Assign function was compatible with classe, PChar and string but not compatible with interface.
2013-08-21 10:02:34 +03:00
evgeny-k
29944c0f5f Merge pull request #42 from JohnPeel/GetArrayLength-fix
GetArrayLength, First parameter doesn't need to be a variable.
2013-08-14 04:43:06 -07:00
Carlo Kok
4d34ea9ea2 Merge pull request #39 from lewinjh/master
Fixes to sets and enumerations
2013-08-08 11:54:39 -07:00
VietSmall
b31f8fe13e Create PascalScript_Core_DXe4.dproj
building script in osx
2013-06-25 15:20:49 +07:00
VietSmall
c6fac360fe Create PascalScript_Core_DXe4.dpk
building script in osx
2013-06-25 15:19:58 +07:00
VietSmall
aeeb913dc8 Update uPSRuntime.pas
building script in osx
2013-06-25 15:18:01 +07:00
John Peel
976b80b833 GetArrayLength, First parameter doesn't need to be a variable. 2013-06-08 00:02:15 -04:00
lewinjh
f8e612ceea - It is now possible to iterate over enumerations
- Added set functions Include and Exclude
2013-06-05 18:31:39 +10:00
Gregor A. Cieslak
85e8d5032b Fix Kylix compilation errors 2013-05-28 07:17:59 +02:00
Martijn Laan
be06654c13 Merge pull request #36 from mologie/fpc-property-helpers
Fix crash when using class property write helpers with FPC
2013-05-13 07:47:45 -07:00
Oliver Kuckertz
c6231301ef Formatting 2013-05-09 22:23:01 +02:00
Oliver Kuckertz
c8995a04db Fixed EOL woops 2013-05-09 21:45:01 +02:00
Oliver Kuckertz
bb0fa50fe6 Fixed passing procedure pointers from scripts to native code on FPC (now passes a pointer via EDX, previously copied the raw data onto the stack)
Fixed destroying non-existent heap variant after calling a class property write helper
2013-05-09 21:37:37 +02:00
evgenyk
db38ab6e43 typo in eDefines.inc 2013-04-09 11:51:28 +03:00
evgenyk
81e73f1ef1 Merge branch 'master' of github.com:remobjects/pascalscript 2013-04-01 11:56:48 +03:00
evgenyk
406a3606b0 fix for prev 2013-04-01 11:56:09 +03:00
Martijn Laan
e7f0d10e2d Fix compiler directive. Closes #34. 2013-03-29 13:52:12 +01:00
evgenyk
95ad648e97 XE4 packages 2013-03-28 17:20:31 +02:00
evgenyk
d7f14dfc4c Merge branch 'master' of github.com:remobjects/pascalscript 2013-01-18 17:07:43 +02:00
Martijn Laan
31abd29258 Fix Low/High/Inc/Dec's Int64 support. 2013-01-18 15:25:34 +01:00
Martijn Laan
ccad499426 Add StrToInt64Def.
Add comment pointing to the places where the standard funtions are defined.
2013-01-15 21:28:21 +01:00
Martijn Laan
cb79673bc5 The code for IntToStr on a Int64 doesn't actually work, fix it. Based on existing Int64ToStr implementation which does work. 2013-01-15 14:33:45 +01:00