Commit Graph

7998 Commits

Author SHA1 Message Date
Jonas Maebe
6c6250c5b4 * fixed range check errors 2000-12-18 17:28:58 +00:00
Jonas Maebe
75bdddea4d * fixed constant range error 2000-12-18 14:01:42 +00:00
Jonas Maebe
c88779b691 * added cardinal typecast to avoid signed evaluation 2000-12-18 14:01:11 +00:00
Tomas Hajny
8cdeee3e63 * OS/2 implementation corrected and finished 2000-12-17 20:39:46 +00:00
peter
d083200fa1 * fixed crash with val() 2000-12-17 14:35:41 +00:00
peter
3315ad63d4 * fixed crash with procvar load in tp mode 2000-12-17 14:35:12 +00:00
peter
131b06c676 * uw1279 added 2000-12-17 14:35:02 +00:00
peter
cc3d72c9a1 * added fail 2000-12-17 14:34:41 +00:00
peter
de11db999d * removed debug writelns 2000-12-17 14:00:57 +00:00
peter
4df5f03ca7 * fixed static variables 2000-12-17 14:00:18 +00:00
peter
0283ad41dc * added missing %fail flags 2000-12-17 13:59:50 +00:00
Jonas Maebe
595bf10fa7 * fixed case statements with int64 values 2000-12-16 22:45:55 +00:00
Jonas Maebe
d3a8cc7fc8 * genintconstnode now returns cardinals instead of int64 constants if possible 2000-12-16 15:58:48 +00:00
Jonas Maebe
200e1d4b25 * removed warnings about possible range check errors 2000-12-16 15:58:18 +00:00
Jonas Maebe
48b2ad6e9a * avoid the longint + cardinal to int64 conversion (merged Pierre's patch) 2000-12-16 15:57:52 +00:00
Jonas Maebe
0293387955 * removed 64bit evaluations when range checking is on 2000-12-16 15:57:16 +00:00
Jonas Maebe
4f791d04b4 - removed all ifdef cardinalmulfix code 2000-12-16 15:56:18 +00:00
Jonas Maebe
e9544a1eb9 + warning when there is a chance to get a range check error because of
automatic type conversion to u32bit
  * arithmetic operations with a cardinal and a signed operand are carried
    out in 64bit when range checking is on ("merged" from fixes branch)
2000-12-16 15:55:32 +00:00
Jonas Maebe
12371eaa07 + warning when there is a chance to get a range check error because of
automatic type conversion to u32bit
2000-12-16 15:54:52 +00:00
Jonas Maebe
519abba1ff * 'resulttype of cardinal shl/shr x' is cardinal instead of longint 2000-12-16 15:54:01 +00:00
peter
21486921af * fixed parsing of strings and comments in skipuntildirective 2000-12-16 15:36:02 +00:00
peter
09cebb518b * reported bugs 2000-12-16 15:33:29 +00:00
peter
29bdb0b698 * fixed disksize to return -1 on error 2000-12-16 15:27:15 +00:00
Jonas Maebe
0a70f9b06e * only return int64's from functions if it int64funcresok is defined
+ added int64funcresok define to options.pas
2000-12-15 13:26:01 +00:00
Jonas Maebe
7199d2f851 * fixed range check errors 2000-12-15 13:16:30 +00:00
michael
62950eb5c5 + Fix from Peter 2000-12-15 12:13:52 +00:00
Tomas Hajny
29a859f481 * initial version 2000-12-14 19:40:02 +00:00
Tomas Hajny
1f6b42c528 * made compilable for OS/2 target 2000-12-14 19:26:34 +00:00
sg
5504699c9b * Merged bugfix for bug #1273 from fixbranch
* Fixed typo in SetFloatProp
* Rewrote GetStrProp, now all AnsiString will be correctly
  reference counted
2000-12-13 23:28:17 +00:00
peter
8493fd9be9 * more webbugs added 2000-12-12 19:54:19 +00:00
peter
1013c7e592 * merged 2000-12-12 19:52:22 +00:00
peter
cf381a7f48 * clear usedasmsymbol at exit of writetree 2000-12-12 19:50:21 +00:00
peter
441e44a83d * fixed for win32 and go32v2 2000-12-12 19:49:41 +00:00
peter
5a1b6aa084 * fixed lost char after $I directive (merged) 2000-12-12 19:48:52 +00:00
Jonas Maebe
4b7aa484f1 * fixed range checking of cardinal constants
* fixed range checking of "qword constants" (they don't really exist,
    but values > high(int64) were set to zero if assigned to qword)
2000-12-11 19:13:54 +00:00
Jonas Maebe
585b5f2e00 * fixed web bug #1144
+ implemented range checking for 64bit types
2000-12-11 19:10:19 +00:00
Jonas Maebe
11ab2b888a * compiles with 1.1 2000-12-11 18:10:13 +00:00
Jonas Maebe
c044b35eb0 + added %recompile flag 2000-12-11 12:13:41 +00:00
peter
0bee4f7cb9 * fixed missing typecast 2000-12-10 20:25:32 +00:00
peter
f6eaa4c02b * allow subtypes for enums 2000-12-10 20:24:18 +00:00
florian
5e9dbab759 * val for int64 hopefully works now correct 2000-12-10 15:00:14 +00:00
florian
4cd1fca062 * fixed 2000-12-10 14:15:02 +00:00
florian
5d57010458 * fixed web bug #1203: class fields can be now redefined
in Delphi mode though I don't like this :/
2000-12-10 14:14:51 +00:00
florian
af6d5083b3 no message 2000-12-10 14:05:06 +00:00
peter
7c436e40e5 * win32 and go32v2 updates 2000-12-10 12:08:11 +00:00
florian
9e14dafee3 * helper name of val for qword fixed 2000-12-09 22:51:37 +00:00
florian
7a03f8f3b2 no message 2000-12-09 22:28:27 +00:00
florian
bd0d141b08 * val for dword and qword didn't handle the max values
correctly
  * val for qword works again
  + val with int64/qword and ansistring implemented
2000-12-09 20:52:40 +00:00
florian
6c5f5dc199 no message 2000-12-09 20:45:45 +00:00
florian
ba185a02c5 no message 2000-12-09 20:38:24 +00:00