Commit Graph

7306 Commits

Author SHA1 Message Date
florian
1bbe6565b0 * fixes widestring range checking, resolves #10013
git-svn-id: trunk@8971 -
2007-10-28 14:46:41 +00:00
florian
7da7364ee7 * refactored SysResetFPU into SysInitFPU and SysResetFPU
git-svn-id: trunk@8966 -
2007-10-28 12:06:49 +00:00
florian
0ae5dedbc2 * last commit fixed, the steps are: saving, testing, committing, not testing, saving, commtting ;)
git-svn-id: trunk@8961 -
2007-10-27 20:42:48 +00:00
florian
a221785d0b * try to read caller address only when we got a proper base pointer
git-svn-id: trunk@8960 -
2007-10-27 20:23:17 +00:00
florian
d35fae6c74 * monster line fixed
git-svn-id: trunk@8959 -
2007-10-27 20:21:41 +00:00
micha
07ab578088 * fix loading of exit code in haltproc for armeb, exitcode is 32 bit
git-svn-id: trunk@8949 -
2007-10-26 18:39:04 +00:00
florian
370f05c516 * soft float128 code compiles in theory (ies the compiler)
git-svn-id: trunk@8919 -
2007-10-23 20:23:13 +00:00
Jonas Maebe
e64b973cf9 * fixed ppc and ppc64 compilation after r8898
git-svn-id: trunk@8906 -
2007-10-21 22:15:19 +00:00
florian
5a3f71754a - removed odd assembler implementation, using the inline variant usually creates better code
git-svn-id: trunk@8901 -
2007-10-21 19:53:11 +00:00
florian
6b8466633e * forgotten commit (part of last commit)
git-svn-id: trunk@8899 -
2007-10-21 17:41:26 +00:00
florian
7878f0feb3 * made all fpc_*_to_shortstr helpers a procedure, resolves #8580
git-svn-id: trunk@8898 -
2007-10-21 17:33:18 +00:00
Jonas Maebe
45b7358d81 + PIC support for darwin/ppc64
* added {$PIC+} for darwin to all library tests

git-svn-id: trunk@8868 -
2007-10-20 20:14:45 +00:00
Jonas Maebe
072c0fcf0e - removed double entry for convutils unit reported on irc
git-svn-id: trunk@8860 -
2007-10-20 09:25:50 +00:00
florian
4b172f5973 * made rtti for dyn. arrays more delphi compatible, resolves #9464
git-svn-id: trunk@8853 -
2007-10-19 20:27:45 +00:00
Jonas Maebe
2701a0f743 * initialise timespec.tv_sec again for generic BasicEventWaitFor
git-svn-id: trunk@8836 -
2007-10-17 21:14:01 +00:00
micha
5f3e2b10e8 * use sem_timedwait for BasicEventWaitFor if available (linux now)
git-svn-id: trunk@8835 -
2007-10-17 20:49:25 +00:00
florian
4b69743c92 * fixed compilation on non sigbusing cpus
git-svn-id: trunk@8829 -
2007-10-16 21:14:41 +00:00
florian
3f24d63176 * fixed Compare* for CPUs requiring natural alignment
git-svn-id: trunk@8827 -
2007-10-16 20:32:59 +00:00
peter
398363156b * cache stdout threadvar in catchunhandledexception
* retrieve the address of io exception texts instead of assigning to a string

git-svn-id: trunk@8825 -
2007-10-16 19:13:53 +00:00
peter
cd35804502 * cache inoutres threadvar address
git-svn-id: trunk@8824 -
2007-10-16 19:12:29 +00:00
peter
4f862a23a7 * fixed alignment leftover in compare
git-svn-id: trunk@8823 -
2007-10-16 17:53:00 +00:00
florian
3752cfb649 * fix cotan, resolves #9944
git-svn-id: trunk@8819 -
2007-10-15 17:25:52 +00:00
Jonas Maebe
eb6c8fa570 * one more typecast fix
git-svn-id: trunk@8818 -
2007-10-15 14:02:30 +00:00
Jonas Maebe
4486a2cecb * fixed some type casts
git-svn-id: trunk@8817 -
2007-10-15 13:58:45 +00:00
Jonas Maebe
6121df1f67 * moved inclusion of sysos.inc higher up in system.inc, so that
cgeneric.inc can use the C types
  * imports of C routines in cgeneric.inc now use C types

git-svn-id: trunk@8816 -
2007-10-15 13:51:51 +00:00
Jonas Maebe
cc843f5f62 * fixed comparedword in case len=0
git-svn-id: trunk@8815 -
2007-10-15 13:44:57 +00:00
Jonas Maebe
a23d65fa93 * fixed comparedword (same as for ppc32)
git-svn-id: trunk@8813 -
2007-10-15 11:22:03 +00:00
Jonas Maebe
107682e148 * fixed comparedword
* fixed properties

git-svn-id: trunk@8811 -
2007-10-15 10:54:49 +00:00
florian
76b95fb058 * fixed arm-linux compilation with FPC_USE_LIBC
git-svn-id: trunk@8809 -
2007-10-14 21:05:44 +00:00
florian
16a1f65470 o another BeOS Patch by Olivier Coursiere:
* fix a compilation error since a recent change

git-svn-id: trunk@8805 -
2007-10-14 18:36:31 +00:00
florian
79aec138c8 o forgotten BeOS patch by Olivier Coursiere:
+ rtl/beos/i386/sighnd.inc
 + packages/base/pthreads/pthrbeos.inc (basically a verbatim copy of the bsd one, just to compile as pthread support is limited under BeOS)
 * utils/fppkg/Makefile.fpc

git-svn-id: trunk@8804 -
2007-10-14 18:33:24 +00:00
florian
fd237cd084 * whitespaces fixed
git-svn-id: trunk@8803 -
2007-10-14 18:31:32 +00:00
florian
e4fdb15e3f + added critical section protection for putmouseevent, just in case
* typo fixed

git-svn-id: trunk@8802 -
2007-10-14 18:31:04 +00:00
marco
4bec9a23ce * turn implicit exceptions off for most strutils routines.
+/-20% decrease in size

git-svn-id: trunk@8791 -
2007-10-14 11:25:19 +00:00
Jonas Maebe
dc71827e2e * procedure version of fpc_copy to avoid errors with {$x-} (mantis #9918)
git-svn-id: trunk@8790 -
2007-10-14 10:55:40 +00:00
Jonas Maebe
8ed15c96bb - removed COMPPROCINLINEFIXED define and ifdefs (fixed in 2.2.0)
git-svn-id: trunk@8789 -
2007-10-14 09:44:18 +00:00
micha
5d1a952f2a * fix initial state of basicevent
git-svn-id: trunk@8781 -
2007-10-13 20:25:46 +00:00
marco
a43e03f6c0 * Spaces version improved.
git-svn-id: trunk@8780 -
2007-10-13 19:40:16 +00:00
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