Commit Graph

109 Commits

Author SHA1 Message Date
Martijn Laan
4781459e35 Added static array support to GetArrayLength. 2014-05-28 12:17:35 +02:00
pchev
8ce29b39c5 Comobj support for FPC 2014-05-19 10:11:51 +02:00
Carlo Kok
bfe6ebdfbe Merge pull request #75 from velter/patch-5
x64 fix + warnings remove
2014-05-04 09:44:59 +02:00
velter
3ef8cb458c Try to fix FPC failure 2014-05-03 08:44:00 +02:00
velter
db15d67e76 Remove warnings
Implicit conversion from ansi to unicode
2014-04-08 17:33:30 +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
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
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
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
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
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
Martijn Laan
5389059108 Fix compiler warnings introduced by #39. 2013-10-13 10:11:41 +02:00
VietSmall
aeeb913dc8 Update uPSRuntime.pas
building script in osx
2013-06-25 15:18:01 +07: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
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
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
Carlo Kok
557cf0038d Patch by Martin Friebe for issue #22. 2012-12-10 09:36:48 +01:00
Carlo Kok
a9e5df8d03 0: quick typo fix 2012-07-31 15:04:29 +02:00
evgenyk
e5a93a963f Fix classname case sensitivity
git-svn-id: http://code.remobjects.com/svn/pascalscript@262 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2012-03-22 19:04:55 +00:00
ck
5c618f5642 52008: PascalScript doesn't compile on Delphi XE2 Win64 platform.
git-svn-id: http://code.remobjects.com/svn/pascalscript@259 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-12-14 12:37:49 +00:00
ck
b276c09909 0: tweak for menuitem
git-svn-id: http://code.remobjects.com/svn/pascalscript@247 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-02-25 12:49:45 +00:00
ck
911bc3b7aa 0: Dropped all warnings in 2007+
git-svn-id: http://code.remobjects.com/svn/pascalscript@236 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-09-27 14:03:39 +00:00
ck
0a9ac85673 Patch from Frédéric Hannes for PS_NOWIDESTRING support.
git-svn-id: http://code.remobjects.com/svn/pascalscript@234 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-08-26 06:41:03 +00:00
mlaan
5bc0220ef8 Added a TPSExec.LastExObject (code by Jordan Russell).
git-svn-id: http://code.remobjects.com/svn/pascalscript@233 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-08-20 07:49:36 +00:00
ck
33b59e8b6c Changes from Frederic Hannes to improve unicode support.
git-svn-id: http://code.remobjects.com/svn/pascalscript@232 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-08-09 07:35:28 +00:00
ck
9675b8b9de Tweaks for d5 support from Eric Jansen eric.thuisremovethis@planet.nl
git-svn-id: http://code.remobjects.com/svn/pascalscript@230 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-07-08 09:28:01 +00:00
ck
0c720187dc 0: New "TPicture" support; better FPC support (Thanks Raymond van Venetie)
git-svn-id: http://code.remobjects.com/svn/pascalscript@227 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-05-19 06:24:27 +00:00
mlaan
8202c95910 Unicode fixes.
Trim comments fix.

git-svn-id: http://code.remobjects.com/svn/pascalscript@226 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-05-18 13:30:53 +00:00
ck
eb5569ba84 0: memory leak
git-svn-id: http://code.remobjects.com/svn/pascalscript@224 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-05-18 08:14:09 +00:00
ck
358ec2d054 Issue 111: Trim function doesn't work like in Delphi
Issue 112: PS_NOWIDESTRING flag

git-svn-id: http://code.remobjects.com/svn/pascalscript@218 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-03-29 07:29:09 +00:00
evgenyk
23aa1595e4 packages for D15
git-svn-id: http://code.remobjects.com/svn/pascalscript@217 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-03-18 22:30:30 +00:00
ck
5ace34133e < 2009 support.
git-svn-id: http://code.remobjects.com/svn/pascalscript@216 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-03-09 10:23:29 +00:00
ck
1356caab72 Issue 107: RegisterPublishedProperties can't support tkUString type in D2009 and UP
git-svn-id: http://code.remobjects.com/svn/pascalscript@215 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-03-08 15:24:06 +00:00
carlokok
f1540591c9 Issue 50: Exception message issue
git-svn-id: http://code.remobjects.com/svn/pascalscript@212 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-02-16 09:09:08 +00:00
carlokok
c9a24523c1 Issue 73: Using VarArrayCreate: Proper single dim variant array support
git-svn-id: http://code.remobjects.com/svn/pascalscript@208 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-02-16 08:46:09 +00:00
carlokok
c651034275 0: Fix by Nando Dessena.
git-svn-id: http://code.remobjects.com/svn/pascalscript@205 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-01-26 09:20:01 +00:00
carlokok
7e1cacc456 64bits tweaks
git-svn-id: http://code.remobjects.com/svn/pascalscript@201 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-01-13 11:56:00 +00:00
carlokok
3a20e22223 Issue 57: Comparison error
git-svn-id: http://code.remobjects.com/svn/pascalscript@191 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-12-07 15:52:26 +00:00
mlaan
a961ed9204 Fixed some warnings. Still a whole bunch left related to mixed signed/unsigned pointer arithmetics. Boo!
git-svn-id: http://code.remobjects.com/svn/pascalscript@179 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-09-24 19:07:27 +00:00
carlokok
20c06e1b05 0: Fix from Raymond van Veneti for Free Pascal arrays
git-svn-id: http://code.remobjects.com/svn/pascalscript@175 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-09-14 16:17:42 +00:00
carlokok
340ddb8528 0: Fix from Raymond van Venetie for Free Pascal arrays
git-svn-id: http://code.remobjects.com/svn/pascalscript@174 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-09-14 12:21:12 +00:00
carlokok
ca000215d7 0: Morefixes
git-svn-id: http://code.remobjects.com/svn/pascalscript@165 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-08-14 16:16:58 +00:00
carlokok
835f6a8d44 more tweaks for win64.
git-svn-id: http://code.remobjects.com/svn/pascalscript@164 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-08-14 13:47:28 +00:00
carlokok
ac92e2fd00 61: 64bits support
git-svn-id: http://code.remobjects.com/svn/pascalscript@162 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-08-13 18:53:50 +00:00