Commit Graph

362 Commits

Author SHA1 Message Date
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
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
velter
3c81406c02 Patch for issue #67 2013-11-18 16:52:26 +01: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
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
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
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
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
evgenyk
5055e84d18 Merge branch 'master' of github.com:remobjects/pascalscript 2013-01-15 13:50:08 +02:00
evgenyk
ecf989d73e 0:PS_Core_D17 contains D16 paths 2013-01-15 13:48:00 +02:00
Martijn Laan
3e720bee8a Fix compiler errors introduced by commit 54a4cf632a. 2013-01-12 16:20:47 +01:00
Carlo Kok
9a4799fa0e * Patch by Martin Friebe for PowerPC: 1/2 byte sets; string return types 2012-12-19 19:55:14 +01:00
Carlo Kok
eacb338174 Merge branch 'master' of github.com:remobjects/pascalscript 2012-12-13 10:03:25 +01:00
Carlo Kok
007028ec83 Patch by Martin Friebe for PowerPC: power pc alignment. 2012-12-13 10:03:08 +01:00
Carlo Kok
93f63f3369 Merge pull request #26 from Falcon0/master
preprocessor fix
2012-12-10 00:42:40 -08:00
Carlo Kok
b0f3b0e8f2 Patch by Martin Friebe for PowerPC: allow passing self 2012-12-10 09:38:17 +01:00
Carlo Kok
557cf0038d Patch by Martin Friebe for issue #22. 2012-12-10 09:36:48 +01:00
Carlo Kok
54a4cf632a Patch by Martin Friebe to make sure 64bits pointers are never truncated 2012-12-10 09:34:45 +01:00
Carlo Kok
0a965adcfd Patch by Martin Friebe to align the stack properly on 64bits. 2012-12-10 09:32:51 +01:00
Carlo Kok
cc04fde37e Patch by Martin Friebe to align the stack properly on Darwin(OSX)/32bits. 2012-12-10 09:29:12 +01:00
evgenyk
e862929a34 .res should have PLATFORMTARGETS 2012-11-30 17:35:09 +02:00
evgenyk
3889508aa8 0: FPC: eDefines.inc should have the same timestamp in all products (EW, RO, DA, PS) 2012-11-28 11:46:10 +02:00
vovanl
b7544fcaf7 19:PascalScript isn't compiled with FPC 2.6.1+Win x64 2012-11-23 16:38:37 +02:00
vovanl
7572fb075d 19:PascalScript isn't compiled with FPC 2.6.1+Win x64 2012-11-23 16:37:36 +02:00
Falcon
91190cf525 Added ifdef 2012-09-21 23:10:19 +02:00
Falcon
c6d7c59ba8 Fixed pre processor not working under lazarus. Note that this fix is not mine, it comes from RemObject's bugtracker report which url i cannot find 2012-09-21 23:06:56 +02:00
evgenyk
52291ffbfc Merge branch 'master' of https://github.com/remobjects/pascalscript 2012-08-15 13:53:07 +03:00
evgenyk
c7be088946 eDefines.inc should be updated 2012-08-15 13:51:39 +03:00
Carlo Kok
a9e5df8d03 0: quick typo fix 2012-07-31 15:04:29 +02:00
Evgeny Karpov
86ecb1db1b D17 packages 2012-06-08 18:13:50 +03: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
vyacheslavd
ee3749e7b7 46955: PascalScript: Warning shows wrong row,col number in some constructions
git-svn-id: http://code.remobjects.com/svn/pascalscript@261 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2012-02-17 09:30:56 +00:00
evgenyk
521e58c043 x64 settings were added
git-svn-id: http://code.remobjects.com/svn/pascalscript@260 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2012-01-17 16:06:08 +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
30e34f56df 97: OSX crashes on single/floats (alignment)
git-svn-id: http://code.remobjects.com/svn/pascalscript@258 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-10-20 12:53:54 +00:00
evgenyk
6974813ee5 D16 packages were updated
git-svn-id: http://code.remobjects.com/svn/pascalscript@257 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-09-12 20:28:59 +00:00
evgenyk
3e99ef3bf0 D16 packages are updated
git-svn-id: http://code.remobjects.com/svn/pascalscript@256 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-09-07 12:14:46 +00:00
evgenyk
ab89211216 0: PascalScript_Core_D16.dproj was updated
git-svn-id: http://code.remobjects.com/svn/pascalscript@255 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-08-25 13:46:43 +00:00
evgenyk
f1a5a4a3c7 0: PascalScript_Core_D16.dproj was updated
git-svn-id: http://code.remobjects.com/svn/pascalscript@254 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-08-25 13:37:39 +00:00
evgenyk
fd2615dbaa 0: PascalScript_Core_D16.dproj was updated
git-svn-id: http://code.remobjects.com/svn/pascalscript@253 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-08-19 11:56:43 +00:00
evgenyk
96a347d74b 0: definitions for XE2 are fixed
git-svn-id: http://code.remobjects.com/svn/pascalscript@252 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-07-01 12:33:09 +00:00
ck
4df7233507 0: set the default prop for TDataset.
git-svn-id: http://code.remobjects.com/svn/pascalscript@251 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-04-11 06:16:47 +00:00
ck
3990729345 0: fix from Max Kleiner for default properties in db
git-svn-id: http://code.remobjects.com/svn/pascalscript@250 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-04-05 12:08:33 +00:00
evgenyk
033f6bb2fc D16 packages
git-svn-id: http://code.remobjects.com/svn/pascalscript@249 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-03-03 14:31:43 +00:00
ck
d7571d7ef9 make exportname = true the default.
git-svn-id: http://code.remobjects.com/svn/pascalscript@248 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-03-02 07:10:05 +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
evgenyk
ab7b319f48 0: better compatibility with Lazarus/FPC
git-svn-id: http://code.remobjects.com/svn/pascalscript@246 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-01-25 13:49:37 +00:00
mlaan
ebefbfc69f Changes from Jordan Russell:
-Make it possible to LoadDll from a path which contains Unicode characters
-Make it possible to reimplement and reuse UnloadDll.

git-svn-id: http://code.remobjects.com/svn/pascalscript@245 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2011-01-10 11:25:09 +00:00
ck
875121c9c7 Issue 132: "Unknown indentifier" inside unit (fixed by Lukas Gebauer)
git-svn-id: http://code.remobjects.com/svn/pascalscript@243 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-12-14 08:17:04 +00:00
ck
69b6a9418e 0: fix by max kleiner to register the Draw() api properly.
git-svn-id: http://code.remobjects.com/svn/pascalscript@241 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-11-26 07:31:24 +00:00
mlaan
b8e4be8b0c Fix UnitName warning just like the fix for uPSCompiler.
git-svn-id: http://code.remobjects.com/svn/pascalscript@240 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-10-14 09:13:59 +00:00
mlaan
73bb743fe1 Fixed DELPHI4UP vs. PS_NOINT64 vs. TStream.CopyFrom.
git-svn-id: http://code.remobjects.com/svn/pascalscript@239 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-10-14 08:49:17 +00:00
andreyt
86ec58bebd 0:fixed bug with Unit_Name property. Revert changes.
git-svn-id: http://code.remobjects.com/svn/pascalscript@238 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-09-28 11:54:20 +00:00
andreyt
d68fee08b3 0:fixed bug with Unit_Name property.
git-svn-id: http://code.remobjects.com/svn/pascalscript@237 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-09-28 11:52: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
23e041fb9b TStringList didn't have a constructor (thanks to Thorsten Engler/NexusDB)
git-svn-id: http://code.remobjects.com/svn/pascalscript@235 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-09-08 06:47:22 +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
65cb49fc68 0: tweak for fpc
git-svn-id: http://code.remobjects.com/svn/pascalscript@231 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-07-22 11:23:35 +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
f107c60821 wrong define in uPSDisassembly.
git-svn-id: http://code.remobjects.com/svn/pascalscript@229 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-06-11 06:44:55 +00:00
ck
3e9bd507d9 The OnProcessUnknownDirective and OnProcessDirective
we're switched when using them in TPSScript. (Raymond van Venentie)

git-svn-id: http://code.remobjects.com/svn/pascalscript@228 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-05-19 10:18:57 +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
c04e9eff0b 0: memory leak
git-svn-id: http://code.remobjects.com/svn/pascalscript@225 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-05-18 10:44:47 +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
evgenyk
a4670a3342 packages for D15
git-svn-id: http://code.remobjects.com/svn/pascalscript@223 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-05-11 15:08:04 +00:00
ck
00c20b1bb5 0: Proper type name for events.
git-svn-id: http://code.remobjects.com/svn/pascalscript@222 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-04-19 07:52:55 +00:00
ck
c681710031 0: MaskUtils in uses
0: Custum to Custom

git-svn-id: http://code.remobjects.com/svn/pascalscript@221 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-04-15 12:42:02 +00:00