svenbarth
|
c8b7094378
|
* fix for Mantis #36940: apply (adjusted) patch by Bi0T1N to add functionality to the thread manager to set a thread's debug name (if supported by the platform)
git-svn-id: trunk@45160 -
|
2020-04-28 19:58:20 +00:00 |
|
Károly Balogh
|
1bd66a605c
|
amicommon: only include exec helpers when compiling for v2.0 in athreads
git-svn-id: trunk@44743 -
|
2020-04-17 00:15:30 +00:00 |
|
Károly Balogh
|
db0deab026
|
amicommon: instead of a runtime check, check for OS2.0+ features at compile time in DOS
git-svn-id: trunk@44742 -
|
2020-04-17 00:14:42 +00:00 |
|
Károly Balogh
|
024ab0a854
|
amicommon: only include exec extensions when complied for v2.0
git-svn-id: trunk@44741 -
|
2020-04-17 00:13:56 +00:00 |
|
marcus
|
8b95fb8377
|
Morphos: Fixed compilation after r44709
git-svn-id: trunk@44711 -
|
2020-04-12 20:47:35 +00:00 |
|
marcus
|
3f579c10a4
|
Amiga: do not try to read pr_LocalVars when running on 1.x
git-svn-id: trunk@44709 -
|
2020-04-12 18:44:51 +00:00 |
|
Károly Balogh
|
086c897981
|
amicommon: m68k-amiga legacy support
git-svn-id: trunk@44566 -
|
2020-04-04 13:24:29 +00:00 |
|
Károly Balogh
|
433e40fe71
|
m68k-amiga: while trying to construct ParamStr(0), if the directory is empty, do not prepend the binary name with '/'
git-svn-id: trunk@44562 -
|
2020-04-04 12:48:51 +00:00 |
|
Károly Balogh
|
3031a4da31
|
amiga-m68k: minimal tweaks and formatting to the dos unit
git-svn-id: trunk@44416 -
|
2020-03-30 00:40:20 +00:00 |
|
Károly Balogh
|
a48d40e08e
|
amicommon: cleaned up the voodoo padding magic and packed record from the DOS unit SearchRec. This structure is entirely platform specific, ancient code might have accessed it from assembly, but it's no longer the case.
git-svn-id: trunk@44345 -
|
2020-03-23 01:15:41 +00:00 |
|
Károly Balogh
|
65330f346d
|
amicommon: make sure to reset packrecords to default after OS structure inclusion
git-svn-id: trunk@44344 -
|
2020-03-23 01:13:13 +00:00 |
|
florian
|
3cd4168ab3
|
+ introduce TOSTimestamp
git-svn-id: trunk@44033 -
|
2020-01-25 14:14:41 +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 |
|
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 |
|
Károly Balogh
|
bda626d450
|
amicommon: add some naive RTLEventWaitFor implementation, add long standing tthread.inc patch by Sven. Synchronize/CheckSynchronize should now work on Amiga
git-svn-id: trunk@41584 -
|
2019-03-04 01:43:42 +00:00 |
|
nickysn
|
c24d525b9f
|
* compilation fixes for many platforms after r41167
git-svn-id: trunk@41168 -
|
2019-02-02 20:22:07 +00:00 |
|
Károly Balogh
|
6d279fdbb9
|
amicommon/lineinfo: fixed copy-paste error in PowerPC codepath
git-svn-id: trunk@41094 -
|
2019-01-28 12:45:19 +00:00 |
|
Károly Balogh
|
22c87afdd1
|
amicommon/lineinfo: added support for i386 relocatable binaries with .rel.stab section, as used on AROS-i386 for example
git-svn-id: trunk@41092 -
|
2019-01-28 06:00:41 +00:00 |
|
Károly Balogh
|
db055c8f0c
|
amicommon: moved MorphOS-specific lineinfo to amicommon, for upcoming AROS and OS4 support
git-svn-id: trunk@41091 -
|
2019-01-28 05:29:31 +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 |
|
Károly Balogh
|
c840c4d6a8
|
athreads: add a custom API to retrieve underlying process ID from AThreads. this makes it possible to combine some Amiga API features like Signaling with FPC's thread handling
git-svn-id: trunk@38848 -
|
2018-04-26 11:28:38 +00:00 |
|
marcus
|
ae184f4665
|
Amicommon: Implemented GetTempDir() for all Amiga systems ('T:' as default)
git-svn-id: trunk@38393 -
|
2018-03-01 18:04:40 +00:00 |
|
marcus
|
a0aaa69c0f
|
Amicommon: implemented BasicEvents in AThreads
git-svn-id: trunk@36905 -
|
2017-08-14 19:52:16 +00:00 |
|
Károly Balogh
|
6e3936c534
|
amicommon: implement StackTop for other Amiga-like systems
git-svn-id: trunk@36697 -
|
2017-07-08 23:48:29 +00:00 |
|
Károly Balogh
|
c1187a17cd
|
amiga: call InternalFindClose in InternalFindFirst, if finding the first file fails
git-svn-id: trunk@36505 -
|
2017-06-15 12:51:06 +00:00 |
|
marcus
|
67c3fd2276
|
AROS: Semaphores are much bigger on 64bit, fixes crashes and freezes on AROS64 with Threading enabled
git-svn-id: trunk@36206 -
|
2017-05-14 13:39:15 +00:00 |
|
Károly Balogh
|
c7576e4a3f
|
sysutils: enable FINDHANDLE_IS_POINTER for Amiga-like systems and Atari. this allows to remove some Pointer<->THandle casts from the amicommon code
git-svn-id: trunk@35198 -
|
2016-12-27 03:23:54 +00:00 |
|
Károly Balogh
|
7d2360eb0c
|
m68k: Test68000/Test68881 support boilerplate and special support for Amiga
git-svn-id: trunk@35194 -
|
2016-12-24 21:11:06 +00:00 |
|
marcus
|
bebef242d4
|
AROS: Initial ABIv1 Support
git-svn-id: trunk@35066 -
|
2016-12-04 15:41:35 +00:00 |
|
marcus
|
092244309a
|
Amicommon: use THandle/BPTR instead of LongInt (needed for 64 bit)
git-svn-id: trunk@35030 -
|
2016-12-01 17:55:58 +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 |
|
marcus
|
3207a346e1
|
AROS: arm needs AROS_FLAVOUR_BINCOMPAT defines
git-svn-id: trunk@34895 -
|
2016-11-13 21:05:12 +00:00 |
|
Károly Balogh
|
33602807f5
|
amicommon: set the return value of SysErrorMessage to something default. this is consistent with some other platforms
git-svn-id: trunk@34591 -
|
2016-10-02 02:03:22 +00:00 |
|
sergei
|
67bd4775fd
|
- Cleaned out thread manager semaphore support which was ever implemented only for Unix, and not used since r28965. This also reverts changes to System unit interface introduced in r27665.
git-svn-id: trunk@34542 -
|
2016-09-20 20:14:36 +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
|
b396d34364
|
Amicommon: Fixed compilation after r33290
git-svn-id: trunk@33292 -
|
2016-03-20 06:45:00 +00:00 |
|
marco
|
66608fec02
|
* unicode executeprocess from work during Lazarus convention in IJsselstein
git-svn-id: trunk@33290 -
|
2016-03-19 17:59:42 +00:00 |
|
marcus
|
2fe3a342f2
|
AROS: SystemTags changed to PtrUInt for 64bit
git-svn-id: trunk@33260 -
|
2016-03-17 18:57:05 +00:00 |
|
michael
|
fde42ca8ef
|
* Type helpers, compatible to Delphi XE 8
git-svn-id: trunk@32262 -
|
2015-11-07 09:40:54 +00:00 |
|
Károly Balogh
|
eb3bd4648c
|
amicommon: actually, not all filesystems (FTPMount, for example) support the ExamineFH method, so fall back to double-seek in that case
git-svn-id: trunk@31223 -
|
2015-07-23 18:43:37 +00:00 |
|
Károly Balogh
|
32120a47f4
|
amicommon/sysutils: use THandle instead of Longint
git-svn-id: trunk@31175 -
|
2015-06-28 23:38:37 +00:00 |
|
Károly Balogh
|
c704b4b918
|
amicommon/sysfile.inc: use THandle instead of LongInt
git-svn-id: trunk@31174 -
|
2015-06-28 23:36:09 +00:00 |
|
Károly Balogh
|
51a6c217c7
|
amicommon/dos: some warning fixes - use PtrInt instead of LongInt; do not check for less than zero values in unsigned variables
git-svn-id: trunk@31173 -
|
2015-06-28 23:12:41 +00:00 |
|
Károly Balogh
|
1a53f6a799
|
AROS: in agreement with Marcus Sackrow, AThreads is now enabled for AROS, and the old AROS-specific threading implementation is zapped
git-svn-id: trunk@31008 -
|
2015-06-07 18:35:50 +00:00 |
|
Károly Balogh
|
57f8922448
|
amicommon: make AThreads call the thread init/exit chain
git-svn-id: trunk@30992 -
|
2015-06-06 19:52:13 +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
|
0abb517ffb
|
amicommon: AThreads now supports calling suspend from the thread itself
git-svn-id: trunk@30959 -
|
2015-05-31 17:26:45 +00:00 |
|