Commit Graph

227 Commits

Author SHA1 Message Date
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
nickysn
46c4ebbf58 + added the win16api computer-based-training support constants and types
git-svn-id: trunk@31815 -
2015-09-24 15:22:49 +00:00
nickysn
79968e4bf1 + added the win16api windows hook support functions
git-svn-id: trunk@31814 -
2015-09-24 15:14:44 +00:00
nickysn
198cc330ec + added the win16api combo box control consts
git-svn-id: trunk@31813 -
2015-09-24 14:51:59 +00:00
nickysn
3d637e59eb + added the win16api dialog directory support functions
git-svn-id: trunk@31812 -
2015-09-24 14:34:26 +00:00
nickysn
000cc1d56c + added consts and types for various win16api dialog controls
git-svn-id: trunk@31811 -
2015-09-24 14:23:40 +00:00
nickysn
f3c235ef8a + added the win16api dialog and control management functions
git-svn-id: trunk@31810 -
2015-09-24 13:50:58 +00:00
nickysn
09b0f516ee + added the win16api MDI support functions
git-svn-id: trunk@31809 -
2015-09-24 13:08:48 +00:00
nickysn
2e2ac5c7ee + added the win16api WM_SYSCOMMAND constants
git-svn-id: trunk@31796 -
2015-09-23 16:28:35 +00:00
nickysn
9d9e7746ab + added the win16api caret functions
git-svn-id: trunk@31795 -
2015-09-23 16:25:17 +00:00
nickysn
228b6b7c5c + added the win16api message box functions and its related constants
git-svn-id: trunk@31794 -
2015-09-23 16:04:55 +00:00
nickysn
2a9beafbcf + added the win16api icon functions
git-svn-id: trunk@31793 -
2015-09-23 15:52:01 +00:00
nickysn
5a4b834128 + added the win16api mouse cursor support functions
git-svn-id: trunk@31792 -
2015-09-23 15:44:32 +00:00
nickysn
16b26dab19 + added the win16api clipboard functions
git-svn-id: trunk@31791 -
2015-09-23 15:08:43 +00:00
nickysn
7ec9022317 + added the win16api scroll bar support functions
git-svn-id: trunk@31790 -
2015-09-23 14:38:55 +00:00
nickysn
c2b2a9acf1 + added the win16api menu functions
git-svn-id: trunk@31789 -
2015-09-23 14:25:10 +00:00
nickysn
4966993508 + added the win16api accelerator support functions
git-svn-id: trunk@31788 -
2015-09-23 13:27:52 +00:00
nickysn
04ef7fe971 + added the win16api timer support functions
git-svn-id: trunk@31787 -
2015-09-23 13:23:22 +00:00
nickysn
8821194c21 + added the win16api system modal window support functions
git-svn-id: trunk@31786 -
2015-09-23 13:15:58 +00:00
nickysn
49086aed65 + added the win16api mode control constants
git-svn-id: trunk@31785 -
2015-09-23 13:08:04 +00:00
nickysn
26fc460010 + added the win16api mouse input support functions
git-svn-id: trunk@31784 -
2015-09-23 13:06:26 +00:00
nickysn
1100358382 + added the win16api keyboard functions
git-svn-id: trunk@31783 -
2015-09-23 12:56:41 +00:00
nickysn
c2193330d9 + added the win16api window activation functions
git-svn-id: trunk@31782 -
2015-09-23 12:42:30 +00:00