Commit Graph

6883 Commits

Author SHA1 Message Date
Almindor
02702d199f * fix typo in ESock[s]errors
git-svn-id: trunk@7030 -
2007-03-29 20:51:10 +00:00
Tomas Hajny
3975ac2a52 + socket error codes
git-svn-id: trunk@7024 -
2007-03-29 20:31:06 +00:00
Almindor
ed8e6b71e3 * add common socket error constants to all platforms/socket.pp
git-svn-id: trunk@7022 -
2007-03-29 19:29:04 +00:00
pierre
44c567cf46 * fix memory corruption in Setup_arguments
git-svn-id: trunk@7012 -
2007-03-27 19:56:58 +00:00
florian
c4ed4ed7c1 * fix gprof support for win32
git-svn-id: trunk@7003 -
2007-03-25 20:26:59 +00:00
micha
3a1b633325 + revive generics based tfplist/tstringlist implementation for generics testing; build with FPC_TESTGENERICS
git-svn-id: trunk@7001 -
2007-03-25 19:19:04 +00:00
daniel
5acd85f447 * Revert 6964
git-svn-id: trunk@7000 -
2007-03-25 17:55:47 +00:00
florian
edebd84426 * fixed arm compilation
git-svn-id: trunk@6993 -
2007-03-25 10:57:17 +00:00
Almindor
c626740043 * adds support for sysenter syscall style for i386 on 2.6 kernels
git-svn-id: trunk@6992 -
2007-03-25 10:06:23 +00:00
michael
79b572ccae * Fixed bug #8187
git-svn-id: trunk@6990 -
2007-03-24 23:36:35 +00:00
michael
74cbe82e3f * Fixed TimeToStr and DateTimeToStr so they are delphi compatible
git-svn-id: trunk@6986 -
2007-03-24 22:43:02 +00:00
michael
f60fbbb01b * Removed inttostr, isvalidident so sysutils versions are used.
git-svn-id: trunk@6984 -
2007-03-24 22:11:03 +00:00
michael
3399c88af7 * More typo fixes
git-svn-id: trunk@6981 -
2007-03-24 21:35:08 +00:00
marco
0dc221be8f * initial version copied from x86
git-svn-id: trunk@6980 -
2007-03-24 21:33:01 +00:00
marco
793ef9fdf1 * little fixes in prep of x86_64 port.
git-svn-id: trunk@6979 -
2007-03-24 21:32:16 +00:00
michael
c8ea0b0344 * Fixed compilation
git-svn-id: trunk@6978 -
2007-03-24 21:28:49 +00:00
Jonas Maebe
673d02c6b8 * re-added darwin/ppc64 support (please use up-to-date fpcmake)
git-svn-id: trunk@6973 -
2007-03-24 17:26:10 +00:00
mazen
57696aa274 * Build unixutil package for all Linux platforms instead of only Linux/i386.
git-svn-id: trunk@6972 -
2007-03-24 14:06:30 +00:00
Jonas Maebe
89be4f6d07 + added declarations for Apple-specific socket options
* fixed up some whitespace

git-svn-id: trunk@6971 -
2007-03-24 12:31:52 +00:00
daniel
82b973937d * Change padding to 2 bytes.
git-svn-id: trunk@6968 -
2007-03-24 07:56:39 +00:00
daniel
3a7266a462 * Handle FPC_USE_LIBC case for Sparc too.
git-svn-id: trunk@6967 -
2007-03-23 23:30:18 +00:00
daniel
084a78fdd3 * Make sparc/linux stat structure backward compatible too.
git-svn-id: trunk@6966 -
2007-03-23 23:24:12 +00:00
daniel
ae15527637 * Make ARM stat structure backwards compatible too.
git-svn-id: trunk@6965 -
2007-03-23 23:10:09 +00:00
daniel
8127fb7a05 * Switch to classic field names to prevent further messing with compatibility.
git-svn-id: trunk@6964 -
2007-03-23 22:35:12 +00:00
daniel
d030103742 + Restore "stat" data structure in backward compatible state
git-svn-id: trunk@6963 -
2007-03-23 22:23:24 +00:00
daniel
59a972ec9c * Change dd_nextoff to cardinal to prevent upscaling of calculations to 64-bit.
git-svn-id: trunk@6962 -
2007-03-23 15:53:04 +00:00
daniel
5da5440e12 * Ptrint considered harmfull bug no 54689826, change to ptruint.
git-svn-id: trunk@6961 -
2007-03-23 15:38:28 +00:00
michael
25a29c1159 * Undid revision 6462
git-svn-id: trunk@6955 -
2007-03-22 18:43:14 +00:00
ivost
de36c38282 * fixed bug in linux.pp / user_desc record
git-svn-id: trunk@6949 -
2007-03-21 20:56:57 +00:00
florian
605e82489a * reset fpu on win64 as well, certain operations like ln use it
git-svn-id: trunk@6920 -
2007-03-18 20:25:58 +00:00
Jonas Maebe
9cec910eb9 * changed *string_to_*chararray helpers from functions into procedures
because on win64 the location of a function result can depend on its
    size (so some chararrays had to be returned in registers and others
    by reference, which means it's impossible to have a generic function
    declaration which works in all cases) (mantis #8533)
  * pad constant string assignments to chararrays with #0 up to the
    length of the chararray for 2.0.x compatibility (fixes
    tests/test/tarray3)

git-svn-id: trunk@6915 -
2007-03-18 12:20:01 +00:00
florian
2d0c27e80d * sparc uses softfloat routines so softfloat exception masking needs to be set properly
git-svn-id: trunk@6888 -
2007-03-16 20:04:39 +00:00
Jonas Maebe
c7f77296a9 + brotl, brotr and bnot functions for macpas mode + tests
git-svn-id: trunk@6881 -
2007-03-16 16:01:26 +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
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
Jonas Maebe
5bf9c58e14 * fixed real:=variant for non-x86
git-svn-id: trunk@6847 -
2007-03-14 17:04:15 +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
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
bdc378e250 * fixed 64 bit compilation
git-svn-id: trunk@6816 -
2007-03-13 08:35:08 +00:00
Jonas Maebe
69cf42c4f7 * fixed val(s,int64) (it accepted values in the range
high(int64+1)..high(qword) if written in decimal notation) + test
  * fixed range checking of qword constants parsed by the compiler
    (they always gave a range error if > high(int64), because the compiler
     internally stores them as int64)
  * turn off range checking flag of rdconstnodes created by the parser
    from _INTCONST, because those are already range checked by the
    way they are parsed using val()

git-svn-id: trunk@6814 -
2007-03-12 22:22:43 +00:00
pierre
4f3f5d042b * return nil in TraceGetMem if SysGetMem returns nil
git-svn-id: trunk@6811 -
2007-03-12 20:59:36 +00:00
florian
418222bc32 * handle interfaces et al. correctly in Set/GetOrdProp, resolves #8510
git-svn-id: trunk@6804 -
2007-03-12 19:38:22 +00:00
florian
2085635fe7 * load moveproc with default value
git-svn-id: trunk@6803 -
2007-03-12 19:31:52 +00:00
florian
87bc8a4471 * fixed InterlockedCompareExchange(64) of x86_64.inc for win64 too
git-svn-id: trunk@6798 -
2007-03-11 22:28:08 +00:00
Tomas Hajny
374e759169 * cleanup by Marco Borsari (borsa77)
git-svn-id: trunk@6794 -
2007-03-11 20:57:50 +00:00
florian
fd6fdfe896 * check used fpu type properly
git-svn-id: trunk@6786 -
2007-03-11 17:17:06 +00:00