Commit Graph

103 Commits

Author SHA1 Message Date
John Peel
976b80b833 GetArrayLength, First parameter doesn't need to be a variable. 2013-06-08 00:02:15 -04: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
3e720bee8a Fix compiler errors introduced by commit 54a4cf632a. 2013-01-12 16:20:47 +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
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
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
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
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
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
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
mlaan
df25ea9efe Fixed compile time type freeing bug.
git-svn-id: http://code.remobjects.com/svn/pascalscript@219 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-03-29 09:02:34 +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
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
3aea5a40f7 0: small fix for previous checkin.
git-svn-id: http://code.remobjects.com/svn/pascalscript@211 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-02-16 09:00:28 +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
35bbbc3267 Fix from the newsgroup for unit support
git-svn-id: http://code.remobjects.com/svn/pascalscript@207 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-02-11 17:40:08 +00:00
carlokok
778c87859a 0: fix for 2009/2010.
git-svn-id: http://code.remobjects.com/svn/pascalscript@198 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2010-01-11 09:38:09 +00:00
mlaan
32ac6ae048 Fix Slavomir Skopalik code for D2009+ (committed by ck rev 189)
git-svn-id: http://code.remobjects.com/svn/pascalscript@197 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-12-22 15:12:43 +00:00
carlokok
e001c2ed30 0: Make it work for non-unit support too
git-svn-id: http://code.remobjects.com/svn/pascalscript@196 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-12-18 09:48:32 +00:00
carlokok
74f19ac84e (code Review 1): patch for unit support http://code.remobjects.com/p/pascalscript/review/1/
git-svn-id: http://code.remobjects.com/svn/pascalscript@195 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-12-18 09:30:29 +00:00
carlokok
abe195487f (code review 2): fix for ProcessFor (Problem with Int64)
git-svn-id: http://code.remobjects.com/svn/pascalscript@194 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-12-18 09:26:11 +00:00
carlokok
997b869e43 2009 cc broke things for 7
git-svn-id: http://code.remobjects.com/svn/pascalscript@193 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-12-07 16:49:49 +00:00
carlokok
46a475884e Issue 58: Division with integer constants
git-svn-id: http://code.remobjects.com/svn/pascalscript@192 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-12-07 16:22:32 +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
carlokok
e549a9a978 Issue 48: Compiler validates as-casts incorrectly
git-svn-id: http://code.remobjects.com/svn/pascalscript@190 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-12-07 15:42:57 +00:00
carlokok
3859acd390 0: Improvement by Slavomir Skopalik to raise failures when a duplicate variable occurs
git-svn-id: http://code.remobjects.com/svn/pascalscript@189 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-10-19 06:23:24 +00:00
mlaan
19e10ba511 Added MakeError calls for ParseMethod's with a custom parser.
git-svn-id: http://code.remobjects.com/svn/pascalscript@185 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-10-05 13:58:44 +00:00
mlaan
e90a662b16 RegisterMethod fix for proper end parser position on functions.
git-svn-id: http://code.remobjects.com/svn/pascalscript@183 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-09-25 07:52:31 +00:00
mlaan
37ca375cb1 safecall -> stdcall
git-svn-id: http://code.remobjects.com/svn/pascalscript@182 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-09-24 19:17:38 +00:00
mlaan
ab5c795e2a Added basic parsing for interfaces so one can add IUnknown descendants from the script too.
git-svn-id: http://code.remobjects.com/svn/pascalscript@180 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-09-24 19:13:04 +00:00
mlaan
1889a03727 Fixed Unicode strings vs. Copy() and other functions accepting or returing AnyString type values.
git-svn-id: http://code.remobjects.com/svn/pascalscript@178 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-09-22 12:58:35 +00:00
carlokok
198b4b3586 61: 64bits support (far from done)
git-svn-id: http://code.remobjects.com/svn/pascalscript@161 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-08-13 12:46:17 +00:00
mlaan
b43ddc6a57 Register varUString.
git-svn-id: http://code.remobjects.com/svn/pascalscript@160 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-08-04 11:17:07 +00:00
carlokok
3e690e474a fix for unit support
git-svn-id: http://code.remobjects.com/svn/pascalscript@156 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-07-09 05:57:43 +00:00
carlokok
b04b9e30f5 issue 22 fix.
git-svn-id: http://code.remobjects.com/svn/pascalscript@150 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-06-08 08:26:11 +00:00
carlokok
7542b22042 FPC issue
git-svn-id: http://code.remobjects.com/svn/pascalscript@147 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-05-25 08:26:38 +00:00
carlokok
44f2182bf0 0006218: Possible Bug? #2
20: Bug in record assignment


git-svn-id: http://code.remobjects.com/svn/pascalscript@143 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-05-13 15:28:17 +00:00
carlokok
b52b161ec4 46: Variable redeclaration
git-svn-id: http://code.remobjects.com/svn/pascalscript@142 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-05-13 15:20:55 +00:00
carlokok
1f1f21d324 18: Code gives AV in runtime0006167: strong explicity
#18: Code gives AV in runtime


git-svn-id: http://code.remobjects.com/svn/pascalscript@141 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-05-13 15:18:46 +00:00
mlaan
65c087972f Fixed PS_NOINT64 compilation.
git-svn-id: http://code.remobjects.com/svn/pascalscript@137 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-05-12 09:41:16 +00:00
carlokok
c1eca8c038 17: FPC function parameter passing bug
git-svn-id: http://code.remobjects.com/svn/pascalscript@133 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-05-08 05:58:40 +00:00
carlokok
ab7dd49e4f 38: Concatenation of string not get the correct value
git-svn-id: http://code.remobjects.com/svn/pascalscript@131 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-05-04 10:21:30 +00:00
mlaan
dd1fa21ef2 Changed 2 UNICODE IFDEFs to PS_PANSICHAR IFDEFs to make Carlo happy :)
git-svn-id: http://code.remobjects.com/svn/pascalscript@129 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-04-07 16:48:53 +00:00
mlaan
2168259acf Fixed Unicode Char issue in better way: do add Char under Unicode, but as btWidechar.
TPSConstant.SetString needed a fix for this, it didnt handle btWidechar.

git-svn-id: http://code.remobjects.com/svn/pascalscript@128 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-04-07 16:37:45 +00:00
mlaan
0a31462fe5 Fix for indexing Unicode strings.
Char -> AnsiChar on PS_PANSICHAR.

git-svn-id: http://code.remobjects.com/svn/pascalscript@127 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-04-07 15:30:09 +00:00
carlokok
a91ec29598 Fix by Martijn for nested record
git-svn-id: http://code.remobjects.com/svn/pascalscript@125 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-04-07 05:37:38 +00:00
carlokok
753bd25689 Compiler changes van Martijn
git-svn-id: http://code.remobjects.com/svn/pascalscript@124 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-04-02 15:31:48 +00:00