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
Jonas Maebe
084f47708a
* fixed CtrlZMarksEOF comment ( #9475 )
...
git-svn-id: trunk@8372 -
2007-09-03 18:36:45 +00:00
yury
498da17875
* Patch from Sergei Gorelkin (Mantis #9558 ):
...
- Enables support for resource types;
- Enables support for numeric resource IDs;
- Removes initialization and runtime resource info. That initialization only did two pointer additions per resource, but required use of ansistrings and memory manager. I believe that positive impact on resource usage overweights performance impact from inlining the pointer additions...
git-svn-id: trunk@8368 -
2007-09-03 13:41:38 +00:00
marco
d539d9c54d
* fix for 9588
...
git-svn-id: trunk@8366 -
2007-09-03 13:24:26 +00:00
Almindor
b8c3dc960d
* fix x86 -> cpu86 define
...
* add tee() function
git-svn-id: trunk@8365 -
2007-09-03 10:54:44 +00:00
Almindor
6fd901181a
* update sysnr.inc for x86 and x86_64 to latest kernel
...
* add splice syscall to linux unit for x86 and x86_64
git-svn-id: trunk@8364 -
2007-09-02 22:06:04 +00:00
michael
3ed12b0229
* Small patch from Inoussa OUEDRAOGO so it compiles with Delphi
...
git-svn-id: trunk@8363 -
2007-09-02 21:57:51 +00:00
marco
e034788320
* two semi colon's added and compilation checked
...
git-svn-id: trunk@8342 -
2007-08-30 20:09:35 +00:00
yury
ae90ae077a
* Added missing TPM_BOTTOMALIGN constant.
...
git-svn-id: trunk@8334 -
2007-08-29 16:17:02 +00:00
Jonas Maebe
cce61fa602
* fixed compilation on 64 bit cpus
...
git-svn-id: trunk@8333 -
2007-08-29 14:31:17 +00:00
Jonas Maebe
a57f9e0672
+ added QWord overloads for IntToHex, hexStr, OctStr, binStr
...
git-svn-id: trunk@8332 -
2007-08-29 12:06:54 +00:00
Almindor
6a327799f8
* fix typo with [T]SysInfo record
...
git-svn-id: trunk@8331 -
2007-08-29 11:59:47 +00:00
Almindor
89eeb8aa63
* fix linux sysinfo struct and function (bug 9523)
...
git-svn-id: trunk@8330 -
2007-08-29 10:08:02 +00:00
Almindor
9525a96db7
* update winsock2 to version 2.2 regarding SO_ and AF_ constants
...
git-svn-id: trunk@8329 -
2007-08-29 09:38:01 +00:00
yury
a768c29b2d
* Implemented GetTempDir for wince. Bug #9348 .
...
git-svn-id: trunk@8326 -
2007-08-28 21:17:49 +00:00
Jonas Maebe
9238ea2850
* fixed potential range errors
...
git-svn-id: trunk@8321 -
2007-08-28 19:01:49 +00:00
yury
685810c18c
* Fixed fpc_WideCharArray_To_WideStr in case if widechar array contains empty string.
...
+ Test.
git-svn-id: trunk@8317 -
2007-08-28 09:53:29 +00:00
peter
65afe53eb0
* fix settimeofday timeval parameter
...
git-svn-id: trunk@8315 -
2007-08-28 09:29:25 +00:00
michael
287c262d10
* Added copy,length and setlength
...
git-svn-id: trunk@8306 -
2007-08-25 13:41:22 +00:00
yury
3cbd1fb108
* Properly implement registry API ANSI wrappers for wince.
...
git-svn-id: trunk@8301 -
2007-08-22 22:13:59 +00:00
yury
2e75d6726a
* Fixed internal Ansi<->Wide conversion routines.
...
git-svn-id: trunk@8300 -
2007-08-22 22:13:07 +00:00
Jonas Maebe
cb744d37ff
- reverted change for avoiding recompilation of units in subdirs,
...
it breaks other things
git-svn-id: trunk@8298 -
2007-08-22 08:16:10 +00:00
Jonas Maebe
30bc89cfe5
* fixed dependency checking for source files in subdirectories relative
...
to the makefile location + regenerated all Makefiles
* hopefully fixed fpmkunit dependencies
git-svn-id: trunk@8297 -
2007-08-22 07:04:23 +00:00
Almindor
7a21cb5888
* add preliminary UnixSockets with linux implementation
...
git-svn-id: trunk@8290 -
2007-08-19 13:35:43 +00:00
florian
a01b377e40
* patch for #9449 by Sergei Gorelkin
...
git-svn-id: trunk@8289 -
2007-08-17 18:39:27 +00:00
Almindor
1e4dd0685a
* fix bug #9438
...
git-svn-id: trunk@8288 -
2007-08-16 09:58:35 +00:00
Almindor
8a0eeb5e57
* make the updates also compilable (move struct down, add LPWSAMSG = PWSAMSG)
...
git-svn-id: trunk@8277 -
2007-08-13 11:01:04 +00:00
Almindor
3f6f91ae79
* adds WSARecvMsg and WSASendMsg along with requires structure to winsock2
...
git-svn-id: trunk@8276 -
2007-08-13 10:43:22 +00:00
Jonas Maebe
815cd2b39d
+ support for widestring manager based widechar conversions
...
(widechar<->char, widechar<>*string), based on patch from
Rimgaudas Laucius (mantis #7758 )
* no longer perform compile-time widechar/string->char/ansi/
shortstring conversions if they would destroy information
(they can't cope with widechars with ord>=128). This means
that you can now properly constant widechars/widestrings
in source code with a {$codepage } set without risking that
the compiler will mangle everything afterwards
* support ESysEINVAL return code from iconv (happens if last
multibyte char is incomplete)
* fixed writing of widechars (were converted to char -> lost
information)
git-svn-id: trunk@8274 -
2007-08-12 20:01:08 +00:00
Jonas Maebe
123362235b
* use initc.fpgetCerrno rather than fpgeterrno to get the errno
...
results of the sem_* routines (since those always come from libc/
libpthread)
git-svn-id: trunk@8266 -
2007-08-12 08:29:48 +00:00
Jonas Maebe
4457538435
* explicitly unmask SIGSEGV, SIGILL, SIGBUS and SIGFPE at the start
...
of a new thread (should fix #9073 )
git-svn-id: trunk@8265 -
2007-08-11 20:59:37 +00:00
Jonas Maebe
ce86cedd4d
* return wrAbandoned rather than wrError from IntbasiceventWaitFor
...
in case a sleep is interrupted while the event is being destroyed
git-svn-id: trunk@8260 -
2007-08-11 08:13:36 +00:00
Jonas Maebe
ef801ba3a3
* check once more whether we can lock after we've waited
...
for the entire timeout in IntbasiceventWaitFor
git-svn-id: trunk@8259 -
2007-08-11 08:07:44 +00:00
Jonas Maebe
494fb81dd8
* fixed semaphore implementation based on file handles (select needs
...
file descriptor + 1 as first parameter, select can also be EIntr)
* changed IntbasiceventWaitFor (used by syncobjs) so it can emulate
timeouts (using a loop and short sleeps) (mantis #9414 )
* also added wrAbandoned support to IntbasiceventWaitFor
* enhanced tbrtlevt.pp to test new functionality
git-svn-id: trunk@8257 -
2007-08-10 20:20:44 +00:00
Tomas Hajny
908a116cfc
* preserve gs in far_strlen
...
git-svn-id: trunk@8256 -
2007-08-09 18:51:15 +00:00
Tomas Hajny
05b3c0311b
* make sure to preserve edi in free_memory_block
...
git-svn-id: trunk@8255 -
2007-08-09 18:41:27 +00:00
Tomas Hajny
1967deb137
* missing size modifier added
...
git-svn-id: trunk@8254 -
2007-08-09 18:38:09 +00:00
yury
1a661dc254
* TAPI fixes by S0vNark0m.
...
+ SimMgr API by S0vNark0m.
git-svn-id: trunk@8251 -
2007-08-09 09:55:01 +00:00
Jonas Maebe
fd98a0cc5b
* don't call runerror if a unix threading error occurs (because this
...
immediately terminates the whole application), but instead call
handleerrorframe (which can be converted into an exception) (#7954 )
git-svn-id: trunk@8248 -
2007-08-08 13:59:17 +00:00
Jonas Maebe
f3a00b0731
* cache result of GetThreadManager in InitThreads
...
git-svn-id: trunk@8245 -
2007-08-08 11:33:54 +00:00
Jonas Maebe
e205481027
* fixed sparc bootstrap
...
* use -Av9 assembler option so it accepts the memory barrier opcodes
git-svn-id: trunk@8244 -
2007-08-08 09:48:37 +00:00
Jonas Maebe
98ad33a0c7
+ added lwsync instruction to the compiler
...
* fixed compilation of ReadDependencyBarrier
git-svn-id: trunk@8243 -
2007-08-08 09:15:48 +00:00
Jonas Maebe
ad43c6a989
* fixed properties
...
git-svn-id: trunk@8242 -
2007-08-08 09:10:40 +00:00
peter
2e47433989
* fix typo
...
git-svn-id: trunk@8241 -
2007-08-08 06:00:18 +00:00
micha
d95b9082bb
* add memory barrier prototypes + implementation for i386 and sparc + use lwsync for powerpc64
...
git-svn-id: trunk@8240 -
2007-08-07 20:37:08 +00:00
Jonas Maebe
134427700b
* disabled overloaded operators for non-x86 because they don't compile
...
(the value is a packed array of bytes in this case, not a record)
git-svn-id: trunk@8231 -
2007-08-06 13:44:13 +00:00
yury
0e1357642e
+ Added TAPI declarations by SovNarKom.
...
git-svn-id: trunk@8230 -
2007-08-06 07:45:39 +00:00