Commit Graph

764 Commits

Author SHA1 Message Date
Jonas Maebe
f6864a653f * don't warn about possible use of uninitialised function results of
parent procedures in nested procedures (bug 4675)

git-svn-id: trunk@2287 -
2006-01-14 15:34:38 +00:00
Jonas Maebe
d87a52fcca * disabled writeln to avoid dbdigest getting confused while parsing
garbage output

git-svn-id: trunk@2244 -
2006-01-09 15:49:03 +00:00
Jonas Maebe
9f8753c6c0 * fixed web bug #4669 (usage of location.loc instead of expectloc)
git-svn-id: trunk@2236 -
2006-01-08 21:11:04 +00:00
Jonas Maebe
21d51d8815 + tests for web bugs 3183 and 4403
git-svn-id: trunk@2170 -
2006-01-04 22:47:28 +00:00
Jonas Maebe
9c2ee3a722 * fixed web bug #4086: do not create a refcounted temp for
interface temps created for complex callnodes

git-svn-id: trunk@2165 -
2006-01-04 21:07:10 +00:00
florian
be74e017d4 * fixed VarAsType with varSingle, fixes bg 4634
git-svn-id: trunk@2159 -
2006-01-04 15:17:59 +00:00
Jonas Maebe
43af4ed0b3 + added
git-svn-id: trunk@2157 -
2006-01-04 12:12:58 +00:00
Jonas Maebe
58381ff7b6 * made chararray handling 98% TP-compatible, fixes web bugs 3012
and 4080. The compatibility differences are:
      a) writing a chararray which is zero-based but not zero-
         terminated does not cause a buffer overflow
      b) non-zero-based chararrays can also be read

    The difference was that previously, all chararrays were treated
    as pchars. In TP/Delphi (and now also in FPC), this is only done
    for zero-based chararrays. For non-zero-based ones, the entire
    contents of the array should always be used (including #0's).

    The default parameters in the system unit for the chararray
    helpers are to avoid having to use a define for bootstrapping.

git-svn-id: trunk@2152 -
2006-01-04 10:05:10 +00:00
tom_at_work
c637f452e5 * disable tw3893 for 64 bit cpus because it tests some 32 bit specific casting
git-svn-id: trunk@2145 -
2006-01-03 21:17:36 +00:00
Jonas Maebe
89523d390b * fixed web bugs 4574 and 4575
+ added combined test for these bugs

git-svn-id: trunk@2119 -
2006-01-02 17:54:39 +00:00
Jonas Maebe
5ccbeea1d3 + support for "return x" as equivalent for "exit(x)" in macpas mode
git-svn-id: trunk@2042 -
2005-12-23 22:49:15 +00:00
peter
710ea0edf0 * fix enum support in vecn in symlists
git-svn-id: trunk@2035 -
2005-12-23 14:11:29 +00:00
Jonas Maebe
d6ea5d6bde * fixed to work after the changes in the handling of mode switching
git-svn-id: trunk@2014 -
2005-12-20 20:32:43 +00:00
peter
47c1bb60b4 * remove svn:executable from *.pp and *.pas
git-svn-id: trunk@1997 -
2005-12-20 08:11:59 +00:00
peter
717c2172eb * support db $01 db $02
git-svn-id: trunk@1996 -
2005-12-20 07:59:11 +00:00
peter
f618792e01 * new test
git-svn-id: trunk@1994 -
2005-12-20 07:29:12 +00:00
peter
739ea825d4 * fix sizeof(array of const)
git-svn-id: trunk@1954 -
2005-12-15 08:58:45 +00:00
Jonas Maebe
b3b104130d * compiler discerns between +0.0 and -0.0
+ test for the above

git-svn-id: trunk@1917 -
2005-12-10 20:37:17 +00:00
Jonas Maebe
0cfea2fac0 + added
git-svn-id: trunk@1889 -
2005-12-06 19:47:10 +00:00
florian
46ecdc8f94 * allow pred/succ on non continous enumerations in delphi mode
git-svn-id: trunk@1878 -
2005-12-04 18:35:19 +00:00
florian
3a81473a05 * initial revision
git-svn-id: trunk@1877 -
2005-12-04 18:29:29 +00:00
florian
446c24ed77 * fixed StrToFloat for large constants
git-svn-id: trunk@1817 -
2005-11-24 20:50:40 +00:00
florian
b6a48cfa0a * fixes 4519, applied patch from Martin Schreiber to do so
git-svn-id: trunk@1811 -
2005-11-23 21:14:32 +00:00
florian
c28e41ab03 * test for last commit
git-svn-id: trunk@1808 -
2005-11-23 19:32:19 +00:00
florian
aa22e57a7e * fixed issue with static fields
git-svn-id: trunk@1803 -
2005-11-22 22:08:11 +00:00
florian
350c886460 + support exit();
git-svn-id: trunk@1802 -
2005-11-22 21:27:56 +00:00
florian
c43e2df522 * copying of classes fixed, closes 3930
git-svn-id: trunk@1791 -
2005-11-20 09:11:23 +00:00
tom_at_work
f1733aed59 * fix of test tw3697 for unix platforms
git-svn-id: trunk@1776 -
2005-11-16 21:08:30 +00:00
peter
9a8dc6bfb2 * store hidden symbols correctly in ppu
git-svn-id: trunk@1751 -
2005-11-15 08:35:01 +00:00
peter
e00ef44479 * fix boolean range parsing false..true
* allow set of boolean

git-svn-id: trunk@1690 -
2005-11-08 09:11:39 +00:00
florian
01249991dc * auto close window
git-svn-id: trunk@1658 -
2005-11-05 14:48:00 +00:00
florian
c1e968abf9 + binary operator support for booleans in variants
git-svn-id: trunk@1642 -
2005-11-04 21:05:18 +00:00
florian
ba22b0b3af + format("%d",[<qword>]); fixes 4489
git-svn-id: trunk@1640 -
2005-11-04 19:01:33 +00:00
florian
236586e749 * made test i386 only, freezes at least on amd64 for unknown reasons
git-svn-id: trunk@1638 -
2005-11-03 21:16:53 +00:00
tom_at_work
6c0225cef6 * fixed webbug 4201 which does not properly clean up all threads, causing (program) freeze
git-svn-id: trunk@1633 -
2005-11-02 19:59:17 +00:00
Jonas Maebe
fa8119280b * fixed for cpu's where real = extended (= double)
git-svn-id: trunk@1581 -
2005-10-23 17:07:58 +00:00
peter
f1af7cfe8f * generate implicit 0+<x> for +<x> expressions
git-svn-id: trunk@1556 -
2005-10-21 07:46:14 +00:00
peter
19eaf660c2 * more flexibel support for typecasting to different sizes
fixes tw4450
      

git-svn-id: trunk@1544 -
2005-10-20 11:13:49 +00:00
peter
f3bfe5735c * fix typo
git-svn-id: trunk@1543 -
2005-10-20 10:52:56 +00:00
florian
46c9d03d82 * initial revision
git-svn-id: trunk@1538 -
2005-10-19 19:25:49 +00:00
florian
43a60ccfe2 * initial version
git-svn-id: trunk@1537 -
2005-10-19 19:21:32 +00:00
florian
e1b34a9e7b * cleaning up sets for exports behaviour
+ allow exports from units

git-svn-id: trunk@1535 -
2005-10-19 19:06:45 +00:00
peter
8112a73904 * linklib c is only for unix
git-svn-id: trunk@1530 -
2005-10-19 12:16:29 +00:00
peter
f9db030350 * fix overload choosing if both normal proc and proc of object are available
git-svn-id: trunk@1496 -
2005-10-19 07:56:08 +00:00
peter
0723391a8b * remove readln;
git-svn-id: trunk@1493 -
2005-10-19 06:55:07 +00:00
peter
260861e184 * calculate distance between related objectdefs
git-svn-id: trunk@1492 -
2005-10-19 06:38:29 +00:00
peter
09a0dff4da * prefer object->object over object->intf
git-svn-id: trunk@1491 -
2005-10-19 06:36:10 +00:00
peter
e23519c45b * support A1,A2,A4,A8 directives
git-svn-id: trunk@1488 -
2005-10-19 05:54:27 +00:00
peter
632bdcd149 * $W switch sets the localswitch cs_generate_stackframes that can be
used in the future

git-svn-id: trunk@1487 -
2005-10-19 05:50:26 +00:00
peter
8d9e9b24a6 * convert constant widestring to ansistring before assigning to pchar
git-svn-id: trunk@1482 -
2005-10-18 20:49:23 +00:00