Karoly Balogh
7a31353164
rtl/amicommon: fix some comment typos in Sysutils unit. No functional change.
2024-10-31 22:28:17 +01:00
Karoly Balogh
a602ae8685
rtl/amicommon: fix some comment typos in DOS unit. No functional change.
2024-10-31 22:28:17 +01:00
Karoly Balogh
ac4f90b4a7
rtl/amicommon: reduce the string sizes in the IllegalDevice list of DOS unit. This in turn reduces binary sizes by almost 3 KiB.
2024-10-31 22:28:17 +01:00
Michaël Van Canneyt
594090b215
* Add delphi-compatible observers to classes
2023-11-08 00:04:18 +01:00
Marcus Sackrow
1714dbb563
Amiga: Enable Dotted RTL for Amiga
2023-08-27 12:13:43 +02:00
Michael VAN CANNEYT
ccfa38c68e
* Dotted RTL compiles
2023-07-27 19:04:03 +02:00
Michael VAN CANNEYT
78374bf772
* Synchronize API for AnsiString/Unicode string, keep string where possible.
2023-07-24 15:38:09 +02:00
Michael VAN CANNEYT
96c83e7f39
* move $H here
2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
9bb9ec0fa2
* string -> shortstring
2023-07-14 17:26:10 +02:00
Michaël Van Canneyt
b8b091cef8
* Correct type for filenames
2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
bcb2aa1323
* Char -> AnsiChar
2023-07-14 17:26:09 +02:00
marcoonthegit
452ec93f06
* implement waitformultiple for win32 only.
...
* Change interface to allow for COM waiting + a basic windows implementation. (only for desktop apps? Use msgwait* for the rest?)
2023-05-20 14:37:26 +02:00
Marcus Sackrow
1cacbeff1e
AThreads: ThreadInfo for the main thread move to a global var to prevent problems with heap manager
2023-02-19 14:09:29 +01:00
Marcus Sackrow
5fe9ed18d9
Amiga: System CloseList() and CleanupThreadProcChain() are called after the memory manager is already shut down changed to native os memory allocation
2023-02-18 20:19:53 +01:00
Karoly Balogh
ecbd5840ce
m68k-amiga: print offsets during stacktraces, instead of absolute addresses, which are not really helpful in a single address space
2022-08-26 18:42:24 +02:00
marcoonthegit
9e70f49745
* fix missing ifdef for the non win32/64/unix targets.
...
* also do watcom.
2022-06-01 16:56:02 +02:00
marcoonthegit
e5ac0b2689
* anonymous method overloads for synchronize/queue.
2022-06-01 13:54:06 +02:00
Marcus Sackrow
638de87a5a
AThreads: prevent deadlock for event set before waited
2022-05-28 22:46:50 +02:00
magorium
ff576fad0f
AROS: 64-bit filehandle compatibility/consistency fixes for ASYS_FileList related routines
2022-03-30 21:32:44 +00:00
Marcus Sackrow
07ff5f423a
AROS: 64 bit fix for sysutils FileCreate
2022-03-18 21:03:32 +01:00
Marcus Sackrow
729d920ed3
AROS: Locks must be BPTR type
2022-03-17 18:05:24 +01:00
Károly Balogh
50cb5707ef
amiga: check if P is nil while processing params. this should never happen, except sometimes in real world it still happens. so lets be defensive about it
...
git-svn-id: trunk@49052 -
2021-03-25 16:33:22 +00:00
svenbarth
11b601d44c
* TThread.Terminate does not have any platform specific behavior (it should only set FTerminated to true and call TerminatedSet), thus move it to the platform independant part
...
Notes:
- Netware had a ThreadSwitch in there, but that is not really required
- some platform were missing the setting of FTerminated to True, thus they'll now do that as well
git-svn-id: trunk@46543 -
2020-08-22 15:56:13 +00:00
michael
b7bd9f3325
* Add TerminatedSet (delphi compatibility, bug ID #37388 )
...
git-svn-id: trunk@45805 -
2020-07-18 22:35:36 +00:00
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