Commit Graph

6205 Commits

Author SHA1 Message Date
peter
b36e38ead1 * win64 compile fixes
git-svn-id: trunk@3296 -
2006-04-20 11:16:46 +00:00
peter
5800aca3e7 * add Set/GetWindowLongPtr
git-svn-id: trunk@3293 -
2006-04-20 10:49:25 +00:00
peter
29a1a31598 * removed
git-svn-id: trunk@3289 -
2006-04-20 05:54:21 +00:00
florian
463b711fa3 * nobody noticed that it was still not added so far :)
git-svn-id: trunk@3287 -
2006-04-19 21:56:17 +00:00
peter
0f87dd9f75 * regenerated
git-svn-id: trunk@3283 -
2006-04-19 15:39:34 +00:00
florian
941a726429 * ensured that all units are always build
git-svn-id: trunk@3274 -
2006-04-18 20:14:02 +00:00
peter
8d34aec3f9 * add WINDIR to sourcedirs
git-svn-id: trunk@3267 -
2006-04-18 06:55:19 +00:00
florian
b8afac6013 * fixed broken makefiles
git-svn-id: trunk@3258 -
2006-04-17 21:48:17 +00:00
florian
4866975145 + more units for win64
* windows units reorganisation

git-svn-id: trunk@3257 -
2006-04-17 21:39:54 +00:00
florian
10b104f451 + build getopts too
git-svn-id: trunk@3253 -
2006-04-17 19:33:32 +00:00
florian
0b0ed3f0f2 * fixed some calling conventions in assembler routines for win64
git-svn-id: trunk@3250 -
2006-04-17 17:17:29 +00:00
florian
9639c8c810 + lineinfo support for win64
git-svn-id: trunk@3245 -
2006-04-17 14:16:46 +00:00
daniel
06ff7b5fd6 * Conversion tables for video unit.
git-svn-id: trunk@3244 -
2006-04-17 13:01:02 +00:00
daniel
f009b5700a * Unix video unit character set conversion overhaul
git-svn-id: trunk@3243 -
2006-04-17 12:39:02 +00:00
florian
807fc6e948 * basic file io fixed for win64
git-svn-id: trunk@3241 -
2006-04-17 08:50:59 +00:00
florian
17d3ebe748 * hopefully now fixed for all platforms
git-svn-id: trunk@3238 -
2006-04-17 07:51:31 +00:00
florian
a440cbc783 * fixed system exception handling
git-svn-id: trunk@3237 -
2006-04-17 07:51:10 +00:00
tom_at_work
c0348fff89 * fixed compilation for 64 bit targets
git-svn-id: trunk@3236 -
2006-04-17 07:40:31 +00:00
armin
31be63f9b5 changed handle to THandle
git-svn-id: trunk@3232 -
2006-04-16 15:28:10 +00:00
armin
5732df1be6 changed handle parameter from longint to THandle
git-svn-id: trunk@3231 -
2006-04-16 15:24:08 +00:00
florian
398cb8e0fe * fixed calling conventions for winx64
git-svn-id: trunk@3230 -
2006-04-16 14:32:35 +00:00
florian
474ba9723c * i386-linux building fixed
git-svn-id: trunk@3229 -
2006-04-16 14:16:02 +00:00
florian
dff1eef6e6 * system exception handling cleaned up
* fixed setjmp for win64

git-svn-id: trunk@3228 -
2006-04-16 12:53:51 +00:00
florian
c8bd730bd7 * the i386 define is cpui386
git-svn-id: trunk@3227 -
2006-04-16 11:44:02 +00:00
florian
4084c4261d + more units for winx64
git-svn-id: trunk@3226 -
2006-04-16 11:37:28 +00:00
florian
1db5db975e * more 64 bit clean up
git-svn-id: trunk@3224 -
2006-04-16 09:42:12 +00:00
armin
52e85b283c changed types for GetDiskFreeSpace[Ex] from longint to longword
git-svn-id: trunk@3222 -
2006-04-15 20:32:16 +00:00
marco
f2ab52a674 * bug5016 and bug5017
git-svn-id: trunk@3216 -
2006-04-15 18:32:34 +00:00
florian
58c01ffd59 * use always GetDiskFreeSpaceEx on Winx64
git-svn-id: trunk@3214 -
2006-04-15 16:56:15 +00:00
florian
598853240c * keep the stack 16 byte aligned on winx64
* fixed some winx64 issues regarding exec

git-svn-id: trunk@3213 -
2006-04-15 16:49:18 +00:00
daniel
b1ae9595dc * Add a group of console ioctl commands.
git-svn-id: trunk@3211 -
2006-04-15 13:49:51 +00:00
micha
ff31761d62 fix datetime from/to timestamp conversion (delphi compat)
git-svn-id: trunk@3201 -
2006-04-13 16:32:07 +00:00
Jonas Maebe
72b75a627a * fixed another bug in fpc_ansistr_append_ansistring in case source = dest
(web bug #4999)

git-svn-id: trunk@3185 -
2006-04-09 19:18:31 +00:00
Jonas Maebe
bd27a09918 * changed record typecast into shift to avoid q3 becoming not
regable in FPC_MUL_INT64

git-svn-id: trunk@3183 -
2006-04-09 18:21:35 +00:00
Tomas Hajny
7b9c5f5c50 * fix for pointer increase
git-svn-id: trunk@3178 -
2006-04-08 19:36:05 +00:00
Tomas Hajny
ad14231358 * fix for OS/2 - StackTop is a pointer now
git-svn-id: trunk@3177 -
2006-04-08 16:48:10 +00:00
yury
801650ee95 * wince rtl compilation fixed.
git-svn-id: trunk@3168 -
2006-04-08 09:00:14 +00:00
Jonas Maebe
35fe1b27cd * GetExceptionMask returned inverted result for exInvalidOp
git-svn-id: trunk@3148 -
2006-04-05 07:46:18 +00:00
florian
6df561bd95 * ensure that exitcode is 0 at start
git-svn-id: trunk@3144 -
2006-04-04 20:57:04 +00:00
oro06
e8df9990e1 *wince : api sip
git-svn-id: trunk@3139 -
2006-04-04 06:44:56 +00:00
Jonas Maebe
0517ce08e2 * fixed ppc fpu exception mask stuff in math unit
+ added test for this functionality

git-svn-id: trunk@3136 -
2006-04-03 11:29:37 +00:00
florian
89f8474388 * unified and moved some win32/win64 stuff
+ more units on win64 compile

git-svn-id: trunk@3131 -
2006-04-02 20:52:17 +00:00
marco
1e7945963c * FIO constants
git-svn-id: trunk@3128 -
2006-04-02 20:25:36 +00:00
florian
0a1275dcf7 * fixed heaptrc for win64
git-svn-id: trunk@3122 -
2006-04-02 18:13:16 +00:00
daniel
e93081c0d0 * More video improvements
git-svn-id: trunk@3103 -
2006-04-01 10:24:22 +00:00
daniel
147716b74d * Fix xterm detection
git-svn-id: trunk@3102 -
2006-04-01 08:21:11 +00:00
marco
d0a755a621 * pinteger removed
git-svn-id: trunk@3092 -
2006-03-31 08:23:43 +00:00
tom_at_work
9b150ce30e - Syscall number update for Kernel 2.6.15
git-svn-id: trunk@3076 -
2006-03-29 21:42:44 +00:00
marco
5d4300fd45 * PSysCharset.
git-svn-id: trunk@3052 -
2006-03-27 09:01:14 +00:00
Almindor
c6d929a5ab * removes useless "uses winsock" from sockets.pp in win32
git-svn-id: trunk@3040 -
2006-03-26 17:31:32 +00:00
marco
6184785fe4 * fix for 4643
git-svn-id: trunk@3035 -
2006-03-25 16:07:36 +00:00
florian
dfacac4657 * fixed SOCK_* for SunOS
git-svn-id: trunk@3034 -
2006-03-25 15:23:23 +00:00
florian
68a096aec6 * fixed AF_* constants
git-svn-id: trunk@3033 -
2006-03-25 15:22:58 +00:00
marco
dd063d920d * currentyear (bug 4904)
git-svn-id: trunk@3031 -
2006-03-25 15:07:54 +00:00
Jonas Maebe
77d20627dc * removed duplicate EVariant class from varutils and incorporated
its implementation details in the EVariant class of sysutils
  + added conversions of variant error codes to exception messages
   (together these fix tw4704)

git-svn-id: trunk@3026 -
2006-03-24 22:47:15 +00:00
Jonas Maebe
2c3d8af195 * fixed typo (invalid type case -> invalid type cast)
git-svn-id: trunk@3025 -
2006-03-24 22:19:47 +00:00
Jonas Maebe
9d893195b5 * fixed potential buffer overflow in fpc_Write_Text_Char/
fpc_Write_Text_WideChar (bug 4919)

git-svn-id: trunk@3024 -
2006-03-24 21:08:51 +00:00
Jonas Maebe
822e41689d fixed Do_IsDevice()
git-svn-id: trunk@3022 -
2006-03-24 19:53:32 +00:00
peter
2d3c01d83a * basic work to make Move() and FillChar() internal under ifdef INTERNALMOVEFILLCHAR
git-svn-id: trunk@3021 -
2006-03-24 17:32:39 +00:00
florian
a446c578ef * sys_errlist fixed
git-svn-id: trunk@3015 -
2006-03-22 21:10:56 +00:00
marco
51e976769d * set trim functions.
git-svn-id: trunk@3013 -
2006-03-22 20:15:03 +00:00
florian
c97598514a * some cleanup
git-svn-id: trunk@2993 -
2006-03-20 22:14:22 +00:00
florian
8d83343971 * pthread consts and types fixed
git-svn-id: trunk@2991 -
2006-03-20 21:16:22 +00:00
peter
096113d370 * support setting translations per unit
* store unitname as the first entry in the resourcestring table

git-svn-id: trunk@2987 -
2006-03-20 12:07:29 +00:00
peter
9381c9360e * Flush all StdIO output files
git-svn-id: trunk@2985 -
2006-03-20 09:56:00 +00:00
peter
ddfa0bd1dd * use resourcstring table again
git-svn-id: trunk@2979 -
2006-03-19 21:16:32 +00:00
Jonas Maebe
e053f4272b * trigger runerror 207 instead of 208 for unknown fpu errors (like on
Linux)

git-svn-id: trunk@2978 -
2006-03-19 20:45:23 +00:00
michael
155df8d326 + StdIO flush now handled as all other files
git-svn-id: trunk@2971 -
2006-03-19 19:18:49 +00:00
Almindor
827abd27d7 * adds fpgetcwd support to sysdir.inc and fixes compilation
git-svn-id: trunk@2969 -
2006-03-19 17:10:04 +00:00
Jonas Maebe
b8e3723bb0 - removed markheap since it doesn't work anymore (since a long
time already in fact)

git-svn-id: trunk@2968 -
2006-03-19 16:44:18 +00:00
peter
323d6cf640 * use -O2 for 2.1.1 compilers
git-svn-id: trunk@2966 -
2006-03-19 11:19:43 +00:00
florian
bf0fc6cc15 * another dependency fixed
git-svn-id: trunk@2963 -
2006-03-19 09:52:36 +00:00
florian
879e2d795f * more dependencies fixed
* cthreads compilation fixed

git-svn-id: trunk@2962 -
2006-03-19 09:48:45 +00:00
Almindor
e57abdf05f * experimental usage of fpgetcwd in osdir.inc
git-svn-id: trunk@2961 -
2006-03-19 09:46:58 +00:00
florian
afe9539e3c * fixed more makefile stuff
git-svn-id: trunk@2960 -
2006-03-19 09:26:18 +00:00
florian
a2f4e33bda * fixed solaris compilation
git-svn-id: trunk@2955 -
2006-03-18 17:17:16 +00:00
florian
49c88c469c * fixed some units to compile
git-svn-id: trunk@2946 -
2006-03-17 21:03:34 +00:00
marco
b9e6cbb71b * fix for bug #4900. Probably result of tlargeinteger changing to int64, breaking alignment/padding
git-svn-id: trunk@2944 -
2006-03-17 20:17:15 +00:00
Jonas Maebe
f3ffa1400a * regenerated for new ppc release optimizer settings
git-svn-id: trunk@2943 -
2006-03-17 17:54:28 +00:00
oro06
8c3cc6007d *wince : api gdi update devmode
git-svn-id: trunk@2939 -
2006-03-17 14:00:27 +00:00
oro06
2dfd48497d *wince : api commctl update tabctrl const
git-svn-id: trunk@2938 -
2006-03-17 08:51:28 +00:00
Jonas Maebe
7d88ba2831 * shell() now also uses vfork() instead of fork() on Darwin
git-svn-id: trunk@2930 -
2006-03-15 22:00:58 +00:00
Jonas Maebe
2a90c43cea + turn on fpu exceptions for darwin/i386
git-svn-id: trunk@2928 -
2006-03-15 21:32:50 +00:00
oro06
432e81ebb9 *wince : api commctl update : propertysheet/tabsheet
git-svn-id: trunk@2924 -
2006-03-15 15:01:59 +00:00
Almindor
2b9ccf6579 * adds comments to to-be-obsolete syscalls for future review
git-svn-id: trunk@2909 -
2006-03-13 14:26:28 +00:00
Vincent Snijders
cfcbd77133 * write caller address, even if no caller frame was found
git-svn-id: trunk@2897 -
2006-03-12 21:30:06 +00:00
florian
7fff4f4d57 * pthreads fixed, still a mess
git-svn-id: trunk@2893 -
2006-03-12 19:47:54 +00:00
marco
457d44c2c2 * fix for 4419 + removed undocumented trimming.
Probably original programmer used space as separator and then
	this works.

git-svn-id: trunk@2891 -
2006-03-12 19:15:07 +00:00
marco
548872e61c * ugly workaround to avoid range check warnings. (4811, 4723)
git-svn-id: trunk@2888 -
2006-03-12 16:24:46 +00:00
florian
744c7a4acc * fixed gmake -j, reduces compilation time by 50 % if enough CPUs are available
git-svn-id: trunk@2887 -
2006-03-12 15:40:32 +00:00
florian
3cb662b1f2 * fixed RTLCriticalSection
git-svn-id: trunk@2886 -
2006-03-12 15:21:35 +00:00
Almindor
4afe7ef0c9 * Simplified and fixed (previous mistake..) select/newselect
git-svn-id: trunk@2885 -
2006-03-12 13:25:02 +00:00
Almindor
8924d3f37a * linux-i386 uses new_select now too
git-svn-id: trunk@2884 -
2006-03-12 13:03:33 +00:00
florian
ae64fc524b * fixed mutex constants
git-svn-id: trunk@2883 -
2006-03-12 11:45:34 +00:00
florian
246eb14e95 * fixed widestring lib on solaris
git-svn-id: trunk@2882 -
2006-03-12 10:09:41 +00:00
florian
5671bf276c * fixed solaris signal handling
git-svn-id: trunk@2881 -
2006-03-12 09:54:02 +00:00
marco
eb5d494b12 * fix for double-write bug, probably in since r1353
git-svn-id: trunk@2869 -
2006-03-11 21:33:51 +00:00
Jonas Maebe
d36a518a2f + added cpu unit for i386-darwin
git-svn-id: trunk@2867 -
2006-03-11 21:15:45 +00:00
marco
7e963e7f3e * fix for Marc Santhoffs problems
git-svn-id: trunk@2860 -
2006-03-11 15:04:28 +00:00
Jonas Maebe
d222c49740 + compile mmx unit for i386-darwin
git-svn-id: trunk@2859 -
2006-03-11 15:04:03 +00:00
marco
a84d1172b5 * fix for 4827
git-svn-id: trunk@2858 -
2006-03-11 14:59:17 +00:00
Jonas Maebe
83b1c3736a * fixed assembler version of fpc_AnsiStr_Decr_Ref (based on remark
from Martin Schreiber)

git-svn-id: trunk@2856 -
2006-03-11 14:16:11 +00:00
Jonas Maebe
15270b67be - disabled assembler ansistring helpers for darwin/x86 because they don't
keep 16 byte stack alignment

git-svn-id: trunk@2852 -
2006-03-11 13:18:28 +00:00
Jonas Maebe
a90e3b3e1d * fixed argc/argv/envp catching for darwin/x86 (not really nice, but
works)

git-svn-id: trunk@2848 -
2006-03-10 23:45:37 +00:00
peter
f893e5ab6c * updated
git-svn-id: trunk@2836 -
2006-03-10 15:21:16 +00:00
peter
9d96f32bdc * remove resourcestring tables
git-svn-id: trunk@2835 -
2006-03-10 15:20:35 +00:00
peter
a6c5ca657f * Win32Check compatibility
git-svn-id: trunk@2832 -
2006-03-10 14:21:12 +00:00
Almindor
a365a18fe2 * Fixes a crash with epoll_event / epoll_data records
git-svn-id: trunk@2823 -
2006-03-09 20:35:38 +00:00
Jonas Maebe
f868c80460 + i386-darwin support (use fpcmake from after 12 February 2006)
git-svn-id: trunk@2820 -
2006-03-09 15:26:49 +00:00
Jonas Maebe
cb94ba5457 * fixed compilation errors
git-svn-id: trunk@2815 -
2006-03-09 09:13:42 +00:00
Jonas Maebe
1ef28da67b + initial implementation
git-svn-id: trunk@2813 -
2006-03-08 22:22:03 +00:00
Almindor
11398b33ab Adds winsock2 support
git-svn-id: trunk@2801 -
2006-03-07 17:39:28 +00:00
yury
8a12d38862 * For wince external startup file is used and placed first, because ARM prolog structure must be located at the very beginning of code. Otherwise exceptions do not work properly.
git-svn-id: trunk@2786 -
2006-03-06 10:53:31 +00:00
daniel
d772104ce7 * Send escape code to xterm to make alt+key send an escape prefix.
git-svn-id: trunk@2777 -
2006-03-05 22:00:20 +00:00
yury
1d58b572b5 * Changed Win32 DLL entry point names (removed @12 at the end).
git-svn-id: trunk@2770 -
2006-03-05 20:44:23 +00:00
daniel
08bf4afa30 * Add extra sequences for FreeBSD xterm
git-svn-id: trunk@2761 -
2006-03-05 18:27:17 +00:00
marco
a0573f1015 * a few type aliases added, capitalisation fixed
git-svn-id: trunk@2756 -
2006-03-05 13:28:27 +00:00
marco
8d2dd005c7 * tms and iovec structures
git-svn-id: trunk@2755 -
2006-03-05 13:01:24 +00:00
yury
c93aeb8e04 * Linker error fixed.
* DLL support for wince. Still one issue: DLLs can not do console i/o.
* StackTop support.

git-svn-id: trunk@2754 -
2006-03-05 12:38:56 +00:00
Tomas Hajny
21d7670a0b * StackTop now common and changed to pointer (remove duplicate declaration)
git-svn-id: trunk@2753 -
2006-03-05 10:41:47 +00:00
Tomas Hajny
237525c698 * StackTop now pointer
git-svn-id: trunk@2752 -
2006-03-05 10:41:12 +00:00
Tomas Hajny
b108f79236 * StackTop now common (remove duplicate)
git-svn-id: trunk@2751 -
2006-03-05 10:37:55 +00:00
Tomas Hajny
88a8aa31d9 * Slight optimization (constant instead of variable in assignment)
git-svn-id: trunk@2747 -
2006-03-04 23:09:06 +00:00
Tomas Hajny
ccbc7717cc * Fix to allow / instead of " fexpand.inc
git-svn-id: trunk@2746 -
2006-03-04 23:05:24 +00:00
tom_at_work
a0bc256b8f * added syscall_nr_pwrite/read64 aliases for build
git-svn-id: trunk@2737 -
2006-03-04 18:40:17 +00:00
marco
6f0e817973 * pwrite/writev for *BSD + FPC_USE_LIBC. Requires IOVEC et al to be defined in ostypes.inc
git-svn-id: trunk@2734 -
2006-03-04 14:21:42 +00:00
Vincent Snijders
b0a394edfc fixed typo
git-svn-id: trunk@2732 -
2006-03-04 13:34:07 +00:00
marco
24c0b496dd * commit of the syscall based linux support for pwrite/writev, still under
{$ifdef linux}. This to fix x86_64 breakage.

git-svn-id: trunk@2731 -
2006-03-04 12:40:45 +00:00
peter
9566255122 * allow out file parameters
* assign has out file

git-svn-id: trunk@2717 -
2006-03-01 10:18:47 +00:00
marco
c93d9eea7a * another attempt at committing the EPOLL changes.
git-svn-id: trunk@2709 -
2006-02-28 20:25:14 +00:00
daniel
f1a5389b0b * Only update what is modified
git-svn-id: trunk@2707 -
2006-02-28 10:46:36 +00:00
daniel
740c68106b + Add pread/pwrite system calls
* Optimize video using pwrite

git-svn-id: trunk@2705 -
2006-02-27 23:18:35 +00:00
peter
98bced6f63 * stacktop is a threadvar
git-svn-id: trunk@2698 -
2006-02-26 19:56:22 +00:00
peter
4c56a87d59 * integrate loaders in system unit
git-svn-id: trunk@2695 -
2006-02-26 18:21:35 +00:00
marco
57dafa3b65 * wince x86_64 added
git-svn-id: trunk@2690 -
2006-02-26 13:58:27 +00:00
marco
74cc89f41a * some fixes to keep fppkg happy
git-svn-id: trunk@2689 -
2006-02-26 13:58:10 +00:00
marco
103830cd59 * fixed sinlen
git-svn-id: trunk@2688 -
2006-02-26 00:53:11 +00:00
marco
4509209df7 * socketerror
git-svn-id: trunk@2687 -
2006-02-26 00:51:19 +00:00
Tomas Hajny
3114cbe049 * fix for buggy FileExists and DirectoryExists
git-svn-id: trunk@2684 -
2006-02-26 00:28:26 +00:00
florian
afae195b4f + from Martin Smat: adds hbmpItem into the record MENUITEMINFO and defines constant MIIM_BITMAP
git-svn-id: trunk@2681 -
2006-02-25 18:50:42 +00:00
daniel
2a14ed7c32 * Optimize keyboard unit for code size; now 3kb+ object code less.
git-svn-id: trunk@2678 -
2006-02-24 23:31:55 +00:00
peter
2d97d480ed * stkptr is global
git-svn-id: trunk@2675 -
2006-02-24 11:13:46 +00:00
florian
466227bdb0 * fixed x86-64 send/recv socket call
git-svn-id: trunk@2674 -
2006-02-23 20:47:40 +00:00
peter
9cd5a800af * check for nil in concat_multi
git-svn-id: trunk@2658 -
2006-02-20 17:15:05 +00:00
Vincent Snijders
d91f3f9bf6 fixed typo in comment
git-svn-id: trunk@2656 -
2006-02-20 13:23:15 +00:00
peter
4b7f51b0aa * fixed uninitialized var
git-svn-id: trunk@2654 -
2006-02-20 11:24:38 +00:00
Jonas Maebe
23b5138f78 + telldir returns a TOff, change searchpos for findfirst/next in Dos from
longint into TOff

git-svn-id: trunk@2652 -
2006-02-20 11:00:40 +00:00
Jonas Maebe
9455dea30b + slice constant
git-svn-id: trunk@2651 -
2006-02-20 10:59:42 +00:00
peter
a77f503a30 * optimize multiple concats for ansi/widestring
git-svn-id: trunk@2650 -
2006-02-20 10:58:28 +00:00
peter
f411f615c6 * nostackframe directives
git-svn-id: trunk@2648 -
2006-02-20 10:37:42 +00:00
Jonas Maebe
2c46fe0790 * fixed range error
git-svn-id: trunk@2647 -
2006-02-20 10:20:58 +00:00
peter
340cf721b5 * faster int_str
* removed i386 int_str since the generic implementation is faster

git-svn-id: trunk@2646 -
2006-02-20 08:31:20 +00:00
peter
cfc810420a * fixed base
git-svn-id: trunk@2645 -
2006-02-20 08:22:27 +00:00
peter
c794c30c50 * fix fpugetrlimit
git-svn-id: trunk@2643 -
2006-02-20 07:41:28 +00:00
florian
0f55bd3d42 * small speed improvements
git-svn-id: trunk@2634 -
2006-02-19 16:59:19 +00:00
florian
0cc2b9b16b * small speed improvements
git-svn-id: trunk@2633 -
2006-02-19 16:59:03 +00:00
florian
0089de9428 * improved exception handling code
git-svn-id: trunk@2632 -
2006-02-19 15:48:15 +00:00
florian
0d61229d63 * fpc_ansistring_decr improved
git-svn-id: trunk@2629 -
2006-02-19 14:38:06 +00:00
florian
e2e51d6757 * improved SetLength(<ansistring>,...);
git-svn-id: trunk@2628 -
2006-02-19 14:37:48 +00:00
florian
0a21ae4b05 * reset fpu after sse detection
git-svn-id: trunk@2626 -
2006-02-19 13:54:10 +00:00
marco
a561bb8410 * added fptimes which was already imported in the syscall port
git-svn-id: trunk@2624 -
2006-02-18 21:36:11 +00:00
marco
a9123d78d8 * Some TCP/IP constants added (for indy use)
git-svn-id: trunk@2623 -
2006-02-18 21:20:12 +00:00
daniel
3a60adb3a1 * var back to out
git-svn-id: trunk@2607 -
2006-02-16 08:03:13 +00:00
daniel
b2202654ca * It could be done even better.
git-svn-id: trunk@2606 -
2006-02-16 00:18:21 +00:00
daniel
3adcaaad36 * Faster and more compact integer str routines
git-svn-id: trunk@2605 -
2006-02-15 23:43:27 +00:00
mazen
aeb162e4e1 + added target arm-palmos (please use an fpcmake later than 04 feb 2006 in future)
git-svn-id: trunk@2603 -
2006-02-15 22:05:04 +00:00
yury
ee1ef7d207 * added smartphones virtual key codes.
git-svn-id: trunk@2599 -
2006-02-15 16:59:21 +00:00
Jonas Maebe
718d697498 * ifdef powerpc -> ifdef cpupowerpc
git-svn-id: trunk@2593 -
2006-02-15 11:48:26 +00:00
Károly Balogh
a00da18d3a + more cleanup
git-svn-id: trunk@2574 -
2006-02-14 18:38:03 +00:00
Károly Balogh
a475701240 * copyright message and header comment fixed
git-svn-id: trunk@2572 -
2006-02-14 17:38:12 +00:00
Károly Balogh
08aa0b4755 + few changes/cleanups here and there, untested
git-svn-id: trunk@2571 -
2006-02-14 17:33:31 +00:00
yury
acaf1e33cf * Added CreateDialogParam and CreateDialog declarations.
git-svn-id: trunk@2564 -
2006-02-14 00:22:48 +00:00
peter
87b5e282d7 * missing FIO constants
git-svn-id: trunk@2561 -
2006-02-13 13:58:35 +00:00
peter
0cef678a92 * make solaris zipinstall working
* remove ezcgi.inc, use GetEnvironmentVariable from SysUtils

git-svn-id: trunk@2558 -
2006-02-13 09:15:11 +00:00
marco
05bb11b2ba * syscalls regenerated by Neli.
git-svn-id: trunk@2552 -
2006-02-12 21:45:34 +00:00
tom_at_work
f86ee115d8 * more fixes for 64 bit compilation after Peter's changes
* updated and added a warning notice about changing structures in this file to objpash.inc

git-svn-id: trunk@2547 -
2006-02-12 20:33:33 +00:00
tom_at_work
a3295f379a * removed powerpc64/linux from SMARTLINKTARGETS. Takes way too much time without an internal binwriter.
* regenerated makefiles

git-svn-id: trunk@2546 -
2006-02-12 20:26:15 +00:00
marco
ae93f21326 * makefiles updated for linux <-> oldlinux
git-svn-id: trunk@2545 -
2006-02-12 19:16:21 +00:00
marco
b778d3723e * removed 1.0.x bootstrap situation related to unix linux
git-svn-id: trunk@2544 -
2006-02-12 19:07:43 +00:00
marco
c2d5016d77 * linux unit moved and renamed.
git-svn-id: trunk@2543 -
2006-02-12 19:06:39 +00:00
marco
a0ee97efb1 * linuxold etc moved to linux/ No need anymore for 1.0.x bootstrapping
git-svn-id: trunk@2542 -
2006-02-12 19:03:58 +00:00
marco
29ed5e8063 * unit freebsd added
git-svn-id: trunk@2533 -
2006-02-12 14:50:51 +00:00
marco
a5d3c6f81a * sendfile call
git-svn-id: trunk@2532 -
2006-02-12 14:35:19 +00:00
marco
af2c37c43f * sendfile support FreeBSD fpc_use_libc etc
git-svn-id: trunk@2531 -
2006-02-12 14:34:04 +00:00
marco
1656cdc574 * little fixes related to KQueue and Sendfile
git-svn-id: trunk@2529 -
2006-02-12 14:12:15 +00:00
marco
4eb1f8d407 * iovec
git-svn-id: trunk@2528 -
2006-02-12 14:00:46 +00:00
peter
d7692a588e * fix alignments in vmt, remove all explicit 16 and 32 bit values
git-svn-id: trunk@2521 -
2006-02-11 20:46:28 +00:00
marco
c10f73f1a3 * BSD unit added.
git-svn-id: trunk@2520 -
2006-02-11 20:02:40 +00:00
marco
a2fb3fb60d * Initial implementation based on an implementation of Ales Katona.
git-svn-id: trunk@2519 -
2006-02-11 20:02:13 +00:00
marco
0875bcc865 * Kqueue syscalls
git-svn-id: trunk@2518 -
2006-02-11 19:12:08 +00:00
Jonas Maebe
79403454c5 * fixed netware compilation
git-svn-id: trunk@2514 -
2006-02-11 08:50:46 +00:00
florian
a9198b7300 * ensure always 16 byte aligned memory blocks
git-svn-id: trunk@2511 -
2006-02-10 19:08:43 +00:00
oro06
e422ddbca3 *wince : api shell update, system.MainInstance is dword
git-svn-id: trunk@2507 -
2006-02-10 09:49:13 +00:00
peter
042afa256c * reset lockcount in SafeArrayCreate and SafeArrayCopy, patch by Tomas Stejskal
-This line, and those below, will be ignored--

M    varutils.inc

git-svn-id: trunk@2503 -
2006-02-10 06:50:23 +00:00
florian
5e84d37b2d + flock implemented in pascal
git-svn-id: trunk@2499 -
2006-02-09 15:17:29 +00:00
oro06
b18fc0479b *wince : api update, coredll available exported function list
git-svn-id: trunk@2497 -
2006-02-09 10:59:59 +00:00
peter
7dfdc2fe4d * stkptr fixed
git-svn-id: trunk@2495 -
2006-02-09 08:23:07 +00:00
peter
91ab7f151a * missing includes
git-svn-id: trunk@2491 -
2006-02-09 07:04:12 +00:00
florian
cf4b0a2185 * flock will get a pascal implementation on Solaris
git-svn-id: trunk@2490 -
2006-02-08 23:24:39 +00:00
florian
9005442652 * fixed some data types
git-svn-id: trunk@2489 -
2006-02-08 23:23:33 +00:00
Jonas Maebe
0e2a5dde24 * the pointer parameter of fpc_Read_Text_PChar_As_Pointer is not an
out parameter, but a const (the pointer is const and must be
    valid already)

git-svn-id: trunk@2486 -
2006-02-08 20:32:32 +00:00
Jonas Maebe
1e47e5a2db * initialise processaddress for darwin
git-svn-id: trunk@2485 -
2006-02-08 20:31:45 +00:00
peter
513cbb1c6e * Make RTL compilable
git-svn-id: trunk@2476 -
2006-02-08 08:56:16 +00:00
florian
a7893f3be8 * some functions are in different libraries under Solaris
git-svn-id: trunk@2475 -
2006-02-07 22:37:35 +00:00
florian
fd0f51c463 * map bus error to runerror 214
git-svn-id: trunk@2474 -
2006-02-07 21:43:39 +00:00
florian
0c8c95c334 * older Solaris doesn't have trunc in libc
git-svn-id: trunk@2473 -
2006-02-07 21:40:19 +00:00
florian
fe2b798378 * made a lot of Solaris rtl stuff compilable
git-svn-id: trunk@2471 -
2006-02-07 20:17:44 +00:00
peter
4be3a232fc * solaris added
git-svn-id: trunk@2467 -
2006-02-07 10:51:41 +00:00
florian
6a03189443 * fixed hello world on sparc/solaris
git-svn-id: trunk@2462 -
2006-02-06 21:45:56 +00:00
mazen
bc18d6eb8a + added palmos support to makes files
+ added Makefile.fpc to palmos in rtl
+ added faked prt0 to plamos rtl

git-svn-id: trunk@2443 -
2006-02-05 19:22:12 +00:00
daniel
aef758d3b5 * FreeBSD delete key
* Alt+Backspace in xterm

git-svn-id: trunk@2425 -
2006-02-04 08:31:18 +00:00
Jonas Maebe
1bcde3436d * random(int64(0)) now return 0 instead of division by zero
* random(negative_longint) now returns values between -l+1 and 0
    instead of between -l and 0

git-svn-id: trunk@2422 -
2006-02-03 20:57:32 +00:00
Jonas Maebe
7338c03fac + comp and int64 overloads for floattostr(f)
git-svn-id: trunk@2403 -
2006-02-02 10:33:12 +00:00
daniel
d19c95db8f * various bugfixes
- Disable shared linking for now since it since it simply breaks
    svn. (Already disabled in Makefile itself, likely accidentally
    done with an old FPCMake, but it "fixed" svn to compile.)

git-svn-id: trunk@2401 -
2006-02-02 08:22:35 +00:00
Károly Balogh
deb2bd1e24 - deleted readme containing obsolete info
git-svn-id: trunk@2394 -
2006-02-01 16:00:40 +00:00
Károly Balogh
572c8430ac + more mess to make the skeleton amiga rtl compile
git-svn-id: trunk@2393 -
2006-02-01 15:35:33 +00:00
Károly Balogh
fe6637884d + some basic system unit. morphos one with _lot_ of commented out parts
git-svn-id: trunk@2392 -
2006-02-01 15:21:29 +00:00
Jonas Maebe
e9a6b3dc10 * fixed some FloatToStrF and FloatToStr precision problems. Still fails
for some corner cases (e.g. 8.502 as double), but that problem is in
    str_real

git-svn-id: trunk@2390 -
2006-02-01 10:22:52 +00:00
daniel
eb45aa901f * Remove debugging code.
git-svn-id: trunk@2389 -
2006-02-01 08:27:30 +00:00
peter
a293a2486d * remove useless comment
git-svn-id: trunk@2388 -
2006-02-01 06:34:31 +00:00
florian
818ac29ba2 + some files from old fixes branch added
git-svn-id: trunk@2385 -
2006-01-31 21:55:42 +00:00
daniel
56d3bf1403 + Keyboard unit overhaul
+ Shift+arrow keys now working in xterm
     + Keyboard restored when vt-switching away from application on Linux
       console
     + Escape key remapped on Linux console so it works instantly.
     + Try to use Linux console more aggressively
     + Linux specific code now only executed on Linux terminals and not
       on xterm, FreeBSD etc.

git-svn-id: trunk@2383 -
2006-01-31 10:26:25 +00:00
peter
e58e92c4fa * added sumInt
git-svn-id: trunk@2380 -
2006-01-29 19:46:14 +00:00
daniel
0c050527ca * 2.0 workaround
git-svn-id: trunk@2379 -
2006-01-29 18:15:50 +00:00
tom_at_work
64c8d25dcf * added __stkptr global in cprt0 for powerpc/linux
git-svn-id: trunk@2377 -
2006-01-29 17:54:04 +00:00
tom_at_work
453bb6d1c9 * removed libc package from build for every linux platform but i386 and x86-64 (libc is a x86 specific kylix compatibility library)
git-svn-id: trunk@2376 -
2006-01-29 17:49:42 +00:00
michael
dcb932d367 + Patch from Michalis Kamburelis to fix hex2dec behaviour in case of error
git-svn-id: trunk@2373 -
2006-01-29 10:28:37 +00:00
daniel
b53d90a328 * Comitted too quickly
git-svn-id: trunk@2371 -
2006-01-29 08:28:46 +00:00
daniel
c1e09fab0c * Fix 2.0.0 compat
git-svn-id: trunk@2370 -
2006-01-29 08:00:16 +00:00
daniel
bb797e93f0 * vcsa functionality moved into linuxvcs unit
* Reverse ifdef in gpm

git-svn-id: trunk@2366 -
2006-01-28 23:17:48 +00:00
daniel
c182af93ab * Overhaul of key recognition codes. Should recognize key much
better now, even without terminfo, which has been removed so another
    libc dependency is gone.

git-svn-id: trunk@2361 -
2006-01-28 22:21:28 +00:00
michael
cbdda429c5 + Patch from Graeme Geldenhuys to fix ExtractFileDrive
git-svn-id: trunk@2359 -
2006-01-28 18:10:07 +00:00
michael
736b9ec000 + Patch from Graeme Geldenhuys to add delphi compatibility function
git-svn-id: trunk@2358 -
2006-01-28 18:07:23 +00:00
daniel
ea2af1b3aa + Much more agressive VCSA detection. Now works from inside Midnight Commander.
git-svn-id: trunk@2351 -
2006-01-27 10:46:26 +00:00
daniel
45d159eaad * Another libc dependency less
git-svn-id: trunk@2348 -
2006-01-26 22:14:46 +00:00
marco
2a1d81db28 * fdset is now array of unsigned.
git-svn-id: trunk@2347 -
2006-01-26 21:11:37 +00:00
oro06
0b206dcb26 *wince : more windows extended styles
git-svn-id: trunk@2346 -
2006-01-26 19:12:23 +00:00
oro06
8a48da8a70 -SHLoadImage not really exported on wince4.2 SE
git-svn-id: trunk@2345 -
2006-01-26 15:11:13 +00:00
oro06
650845915f *wince : more shell api
git-svn-id: trunk@2344 -
2006-01-26 14:17:22 +00:00
peter
6c905f6266 * added missing varString,varOlestr to ordinals
git-svn-id: trunk@2340 -
2006-01-25 22:05:31 +00:00
Tomas Hajny
bbd4886809 * fix for wrong pointer increment (causing crash/heap corruptions)
git-svn-id: trunk@2337 -
2006-01-25 21:26:38 +00:00
peter
50dc3390e8 * gprof fixes
git-svn-id: trunk@2322 -
2006-01-22 11:23:41 +00:00
Jonas Maebe
5e694a801e * use vfork instead of fork for popen and one variant of executeprocess
if USE_VFORK is defined (currently only if both BSD and FPC_USE_LIBC
    are defined). Speeds up the compilation of the compiler under Darwin
    by 20-25% (the larger the project, the bigger the speedup).

git-svn-id: trunk@2317 -
2006-01-21 20:19:19 +00:00
marco
768bf94a99 * more "shared" fixes
git-svn-id: trunk@2295 -
2006-01-15 14:56:20 +00:00
marco
77d20d988c * some patches related to shared linking + some AMD64 checks.
git-svn-id: trunk@2294 -
2006-01-15 14:33:30 +00:00
Vincent Snijders
32fc7668cc write pointer values using 16 hexadecimal digits on 64 bits platforms
git-svn-id: trunk@2293 -
2006-01-15 14:12:42 +00:00
marco
b6ac26d673 * picified syscall code
git-svn-id: trunk@2292 -
2006-01-15 12:00:49 +00:00
marco
762e335da1 * .size stuff for GOT
git-svn-id: trunk@2290 -
2006-01-15 00:08:15 +00:00
oro06
1d48e6ce78 +wince : dialogbox
git-svn-id: trunk@2289 -
2006-01-14 16:11:48 +00:00
florian
e9b718a0a2 * cleanup
git-svn-id: trunk@2282 -
2006-01-14 12:55:26 +00:00