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
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
micha
f48e51c380
* fix TFPSMap.GetKeyData on non-sorted map ( #9672 )
...
+ add test for issue #9672
git-svn-id: trunk@8485 -
2007-09-14 20:48:29 +00:00
peter
f5ac7ca9be
* remove duplicate sysctl and types
...
git-svn-id: trunk@8471 -
2007-09-14 08:33:40 +00:00
peter
627cf69ae3
* svn props
...
git-svn-id: trunk@8468 -
2007-09-14 07:19:48 +00:00
Tomas Hajny
77fe5f40fe
* remove erratic / unreliable check for DOS version in Do_DiskData
...
git-svn-id: trunk@8461 -
2007-09-13 20:54:00 +00:00
Jonas Maebe
77eaa77772
- reverted r7790 because it's buggy (+ test)
...
git-svn-id: trunk@8444 -
2007-09-12 21:22:08 +00:00
tom_at_work
ddc0ac9a43
* better fix for TFPGSList memory leak: avoid changing allocation behavior (adds one temp entry used for various operations), and clean up in the destructor
...
git-svn-id: trunk@8433 -
2007-09-11 22:23:33 +00:00
tom_at_work
f88c5e1324
* fix memory leak of TFPSList.Clear()
...
git-svn-id: trunk@8431 -
2007-09-11 21:43:27 +00:00
Almindor
a42b134a81
* fix sysenter variable duplication
...
git-svn-id: trunk@8406 -
2007-09-08 14:21:35 +00:00
Almindor
d2e4f53a13
* hopefuly fix the fp* problems for stat and others
...
git-svn-id: trunk@8405 -
2007-09-08 13:51:39 +00:00
Almindor
148255b5cf
* fix deprecated stat calls to use the fp<> ones and not the other way around
...
git-svn-id: trunk@8401 -
2007-09-08 09:55:35 +00:00
Jonas Maebe
5cffd5d22b
* marked TObject.InitInstance as inline
...
git-svn-id: trunk@8400 -
2007-09-08 09:19:13 +00:00
Jonas Maebe
b02fd37fbe
* removed some unused variables
...
git-svn-id: trunk@8399 -
2007-09-08 08:45:12 +00:00
florian
bcd5fc555a
* rtl part of Olivier Coursier's BeOS patch
...
git-svn-id: trunk@8396 -
2007-09-07 19:25:05 +00:00
Jonas Maebe
9bd4fe433b
* fixed buffer overflows in int_str() + test
...
git-svn-id: trunk@8395 -
2007-09-07 14:06:08 +00:00
Jonas Maebe
bd0532f158
* removed unused variable from fpc_shortstr_enum and reformatted
...
its declarations
git-svn-id: trunk@8394 -
2007-09-07 11:54:00 +00:00
yury
ebfd2b6b20
* Fix for tres.pp test by Sergei Gorelkin.
...
git-svn-id: trunk@8375 -
2007-09-04 12:28:14 +00:00