Commit Graph

6964 Commits

Author SHA1 Message Date
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
florian
7fb2a035e3 * fixed patch for #8480
git-svn-id: trunk@6783 -
2007-03-11 10:13:23 +00:00
marco
77d82e5b0a * patch from #8480 committed. #0#0 also copied.
git-svn-id: trunk@6782 -
2007-03-10 22:26:07 +00:00
marco
b7b057d570 * patch for 8452 committed
git-svn-id: trunk@6781 -
2007-03-10 21:05:48 +00:00
yury
9b26e7d261 + Added GAPI header translation by Nikolay Nikolov.
git-svn-id: trunk@6777 -
2007-03-10 20:03:44 +00:00
ivost
e7fb4e6a32 * changed i386 syscall from oldfpccall to register calling convention
git-svn-id: trunk@6776 -
2007-03-10 18:09:13 +00:00
ivost
ed87187cad * removed InterlockedCompareExchange64 for i386 from system unit
git-svn-id: trunk@6775 -
2007-03-10 18:08:21 +00:00
ivost
faf3b065f8 * updated TLS segmentdescriptor definiton (record user_desc)
git-svn-id: trunk@6767 -
2007-03-09 22:23:42 +00:00
florian
52cebb0083 * map SIGILL to rte 216, experimental
git-svn-id: trunk@6762 -
2007-03-09 21:27:06 +00:00
ivost
2c22173534 * Added InterlockedCompareExchange64 for i386 (supported over cmpxchg8b instruction)
git-svn-id: trunk@6753 -
2007-03-09 09:29:17 +00:00
Jonas Maebe
c630797934 * fixed swap(integer) due to counter-intuitive TP/Delphi compatible
shr-behaviour

git-svn-id: trunk@6752 -
2007-03-08 22:30:12 +00:00
ivost
f1e218ffe0 * fixed InterlockedCompareExchange(64) of x86_64.inc (I dont know if win64 version is wrong also!)
git-svn-id: trunk@6751 -
2007-03-08 22:27:34 +00:00
ivost
fc0f2f3de6 * disabled Clone syscall in linux.pp, it was completly wrong (I will replace it)
* added ldt record and constants to linux.pp

git-svn-id: trunk@6750 -
2007-03-08 21:40:59 +00:00
florian
a99b5470af * big variant from Thorsten Engler, fixes and improves several variant stuff
git-svn-id: trunk@6747 -
2007-03-07 20:45:06 +00:00
Tomas Hajny
b06b453ee1 * check for 64-bit support in FileTruncate based on TOff definition
git-svn-id: trunk@6746 -
2007-03-06 20:33:28 +00:00
Jonas Maebe
6a7321c318 * enabled 64 bit filetruncate
git-svn-id: trunk@6739 -
2007-03-06 10:17:03 +00:00
peter
7fb4c0675a * fixed compile error
git-svn-id: trunk@6732 -
2007-03-06 07:13:20 +00:00
Tomas Hajny
5e1a7997ee + FileTruncate allows 64-bit parameter
git-svn-id: trunk@6727 -
2007-03-05 23:47:10 +00:00
Tomas Hajny
b9c017eb60 + support for 64-bit FS calls
git-svn-id: trunk@6724 -
2007-03-05 00:29:11 +00:00
Tomas Hajny
1740525027 + dynamically loaded 64-bit FS calls made available outside unit System
git-svn-id: trunk@6723 -
2007-03-05 00:17:27 +00:00
Tomas Hajny
ee539c3a94 * high memory not used by default - incompatible to 64-bit FS calls
git-svn-id: trunk@6722 -
2007-03-04 23:09:18 +00:00
Jonas Maebe
c13ff3729b * Merged 2.3 branch changes:
+ darwin/ppc64 support
    + val/str/read(ln)/write(ln) support for enums
    + simple cse at the node tree level
    + if-node simplify support
    + simple ssa support for memory locations
    + support for optional overflow/rangecheck boolean parameters for
      operators
    * a lot of unification of the ppc32/ppc64 code generators


........
r6380 | jonas | 2007-02-08 21:25:36 +0100 (Thu, 08 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ncgld.pas
   M /branches/fpc_2_3/compiler/tgobj.pas
   A /branches/fpc_2_3/tests/webtbs/tw8283.pp

  + support for replacing the memory location of a temp (including
    local variables) with that of another temp to avoid unnecessary
    copies (mantis #8283)

........
r6381 | jonas | 2007-02-08 22:53:36 +0100 (Thu, 08 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/nflw.pas
   A /branches/fpc_2_3/tests/webtbs/tw8282.pp

  + simplify support for ifn (based on patch by Florian)

........
r6386 | peter | 2007-02-09 13:48:53 +0100 (Fri, 09 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/htypechk.pas
   M /branches/fpc_2_3/compiler/ncal.pas
   M /branches/fpc_2_3/compiler/symconst.pas

  * overflow,rangecheck optional parameters for operators, patch from 8281

........
r6391 | jonas | 2007-02-09 23:52:13 +0100 (Fri, 09 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc/agppcgas.pas
   M /branches/fpc_2_3/compiler/powerpc64/cpunode.pas
   D /branches/fpc_2_3/compiler/powerpc64/nppcinl.pas
   M /branches/fpc_2_3/compiler/ppcgen/ngppcinl.pas

  * merged fsqrt(s) support to common powerpc unit, activate for ppc32
    if -Op970 is used (still default for ppc64, since default cpu there
    is already ppc970)

........
r6394 | jonas | 2007-02-10 18:58:47 +0100 (Sat, 10 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc/cgcpu.pas
   M /branches/fpc_2_3/compiler/powerpc64/cgcpu.pas
   M /branches/fpc_2_3/compiler/ppcgen/cgppc.pas

  * adapted a_jmp_name for darwin/ppc64
  * merged g_intf_wrapper for ppc32 and ppc64, and added darwin/ppc64
    support to it

........
r6396 | jonas | 2007-02-10 20:16:06 +0100 (Sat, 10 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/cgobj.pas

  + darwin/ppc64 support for g_indirect_sym_load

........
r6397 | jonas | 2007-02-10 20:22:49 +0100 (Sat, 10 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc/cgcpu.pas
   M /branches/fpc_2_3/compiler/powerpc64/cgcpu.pas
   M /branches/fpc_2_3/compiler/ppcgen/cgppc.pas

  + darwin/ppc64 support to ppc64's fixref
  * moved ppc32 a_load_store to cgppc and use it for darwin/ppc64 as
    well (its relocatable symbols are only 32 bits large)

........
r6399 | jonas | 2007-02-10 22:02:37 +0100 (Sat, 10 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems.pas

  + system_x86_64_darwin identifier
  + set default source system for system_x86_64_darwin and
    system_powerpc64_darwin

........
r6404 | jonas | 2007-02-10 23:01:23 +0100 (Sat, 10 Feb 2007) | 5 lines
Changed paths:
   M /branches/fpc_2_3/compiler/aasmdata.pas
   M /branches/fpc_2_3/compiler/aggas.pas
   M /branches/fpc_2_3/compiler/cgobj.pas
   M /branches/fpc_2_3/compiler/cgutils.pas
   M /branches/fpc_2_3/compiler/cresstr.pas
   M /branches/fpc_2_3/compiler/dbgdwarf.pas
   M /branches/fpc_2_3/compiler/dbgstabs.pas
   M /branches/fpc_2_3/compiler/ncgutil.pas
   M /branches/fpc_2_3/compiler/ogelf.pas
   M /branches/fpc_2_3/compiler/pdecvar.pas
   M /branches/fpc_2_3/compiler/pmodules.pas
   M /branches/fpc_2_3/compiler/symdef.pas
   M /branches/fpc_2_3/compiler/systems.pas

  + system_x86_64_darwin identifier
  + systems_darwin set which collects all darwin variants
  + added support for darwin/ppc64 and darwin/x86_64 where needed in
    the generic code

........
r6406 | jonas | 2007-02-10 23:24:32 +0100 (Sat, 10 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/cgobj.pas

  * ifdef cpu64 -> ifdef cpu64bit

........
r6409 | jonas | 2007-02-11 00:34:04 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/pdecvar.pas

  * fixed ppc64 compilation

........
r6413 | jonas | 2007-02-11 12:41:27 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/bsd/system.pp
   M /branches/fpc_2_3/rtl/darwin/powerpc/sig_cpu.inc
   M /branches/fpc_2_3/rtl/darwin/signal.inc

  + darwin/ppc64 support for signal routines

........
r6415 | jonas | 2007-02-11 13:54:53 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/i_linux.pas

  * set abi of linux/ppc64 to abi_powerpc_sysv

........
r6416 | jonas | 2007-02-11 13:55:51 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/cputarg.pas
   M /branches/fpc_2_3/compiler/systems/i_bsd.pas
   M /branches/fpc_2_3/compiler/systems/t_bsd.pas

  + darwin/ppc64 source and target information

........
r6418 | jonas | 2007-02-11 14:19:55 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/powerpc64/math.inc

  * darwin/ppc64 compilation fixes

........
r6419 | jonas | 2007-02-11 14:22:22 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc/cgcpu.pas
   M /branches/fpc_2_3/compiler/powerpc64/cgcpu.pas
   M /branches/fpc_2_3/compiler/ppcgen/cgppc.pas

  * darwin/ppc64 needs the 32 bit version of a_loadaddr_ref_reg

........
r6420 | jonas | 2007-02-11 14:22:55 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/utils/fpcm/fpcmmain.pp

  + darwin/ppc64 support

........
r6426 | jonas | 2007-02-11 16:13:19 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/rappcgas.pas

  * fixed refaddr parsing for darwin/ppc64

........
r6427 | jonas | 2007-02-11 16:14:21 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc/agppcgas.pas
   M /branches/fpc_2_3/compiler/powerpc64/agppcgas.pas
   A /branches/fpc_2_3/compiler/ppcgen/agppcutl.pas

  * moved ppc32/ppc64 assembler writer helpers to a common unit

........
r6430 | jonas | 2007-02-11 17:53:23 +0100 (Sun, 11 Feb 2007) | 4 lines
Changed paths:
   D /branches/fpc_2_3/rtl/darwin/powerpc/sig_cpu.inc
   D /branches/fpc_2_3/rtl/darwin/powerpc/sighnd.inc
   A /branches/fpc_2_3/rtl/darwin/powerpc64
   A /branches/fpc_2_3/rtl/darwin/powerpc64/sig_cpu.inc
   A /branches/fpc_2_3/rtl/darwin/powerpc64/sighnd.inc
   A /branches/fpc_2_3/rtl/darwin/ppcgen
   A /branches/fpc_2_3/rtl/darwin/ppcgen/ppchnd.inc (from /branches/fpc_2_3/rtl/darwin/powerpc/sighnd.inc:6422)
   A /branches/fpc_2_3/rtl/darwin/ppcgen/sig_ppc.inc (from /branches/fpc_2_3/rtl/darwin/powerpc/sig_cpu.inc:6422)
   M /branches/fpc_2_3/rtl/darwin/signal.inc

  * fixed ppc/ppc64 signal include handling (both real files are in
    ppcgen, dummies in powerpc and powerpc64 which include those files)
    (1st step because pre-commit filter can't handle replaced files)

........
r6431 | jonas | 2007-02-11 17:53:47 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   A /branches/fpc_2_3/rtl/darwin/powerpc/sig_cpu.inc
   A /branches/fpc_2_3/rtl/darwin/powerpc/sighnd.inc

  * second step of signal include patch

........
r6432 | jonas | 2007-02-11 19:00:12 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/t_bsd.pas

  * changed darwin checks to use systems_darwin constant

........
r6433 | jonas | 2007-02-11 19:05:38 +0100 (Sun, 11 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/cgcpu.pas

  * handle non-multiple-of-4 offsets with 64 bit loads/stores for
    darwin/ppc64

........
r6434 | jonas | 2007-02-11 19:05:56 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   D /branches/fpc_2_3/compiler/powerpc/agppcgas.pas
   D /branches/fpc_2_3/compiler/powerpc64/agppcgas.pas
   A /branches/fpc_2_3/compiler/ppcgen/agppcgas.pas (from /branches/fpc_2_3/compiler/ppcgen/agppcutl.pas:6427)
   D /branches/fpc_2_3/compiler/ppcgen/agppcutl.pas

  * completely merged ppc assembler writers

........
r6435 | jonas | 2007-02-11 19:06:40 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/darwin/console.pp
   M /branches/fpc_2_3/rtl/darwin/termiosproc.inc

  * fixed 64 bit compilation

........
r6436 | jonas | 2007-02-11 19:09:28 +0100 (Sun, 11 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/packages/extra/Makefile.fpc

  * universal interfaces aren't 64 bit ready yet -> only compile for
    darwin/ppc and darwin/i386

........
r6438 | jonas | 2007-02-11 19:22:34 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   A /branches/fpc_2_3/tests/test/cg/obj/darwin/powerpc64
   A /branches/fpc_2_3/tests/test/cg/obj/darwin/powerpc64/ctest.o
   A /branches/fpc_2_3/tests/test/cg/obj/darwin/powerpc64/tcext3.o
   A /branches/fpc_2_3/tests/test/cg/obj/darwin/powerpc64/tcext4.o
   A /branches/fpc_2_3/tests/test/cg/obj/darwin/powerpc64/tcext5.o

  + compiled for darwin/ppc64

........
r6439 | jonas | 2007-02-11 20:24:42 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ppcgen/cgppc.pas

  * patch from Thomas to fix linux/ppc64

........
r6440 | jonas | 2007-02-11 20:25:15 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems.pas

  * fixed setting source OS for darwin/ppc64

........
r6444 | florian | 2007-02-11 22:24:20 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/globtype.pas
   M /branches/fpc_2_3/compiler/nopt.pas
   M /branches/fpc_2_3/compiler/nutils.pas
   M /branches/fpc_2_3/compiler/optcse.pas
   M /branches/fpc_2_3/compiler/psub.pas

+ first node cse implementation

........
r6445 | jonas | 2007-02-11 22:30:07 +0100 (Sun, 11 Feb 2007) | 6 lines
Changed paths:
   M /branches/fpc_2_3/compiler/cresstr.pas

  * hack to work around strange darwin/ppc64 linker bug: it seems to
    have problems if you put a global symbol at the end of a section
    without any data following (at least in case of the resource strings
    section) -> add dummy byte at the end for darwin/ppc64 (otherwise
    it messes up the address of the first symbol stub entry)

........
r6449 | jonas | 2007-02-11 23:23:44 +0100 (Sun, 11 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/i_bsd.pas

  * cpupowerpc is defined for both ppc32 and ppc64 ->
    changed to cpupowerpc32 to avoid defining source
    wrongly on ppc64

........
r6450 | jonas | 2007-02-11 23:26:34 +0100 (Sun, 11 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ppcgen/ngppcset.pas

  * disable jump tables for darwin/ppc64 for now, don't work
    yet for some reason

........
r6451 | florian | 2007-02-11 23:54:37 +0100 (Sun, 11 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ncal.pas
   M /branches/fpc_2_3/compiler/nutils.pas
   M /branches/fpc_2_3/compiler/optcse.pas

* improved cse
* better complexity calculation for subscript nodes with classes or interfaces

........
r6456 | jonas | 2007-02-12 19:33:22 +0100 (Mon, 12 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/nutils.pas

  + support for notn,shln,shrn,equaln,unequaln,gtn,gten,ltn,lten in
    node_cplexity()
  * mark muln,divn,modn as more complex

........
r6469 | jonas | 2007-02-13 15:56:01 +0100 (Tue, 13 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/optcse.pas

  * fixed when cross-compiling a 64 bit compiler from a 32 bit platform

........
r6471 | jonas | 2007-02-13 16:17:16 +0100 (Tue, 13 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/cputarg.pas

  * include stabs support (can work on darwin/ppc64, but doesn't work
    yet)

........
r6473 | jonas | 2007-02-13 16:45:48 +0100 (Tue, 13 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/cgcpu.pas
   M /branches/fpc_2_3/compiler/powerpc64/cpupara.pas

  * R2 is a volatile and usable register under darwin/ppc64
  * R13 is a reserved non-volatile register under darwin/ppc64 (tls)

........
r6479 | jonas | 2007-02-13 20:40:50 +0100 (Tue, 13 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/i_bsd.pas

  * maxCrecordalign seems to have to be 8 rather 4, in spite of what
    the ABI docs say (although they are contradictory to some extent)

........
r6487 | jonas | 2007-02-14 15:57:40 +0100 (Wed, 14 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/tests/webtbs/tw8153a.pp

  * fixed for darwin/ppc64

........
r6488 | jonas | 2007-02-14 15:58:56 +0100 (Wed, 14 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/tests/webtbs/tw7851a.pp

  * fixed for darwin/ppc64

........
r6494 | jonas | 2007-02-15 19:36:55 +0100 (Thu, 15 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/i_bsd.pas

  * set default debug info for darwin/ppc64 to dwarf2 since
    it works better than stabs currently

........
r6500 | jonas | 2007-02-15 21:38:16 +0100 (Thu, 15 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/version.pas

  * updated version to 2.3.0

........
r6505 | jonas | 2007-02-15 22:39:28 +0100 (Thu, 15 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/version.pas

  * changed version to 2.3.1

........
r6511 | jonas | 2007-02-16 15:17:24 +0100 (Fri, 16 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/itcpugas.pas

  * system_powerpc_darwin -> system_powerpc64_darwin

........
r6546 | daniel | 2007-02-18 15:48:54 +0100 (Sun, 18 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ncginl.pas
   M /branches/fpc_2_3/compiler/ncgld.pas
   M /branches/fpc_2_3/compiler/ncgrtti.pas
   M /branches/fpc_2_3/compiler/ncnv.pas
   M /branches/fpc_2_3/compiler/ninl.pas
   M /branches/fpc_2_3/compiler/nld.pas
   M /branches/fpc_2_3/compiler/nutils.pas
   M /branches/fpc_2_3/compiler/pinline.pas
   M /branches/fpc_2_3/rtl/inc/astrings.inc
   M /branches/fpc_2_3/rtl/inc/compproc.inc
   M /branches/fpc_2_3/rtl/inc/sstrings.inc
   M /branches/fpc_2_3/rtl/inc/text.inc
   M /branches/fpc_2_3/rtl/inc/wstrings.inc

  + Val/str/read/write support for enumeration types.

........
r6547 | daniel | 2007-02-18 17:01:20 +0100 (Sun, 18 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/inc/sstrings.inc

  * Fix val code that I broke.

........
r6571 | daniel | 2007-02-20 09:27:44 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/inc/astrings.inc
   M /branches/fpc_2_3/rtl/inc/sstrings.inc
   M /branches/fpc_2_3/rtl/inc/text.inc
   M /branches/fpc_2_3/rtl/inc/wstrings.inc

  * o2s -> ord2str, s2o -> str2ord

........
r6572 | daniel | 2007-02-20 09:33:30 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ncgld.pas
   M /branches/fpc_2_3/compiler/ncgrtti.pas
   M /branches/fpc_2_3/compiler/ninl.pas
   M /branches/fpc_2_3/compiler/nld.pas

  * o2s -> ord2str, s2o -> str2ord

........
r6574 | daniel | 2007-02-20 12:07:58 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/inc/compproc.inc

  * o2s -> ord2str, s2o -> str2ord

........
r6578 | daniel | 2007-02-20 22:18:49 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/inc/text.inc

  * Change longint to valsint.

........
r6579 | daniel | 2007-02-20 22:29:09 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ninl.pas

  * Handle ordinal currency types.

........
r6580 | jonas | 2007-02-20 22:29:11 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ncgrtti.pas

  * fixed compilation for cpurequiresproperalignment

........
r6581 | jonas | 2007-02-20 22:30:21 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ninl.pas

  * fixed typo

........
r6582 | daniel | 2007-02-20 22:36:19 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ninl.pas

  * Set is_real to true.

........
r6590 | jonas | 2007-02-21 20:23:54 +0100 (Wed, 21 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/i_bsd.pas

  * set tf_dwarf_only_local_labels for darwin/ppc64

git-svn-id: trunk@6720 -
2007-03-04 20:16:57 +00:00
Jonas Maebe
37487d682e * tv_sec field of timeval is time_t (just for form, the actual type
is the same as clong which was the previous type)

git-svn-id: trunk@6713 -
2007-03-04 18:46:50 +00:00
ivost
a67a85332d * added SA_RESETHAND and SA_NODEFER constants
* SA_ONESHOT and SA_NOMASK are the historical Linux names for the Single Unix names RESETHAND and NODEFER respectively.

git-svn-id: trunk@6708 -
2007-03-03 22:21:07 +00:00
ivost
240938a6ed * fixed syscall6 (still experimental, but so far it worked here!)
git-svn-id: trunk@6705 -
2007-03-03 21:38:20 +00:00
marco
e56abc47b7 * formatfloat patches for #8388 and 8386
git-svn-id: trunk@6697 -
2007-03-03 14:02:20 +00:00
Jonas Maebe
e44a9ca4cb * fixed mantis 8434 (wrong precision used in case of |number| < 1,
which when multiplied by 10^x goes from 0.9y to 1.0z, and if a
    specific presision is specified)

git-svn-id: trunk@6692 -
2007-03-01 14:30:55 +00:00
ivost
025b57815f * removed inline flag from FUTEX_OP in linux.pp
* added msync constants

git-svn-id: trunk@6691 -
2007-03-01 14:20:34 +00:00
ivost
79b02de351 * fixed type defintion putsname
git-svn-id: trunk@6688 -
2007-03-01 08:34:12 +00:00
ivost
9161a2967a * added futex constants to linux.pp (from futex.h)
git-svn-id: trunk@6687 -
2007-02-28 22:34:32 +00:00
ivost
1a7f06aa7d * added the new CLONE_* constants from syscall clone
git-svn-id: trunk@6686 -
2007-02-28 22:26:42 +00:00
florian
9a0f769b2f * cleaned up set conversion
* fixed conversion of var sets

git-svn-id: trunk@6644 -
2007-02-25 16:29:39 +00:00
florian
bfcf0d5459 * val stops on #0 without error, resolves #8177
git-svn-id: trunk@6635 -
2007-02-24 21:06:32 +00:00
daniel
6aad495cbb * Increase type safety: PRTLevent=type pointer;
git-svn-id: trunk@6626 -
2007-02-24 09:53:19 +00:00
micha
1a0a2c8adc * fix lstat for x86_64 linux syscall, has no 32 bit variant
git-svn-id: trunk@6625 -
2007-02-24 09:42:27 +00:00
micha
c771059cf9 * fix lstat 64 bit for linux syscall (patch from Lloyd Park)
git-svn-id: trunk@6622 -
2007-02-23 22:25:39 +00:00
florian
d5d3779360 * patch for #8375 from Roozbeh Gholizadeh
git-svn-id: trunk@6621 -
2007-02-23 19:35:35 +00:00
daniel
0cc43888e9 * Redefine ucs4char as subrange type ($0..$10ffff), which is the legal
Unicode range.

git-svn-id: trunk@6618 -
2007-02-23 14:41:33 +00:00
michael
d49ffdf543 * Renamed dynlibs.pas
git-svn-id: trunk@6613 -
2007-02-23 11:06:37 +00:00
yury
8480294711 * added some wince specific SPI_ constants.
git-svn-id: trunk@6610 -
2007-02-23 10:13:09 +00:00
Jonas Maebe
b52c4f821a * make sure the size of tinterfaceentry is correct, regardless of
the maxrecordalign setting of the target

git-svn-id: trunk@6591 -
2007-02-21 19:26:09 +00:00
Jonas Maebe
65ff50533e * dynlibs depends on objpas
git-svn-id: trunk@6584 -
2007-02-21 09:09:37 +00:00
peter
d1d7c59244 * fixed compile after exitcode size change
git-svn-id: trunk@6559 -
2007-02-19 16:11:01 +00:00
Legolas
6912707e7d * fixed corrupted executables
* changed cprt0.as and prt0.as

git-svn-id: trunk@6553 -
2007-02-18 22:42:45 +00:00
florian
f42a2d67b9 * made exitcode a longint, at least windows supports it, delphi uses a longint too
git-svn-id: trunk@6549 -
2007-02-18 20:26:28 +00:00
florian
c6f8f550f9 * resource functions for win64, fixes #8304
git-svn-id: trunk@6540 -
2007-02-18 10:07:12 +00:00
florian
2bf65569b0 + added sharemem
git-svn-id: trunk@6529 -
2007-02-17 21:30:06 +00:00
florian
614f4894a3 + buildrtl unit for win64
git-svn-id: trunk@6528 -
2007-02-17 19:46:13 +00:00
daniel
7c5d3f69ac * hexstr can handle pointers
git-svn-id: trunk@6526 -
2007-02-17 16:39:02 +00:00
daniel
c95cf176f4 + Add {$ifdef FPC_HAS_FEATURE_THREADING}
git-svn-id: trunk@6523 -
2007-02-17 09:25:58 +00:00
daniel
5e13ba03e6 + Add feature define around inittextio
git-svn-id: trunk@6522 -
2007-02-17 09:11:13 +00:00
marco
57cfd89fbd * Linux 64-bit FS patch from neli for FPC_USE_LIBC
git-svn-id: trunk@6517 -
2007-02-16 22:16:54 +00:00
florian
3aa64eb6b4 * made vararrays working on win64
git-svn-id: trunk@6515 -
2007-02-16 20:12:34 +00:00
Jonas Maebe
5792438e3a * fixed 64 bit error
git-svn-id: trunk@6512 -
2007-02-16 15:24:55 +00:00
Jonas Maebe
263a31cedd * 64 bit fixes
git-svn-id: trunk@6490 -
2007-02-14 21:53:14 +00:00
Jonas Maebe
8e55ea3d29 * 64 bit fixes for pthread and timeval structs
git-svn-id: trunk@6489 -
2007-02-14 21:52:56 +00:00
Jonas Maebe
37bd7d0b81 * fixed size_t and ssize_t for 64 bit
* fixed tstatfs

git-svn-id: trunk@6476 -
2007-02-13 19:10:38 +00:00
yury
de8de88781 * updated Win32 API.
git-svn-id: trunk@6475 -
2007-02-13 18:37:32 +00:00
Jonas Maebe
41a108bbc3 * fixed type of ino_t
git-svn-id: trunk@6470 -
2007-02-13 15:16:23 +00:00
Tomas Hajny
70ca5f79e9 * fix for bug #7539
git-svn-id: trunk@6464 -
2007-02-12 21:49:41 +00:00
michael
3275f36b8f * IsNan, IsInfinite for Extended and Double
git-svn-id: trunk@6462 -
2007-02-12 20:57:24 +00:00
florian
8ebaacad64 * fixed compilation
git-svn-id: trunk@6459 -
2007-02-12 18:57:57 +00:00
florian
b5b86f6d73 * ce compilation fixed
git-svn-id: trunk@6457 -
2007-02-12 18:39:39 +00:00
chrivers
e81696d0f1 + Added TIn6Addr and TSockAddrIn6 to winsock2.pp
git-svn-id: trunk@6452 -
2007-02-11 23:51:35 +00:00
joost
6741866689 * {$inline on} added to fix compilation with 2.0.4
git-svn-id: trunk@6441 -
2007-02-11 19:28:44 +00:00
florian
31c9a91af0 + edsp detection for arm-linux
git-svn-id: trunk@6429 -
2007-02-11 16:21:04 +00:00
joost
2a7c22e140 * Enabled inlining and removed macro
git-svn-id: trunk@6428 -
2007-02-11 16:14:18 +00:00
marco
0d070eef7f * Patch from Thorsten for bug in lower than equal( only did lower than)
git-svn-id: trunk@6423 -
2007-02-11 14:38:29 +00:00
daniel
3330a91e9e - Remove INVALID_SOCKET and SOCKET_ERROR constants from fpwinsockh.inc,
because the socket unit routines use signed types.

git-svn-id: trunk@6421 -
2007-02-11 13:42:46 +00:00
daniel
8ff402109f + Add type and constants to ease porting from Kylix libc unit
to sockets unit.

git-svn-id: trunk@6414 -
2007-02-11 12:21:01 +00:00
florian
57415a73a7 + assembler coded move for arm
git-svn-id: trunk@6412 -
2007-02-11 11:04:55 +00:00
marco
0a0f71827a * openfilename updated to NT5 struct, keeping the old struct with _NT4 suffix
git-svn-id: trunk@6390 -
2007-02-09 20:24:56 +00:00
marco
b091c2a03a * uncommented refefs for bug #8267, var versions of findfirstfile/nextfile
git-svn-id: trunk@6389 -
2007-02-09 20:11:47 +00:00
marco
1ecd1f67d4 * bug #8279
git-svn-id: trunk@6388 -
2007-02-09 20:07:20 +00:00
peter
ebccbf720c * fix concat_multi for widestrings, patch was already done for ansistrings fixes 8292
git-svn-id: trunk@6384 -
2007-02-09 12:28:22 +00:00
Jonas Maebe
36cb039a21 + compile fmtbcd unit
git-svn-id: trunk@6377 -
2007-02-08 19:07:37 +00:00
Vincent Snijders
d87dc4e3f8 * always pass property value by value to the property setter of a method, the optimization (to prevent copying) to pass just the reference doesn't work on arm, for example (bug 8273)
git-svn-id: trunk@6370 -
2007-02-07 22:06:15 +00:00
yury
d897b10f15 * updated wince API.
git-svn-id: trunk@6368 -
2007-02-07 20:49:04 +00:00
florian
e2633cb47d * linker stuff for symbian by Felipe Monteiro de Carvalho
* updated symbian rtl makefile by Felipe Monteiro de Carvalho

git-svn-id: trunk@6361 -
2007-02-07 19:44:55 +00:00
florian
a2127504a0 + Symbian rtl skeleton by Felipe Monteiro de Carvalho
git-svn-id: trunk@6360 -
2007-02-07 19:41:14 +00:00
florian
8ed35dd5fb * do a stack trace in case of abording with an heap error when EXTRA is defined
git-svn-id: trunk@6358 -
2007-02-07 19:35:54 +00:00
florian
e70c6df440 * arm-linux has to link explicitly against libc
git-svn-id: trunk@6355 -
2007-02-07 17:42:40 +00:00
yury
125136d069 * updated wince windows unit.
git-svn-id: trunk@6352 -
2007-02-07 08:22:25 +00:00
Vincent Snijders
8b1420a875 * removed system from the implicitunit lists, because it is already in the units list
git-svn-id: trunk@6350 -
2007-02-06 08:42:40 +00:00
yury
e998bc8142 * fixed CW_USEDEFAULT definition.
git-svn-id: trunk@6349 -
2007-02-06 01:14:27 +00:00
florian
9fe04923ad * don't destroy registers in syscall helpers
git-svn-id: trunk@6342 -
2007-02-04 20:43:05 +00:00
yury
3b32e96f10 * Use PCharToPWideChar instead of StringToPWideChar in wrapper functions.
* Updated dependencies in makefile.
* Fixed declaration of RegEnumValue and RegEnumValueW.

git-svn-id: trunk@6340 -
2007-02-04 19:09:48 +00:00
peter
cd767cf5c8 * i386 uses generic fpc_compare_shortstr_equal
git-svn-id: trunk@6335 -
2007-02-04 16:24:02 +00:00
Jonas Maebe
ccbee142bc * added THandle() typecast around feInvalidHandle value (-1)
for OS'es where THandle is an unsigned type

git-svn-id: trunk@6322 -
2007-02-03 18:09:00 +00:00
oro06
61397d3953 +wince : added RegXXX ansi missing funcs
git-svn-id: trunk@6318 -
2007-02-03 11:41:46 +00:00
florian
2fb33c4664 * better export of EXTRA define of heaptrc unit
git-svn-id: trunk@6317 -
2007-02-03 11:14:18 +00:00
Jonas Maebe
5ea26c5f5f * fixed darwin compilation
git-svn-id: trunk@6310 -
2007-02-02 22:48:02 +00:00
florian
f9eefa118c * newer kernels don't need anymore those braindead sigaction handler calling conventions
git-svn-id: trunk@6287 -
2007-02-01 20:07:17 +00:00
Jonas Maebe
ccb9e7bb1b + psigcontex alias for psigcontextrec
+ psiginfo alias for psiginfo_t
  * changed arguments to sigactionhandler procvar type from var parameters
    into pointers
   -> all compatible to the way it's done for Linux -> fpcdaemon compiles

git-svn-id: trunk@6283 -
2007-02-01 12:09:33 +00:00
Jonas Maebe
f842eb854a + fppause for FPC_USE_LIBC
git-svn-id: trunk@6282 -
2007-02-01 12:07:12 +00:00
florian
bcf65051e3 * detect sse properly on linux, fixes tmask*.pp in the testsuite with -Cfsse2
git-svn-id: trunk@6277 -
2007-01-31 21:51:47 +00:00
florian
2167655902 * patch from Thorsten Engler submitted in #8235
git-svn-id: trunk@6272 -
2007-01-30 19:53:42 +00:00
yury
767a5c12f2 * fixed COMCTL32_VERSION constant.
git-svn-id: trunk@6258 -
2007-01-28 21:29:56 +00:00
tom_at_work
923c70932e * removed surplus semicolon
git-svn-id: trunk@6252 -
2007-01-28 19:21:14 +00:00
daniel
f60b66fba0 * Modify code to set xterm in rigth font.
git-svn-id: trunk@6243 -
2007-01-28 16:04:34 +00:00
daniel
e8050233af + Patch by Thorsten Engler to optimize string comparisons for = and <> cases. (Mantis #8231)
git-svn-id: trunk@6241 -
2007-01-28 10:58:52 +00:00
florian
26ffc101da * fixed softfloat trunc
git-svn-id: trunk@6239 -
2007-01-28 09:52:20 +00:00
daniel
95aeaf7df5 * Check COLORTERM in case TERM=xterm to detect rxvt.
git-svn-id: trunk@6236 -
2007-01-27 20:35:16 +00:00
daniel
6c92edea04 * Send correct amount of characters for custom font.
git-svn-id: trunk@6235 -
2007-01-27 20:34:41 +00:00
florian
3bab23947e * build rtl for win32 since win32 make doesn't seem to support -j
git-svn-id: trunk@6232 -
2007-01-27 16:10:51 +00:00
daniel
53d640777a * Xterm mouse handling re-engineered.
git-svn-id: trunk@6225 -
2007-01-27 12:49:29 +00:00
Jonas Maebe
9adb91a68d + support for make -jX by marking all Makefiles that need to be executed
serially with .NOTPARALLEL:
   -> currently parallel: rtl/darwin, packages/base, packages/base/httpd,
      packages/extra/univint, fcl, utils

git-svn-id: trunk@6223 -
2007-01-27 11:05:18 +00:00
ivost
c0e9be49b8 * fixed bug related to IMPLEMENTS keyword. The interface type was stored inside the interface defintion what was wrong! now it's set per TImplementedInterface$
* merged IOffset and EntryOffset of TInterfaceEntry. The meaning of IOffset depends now on IType
    * to optimize: IOffset and FieldOffset of TImplementedInterface can be merged also! fpc still generate an interfacetable entry even for interfaces that aren't implemented in the current class (redirected by IMPLEMENTS keyword)

git-svn-id: trunk@6206 -
2007-01-26 20:58:46 +00:00
Jonas Maebe
5f61271824 * fixed val_sint(x,longint) for negative hex/bin values on 64 bit
platforms

git-svn-id: trunk@6205 -
2007-01-26 18:43:50 +00:00
Jonas Maebe
6c578f55df * support 'x1f' and 'X1f' for hex notation in val() (Delphi compatibility,
mantis 8177)

git-svn-id: trunk@6204 -
2007-01-26 18:34:08 +00:00
Jonas Maebe
5564d14bd2 * sysctl depends on unixtype
git-svn-id: trunk@6177 -
2007-01-24 21:33:15 +00:00
florian
2579cd139f + support for sets with size 1 and 2
git-svn-id: trunk@6172 -
2007-01-24 20:06:56 +00:00
Jonas Maebe
0e1c9c901d + cot, sec, csc, secant, cosecant (mantis #8142)
git-svn-id: trunk@6170 -
2007-01-24 19:22:53 +00:00
yury
83820db27e * fix for tiorte.pp on WM5.
git-svn-id: trunk@6162 -
2007-01-24 14:59:05 +00:00
yury
c70cd739cb * Added CommandBands and CommandBar wince APIs.
git-svn-id: trunk@6160 -
2007-01-24 11:04:12 +00:00
florian
1ab81c7eb6 * fixed fpa flag setting
git-svn-id: trunk@6154 -
2007-01-23 22:11:54 +00:00
florian
5596cd5391 * ensure that qword_to_double is calculated using doubles
git-svn-id: trunk@6152 -
2007-01-23 21:06:46 +00:00
yury
128e4d3c2a * fixes in wince windows unit.
git-svn-id: trunk@6136 -
2007-01-22 23:55:34 +00:00
tom_at_work
704f8dae14 * fixed rtl compilation with -dFPC_USE_LIBC by providing a more generic fpprctl() call (including libc variant) and moving related constants slightly
git-svn-id: trunk@6134 -
2007-01-22 22:21:32 +00:00
Jonas Maebe
3eb4823209 * made return value of TInterfacedObject._AddRef and
TInterfacedObject._Release thread safe

git-svn-id: trunk@6130 -
2007-01-22 15:39:55 +00:00