Commit Graph

6830 Commits

Author SHA1 Message Date
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
yury
f6e9e2e043 * Lot of fixes in wince windows unit.
git-svn-id: trunk@6127 -
2007-01-22 09:16:36 +00:00
Jonas Maebe
9398d67e51 * fixed SetWaitableTimer declaration
git-svn-id: trunk@6100 -
2007-01-21 16:08:50 +00:00
Károly Balogh
0c03baa24c + few experiments, still a huge mess
git-svn-id: trunk@6094 -
2007-01-21 01:17:02 +00:00
florian
83a0391c24 * gba and nds have no softfloat support
git-svn-id: trunk@6090 -
2007-01-20 20:41:04 +00:00
florian
49796e5151 + TAggregatedObject, fixes #8149
git-svn-id: trunk@6089 -
2007-01-20 20:28:29 +00:00
Károly Balogh
307adfc54a + added this file i forgot, used by video unit
git-svn-id: trunk@6087 -
2007-01-20 00:29:37 +00:00
Károly Balogh
7f0f0d4287 + added required units to compile IDE
they're a total mess ATM, under fixing/cleanup, but IDE start up at least

git-svn-id: trunk@6086 -
2007-01-20 00:27:08 +00:00
daniel
5f1f8936e5 * Comment to document libgpm/xterm mouse mess.
git-svn-id: trunk@6083 -
2007-01-19 22:26:58 +00:00
daniel
ac23d1ea3c * Mouse unit is solely responsible for xterm mouse.
* Improve detection of xterm mouse
  * Improve detection of gpm mouse

git-svn-id: trunk@6082 -
2007-01-19 21:59:24 +00:00
Jonas Maebe
01749b93f3 * disabled checkpointer for Darwin since it doesn't work
git-svn-id: trunk@6079 -
2007-01-19 21:40:58 +00:00
Jonas Maebe
31fa4e78c9 * call libc's exit instead of _exit when doing a halt, so the
libc atexit handlers are called

git-svn-id: trunk@6078 -
2007-01-19 21:05:28 +00:00
pierre
8132e2c5d0 * correct previous patch, the first letter was missing
git-svn-id: trunk@6066 -
2007-01-19 03:34:57 +00:00
pierre
4bd7803e00 * insure that env variable is only truncated if more than 255 chars after the equal sign
git-svn-id: trunk@6065 -
2007-01-19 03:29:40 +00:00
pierre
2c09c499ab * avoid a range check error
git-svn-id: trunk@6064 -
2007-01-19 02:53:46 +00:00
tom_at_work
e501fab034 * replaced all HandleError() calls to appropriate float_raise() calls
* added overflow handling for fpc_exp_real
* removed arbitrary tabbing by spaces, improving readability somewhat

git-svn-id: trunk@6061 -
2007-01-18 22:10:32 +00:00
yury
30db0a17db * added some Delphi compatible redefs and constants.
git-svn-id: trunk@6060 -
2007-01-18 22:09:06 +00:00
peter
8db1abd729 * dummy symbian rtl to get fpcmake working
git-svn-id: trunk@6053 -
2007-01-18 20:25:08 +00:00
peter
3a46ab06a3 * symbian support
git-svn-id: trunk@6052 -
2007-01-18 20:24:44 +00:00
yury
fa5865845a * use float_raise instead of HandleError in fpc_exp_real.
git-svn-id: trunk@6036 -
2007-01-18 00:20:29 +00:00
yury
458abdef3e * implemented SysResetFPU for arm-wince.
* set softfloat_exception_mask in SetExceptionMask for ARM.

git-svn-id: trunk@6035 -
2007-01-17 23:58:19 +00:00
tom_at_work
f6d79e8abb * explicitly enable FPU exception reporting on PowerPC in the MSR because some distros disable them by default
git-svn-id: trunk@6033 -
2007-01-17 22:12:19 +00:00
tom_at_work
67e6d8d2da * fixed float_error() to call HandleError instead of RunError so that they are properly converted to exceptions
git-svn-id: trunk@6032 -
2007-01-17 22:08:36 +00:00
florian
b3137786e2 * forgotten commit
git-svn-id: trunk@6027 -
2007-01-17 18:33:04 +00:00
florian
075011a2a5 * fpa exception masking fixed
git-svn-id: trunk@6026 -
2007-01-17 15:52:36 +00:00
florian
685844b61c * set SSE CSR if sse is supported by the CPU
git-svn-id: trunk@6021 -
2007-01-17 08:27:48 +00:00
florian
a94a681603 * use system unit for SSECSR setter and getter
git-svn-id: trunk@6019 -
2007-01-17 08:08:49 +00:00
yury
9d3a3f3c49 * Fixed SafeArrayGetLBound,SafeArrayGetUBound,CheckVarArrayAndCalculateAddress (variant array bounds are stored in reverse order).
* It fixes test/testv9.pp for non Windows targets. 

git-svn-id: trunk@6008 -
2007-01-17 01:12:03 +00:00
Károly Balogh
baf13df198 + merged MorphOS changes
git-svn-id: trunk@5999 -
2007-01-15 23:59:57 +00:00
Károly Balogh
98f983ce08 + further fixes to sysutils, to make dircache work
git-svn-id: trunk@5998 -
2007-01-15 23:50:09 +00:00
daniel
1911e2fd01 * Use external name to prevent linking errors.
git-svn-id: trunk@5996 -
2007-01-15 23:23:19 +00:00
Károly Balogh
33c3bebd7b + merged changes with amiga sysutils
git-svn-id: trunk@5983 -
2007-01-14 22:33:00 +00:00
daniel
b665e0907c * Fix use_external
git-svn-id: trunk@5982 -
2007-01-14 22:00:15 +00:00
daniel
e47681ab0d * Remove reming usage of errno.
git-svn-id: trunk@5981 -
2007-01-14 21:50:24 +00:00
Károly Balogh
ad98dc7b06 + gadzillion amount of fixes for sysutils
+ changed graphics.move() to gfxMove() to avoid some conflicts

git-svn-id: trunk@5979 -
2007-01-14 21:27:36 +00:00