pierre
e4a9e0ceea
* Fix compilation for msdos OS with -dSYSTEMDEBUG
...
git-svn-id: trunk@33717 -
2016-05-20 15:46:46 +00:00
pierre
14359cffec
Fix system compilation for win16 OS by setting FPC_NO_DEFAULT_MEMORYMANAGER and adding dummy FinalizeHeap
...
git-svn-id: trunk@33716 -
2016-05-20 15:20:46 +00:00
pierre
06b0bb56c1
Disable SysFreeMem call for argv for win16 OS, which does not use SysFreeMem
...
git-svn-id: trunk@33715 -
2016-05-20 15:19:18 +00:00
svenbarth
e522affbf6
Regenerate NativeNT Makefile after recent Makefile.fpc changes in r33711, r33712 and r33713
...
git-svn-id: trunk@33714 -
2016-05-20 13:22:39 +00:00
svenbarth
8a42ef764d
Fix compilation of NativeNT target, patch by Karl-Michael Schindler. Fixes Mantis #30149 .
...
rtl/nativent/Makefile.fpc:
+ add rule for ISO Extended Pascal unit
rtl/nativent/sysutils.pp:
* add dummy implementations of the RawByteString and UnicodeString variants of ExecuteProcess
packages/fcl-pdf/fpmake.pp:
* don't compile fcl-pdf for NativeNT
git-svn-id: trunk@33713 -
2016-05-20 13:21:08 +00:00
svenbarth
d3b936073a
+ add rule for the ISO Pascal unit
...
git-svn-id: trunk@33712 -
2016-05-20 13:18:21 +00:00
svenbarth
8927b8f6b1
* use the dummy DOS unit from the Embedded target so that we can use it for the ExtPas unit
...
git-svn-id: trunk@33711 -
2016-05-20 13:17:46 +00:00
michael
253589b0b6
* Fix compilation for msdos
...
git-svn-id: trunk@33704 -
2016-05-17 18:41:33 +00:00
michael
a5d38c7ba6
* Added TStringBuilder
...
git-svn-id: trunk@33695 -
2016-05-16 15:23:40 +00:00
florian
6f9d74b83e
+ define FPC_NO_DEFAULT_HEAP for the embedded target as well
...
git-svn-id: trunk@33694 -
2016-05-16 13:26:39 +00:00
pierre
fe6feb741b
Use macros for msdos OS to translate SysGetMem into SysTinyGetMem and similar, fixes several RTE 203 isssues for msdos target OS
...
git-svn-id: trunk@33682 -
2016-05-11 14:38:46 +00:00
pierre
91595447c6
Add SysTinyGetHeapStatus and SysTinyGetFPCHeapStatus functions
...
git-svn-id: trunk@33681 -
2016-05-11 14:37:38 +00:00
pierre
4af209ac50
Add SysTinyGetMem and similar to interface to allow use in heaptrc unit
...
git-svn-id: trunk@33680 -
2016-05-11 14:36:19 +00:00
pierre
cbb29a7e5d
Use FPC_NO_DEFAULT_HEAP to turn out RelocateHeap or MemoryManager.InitThread functions, used for msdos OS
...
git-svn-id: trunk@33679 -
2016-05-11 14:34:55 +00:00
pierre
effa0154c5
Use FPC_NO_DEFAULT_MEMORYMANAGER define to guard SysGetmem/SysFreemem functions, also used for msdos OS
...
git-svn-id: trunk@33678 -
2016-05-11 14:33:00 +00:00
pierre
c8ad916710
Use FPC_NO_DEFAULT_MEMORYMANAGER define to guard SysGetmem/SysFreemem function definitions, also used for msdos OS
...
git-svn-id: trunk@33677 -
2016-05-11 14:32:02 +00:00
pierre
01ea38a627
Implement basic SysOSAlloc using MSDOS Interrrupt 0x21, AH=0x48 function
...
git-svn-id: trunk@33676 -
2016-05-11 14:29:11 +00:00
pierre
2a3b5bec86
Add new FPC_NO_DEFAULT_MEMORYMANAGER define for msdos OS
...
git-svn-id: trunk@33675 -
2016-05-11 14:27:26 +00:00
Károly Balogh
23cf551bf3
m68k-amiga: fixed wrong define to test against softfpu (oops...)
...
git-svn-id: trunk@33672 -
2016-05-11 07:09:53 +00:00
Károly Balogh
7fff76d936
m68k-amiga: only compile softfpu code into system unit, when FPU_SOFT is defined
...
git-svn-id: trunk@33670 -
2016-05-10 16:08:17 +00:00
marco
d4fd7520ef
* wrap getfirst and getlast in fcount<>0 because otherwise it will dereference nil.
...
Mantis #30080
git-svn-id: trunk@33598 -
2016-05-01 14:43:12 +00:00
Károly Balogh
6d3b580f2f
* enabled internal ELF resources for AmigaOS4
...
git-svn-id: trunk@33596 -
2016-05-01 12:59:54 +00:00
marcus
77e47d21bb
os4units: added iffparse, keymap, clipboard, graphics, intuition, activated some packages
...
git-svn-id: trunk@33581 -
2016-04-30 13:39:08 +00:00
svenbarth
788393c298
Change WideString initialization to work correctly with indirect main information as well
...
rtl/inc/systemh.inc & rtl/java/jsystemh_types.inc:
- TEntryInformation: remove WideInitTables
rtl/win/sysosh.inc:
+ TEntyrInformationOS: add WideInitTables
rtl/win/syswin.inc:
* adjust WStrInitTablesTable, so that it is now a pointer and can be used both with direct and indirect main entry
* InitWin32Widestrings: WStrInitTablesTable is now a pointer
rtl/win32/sysinit.inc:
* WideInitTables has moved to the OS specific part of the entry information
rtl/win32/system.pp:
* OsSetupEntryinformation: setup WStrInitTablesTable
git-svn-id: trunk@33571 -
2016-04-29 13:13:14 +00:00
Jonas Maebe
6e2523b199
* fixed version of fpc_pchar_length() for JVM (the generic one passes
...
p^ to indexbyte, and since indexbyte takes an open array parameter
on the JVM platform rather than an untyped var, this was converted
to a single element array rather than passing in p unmodified)
git-svn-id: trunk@33568 -
2016-04-28 20:33:09 +00:00
Jonas Maebe
162c4ef6f3
* fixed potential range errors in indexbyte/indexword
...
git-svn-id: trunk@33567 -
2016-04-28 20:33:06 +00:00
pierre
57f2df1f62
* Remove sysutils in _USES clause, to avoid exception handling importation,
...
especially when exeinfo unit is implicitly loaded when -gl compilation option
is used.
+ LocalError, new ExitProc procedure, used to catch any error that could happen
inside GetExeInMemoryBaseAddr procedure.
* Use SetJmp/LongJmp instead of Try/except in GetExeInMemoryBaseAddr function,
together with local change and restoration of ExitProc.
git-svn-id: trunk@33561 -
2016-04-27 13:13:31 +00:00
Jonas Maebe
69ad962544
* fixed cross-assembling the Linux/ppc32 loader files on a 64 bit Linux host
...
git-svn-id: trunk@33538 -
2016-04-20 22:17:11 +00:00
Károly Balogh
1192978152
m68k: software mod/div and mul helper requirement has nothing to do with the softfpu, CF and plain 68k simply needs it
...
git-svn-id: trunk@33532 -
2016-04-18 02:20:08 +00:00
marcus
e38e051425
Amicommon: Unified parameterhandling for Amiga, AROS, MorphOS
...
git-svn-id: trunk@33528 -
2016-04-17 15:31:18 +00:00
marcus
9cb4091c42
Amiga: Enable character unit
...
git-svn-id: trunk@33505 -
2016-04-14 21:02:25 +00:00
florian
9b1e6e1976
- removed i386 specific fpc_pchar_length implementation as it is much slower than the generic one which takes advantage of IndexByte
...
git-svn-id: trunk@33491 -
2016-04-12 18:13:24 +00:00
florian
2b082d88a6
* generic implementation of fpc_pchar_length uses IndexByte instead of a simple while loop
...
git-svn-id: trunk@33490 -
2016-04-12 18:11:27 +00:00
florian
71b7cd7e1d
* the size of DW_FORM_ref_addr entries depends on the DWARF version
...
git-svn-id: trunk@33477 -
2016-04-10 19:46:05 +00:00
florian
a7346b2f9d
+ make use of .debug_aranges section for faster name search when generating stack backtraces
...
git-svn-id: trunk@33470 -
2016-04-10 12:21:35 +00:00
Tomas Hajny
92d045c483
* GetStdHandle returns a THandle (use of longint was not 64-bit safe)
...
git-svn-id: trunk@33460 -
2016-04-10 01:26:30 +00:00
sergei
f73b3c6e4b
* Also assign the ErrorCode variable, which is being checked by some tests like test/tstack.pp.
...
git-svn-id: trunk@33419 -
2016-04-03 22:26:10 +00:00
michael
ad34300873
* Patch from Denis Kozlov to fix buffer errors (bug ID 29942)
...
git-svn-id: trunk@33406 -
2016-04-02 09:13:56 +00:00
marco
2221e4e4bd
* fix timespec=nil for -dgeneric_linux_syscalls (aarch64) case.
...
git-svn-id: trunk@33392 -
2016-03-30 19:21:05 +00:00
michael
3e96806f7e
Renamed DisposeAndNil to FreeMemAndNil
...
git-svn-id: trunk@33378 -
2016-03-29 07:55:58 +00:00
michael
92b8bf97c0
* Added DisposeAndNil (bug ID 28895)
...
git-svn-id: trunk@33377 -
2016-03-29 07:33:28 +00:00
michael
e3aaeae2e7
* Fix bug ID #29913
...
git-svn-id: trunk@33363 -
2016-03-28 13:16:31 +00:00
michael
231ec77175
* Delphi compatibility classes (Patch by Silvio Clecio, bug ID #29917 )
...
git-svn-id: trunk@33362 -
2016-03-28 12:57:42 +00:00
marco
7cda2d237f
* improved prototypes for dos.
...
git-svn-id: trunk@33356 -
2016-03-27 21:13:24 +00:00
marco
e7eb7d7415
* dummy executeprocess routines fix, by Michael Ring, fpc-devel list.
...
git-svn-id: trunk@33355 -
2016-03-27 19:27:48 +00:00
michael
65c880a7f6
* Use STACK_SIZE_PARAM_IS_A_RESERVATION for stack sizes, should fix bug ID #17755
...
git-svn-id: trunk@33346 -
2016-03-27 11:12:47 +00:00
michael
12d7061212
* Define STACK_SIZE_PARAM_IS_A_RESERVATION
...
git-svn-id: trunk@33345 -
2016-03-27 11:11:54 +00:00
michael
f380aeb63d
* Fix from Andrea Mauri to make formatfloat delphi-compatible in case of negative zero (bug ID 26465)
...
git-svn-id: trunk@33344 -
2016-03-27 10:40:09 +00:00
michael
bcdfe055a8
* Fix bug ID #26944 (thousandseparator, patch from wp)
...
git-svn-id: trunk@33343 -
2016-03-27 10:13:16 +00:00
michael
2ec2f1fc16
* Fix bug in WrapText (bug ID 26677)
...
git-svn-id: trunk@33342 -
2016-03-27 09:41:23 +00:00