Commit Graph

28244 Commits

Author SHA1 Message Date
joost
eb34e7b96d * Added Meta, Link and Script methods to THTMLWriter
* Fixed typo Attrubute - Attribute

git-svn-id: trunk@10469 -
2008-03-09 20:00:53 +00:00
Jonas Maebe
c2e3b7067f + added {$goto on} so it still compiles on systems without a
default config file (or one without -Sg in it)

git-svn-id: trunk@10468 -
2008-03-09 19:34:22 +00:00
micha
b96823997d + add "FILES" variable for testsuite tests: list of files required by test needing to be copied to remote target
git-svn-id: trunk@10467 -
2008-03-09 18:25:25 +00:00
florian
00ae5d1d5d + correct parsing interface delegation through classes
git-svn-id: trunk@10466 -
2008-03-09 11:16:05 +00:00
Jonas Maebe
161b29bcb2 * fixed fcl-db dependencies for darwin and solaris
git-svn-id: trunk@10465 -
2008-03-09 11:06:44 +00:00
Jonas Maebe
8adc596c16 - revert fix for #10927: the old behaviour was Delphi compatible,
and the fix caused other problems (#10979)

git-svn-id: trunk@10464 -
2008-03-08 18:17:31 +00:00
florian
48fb130be3 * fixed fpu type setting for avr
git-svn-id: trunk@10463 -
2008-03-08 17:09:40 +00:00
florian
ed540dc7c1 * fixed copy&paste error in rev. 10460
git-svn-id: trunk@10462 -
2008-03-08 14:05:04 +00:00
micha
89e9d4ab17 * fix int64 multiplication on armeb
git-svn-id: trunk@10461 -
2008-03-08 13:02:51 +00:00
micha
f70c24435d * fix int64 result passing on armeb
git-svn-id: trunk@10460 -
2008-03-08 13:02:33 +00:00
Tomas Hajny
af8e750f2d * fixed missing letter in previous fix
git-svn-id: trunk@10459 -
2008-03-08 06:49:27 +00:00
florian
c544d97de9 * fix edsp instructions detection
git-svn-id: trunk@10458 -
2008-03-07 21:51:14 +00:00
florian
6dc34ae467 * updates of german error message file by Karl-Michael Schindler
git-svn-id: trunk@10457 -
2008-03-07 21:01:12 +00:00
Jonas Maebe
005bdc1af4 * fixed "inherited some_property" constructs for getters/setters
(mantis #10927)
  * extended the tb0259 test a bit (tests similar constructs in
    case there is no getter/setter)

git-svn-id: trunk@10456 -
2008-03-07 19:29:40 +00:00
Jonas Maebe
931aef4daa * make result of not(constant) (with constant type <= sinttype)
equal to sinttype (Delphi-compatible, fixes #10966)
  * changed not(cardinal_constant) into sinttype on 64 bit
    platforms for consistency with other similar rules (and with
    the above change)

git-svn-id: trunk@10455 -
2008-03-07 16:33:15 +00:00
Jonas Maebe
1885e247b4 * fixed test for 64 bit platforms
git-svn-id: trunk@10454 -
2008-03-07 09:15:03 +00:00
florian
914a8ec4b4 * convert the array into a variant as well before calling fpc_variant_put, resolves #10495
git-svn-id: trunk@10453 -
2008-03-06 22:15:04 +00:00
Jonas Maebe
0ae33aeab0 * the result of not(dword(ordconst)) has to be dword as well for Delphi
compatibility (and to avoid range errors like in mantis #10931)

git-svn-id: trunk@10451 -
2008-03-06 21:36:32 +00:00
Jonas Maebe
761f2e5c93 * fixed constant evaluation of not(byte/word/long/quadbool) + test
git-svn-id: trunk@10450 -
2008-03-06 20:29:27 +00:00
florian
ff03c9569d * fixed writing of long strings when using the crt unit on win32, resolves #8843
git-svn-id: trunk@10449 -
2008-03-06 20:20:29 +00:00
Tomas Hajny
5ffdd04040 * reenabled fcl-db dependencies on external DB libs for Win64 (previously excluded by mistake)
git-svn-id: trunk@10448 -
2008-03-06 16:06:19 +00:00
Tomas Hajny
6310fb5a84 * limit fcl-db dependency on interface units for external db libs to targets where these are supported, avoid numlib on targets not supporting libraries
git-svn-id: trunk@10447 -
2008-03-06 04:10:51 +00:00
Jonas Maebe
632570fc74 * fixed compilation with 2.2.0 on big endian systems after r10432
git-svn-id: trunk@10443 -
2008-03-04 23:21:52 +00:00
Jonas Maebe
b24caad870 * fixed x86_64 after r10422
git-svn-id: trunk@10442 -
2008-03-04 23:13:44 +00:00
florian
efe31d965c * made default arm-linux compiler little endian again
git-svn-id: trunk@10440 -
2008-03-04 10:19:53 +00:00
joost
d36d7a7e01 * Added TDataset.DataEvent tests
* Initialise the connector manually in the console-application, for better error messages in case of connection problems

git-svn-id: trunk@10439 -
2008-03-03 22:00:37 +00:00
micha
3a8284b524 * add missing gencurr.inc belonging to revision 10422
git-svn-id: trunk@10438 -
2008-03-03 21:39:19 +00:00
micha
ebba2f1185 * add missing currh.inc belonging to revision 10422
git-svn-id: trunk@10437 -
2008-03-03 21:34:40 +00:00
marco
c8da24f732 * comment fix #10781
git-svn-id: trunk@10435 -
2008-03-03 08:28:26 +00:00
florian
9cf28285b6 + delphi compatible overloads, resolves #10923
git-svn-id: trunk@10434 -
2008-03-02 22:11:37 +00:00
Jonas Maebe
7524d9f8ca * fixed wrong check in r10432 causing an internalerror for ppc/ppc64
git-svn-id: trunk@10433 -
2008-03-02 20:00:52 +00:00
peter
8f239d04b6 * cleanup and simplify the set type handling
git-svn-id: trunk@10432 -
2008-03-02 17:48:27 +00:00
joost
400ad32882 * Set Modified to false when te state of a dataset changes
git-svn-id: trunk@10431 -
2008-03-02 17:08:16 +00:00
florian
39250de33a * don't load stack size value when generic stack checking is done, resolves #10924
git-svn-id: trunk@10429 -
2008-03-02 16:44:08 +00:00
marco
a7370144f0 * patch from Olivier
git-svn-id: trunk@10428 -
2008-03-02 16:43:06 +00:00
peter
b7ebebe7fd * fixed char constant to formal const
git-svn-id: trunk@10427 -
2008-03-02 15:01:08 +00:00
peter
761344e9fc * don't allow passing ordinal and real constants to formal const parameters
git-svn-id: trunk@10426 -
2008-03-02 15:00:32 +00:00
peter
f915cbc4ca * replace constants to formal const with variables
git-svn-id: trunk@10425 -
2008-03-02 14:01:22 +00:00
peter
85e904cb36 * fix range error
git-svn-id: trunk@10424 -
2008-03-02 14:00:38 +00:00
micha
83b7f81f81 + add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone)
git-svn-id: trunk@10422 -
2008-03-02 12:59:02 +00:00
Jonas Maebe
d80d3f36d2 * fixed crash when writing a currency value with a specified number
of fractional digits in case it's not the last value of the
    write(ln) statement (mantis #10920)

git-svn-id: trunk@10421 -
2008-03-02 10:22:25 +00:00
Jonas Maebe
b8e904f531 + also test "pointer + integer" constant evaluation
git-svn-id: trunk@10420 -
2008-03-02 09:58:29 +00:00
Jonas Maebe
22f02977ca * fixed warnings now that "longint or cardinal" gives a 64 bit result
(part of r10418, forgot to commit)

git-svn-id: trunk@10419 -
2008-03-02 09:44:14 +00:00
Jonas Maebe
97f4c0a130 * call taddnode.simplify at the very end of taddnode.pass_typecheck, so
it doesn't have to duplicate any type checking code, and so constant
    expressions get the same resultdefs as non-constant expressions
  * properly fixed resultdef determination of "set + setelementn" (follows
    same rules now as "set + set")
  * also convert "longint or/xor cardinal" to int64 (needed for correct
    results with negative numbers and Delphi-compatible) + test
  * extended 64-to-32 type conversion simplification to also handle
    or/xor nodes (so if the result is typecasted back to 32 bit, the
    evaluation can still be done entirely in 32 bit). These changes also
    enable that optimization in some extra cases (not just anymore for
    expressions containing only uint32)

git-svn-id: trunk@10418 -
2008-03-01 20:48:50 +00:00
florian
288fb08f09 + more implements tests
git-svn-id: trunk@10417 -
2008-03-01 20:41:28 +00:00
florian
1b4071d930 + first test for implements through classes
git-svn-id: trunk@10416 -
2008-03-01 20:35:09 +00:00
florian
5826b9bdad + define cpunodefaultint
git-svn-id: trunk@10415 -
2008-03-01 20:31:56 +00:00
florian
bc0586139a * copyright and description fixed
git-svn-id: trunk@10414 -
2008-03-01 20:22:18 +00:00
florian
d83722076f * fixed implements for interfaces
+ tests for implements through interface

git-svn-id: trunk@10413 -
2008-03-01 20:20:49 +00:00
Jonas Maebe
2722b5b381 * fixed overflow checking for $8000000000000000 in generic int64 mul
routine (constants >high(int64) are currently always interpreted as
    int64 (and thus < 0) by the compiler if there is no explicit typecast)

git-svn-id: trunk@10412 -
2008-03-01 19:38:19 +00:00