Commit Graph

28235 Commits

Author SHA1 Message Date
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
Jonas Maebe
dbc7e36007 + added {$linkframework Carbon} to FPCMacOSAll so -k"-framework Carbon" is
not longer needed when using that unit
  - removed the same statement from the Mac OS X graph unit (since it uses
    FPCMacOSAll)

git-svn-id: trunk@10411 -
2008-03-01 17:22:57 +00:00
marco
117062ed34 * wininet added.
git-svn-id: trunk@10410 -
2008-03-01 17:06:07 +00:00
marco
4047d76279 win32finddataa
git-svn-id: trunk@10409 -
2008-03-01 16:38:55 +00:00
Jonas Maebe
900f7bd16d * fixed external declaration of FPCMacOSXGraphMain
git-svn-id: trunk@10408 -
2008-03-01 13:26:14 +00:00
Jonas Maebe
0cd1029cdf * rewrote the setup code using {$pascalmainname x} so you can
use this graph unit like any other (instead of having to put all
    code in a separate function and then calling StartGraphProgram
    with the address of this function as parameter)

git-svn-id: trunk@10407 -
2008-03-01 13:07:12 +00:00
Jonas Maebe
86f90d8ac1 + support for setting the name of "main" (-XM command line parameter) in
the code using {$pascalmainname x} + storing it in the ppu file
    (and give a warning if it's overridden multiple times + test)

git-svn-id: trunk@10406 -
2008-03-01 13:05:01 +00:00
Jonas Maebe
e1ec2834df * increase/decrease refcount of interface value parameters on procedure
entry/exit (mantis #10897)
  * fixed tinterface2 which crashed after this change. It also crashed under
    Kylix: you cannot assign the result of an interfaced class to a class
    instance variable and then use it both as an interface (refcounted) and
    as class (non-refcounted)

git-svn-id: trunk@10405 -
2008-03-01 10:25:27 +00:00
marco
d89b92f639 * patch 10090 + imgconv now also writes pnm
git-svn-id: trunk@10404 -
2008-02-29 21:11:44 +00:00
michael
d25c28eaf4 * Patch from Laurent (wile64@gmail.com) to read CMYK files
git-svn-id: trunk@10402 -
2008-02-28 18:22:12 +00:00