Commit Graph

7268 Commits

Author SHA1 Message Date
florian
96eaeeaf98 * fixed Index* for 64 Bit CPUs
* use forward move as much as possible

git-svn-id: trunk@8778 -
2007-10-13 19:06:41 +00:00
marco
807e964dab * Faster overloaded inttobin 32-bit and 64-bit.
git-svn-id: trunk@8775 -
2007-10-12 20:54:15 +00:00
Jonas Maebe
775ee6f563 * len=0 should not be treated as overflow in comparebyte/word/dword
(further fix to r8754, fixes regresssion of twide4 on sparc/solaris)

git-svn-id: trunk@8765 -
2007-10-11 17:10:29 +00:00
Jonas Maebe
33c4197f43 * changed FPC_EMPTYCHAR into a widechar because it's also used for
widestring -> pwidechar conversions (mantis #9897)

git-svn-id: trunk@8756 -
2007-10-09 17:52:25 +00:00
Jonas Maebe
b5a1a6c6b4 * fixed generic index- and comparebyte/word/dword for limits which
overflow the pointer range (fixes tw3612 regression on sparc/solaris)

git-svn-id: trunk@8754 -
2007-10-09 11:00:15 +00:00
peter
e8322a83e4 * optimized generic implementations to use pointers instead of
array accesses. This also allows better register variable
    optimizations

git-svn-id: trunk@8742 -
2007-10-07 18:36:18 +00:00
florian
de47ba3ac8 * fixed GetKeyData
git-svn-id: trunk@8729 -
2007-10-03 11:13:27 +00:00
Tomas Hajny
34e8576452 + stdconvs and fmtbcd now compiled too (the latter needed for fcl-db)
git-svn-id: trunk@8709 -
2007-09-30 23:24:55 +00:00
Tomas Hajny
97d878cde8 * missing AF_INET added
git-svn-id: trunk@8708 -
2007-09-30 21:35:36 +00:00
Tomas Hajny
54caaf4335 * fix compilation by moving wrongly placed SYSTEMEXCEPTIONDEBUG defines
git-svn-id: trunk@8699 -
2007-09-30 16:14:07 +00:00
Tomas Hajny
05e6784906 + make use of the provided CtrlBreakHandler (OS/2)
git-svn-id: trunk@8697 -
2007-09-30 15:19:59 +00:00
Tomas Hajny
85b8eeac17 + common CtrlBreakHandler for unit Keyboard
git-svn-id: trunk@8696 -
2007-09-30 15:18:37 +00:00
micha
7d5d4ba706 + add i386-linux uclibc process startup code
git-svn-id: trunk@8694 -
2007-09-30 14:53:54 +00:00
Tomas Hajny
58ff2fb482 + Use CtrlBreakHandler infrastructure to allow processing of Ctrl-C in ReadKey (OS/2 implementation)
git-svn-id: trunk@8693 -
2007-09-30 14:17:42 +00:00
Tomas Hajny
b71f5e80b0 + RTL exception handler for OS/2
git-svn-id: trunk@8692 -
2007-09-30 14:15:37 +00:00
Tomas Hajny
58bca68e6a + infrastructure for CtrlBreakHandler added
git-svn-id: trunk@8691 -
2007-09-30 14:14:33 +00:00
Tomas Hajny
e70f1a26db * issue sleep while polling keyboard
git-svn-id: trunk@8690 -
2007-09-30 14:05:00 +00:00
marco
7429c4871b * fix for 9770
git-svn-id: trunk@8689 -
2007-09-30 11:23:33 +00:00
Tomas Hajny
f5250c6433 * missing constants for context flags added
git-svn-id: trunk@8688 -
2007-09-30 00:51:40 +00:00
Tomas Hajny
633a902565 * exception handler is a function, not procedure
git-svn-id: trunk@8680 -
2007-09-29 15:48:26 +00:00
Almindor
fdcc5f4332 * use TIOCtlRequest instead of hard ifdefs to remove warnings
git-svn-id: trunk@8679 -
2007-09-29 14:22:41 +00:00
marco
54d8f93b25 * fix for 9772
git-svn-id: trunk@8677 -
2007-09-29 09:18:15 +00:00
Almindor
5474e0c987 * fix ioCtl differences between BSD and POSIX
git-svn-id: trunk@8676 -
2007-09-29 08:24:23 +00:00
marco
827d380691 * pchar(pointer()) isms that were safe.
git-svn-id: trunk@8672 -
2007-09-28 21:57:45 +00:00
marco
faa8383403 * some pchar(pointer(s)) changes (see maillist)
git-svn-id: trunk@8671 -
2007-09-28 20:24:44 +00:00
Jonas Maebe
f51bac256d * made pic-safe (by simply not accessing global variables from
assembler code anymore, as I don't see how to easily support
    PIC access to global variables for Darwin/i386)

git-svn-id: trunk@8663 -
2007-09-27 15:08:09 +00:00
Jonas Maebe
335bc9fd46 + PIC support for darwin/ppc32 (-Cg works now, no regressions in test
suite compiled with -Cg compared to without -Cg)
  + support for using a virtual register as PIC/got base register
  * moved got loading code from ncgutil to cgobj/cgcpu (can't test whether
    it didn't break anything under linux/i386, because "make cycle OPT=-Cg"
    was already broken due to the *prt*.as -> si_*.pp changes)

git-svn-id: trunk@8651 -
2007-09-26 16:41:32 +00:00
marco
9e1462203c * dateutils.scandatetime, an inverse of formatdatetime
git-svn-id: trunk@8624 -
2007-09-23 20:03:12 +00:00
florian
5a585ce07d * made SExecuteProcessFailed error message more clear
git-svn-id: trunk@8622 -
2007-09-23 14:59:22 +00:00
florian
7f441e0bca + added more FILE_ATTRIBUTE constants, resolves #9669
git-svn-id: trunk@8614 -
2007-09-23 13:10:06 +00:00
florian
ecc45e16db * formatting fixed ;)
git-svn-id: trunk@8613 -
2007-09-23 13:09:24 +00:00
michael
9777065197 * Fixed carry bug in conversion of currency to string
git-svn-id: trunk@8612 -
2007-09-23 10:26:00 +00:00
Jonas Maebe
4e78a30ee3 * only print exception backtrace at end of unhandled exception in
tthread in case rtl is compiled with -dDEBUG_MT

git-svn-id: trunk@8595 -
2007-09-21 15:09:08 +00:00
Károly Balogh
821eb1fe18 + changed this one to contain real 68k headers (based on MOS version of the headers)
git-svn-id: trunk@8555 -
2007-09-18 19:42:54 +00:00
pierre
d5fa108796 * put prt0.obj in the right directory
git-svn-id: trunk@8552 -
2007-09-18 16:03:45 +00:00
pierre
6d8b346113 * test_int31 needs stdcall modifier
git-svn-id: trunk@8551 -
2007-09-18 16:01:33 +00:00
pierre
5a0ec1105d * use prt0.as as loader
git-svn-id: trunk@8549 -
2007-09-18 13:46:59 +00:00
pierre
5100a988f7 * more watcom rtl fixes
git-svn-id: trunk@8548 -
2007-09-18 13:44:40 +00:00
pierre
d3c33fb99c * Update watcom system unit
git-svn-id: trunk@8547 -
2007-09-18 13:29:55 +00:00
joost
f6d66e8cf5 * Changed MinDateTime for FloatToDateTime and VariantToDate to 01/01/0001
git-svn-id: trunk@8534 -
2007-09-17 21:25:51 +00:00
Tomas Hajny
573bc3b767 * inline on needed for 2.0.x
git-svn-id: trunk@8532 -
2007-09-17 21:19:12 +00:00
peter
07275c3dbe * added cdecl for sigmask
git-svn-id: trunk@8529 -
2007-09-17 20:26:29 +00:00
Tomas Hajny
f0959c1b1d * yet another fix for DiskFree/DiskSize
git-svn-id: trunk@8516 -
2007-09-16 20:17:27 +00:00
Jonas Maebe
0040eecf9f + support for extra packing of sets whose lower element number
is <> 0 (Delphi compatible now, + various tests)
  + support for enums and sets in is_in_limit()
  * fixed converting smallset expressions to varsets
  * improved choosing an appropriate common set type when mixing
    set types in an expression
  - removed no longer used normalset code from nadd.pas
  - disabled large set (>256 elements) support for now, because
    they are not yet supported entirely throughout the compiler
    and this causes errors at run time in several situations

git-svn-id: trunk@8515 -
2007-09-16 20:04:45 +00:00
Károly Balogh
f3e13f1e68 + removed a define which seems unnecessary
git-svn-id: trunk@8502 -
2007-09-16 11:07:47 +00:00
florian
b11e861b0f + define DEFAULT_DOUBLE on m68k
git-svn-id: trunk@8499 -
2007-09-16 10:20:16 +00:00
florian
334b9b4ee1 * formatting
git-svn-id: trunk@8498 -
2007-09-16 10:08:53 +00:00
florian
095f9cb9dd * fixed wrongly named defines
git-svn-id: trunk@8497 -
2007-09-16 10:06:00 +00:00
Jonas Maebe
4f23f216f6 * fixed mantis #9695 introduced by the fix in r7959
git-svn-id: trunk@8494 -
2007-09-15 21:15:06 +00:00
Tomas Hajny
3b3849c02c + AllFilesMask constant added
git-svn-id: trunk@8492 -
2007-09-15 12:09:25 +00:00