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
2e3cb70489
* regenerated makefiles after adding the win16 target
...
git-svn-id: trunk@31525 -
2015-09-05 11:02:54 +00:00
Károly Balogh
cdfe930c31
Amiga-likes: fix the same header issues in Amiga and AROS, which was fixed for MorphOS in r30917
...
git-svn-id: trunk@31151 -
2015-06-23 23:22:22 +00:00
Károly Balogh
d9b5830aa0
amiga: enable external resources instead of internal ones for now
...
git-svn-id: trunk@31006 -
2015-06-07 18:05:19 +00:00
Károly Balogh
5eea4b2846
amicommon: support for init/exit procedures for threads. will be used by Sockets unit for example, because bsdsocket.library needs to be reopened for each thread
...
git-svn-id: trunk@30991 -
2015-06-06 19:51:12 +00:00
Károly Balogh
b24db8a9c4
Amiga/MorphOS: enabled AThreads to build default for MorphOS and Amiga/68k. AROS might follow later.
...
git-svn-id: trunk@30966 -
2015-06-01 00:34:05 +00:00
Károly Balogh
6afcca7cd3
Amiga-likes: preparations for inclusion of AThreads into the RTL buildprocess
...
git-svn-id: trunk@30923 -
2015-05-28 00:47:35 +00:00
Károly Balogh
632c46bcb6
amicommon: have a generic tthread.inc which even works, given there is a reasonably advanced ThreadManager
...
git-svn-id: trunk@30914 -
2015-05-25 21:06:53 +00:00
Károly Balogh
846dd6b57b
m68k: use the Amiga-specific atomic ops on Amiga
...
git-svn-id: trunk@30903 -
2015-05-24 21:44:51 +00:00
Károly Balogh
f52b039311
Amiga/m68k: made m68kamiga.inc to even compile, and maybe look like if it was Pascal code
...
git-svn-id: trunk@30902 -
2015-05-24 21:43:13 +00:00
Károly Balogh
89aadb22c2
Amiga/m68k: software atomic operations implementation for multithreading
...
git-svn-id: trunk@30901 -
2015-05-24 21:31:13 +00:00
Károly Balogh
f5bcb011ea
amicommon: properly arbitrate access to the open file list in a multithreaded environment
...
git-svn-id: trunk@30899 -
2015-05-24 12:15:02 +00:00
Jonas Maebe
89418d23e5
* regenerated Makefiles with Linux/AArch64 support
...
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
Károly Balogh
3edad2774a
Amiga: use stdout as stderr, so code which is wired to use stderr doesn't commit suicide
...
git-svn-id: trunk@30788 -
2015-05-03 17:41:20 +00:00
Károly Balogh
68a25e154a
Amiga/MorphOS: enabled resource support, to match AROS in features
...
git-svn-id: trunk@30565 -
2015-04-13 00:49:00 +00:00
Károly Balogh
bbecfeed9e
Amiga: manually semaphore-protect the heap Pool, because classic Amiga has no MEMF_SEM_PROTECTED
...
git-svn-id: trunk@30356 -
2015-03-29 00:18:19 +00:00
Jonas Maebe
3d01d4ceb1
* regenerated with Darwin/AArch64 support
...
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
Károly Balogh
82fd859a19
fixed DOS unit path in the Makefiles, which is included from amicommon
...
git-svn-id: trunk@29643 -
2015-02-07 21:42:00 +00:00
florian
97a6c92ea8
* fixes for makes 3.82
...
git-svn-id: trunk@29614 -
2015-02-03 20:05:15 +00:00
svenbarth
2d454dc8fa
Move DynLibs support to System unit using a manager approach like for Threads, WideStrings, etc.. This is needed so that we can support features like "delayed" and loading of dynamic packages.
...
Each port that allows the usage of dynamic libraries should call InitSystemDynLibs during initialization of the System unit.
The DynLibs unit has been adjusted to be a forwarder for the functions that now reside in the System unit (for backwards compatiblity just in case). Additionally the unit will register the DynLibsManager if it doesn't reside in the System unit anyway.
Currently only the Windows targets (Win32, Win64 and WinCE) implement the DynLibsManager inside the System unit. For other systems using the LoadLibrary, etc. functions will lead to a run error/exception.
If a port wants to implement its own DynLibsManager then it needs to define DISABLE_NO_DYNLIBS_MANAGER. TLibHandle, NilHandle and optionally TOrdinalEntry (it's set to SizeUInt otherwise) should be defined in sysdlh.inc which needs to be enabled using the define FPC_SYSTEM_HAS_SYSDLH (because there are targets which have FEATURE_DYNLIBS enabled, but don't support them... e.g. powerpc-wii -.-).
The DynLibsManager contains methods for loading a library based on a RawByteString and based on a UnicodeString. BOTH should be implemented, but internally one can forward to the other.
The loading by ordinal *can* be be implemented. If it is set to Nil then the implementation of GetProcAddress(lib,ordinal) will return Nil.
+ new functions SetDynLibsManager and GetDynLibsManager to set and retrieve the current DynLibsManager
* provide interface of DynLibs unit in unit System
git-svn-id: trunk@29613 -
2015-02-03 20:00:00 +00:00
marco
d407b668d1
* version updated to 3.1.1
...
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
sergei
3a5e6485b5
- RTL: removed InitVariantManager, it was an empty procedure since day 1.
...
git-svn-id: trunk@29114 -
2014-11-22 20:35:46 +00:00
Károly Balogh
27befd2375
amiga: reintroduced some of the exec debug functions, which were removed, but actually *DO* exist on classic Amiga and hooked the new SysDebug stuff into the Amiga RTL
...
git-svn-id: trunk@28701 -
2014-09-21 00:15:49 +00:00
Károly Balogh
4f0d42131d
Amiga: Boolean -> LongBool changes in syscalls
...
git-svn-id: trunk@28675 -
2014-09-15 22:52:50 +00:00
Károly Balogh
e126b787a3
Amiga: moved the remnants of the old CRT unit from Amiga RTL to rtl-console package and made it to build at least. It's probably still very broken, and needs fixing.
...
git-svn-id: trunk@28592 -
2014-09-03 22:43:22 +00:00
Károly Balogh
ef5f1b7ed2
amicommon: fixed sysdir.inc/do_chdir() to actually work on AROS
...
- fixed all Amiga-like system units to not leak the last directory
lock while changing back to the original dir in System_exit;
(a bug found by Marcus Sackrow, thanks!)
* renamed AOS_origDir to ASYS_origDir
git-svn-id: trunk@28537 -
2014-08-30 00:58:42 +00:00
Károly Balogh
785a1690a2
amicommon: AOS_heapPool renamed to ASYS_heapPool. common stuff should start with ASYS, to avoid confusion on AmigaOS, so more to come
...
git-svn-id: trunk@28533 -
2014-08-28 21:50:05 +00:00
Károly Balogh
feb255ec48
Amiga: improved the startup code, only allocate a new stack area if the area requested compile time is smaller than the one the system provides to us
...
git-svn-id: trunk@28525 -
2014-08-27 09:46:55 +00:00
Károly Balogh
26d53cfa55
amicommon: Amiga/m68k RTL now uses the common code
...
git-svn-id: trunk@28509 -
2014-08-21 23:49:21 +00:00
Károly Balogh
df2d474c5b
Amiga: cleanup of exec functions, removed MorphOS specific 68k ABI calls which were left in here accidentally
...
git-svn-id: trunk@28508 -
2014-08-21 22:50:40 +00:00
Károly Balogh
b5d559dce1
Amiga: fixed FileNameCasePreserving flag to true
...
git-svn-id: trunk@28440 -
2014-08-18 12:26:43 +00:00
Károly Balogh
fbc7b3d89a
fixed some recently added external vs. public mixup, so Amiga binaries even link again
...
git-svn-id: trunk@27736 -
2014-05-04 23:11:38 +00:00
Károly Balogh
8a83037883
amiga: added some hacks to support the ancient code in amunits package. most of this will be gone after amunits package cleanup, but at least amunits package builds now
...
git-svn-id: trunk@27578 -
2014-04-13 23:39:59 +00:00
pierre
3d34a8a3b0
Makefiles updated with fpcmake rev 27428
...
git-svn-id: trunk@27508 -
2014-04-10 09:58:17 +00:00
marco
959ea7f5bb
* printer unit moved. Amiga unit also moved but it is not actively used.
...
git-svn-id: trunk@27351 -
2014-03-29 20:35:28 +00:00
marco
c465d3d64a
* moving 4 cp9* units. These are 16-bit and big.
...
git-svn-id: trunk@27349 -
2014-03-29 19:43:13 +00:00
marco
ed3a49372d
* strutils moved to packages/rtl-objpas
...
git-svn-id: trunk@27339 -
2014-03-29 17:51:44 +00:00
Károly Balogh
3c015555ae
use unsigned RawDoFmt() formatting for size in heap debug mode
...
git-svn-id: trunk@27069 -
2014-03-10 00:53:09 +00:00
Károly Balogh
fb218fa671
require v37 libs (OS2.04+) instead of v50 (nextgen)
...
git-svn-id: trunk@27059 -
2014-03-09 19:23:30 +00:00
Károly Balogh
1483a631d7
Amiga: fixed copyright header and merged a fix from MorphOS in sysdir
...
git-svn-id: trunk@27058 -
2014-03-09 17:57:07 +00:00
Károly Balogh
2f02fa6f16
fixed AllFilesMask for Amiga and some comment typos
...
git-svn-id: trunk@27057 -
2014-03-09 17:47:21 +00:00
Károly Balogh
e22228ca27
AMIGAOS4 is now defined in the compiler, not in the RTL
...
git-svn-id: trunk@27056 -
2014-03-09 17:43:05 +00:00
Károly Balogh
d775b148b0
Amiga: updated sysutils unit to equal the MorphOS version in features
...
git-svn-id: trunk@27055 -
2014-03-09 17:36:26 +00:00
Károly Balogh
ad1cc67eb2
Amiga: fixed RawByteString related typos in sysutils
...
git-svn-id: trunk@27053 -
2014-03-09 16:50:44 +00:00
Károly Balogh
b11e26cf55
Amiga: merged getpathstring DOS unit fixes from MorphOS RTL
...
git-svn-id: trunk@27049 -
2014-03-09 16:41:25 +00:00
yury
73c26bd6be
* mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used.
...
git-svn-id: trunk@26705 -
2014-02-07 12:37:17 +00:00
Tomas Hajny
ce4cb437e2
+ character sets for central Europe added also to Makefiles as implicit units
...
git-svn-id: trunk@26526 -
2014-01-20 00:20:11 +00:00
marco
dea2c743d5
* Initial active version of
...
rtl-extra : objects matrix ucomplex
rtl-objpas: convutil(s) dateutil(s) stdconvs variants varutils
git-svn-id: trunk@26398 -
2014-01-05 19:20:15 +00:00
paul
14a34239cc
rtl: add cp856 to makefiles
...
git-svn-id: trunk@26387 -
2014-01-05 06:03:28 +00:00
marco
ebe262762a
* Clean out of $i textrec and filerec includes that are redundant now that cpstrrtl exposes
...
those records via system.
git-svn-id: trunk@26356 -
2014-01-02 13:26:09 +00:00