Commit Graph

249 Commits

Author SHA1 Message Date
pierre
cd6de6a4ca Regenerate all Makefiles
git-svn-id: trunk@44882 -
2020-04-20 13:58:47 +00:00
nickysn
0f323df7a3 * synchronized with trunk
git-svn-id: branches/z80@44873 -
2020-04-19 21:10:31 +00:00
Jonas Maebe
26ec913725 * regenerated makefiles
git-svn-id: trunk@44861 -
2020-04-19 17:33:47 +00:00
nickysn
b868d653bb * regenerated makefiles after sync with trunk
git-svn-id: branches/z80@44847 -
2020-04-19 13:00:50 +00:00
nickysn
daf22383b0 * makefiles regenerated with the zxspectrum target
+ added zxspectrum to ppudump

git-svn-id: branches/z80@44820 -
2020-04-19 01:56:06 +00:00
Jonas Maebe
4b59bcb0ca * regenerated makefiles
git-svn-id: trunk@44793 -
2020-04-18 16:08:25 +00:00
florian
5bab6201d5 * rebuild Makefiles
git-svn-id: trunk@44679 -
2020-04-10 19:42:14 +00:00
florian
43dc4c7ea0 * regenerated Makefiles
git-svn-id: trunk@44333 -
2020-03-21 20:59:59 +00:00
florian
3cd4168ab3 + introduce TOSTimestamp
git-svn-id: trunk@44033 -
2020-01-25 14:14:41 +00:00
Tomas Hajny
e790cb067d * fix of FileSetDate after int64 changes (r44010 and r44013)
git-svn-id: trunk@44018 -
2020-01-22 12:14:47 +00:00
florian
69956cd97a * fix compilation on several OSes after r44010
git-svn-id: trunk@44013 -
2020-01-21 21:50:37 +00:00
florian
01302bc47d * subroutines working with an OS dependend time stamp use an int64 now, so the 2038 problem
on unixes can be tackled

git-svn-id: trunk@44010 -
2020-01-21 20:59:20 +00:00
pierre
a09e40945c Regenerate all Makefile's after commit #43472
git-svn-id: trunk@43478 -
2019-11-15 14:47:02 +00:00
pierre
84ebe96d41 Define FPC_IS_SYSTEM at start of all system.pp source
git-svn-id: trunk@43203 -
2019-10-15 15:04:32 +00:00
pierre
5ed7bd35df Update all trunk/fpcsrc Makefile's after commit 42749
git-svn-id: trunk@42750 -
2019-08-20 15:58:10 +00:00
svenbarth
c26348a3dd * follow up to r42457: FreeTerminateProcs needs to be called before DoneExceptions just in case an exception is triggered due to a corrupted list
git-svn-id: trunk@42461 -
2019-07-20 08:41:59 +00:00
svenbarth
176a63b67b * fix for Mantis #35862: free the list of functions added with AddTerminateProc to avoid memory leaks
+ added test

git-svn-id: trunk@42457 -
2019-07-19 15:55:21 +00:00
Jonas Maebe
128bf046b4 * regenerated Makefiles with LLVM bitcode installation support
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
pierre
74fed2a4cd Regenerate Makefile's after fpcmake change in commit #41721
git-svn-id: trunk@41723 -
2019-03-17 14:45:03 +00:00
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
5182dc37af haiku-x86_64: regenerated all Makefiles, take 2
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +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
florian
a34d4e715c Merged riscv_new branch
git-svn-id: trunk@39813 -
2018-09-26 19:49:08 +00:00
svenbarth
09e5f463dc + add Delphi-compatible FileGetSymLinkTarget functions to all platforms (currently returns False on all platforms); this also includes TSymLinkRec variants for both RawByteString and UnicodeString
git-svn-id: trunk@39669 -
2018-08-24 15:33:45 +00:00
svenbarth
92dcdd8b5b + add Delphi compatible FollowLink parameter (default is True) to FileExists and DirectoryExists; support for it is up to each target
git-svn-id: trunk@39668 -
2018-08-24 15:33:09 +00:00
marco
d143ab60e1 * regenned makefile without date/rev components for easier merging.
git-svn-id: trunk@39630 -
2018-08-18 15:06:25 +00:00
Jeppe Johansen
2aaf481d89 Regenerated makefiles.
git-svn-id: branches/laksen/riscv_new@39476 -
2018-07-20 10:40:57 +00:00
nickysn
374a8281e7 + added unit ports for win16
git-svn-id: trunk@39441 -
2018-07-12 14:24:46 +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
nickysn
d8a2285a91 + enabled compilation of unit classes for win16; compiles only in the large
memory model for now (to be fixed later for the other memory models)

git-svn-id: trunk@37739 -
2017-12-15 19:56:30 +00:00
nickysn
572ec3b0d5 + enabled compilation of unit fgl for win16
git-svn-id: trunk@37738 -
2017-12-15 19:33:44 +00:00
nickysn
0b48943a1e + enabled compilation of unit typinfo for win16
git-svn-id: trunk@37737 -
2017-12-15 19:27:55 +00:00
nickysn
532ff65e87 + enabled compilation of unit types for win16
git-svn-id: trunk@37736 -
2017-12-15 17:55:29 +00:00
nickysn
b76bc68214 + enabled compilation of unit math for win16
git-svn-id: trunk@37735 -
2017-12-15 17:20:11 +00:00
nickysn
5409450195 + ported and enabled compilation of unit sysutils for win16
git-svn-id: trunk@37734 -
2017-12-15 16:58:49 +00:00
nickysn
794ac7d332 + implemented dos.exec() for win16
git-svn-id: trunk@37703 -
2017-12-08 17:40:07 +00:00
nickysn
eaf878e106 - removed commented out code for keep() from the win16 dos unit, since keep()
and TSRs aren't supported for win16 applications

git-svn-id: trunk@37699 -
2017-12-07 17:33:06 +00:00
nickysn
0fced4fdf9 + implemented GetIntVec and SetIntVec for win16
git-svn-id: trunk@37698 -
2017-12-07 17:29:40 +00:00
nickysn
9e6209db3a * fixed compilation of win16 in medium memory model
git-svn-id: trunk@37697 -
2017-12-07 17:29:06 +00:00
nickysn
08062a2eb4 * fixed ParamStr(0) for the win16 target
* fixed ParamStr and ParamCount in objfpc mode

git-svn-id: trunk@37696 -
2017-12-07 16:27:48 +00:00
nickysn
6337ae7530 + implemented MaxAvail for the win16 local heap as well
git-svn-id: trunk@37692 -
2017-12-06 15:58:02 +00:00
nickysn
46db6a6174 + implemented MemAvail and MaxAvail for the win16 global heap
git-svn-id: trunk@37691 -
2017-12-06 15:05:37 +00:00
nickysn
3ca4d94226 + also check the heap block ID when freeing a suballocated memory block from the
win16 global heap

git-svn-id: trunk@37681 -
2017-12-05 15:45:30 +00:00
nickysn
e3a1051dfc + check the pointer offset alignment, when freeing a suballocated block from the
win16 global heap manager

git-svn-id: trunk@37680 -
2017-12-05 15:40:06 +00:00
nickysn
68121a7858 * win16 global heap block ID field made a constant
git-svn-id: trunk@37679 -
2017-12-05 15:29:38 +00:00
nickysn
d7b966c7eb * cleared TODO from the win16 global heap, regarding the value of FirstFreeOfs,
when TotalFreeSpaceInBlock becomes 0. There's no new code needed to handle
  this in BP7 compatible way; added comment, which explains why.

git-svn-id: trunk@37678 -
2017-12-05 15:22:50 +00:00
nickysn
b6efaeb8fd * fixed bug in NewHeapBlock, which caused an infinite loop in GetMem, when more
than 2 blocks are needed

git-svn-id: trunk@37642 -
2017-12-01 15:31:06 +00:00
nickysn
ca7da11bb6 * fixed bug in TryBlockGetMem, caused by ambigous variable named 'Size' in with statement
git-svn-id: trunk@37641 -
2017-12-01 15:12:56 +00:00
nickysn
ea8fc43f52 * free the old block in win16 global heap reallocmem
git-svn-id: trunk@37639 -
2017-12-01 14:51:50 +00:00
nickysn
163ee92ef5 * handle gracefully freeing a subblock that is located at the end of its block
(with no free space after it) in the win16 global heap manager

git-svn-id: trunk@37636 -
2017-12-01 13:39:20 +00:00
nickysn
87d5cc014f * merge with both the previous and next adjacent free blocks in the win16 global
heap manager, when freeing a block, adjacent to free space on both sizes

git-svn-id: trunk@37635 -
2017-12-01 13:32:10 +00:00
nickysn
6228fc2748 + initial implementation of a win16 global heap manager that does support suballocation for small blocks
git-svn-id: trunk@37634 -
2017-11-30 17:54:20 +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
Károly Balogh
04dee0fc04 regenerated Makefiles for m68k-macos target
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +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
ac3b9ac979 Avoid placing COMPILER_UNITTARGETDIR in the prerequisite list of assmebler files,
as those directories are modified by any new file in that directory, which
  lead to repeated (and useless) recompilation of assembler files on linux systems.

git-svn-id: trunk@36173 -
2017-05-10 13:06:39 +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
Tomas Hajny
1e6ee7f3c7 * fix remaining search handle leaks in Dos.FSearch - fix for bug #30896
git-svn-id: trunk@34910 -
2016-11-17 22:05:17 +00:00
Tomas Hajny
b7de70422f * fix for bug #24504 (extended version of patch by Bart Broersma)
git-svn-id: trunk@34849 -
2016-11-08 22:16:49 +00:00
nickysn
9febafa8d5 * fixed win16 compilation, patch by Max Nazhalov
git-svn-id: trunk@34701 -
2016-10-09 19:20:54 +00:00
nickysn
cf13bacbba + call InitSystemThreads in the win16 system unit as well
git-svn-id: trunk@34682 -
2016-10-08 22:04:40 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
pierre
a72434e93a Trial to clarify heap for i8086 issues:
- MSDOS heap in tinyheap.inc modified to use usual
  SysGetMem and similar names.
  - Use HAS_MEMORYMANAGER (used previously in wince source code,
  to specify that a memory manager is defined elsewhere than inside
  heap.inc include file.
  - Use
  - Remove TinyHeapMemoryManager Structure variable completely

  heaptrc.pp: remove unneeded macro code after name changes of tinyheap.inc

  msdos/system.pp now only defines HAS_MEMORYMANAGER macro
  win16/system.pp defines HAS_MEMORYMANAGER and FPC_NO_DEFAULT_HEAP
  as it still uses a different memory manager.
  __stkbottom variable added for win16 system.pp as it is required
  by i8086 specific stack check code.

git-svn-id: trunk@33983 -
2016-06-13 22:26:03 +00:00
pierre
7fd805c5d8 * Fix compilation for win16 OS with -dSYSTEMDEBUG
git-svn-id: trunk@33718 -
2016-05-20 15:58:27 +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
florian
70b8789262 o basic extended pascal support:
+ automatically loaded helper unit
  * Makefiles adapted
  * mode switch
  * mode switches reorganized
+ TimeStamp support

git-svn-id: trunk@32330 -
2015-11-15 15:13:36 +00:00
nickysn
cc448b94ba + added the sysconst and rtlconsts units to the win16 rtl
git-svn-id: trunk@31903 -
2015-10-01 14:04:14 +00:00
nickysn
17951c7bee + added unit iso7185 to the win16 rtl
git-svn-id: trunk@31902 -
2015-10-01 13:23:24 +00:00
nickysn
c9b3279e3c + added unit dynlibs to the win16 rtl
git-svn-id: trunk@31901 -
2015-10-01 13:10:40 +00:00
nickysn
48d9daadb9 + init the dynlibs manager in the win16 system unit startup code
git-svn-id: trunk@31900 -
2015-10-01 12:37:30 +00:00
nickysn
8728cc0238 * updated the source dependencies of the win16 system unit in Makefile.fpc
git-svn-id: trunk@31899 -
2015-10-01 12:33:40 +00:00
nickysn
01257267b8 + win16 implementation of a dynlib manager in the system unit
git-svn-id: trunk@31893 -
2015-09-29 16:31:17 +00:00
nickysn
9955597bf1 * use the GetDOSEnvironment win16api function to obtain a pointer to the
environment in the win16 dos unit

git-svn-id: trunk@31891 -
2015-09-29 14:10:58 +00:00
nickysn
8aa5a6e63b + added a dos unit implementation for win16
git-svn-id: trunk@31889 -
2015-09-29 13:17:55 +00:00
nickysn
5f0905d9c7 - removed unnecessary zero fill of regs in CheckLFN in the win16 system unit
git-svn-id: trunk@31874 -
2015-09-28 00:17:53 +00:00
nickysn
25573b5927 + implemented randomize for win16
git-svn-id: trunk@31873 -
2015-09-28 00:12:59 +00:00
nickysn
2574c6304d + zero seg regs prior to use in the win16 system unit dir functions as well
git-svn-id: trunk@31872 -
2015-09-27 23:57:57 +00:00
nickysn
2f32a7b718 * only clear DS and ES instead of fillchar-ing the whole Registers record in
various places in the win16 rtl where int 21h is called

git-svn-id: trunk@31871 -
2015-09-27 23:52:33 +00:00
nickysn
eaf719a623 * win16 do_open: zero fill regs before attempting to open the file a second time
git-svn-id: trunk@31870 -
2015-09-27 23:42:22 +00:00
nickysn
4c8cea1d1a + implemented ChDir, MkDir, RmDir and GetDir for Win16
git-svn-id: trunk@31850 -
2015-09-27 15:47:25 +00:00
nickysn
f5c2ce9058 * fixes to the win16 stderr output
git-svn-id: trunk@31849 -
2015-09-27 15:17:59 +00:00
nickysn
406d5b7b3d + implemented a win16 heap manager for the far data memory models, using the
global heap; TODO: allocate heap in blocks and perform suballocation for small
  memory blocks, because the number of global heap blocks is limited

git-svn-id: trunk@31846 -
2015-09-27 13:00:27 +00:00
nickysn
1c3a0864e8 + implemented win16 stderr via messageboxes similar to the way it is implemented for win32/win64 gui apps
git-svn-id: trunk@31828 -
2015-09-25 14:51:50 +00:00
nickysn
aa883d0f85 + added the win16api driver support functions
git-svn-id: trunk@31825 -
2015-09-24 19:49:19 +00:00
nickysn
f71598a633 + added the win16api string formatting support functions
git-svn-id: trunk@31824 -
2015-09-24 19:09:25 +00:00
nickysn
5cb89fba9e + added the win16api comm support functions
git-svn-id: trunk@31823 -
2015-09-24 17:02:45 +00:00
nickysn
6767906755 + added the win16api sound support functions
git-svn-id: trunk@31822 -
2015-09-24 16:21:37 +00:00
nickysn
926d66b9f5 + added the win16api help support functions
git-svn-id: trunk@31821 -
2015-09-24 16:06:55 +00:00
nickysn
c2a303b1da + added the win16api debugger support functions
git-svn-id: trunk@31820 -
2015-09-24 15:58:42 +00:00
nickysn
e8fc56066b + added the win16api journalling support functions
git-svn-id: trunk@31819 -
2015-09-24 15:50:59 +00:00
nickysn
5c9a09a38b + added the win16api shell consts
git-svn-id: trunk@31818 -
2015-09-24 15:44:09 +00:00
nickysn
d6fdab5e0e + added the win16api hardware hook support constants and types
git-svn-id: trunk@31817 -
2015-09-24 15:40:58 +00:00