Commit Graph

25397 Commits

Author SHA1 Message Date
joost
2913e582ce * Removed unmaintained db-stuff
git-svn-id: trunk@6880 -
2007-03-16 13:14:24 +00:00
joost
0a2c621063 Patch (adapted) from Thorsten Engler:
* Added TWideStringField, TGUIDField, TVariantField
 * Published TCurrencyField.Currency
 * TBlobField.GetAsString/SetAsString only calls ReadBuffer if size>0

git-svn-id: trunk@6879 -
2007-03-16 12:49:06 +00:00
Almindor
4a2e84a5ee * update to sdl1.2
git-svn-id: trunk@6878 -
2007-03-16 12:28:12 +00:00
Almindor
7ac254d069 * adds win64 target to sdl
git-svn-id: trunk@6877 -
2007-03-16 10:31:46 +00:00
Almindor
a56aa776bb * remove win32 constraint so it compiles on win64 and possibly others later too
git-svn-id: trunk@6876 -
2007-03-16 10:30:19 +00:00
Almindor
9aebd665a9 * fix for xmlconfig.getvalue from Sergei
git-svn-id: trunk@6875 -
2007-03-16 10:17:24 +00:00
Almindor
5ead448bac * patch from Sergei, fixes bug #8492
git-svn-id: trunk@6874 -
2007-03-15 19:26:07 +00:00
Károly Balogh
8e7c440790 + added keymap.library interface unit, which will be required by the updated keyboard unit
git-svn-id: trunk@6873 -
2007-03-15 18:01:49 +00:00
Jonas Maebe
4e5488529d * fixed class conversion and inheritance tree errors
git-svn-id: trunk@6871 -
2007-03-15 09:48:21 +00:00
Almindor
5a6eabcd6c * update lnet to near 0.5 before the freeze
git-svn-id: trunk@6870 -
2007-03-15 09:47:27 +00:00
pierre
ce5037920a + try to implement smartlink
git-svn-id: trunk@6867 -
2007-03-15 00:11:55 +00:00
florian
63523e8a7f * regenerated
git-svn-id: trunk@6863 -
2007-03-14 21:14:13 +00:00
florian
173e023e22 * german and english error file updates from Karl-Michael Schindler
git-svn-id: trunk@6862 -
2007-03-14 21:13:31 +00:00
florian
4fc85cb084 * new test
* fix compilation on i386

git-svn-id: trunk@6861 -
2007-03-14 21:09:05 +00:00
florian
bae83ee777 * set expectloc correctly on x86-64
* decide properly if we inline trunc or not on x86-64

git-svn-id: trunk@6860 -
2007-03-14 21:05:15 +00:00
florian
f4840620f0 * location.size of trunc/round must be OS_S64
* fixed assembling of cvt*2si
+ optimized trunc/round for x86_64/sse
* only floats need no type cast for trunc/round

git-svn-id: trunk@6859 -
2007-03-14 20:56:14 +00:00
Jonas Maebe
6eb320506b * fixed range error in incmonth()
git-svn-id: trunk@6858 -
2007-03-14 19:48:08 +00:00
Jonas Maebe
d3736f563f * fixed several range errors
git-svn-id: trunk@6857 -
2007-03-14 19:47:53 +00:00
Jonas Maebe
18e0b6e98b * do not turn on range/overflow checking, because several of the
statements cause range errors which should be ignored for Delphi
    compatibility (e.g. assigning a variant which contains -10 to a
    cardinal)

git-svn-id: trunk@6856 -
2007-03-14 19:47:32 +00:00
Jonas Maebe
a2c3826281 * changed fpc_big_chararray and fpc_big_widechararray from
array[0..1023] into array[0..0], because they're used as
    dummy return types for the Xstring_to_chararray helpers,
    and if a smaller array is actually passed as result then
    having a larger array declared will cause -gt to
    overwrite other data

git-svn-id: trunk@6855 -
2007-03-14 19:45:07 +00:00
michael
2948802fb7 * Patch from Joost van der Sluis to fix obvious crash
git-svn-id: trunk@6854 -
2007-03-14 19:45:05 +00:00
Jonas Maebe
662cc12d68 * turn off range checking for routines involving vararraybounds
because they're declared as an array[0..0] (while they can
    be of any size)

git-svn-id: trunk@6853 -
2007-03-14 19:43:12 +00:00
Jonas Maebe
f63b0ef160 * fixed overflow for constant in-expressions involving values >
high(uinttype) on the left side

git-svn-id: trunk@6852 -
2007-03-14 19:42:01 +00:00
Jonas Maebe
ac585ea201 * fixed test according to Kylix behaviour (which means current
FPC behaviour is wrong)

git-svn-id: trunk@6851 -
2007-03-14 18:27:01 +00:00
Jonas Maebe
e0171f4e1f * fixed overflow when calculating the byte offset of a field in case
of very large records (e.g. a record of 1GB on a 32 bit system)

git-svn-id: trunk@6850 -
2007-03-14 17:32:16 +00:00
pierre
c97ea9ceb2 * use qword also for S_Q opsize
git-svn-id: trunk@6849 -
2007-03-14 17:10:23 +00:00
pierre
d1d6413443 * use S_IQ opsize for A_FISTP instruction
git-svn-id: trunk@6848 -
2007-03-14 17:09:42 +00:00
Jonas Maebe
5bf9c58e14 * fixed real:=variant for non-x86
git-svn-id: trunk@6847 -
2007-03-14 17:04:15 +00:00
Jonas Maebe
b8187becc6 * fixed range errors when reading zero-length strings from streams
git-svn-id: trunk@6846 -
2007-03-14 16:04:50 +00:00
Jonas Maebe
4ce43b9fe0 * fixed Makefile for linux-i386 (contained htmldefs twice for some reason,
regenerated)

git-svn-id: trunk@6845 -
2007-03-14 12:38:36 +00:00
florian
bcb1cf0d28 * make no use of int registers in trunc to reduce register pressure
git-svn-id: trunk@6844 -
2007-03-14 10:23:52 +00:00
Tomas Hajny
840403bcf5 * fcl-web to be only built on platforms having TProcess implemented
git-svn-id: trunk@6841 -
2007-03-14 00:27:19 +00:00
Tomas Hajny
9024d66959 * units htmlelements and htmlwriter moved from fcl-web to fcl-xml
git-svn-id: trunk@6840 -
2007-03-14 00:13:22 +00:00
Tomas Hajny
821354b18f * unit htmldefs moved to fcl-xml
git-svn-id: trunk@6839 -
2007-03-13 23:39:15 +00:00
pierre
387c5107c0 * try to get a complete cycle with nasm
git-svn-id: trunk@6838 -
2007-03-13 23:17:55 +00:00
Tomas Hajny
e4c37e3e9d * remove CVS log
git-svn-id: trunk@6837 -
2007-03-13 23:17:21 +00:00
Jonas Maebe
31c29a280a * moved typechecking stuff from taddnode.simplify to taddnode.pass_typechec
This is needed to be able to call simplify after pass_1, because
    otherwise the inserttypeconv's inserted new type conversions which
    where never firstpassed (if you want to do something like that, you
    have to return a new node as well so it will be firstpassed properly
    -- but in this case it seems this is not needed, since inserting
    those typeconversions are part of typechecking and not of simplifying,
    and typechecking must be done before simplifying anyway)

git-svn-id: trunk@6836 -
2007-03-13 23:17:12 +00:00
pierre
f07349a774 * force S_IQ size for movq instruction, needed for nasm
git-svn-id: trunk@6835 -
2007-03-13 23:17:09 +00:00
pierre
73f4288d97 + allow to disable smartlinking if NO_SMART_LINK is defined
git-svn-id: trunk@6834 -
2007-03-13 22:55:50 +00:00
florian
c4f65df9f9 * fixed expectloc setting
git-svn-id: trunk@6833 -
2007-03-13 22:45:41 +00:00
Jonas Maebe
168e652d42 + support for simplifying simple inline functions down to a single
constant node (rather than to just a blocknode with a statement
    assigning a constant to a temp)

git-svn-id: trunk@6832 -
2007-03-13 22:27:55 +00:00
Jonas Maebe
0f546da041 * docompare -> isequal
git-svn-id: trunk@6831 -
2007-03-13 21:56:41 +00:00
Jonas Maebe
cb16e8d3d0 * nothingn has a complexity of 0
* stop complexity calculation if we get to the end of a series of a
    statements instead of crashing

git-svn-id: trunk@6830 -
2007-03-13 21:56:25 +00:00
florian
44752f5559 * fixed win64 compilation
git-svn-id: trunk@6829 -
2007-03-13 21:29:39 +00:00
florian
8aa259401c * fixed x86-64
git-svn-id: trunk@6828 -
2007-03-13 21:12:40 +00:00
florian
1cd41b68f7 * compiler handled round/trunc for x86
git-svn-id: trunk@6827 -
2007-03-13 20:23:24 +00:00
Jonas Maebe
95474a2d38 * fixed memory leak in executeprocess for FPC_USE_FPEXEC
git-svn-id: trunk@6826 -
2007-03-13 18:54:27 +00:00
Jonas Maebe
9d6026827d * fixed memory leak in dosimplify
git-svn-id: trunk@6825 -
2007-03-13 18:54:01 +00:00
Jonas Maebe
fc3d9ebbc7 * fixed range check error
git-svn-id: trunk@6823 -
2007-03-13 15:16:02 +00:00
Jonas Maebe
d66f35a384 * fixed range check error
git-svn-id: trunk@6822 -
2007-03-13 15:15:53 +00:00