Commit Graph

155 Commits

Author SHA1 Message Date
nickysn
178217821c + added sortbase as a dependency to unit fgl in the makefiles
git-svn-id: trunk@41180 -
2019-02-02 23:22:09 +00:00
nickysn
c24d525b9f * compilation fixes for many platforms after r41167
git-svn-id: trunk@41168 -
2019-02-02 20:22:07 +00:00
nickysn
248fd313f8 + introduced unit SortBase, which implements the foundation for pluggable
sorting algorithms. A default QuickSort implementation is provided by the
  unit. Other units can be added, to provide other sorting algorithms (e.g.
  HeapSort, MergeSort, IntroSort, etc.)
* TList and TFPList updated to use the current default sorting algorithm defined
  in SortBase for their .Sort method.

git-svn-id: trunk@41167 -
2019-02-02 20:06:50 +00:00
Károly Balogh
7947f1d7a9 haiku: pass SA_SIGINFO flag to the signal handler. This seems correct ucontext IP and BP register contents, for valid stacktraces on signals
git-svn-id: trunk@40844 -
2019-01-11 19:46:10 +00:00
Károly Balogh
d3c0762af0 haiku: pass the stackpointer from the startup code. this adjust stacktop to be closer to the actual stacktop, and fixes shallow stacktraces
git-svn-id: trunk@40843 -
2019-01-11 19:40:08 +00:00
Károly Balogh
a6aa3cc092 haiku: removed old i386 specific syscalls assembler code and no-libc startup code, copied from the BeOS port initially, and was never in use on Haiku. kept the libc-version of assembly startup code for now for reference.
git-svn-id: trunk@40831 -
2019-01-10 07:34:52 +00:00
Károly Balogh
fa624e1ba5 haiku: i386 build fix
git-svn-id: trunk@40830 -
2019-01-10 06:55:41 +00:00
Károly Balogh
cc68e36efc haiku: made signal handling properly support x86_64 as well, and sync'd SigContextRec and related structures with current Haiku code
git-svn-id: trunk@40829 -
2019-01-10 06:47:24 +00:00
Károly Balogh
72ee37e03b haiku: fix clib value in sysos.inc
git-svn-id: trunk@40828 -
2019-01-10 06:44:44 +00:00
Károly Balogh
9c2b113497 haiku: added cpu specific signal handler register contexts
git-svn-id: trunk@40827 -
2019-01-10 06:44:16 +00:00
Károly Balogh
93ee468fcb haiku: zapped the old bethreads unit. it's apparently just an ancient version of cthreads, and haiku seems to use cthreads itself since day one.
git-svn-id: trunk@40826 -
2019-01-10 04:20:04 +00:00
Károly Balogh
8b424b0867 haiku: copyright header for suuid.inc, minor cleanups, no functional change
git-svn-id: trunk@40825 -
2019-01-10 04:17:24 +00:00
Károly Balogh
c061f1480a haiku: zapped syscalls support code, using the syscall interface directly on Haiku is discouraged, and it was never really supported with FPC
git-svn-id: trunk@40824 -
2019-01-10 03:53:44 +00:00
Károly Balogh
e547dfa837 haiku: update baseunix unit, remove syscalls code, flock() and nanosleep() is actually supported on Haiku for a long time now, so lets use it
git-svn-id: trunk@40823 -
2019-01-10 03:51:35 +00:00
Károly Balogh
66dc27d6b6 haiku: cleaned up the decade old leftovers from 1.x and early 2.x times from system unit, mainly old bits of heap management no longer in use, old defines and workarounds, also added a copyright header.
git-svn-id: trunk@40822 -
2019-01-10 03:45:25 +00:00
Károly Balogh
d6891557d3 haiku: add sighnd.inc for x86_64, the i386 version with minimal changes, probably needs to be better adapted for 64bit
git-svn-id: trunk@40793 -
2019-01-07 13:47:46 +00:00
Károly Balogh
1a26c381f9 haiku: cleanup of some interface definitions, verify structures against the actual haiku code, so it should work both on 32bit and 64bit
git-svn-id: trunk@40792 -
2019-01-07 13:01:08 +00:00
Károly Balogh
9ce876e2ae haiku: move i386 also to internal sysinit
git-svn-id: trunk@40791 -
2019-01-07 12:58:02 +00:00
olivier
4d7c0ce1b3 * Haiku : adjust alignment of records the C way.
This should fix Haiku on 32 bits CPU while not breaking the 64 bits version.

git-svn-id: trunk@40766 -
2019-01-05 02:36:34 +00:00
Károly Balogh
fa4502387b haiku: more fixes of base OS types for 64bit, the compiler itself works natively now at least somewhat
git-svn-id: trunk@40764 -
2019-01-04 06:34:56 +00:00
Károly Balogh
634503591b haiku: code cleanup, fixed off-by-one buffer size and removed 'packed' for the TAlternateSignalStack
git-svn-id: trunk@40763 -
2019-01-04 05:10:50 +00:00
Károly Balogh
1a4b8bfa27 haiku: do not use a packed record to define the signal stack and sigactionrec
git-svn-id: trunk@40762 -
2019-01-04 05:09:03 +00:00
Károly Balogh
82cdd6cec0 haiku: use some of the right ptypes for 64bit CPUs
git-svn-id: trunk@40761 -
2019-01-04 05:04:59 +00:00
Károly Balogh
3508ad0d20 haiku: properly pass on the exitcode to the haltproc on x86_64
git-svn-id: trunk@40760 -
2019-01-04 04:08:00 +00:00
Károly Balogh
d19cb0ee4c haiku: Makefile.fpc update for x86_64 support
git-svn-id: trunk@40759 -
2019-01-04 03:34:20 +00:00
Károly Balogh
5182dc37af haiku-x86_64: regenerated all Makefiles, take 2
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
Károly Balogh
a6cd62b358 haiku: enable usestime for x86_64 as well
git-svn-id: trunk@40755 -
2019-01-04 02:46:27 +00:00
Károly Balogh
efba70f82b haiku: pascal sysinit code for haiku, will be needed for x86_64, nice to have for i386
git-svn-id: trunk@40754 -
2019-01-04 02:44:39 +00:00
yury
a29290202f * Regenerated makefiles to support x86_64-android.
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
8c59eb1ce5 * Regenerated makefiles to support aarch64-android.
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
pierre
fe61157cae Update all rtl Makefile's
git-svn-id: trunk@39824 -
2018-09-27 06:55:12 +00:00
Jeppe Johansen
2aaf481d89 Regenerated makefiles.
git-svn-id: branches/laksen/riscv_new@39476 -
2018-07-20 10:40:57 +00:00
nickysn
65d8836952 * updated dependencies of unit ports (objpas and x86 is no longer required on
certain platforms) and regenerated makefiles

git-svn-id: trunk@39373 -
2018-07-04 00:33:12 +00:00
pierre
d6be56e225 Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
git-svn-id: trunk@38750 -
2018-04-12 15:23:03 +00:00
pierre
595938637e Add explicit FPC_SYSTEM_OPT variable that is only used for compilation of system units, thus allowing to explicitly pass -Sf option
git-svn-id: trunk@37890 -
2018-01-02 16:50:58 +00:00
florian
5bedaf11f4 * fpcmake.inc and Makefiles renerated after last commit
git-svn-id: trunk@37834 -
2017-12-27 15:08:18 +00:00
marco
5e1652de3b * some more fixes.
git-svn-id: trunk@37488 -
2017-10-18 15:08:39 +00:00
marco
bf2459b99b * some initial makefile syncing
git-svn-id: trunk@37487 -
2017-10-18 15:04:48 +00:00
pierre
d18627f0af * Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
pierre
0513b2cf5b Remove source directories for PPU files in dependency rules (was already disabled)
git-svn-id: trunk@37285 -
2017-09-20 20:58:15 +00:00
Károly Balogh
04dee0fc04 regenerated Makefiles for m68k-macos target
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
pierre
a1b956f778 Remove erroneous directory prefixes for PPU files in dependencies
git-svn-id: trunk@36830 -
2017-08-04 12:18:35 +00:00
michael
52cd572cec * Use specific type for TFPSet elements
git-svn-id: trunk@36710 -
2017-07-09 14:47:27 +00:00
nickysn
748428b637 + support the KOI8-R and KOI8-U Cyrillic encodings
git-svn-id: trunk@36445 -
2017-06-07 13:51:53 +00:00
nickysn
fce5fbd726 + added cp3021 (Bulgarian MIK) code page support
git-svn-id: trunk@36444 -
2017-06-07 13:19:20 +00:00
nickysn
396eebbfb5 + added support for iso8859-[3,4,6,7,8,9,10,11,13,14,15,16]
* charmap .txt files in rtl/ucmaps for iso8859-[1,2,5] also updated

git-svn-id: trunk@36425 -
2017-06-05 16:36:24 +00:00
nickysn
35be7348fb + added code pages 737, 775, 857, 860, 861, 862, 863, 864, 865 and 869
git-svn-id: trunk@36423 -
2017-06-05 14:25:15 +00:00
nickysn
ef25c33d69 + added cp855 to the implicit unit list in the rtl makefiles
git-svn-id: trunk@36421 -
2017-06-05 12:19:01 +00:00
pierre
17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
marco
7ef8f00100 * more occured -> occurred spelling fixes.
git-svn-id: trunk@35130 -
2016-12-14 20:05:21 +00:00