Commit Graph

536 Commits

Author SHA1 Message Date
marc hoffman
e2f657e2c1 Moved & updated license. 2014-12-08 11:20:32 +01:00
marc hoffman
abc32923f4 Moved & updated license. 2014-12-08 09:22:16 +01:00
marc hoffman
7412eb9a66 Moved & updated license. 2014-12-08 09:20:51 +01:00
Martijn Laan
db0d6f5211 Added VarIsClear on Delphi 7 and up. Might also be available under Delphi 6 but not sure. 2014-11-12 14:52:49 +01:00
evgenyk
8f72c06007 fix for #87 2014-09-11 19:09:04 +04:00
evgenyk
504f91e454 69440: PS: add XE7 support 2014-09-04 18:14:29 +04:00
Carlo Kok
40d960bef9 Merge pull request #89 from ccy/master
Fix procedure CheckPackagePtr doesn't work in Win64 application built wi...
2014-08-12 07:51:25 +02:00
Chau Chee Yang
d4f64bb62c Fix procedure CheckPackagePtr doesn't work in Win64 application built with runtime packages 2014-08-12 12:04:56 +08:00
Carlo Kok
14dcc5133d 0: Small regression in parameters that go on the stack 2014-07-28 23:03:36 +02:00
Carlo Kok
2d5975afe8 #87 fixes single and doubles not handled for Lazarus x86-64 Windows 2014-07-24 16:55:05 +02:00
Martijn Laan
97eefc260b Actually use MemDelta on TPSStack.AdjustLength. 2014-07-08 15:49:48 +02:00
Martijn Laan
0f3d4a14d0 Add TStringStream and TStrings.ValueFromIndex. 2014-07-08 15:47:14 +02:00
Martijn Laan
5e9416fd41 Fix lowered visibility warnings. 2014-07-08 15:21:56 +02:00
Carlo Kok
28416e5e64 Merge pull request #86 from lewinjh/master
Fixed warnings showing row/column number as zero in some cases
2014-07-06 21:46:00 +02:00
Lewin
0386f8f05a Fixed warnings showing row/column number as zero in some cases 2014-07-07 02:18:44 +10:00
evgenyk
d30f5e9e4d Merge branch 'master' of github.com:remobjects/pascalscript 2014-06-26 16:47:55 +03:00
evgenyk
c63e53aeb8 68543: Missing reference in PascalScriptRO package 2014-06-26 16:47:35 +03:00
Carlo Kok
70b4e1a851 Merge pull request #81 from velter/patch-9
Compiler bug in const arrays
2014-06-25 18:17:31 +02:00
Carlo Kok
390ee15ad1 Merge pull request #82 from velter/patch-8
Proposal to prevent duplicate definition
2014-06-25 18:16:54 +02:00
Carlo Kok
5d00e6cfb9 Merge pull request #83 from FHannes/master
Some minor changes
2014-06-11 20:39:55 +02:00
Frédéric Hannes
df155c4640 Minor tweak in compiler 2014-06-11 19:47:12 +02:00
Frédéric Hannes
8d2286385f Added __history to gitignore 2014-06-11 19:47:01 +02:00
Martijn Laan
4781459e35 Added static array support to GetArrayLength. 2014-05-28 12:17:35 +02:00
velter
5967ab113b Update Duplicate definition change 2014-05-27 16:05:00 +02:00
velter
9dd1dd0111 Compiler bug in const arrays
There a compiler bug in array constants. A construct like

procedure B(eType : TObject);
begin
	if eType is TObject then ;
end;

function A(eVal : int32) : booleen;
begin
	result:=not(eVal in [1,2]);
end;         

begin
	A(1);
	A(2);
	A(3);
end;


Cause an AV in UpsCompiler line 6185. The root cause is the use of FindAndAddType with no name. The function return the last created anonymous type. In the previous sample it's a Type created by the "is" operator which is not an array. Casting it to TPSArrayType lead to the AV.
2014-05-27 14:51:17 +02:00
Carlo Kok
b0c5d5fece Merge pull request #80 from pchev/master
Comobj support for FPC
2014-05-19 10:43:18 +02:00
pchev
8ce29b39c5 Comobj support for FPC 2014-05-19 10:11:51 +02:00
velter
98145c07a1 Allow forward declaration 2014-05-07 11:36:31 +02:00
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