Commit Graph

15940 Commits

Author SHA1 Message Date
Pierre Muller
3d2d27cf67 Makefile regenerated after 'nothreads unit depends on objpas because of objfpc mode' commit 2024-05-20 15:14:05 +00:00
Pierre Muller
96b3462a5f nothreads unit depends on objpas because of objfpc mode 2024-05-20 15:12:39 +00:00
Michaël Van Canneyt
10d740298d * Added nothreads unit for fake thread support. Currently only WASI 2024-05-19 16:14:45 +02:00
Michaël Van Canneyt
d809b4ba98 * Fix wince/nativent 2024-05-14 11:53:14 +02:00
Michaël Van Canneyt
a9b8fb0f05 * Add StreamOriginalFormat to ObjectTextToBinary 2024-05-13 14:28:22 +02:00
Michaël Van Canneyt
4e4fcaa8a2 * Fix compilation without threads 2024-05-13 14:00:36 +02:00
Nikolay Nikolov
cdba427bcf + added WASI multithreading helper for setting the stack pointer for the linear stack 2024-05-13 14:00:36 +02:00
Michaël Van Canneyt
8c8f8088eb * Seems not all was committed 2024-05-13 14:00:34 +02:00
Michaël Van Canneyt
b93d49df9b * Comment out debug in loop 2024-05-13 13:58:36 +02:00
Michaël Van Canneyt
27133cb66d * Wasm Threads (WIP) 2024-05-13 13:58:36 +02:00
Michaël Van Canneyt
d6cf3c98d0 * Add constants cPI and friends, for delphi compatibility 2024-05-06 18:01:30 +02:00
Rika Ichinose
41ae52dde1 Import Heap* functions on WinCE. 2024-05-05 20:10:45 +00:00
Pierre Muller
cb6fe28898 Add support for DISABLE_SYSTEMINLINE inside heaptrc unit 2024-05-02 07:56:33 +00:00
Pierre Muller
d1510840d0 Fix compilation of rtl with -dDISABLE_SYSTEMINLINE 2024-05-02 07:47:57 +00:00
florian
a0cae50af6 * rtl part of #35433 2024-05-01 23:15:12 +02:00
Rika Ichinose
fed9c609e8 Calculate the amount of ansichars in argv with one call to WideCharToMultiByte. 2024-05-01 20:17:52 +00:00
Rika Ichinose
6489b6fc36 Shorten win/systhrd.inc; fix SetThreadStackGuarantee signature. 2024-05-01 19:57:16 +00:00
marcoonthegit
9e101c51e3 * added GetGUIThreadInfo reported on the forum 2024-04-29 13:24:54 +02:00
Rika Ichinose
3cfec5e6a4 Allocate argvs at once. 2024-04-27 16:49:25 +00:00
Rika Ichinose
0655b342d4 Shorter IndexByte_Plain. 2024-04-26 18:35:47 +00:00
Pierre Muller
a5cb0b6179 Remove SUBARCH refering to non-existing units for arm-freertos target 2024-04-25 12:17:19 +00:00
Pierre Muller
4b5e5f0ddb Remove obsolete/unused rules inside rtl/freertos/Makefile.fpc 2024-04-25 12:13:19 +00:00
Pierre Muller
d7eef9c3ca Add heapmgr and consoleio dependency for all freertos CPU specific units 2024-04-25 12:02:37 +00:00
Rika Ichinose
b87e22151a Use non-conservative Fill thresholds. 2024-04-22 19:37:36 +00:00
Sven/Sarah Barth
484dab553b + add a batch file to also regenerate the RTL makefiles on Windows 2024-04-19 16:45:59 +02:00
Pierre Muller
8b7dbb81b1 Update after commit b0076a4709 to fix jvm rtl compilation error 2024-04-18 08:15:56 +02:00
Rika Ichinose
b0076a4709 Integers are 16-bit in system, replace with SizeInt. 2024-04-17 20:46:36 +00:00
Rika Ichinose
0fe3633044 Simplify shortstr_concat(_multi). 2024-04-12 19:41:35 +00:00
Rika Ichinose
fc3d71bba3 Check bounds in SetLength(shortstring). 2024-04-10 21:06:14 +03:00
Rika Ichinose
bad42011ab Better i386.inc:fpc_ansistr_unique. 2024-04-08 18:47:18 +00:00
marcoonthegit
5120a3a0c3 * dc_pen and dc_brush in getstockobject section, reported on forum 2024-04-08 11:56:26 +02:00
florian
886f91dee3 + tvardata.vuint32, resolvers #40729 2024-04-05 20:29:13 +02:00
marcoonthegit
2ec99cc82e * skip empty path components in concatpaths, related to #40682 2024-04-03 14:40:32 +02:00
Jeppe
7dac620e2d embedded, arm, stm32: Fix CAN register definition
- bxCAN controller only has 2 RX mailboxes.
The registers behind were misplaced.
Refer to RM0008 section 24.9.3 and 24.9.4
2024-04-01 14:20:18 +02:00
Michaël Van Canneyt
6689e2fe21 * Fix result of TFPSList.Expand in case of early exit 2024-03-31 11:14:50 +02:00
Michaël Van Canneyt
33f6a9042d * Minor improvement of TFPSList.Expand 2024-03-31 11:11:08 +02:00
Michael Van Canneyt
c17cbbe788 * Observe max capacity. Resolves issue #40720 2024-03-30 11:23:42 +01:00
Rika Ichinose
e42209457e Shorter i386 Exp(). 2024-03-29 21:04:32 +00:00
florian
9a32c00070 * improve TFPSList.Delete as proposed by Alexey Torgashin, resolves #40718 2024-03-29 14:28:54 +01:00
florian
22e9033076 + MMXSupport added to cpu unit
* mmx unit makes more use of cpu unit
2024-03-28 10:42:08 +01:00
Rika Ichinose
6c8acf28cd Shorten MMX unit. 2024-03-28 09:13:43 +00:00
ccrause
f4828950a2 Add efuse library to default list of static link libraries. 2024-03-26 13:26:45 +00:00
florian
cf6b38c35f * regenerated Makefiles after last commit 2024-03-23 22:30:37 +01:00
Michael Ring
6fadd49fb6 Added missing RP2040 definition in Makefile.rtl to make sure that regenerating of Makefiles does not remove rp2040 unit 2024-03-23 21:25:37 +00:00
Michaël Van Canneyt
173233d78e * Correct dependency for SYSUTILS 2024-03-21 10:34:51 +01:00
Michaël Van Canneyt
77673c5e37 * Fix typo 2024-03-21 10:32:23 +01:00
Pierre Muller
d0f08ef259 Regenerate RTL Makefile's after RP2040UNIT variable addition, and debug buildrtl.pp unit for Linux OS 2024-03-20 17:33:14 +00:00
Pierre Muller
1caa5dfde8 Re-implement (for debugging purposes) buildrtl.pp unit for Linux OS (not used in regular RTL compilation) 2024-03-20 17:31:38 +00:00
Michael Ring
cba5e252d1 Fix missing configuration for namespaces to make rp2040.pp build on main compiler 2024-03-17 09:35:13 +00:00
florian
7c95ff434b * patch by Rika: fix incorrect exception handling if an exception raised in TThread decendant class's constructor, resolves #40677 2024-03-16 22:27:32 +01:00
Michaël Van Canneyt
f1c4f0c879 * Check component is not nil prior to calling validateinsert 2024-03-14 17:14:13 +01:00
Pierre Muller
603dd63b39 Fix make variable name error: OBJPAS_DEPS_SPU => OBJPAS_DEPS_CPU 2024-03-11 14:23:25 +00:00
Pierre Muller
1230fc811a Use rtl/java version of objpas.pp source for java OS 2024-03-11 14:22:10 +00:00
Michaël Van Canneyt
8665e03886 * Add parameter to skip inherited fields 2024-03-11 13:52:35 +01:00
Rika Ichinose
a35577593b Don’t misalign FillChar pattern. 2024-03-10 21:24:21 +00:00
florian
edaee6f392 * do not copy sets in fpc_varset_(un)set if source and dest are the same 2024-03-09 22:51:14 +01:00
Rika Ichinose
4c6abb38b1 Non-nil-aware fpc_ansistr_compare(|_equal). 2024-03-08 18:19:03 +00:00
Pierre Muller
5a7d5367d2 Try to implement UnicodeFromLocaleChars for java 2024-03-05 20:58:30 +00:00
Michaël Van Canneyt
48cb0eb5b1 * force correct strpas overload when using unicodestrings 2024-03-04 16:49:58 +01:00
Michaël Van Canneyt
05f0ceeb26 * Atributes for class/record methods 2024-03-02 14:15:22 +01:00
florian
4e1f854d49 * patch by Rika + test: Don’t explicitly change GetMem(0) to GetMem(1), it works anyway, resolves #40456 2024-03-01 22:49:45 +01:00
florian
11f076f0e7 + CMPXCHG16BSupport 2024-02-28 22:18:42 +01:00
Michaël Van Canneyt
4769ed948a * Add codeaddress to extended RTTI for static methods 2024-02-28 11:52:16 +01:00
Michaël Van Canneyt
8b40033964 * Change argument name 2024-02-27 09:27:41 +01:00
Rika Ichinose
7589bb39b8 Set ‘TMonitorData’s without locking. 2024-02-27 07:54:31 +00:00
Michaël Van Canneyt
06601d5e60 * Fix TExtendedVmtFieldEntry.GetTail 2024-02-26 15:20:15 +01:00
Michaël Van Canneyt
8527cb17f8 * Fix overflow in initialization of return value 2024-02-25 19:57:39 +01:00
Michaël Van Canneyt
bd2b0c8dca * Fix use of wrong memory size when getting extended property info 2024-02-25 19:57:39 +01:00
Michaël Van Canneyt
b3800d38cb * Handle potential double defintion of INFINITE 2024-02-24 19:52:00 +01:00
Michaël Van Canneyt
4c26e4f989 * Enable monitor support 2024-02-24 18:11:23 +01:00
Michaël Van Canneyt
e1b2feac33 * Set monitor structures in place 2024-02-24 18:11:23 +01:00
Pierre Muller
2efb72bede Use call to seterrno function inside FpSysCall functions for powerpc cpu on linux OS 2024-02-24 00:05:20 +03:00
Rika Ichinose
e87e14c7cc Make some i386.inc functions “nostackframe”. 2024-02-21 21:08:36 +00:00
Jonas Maebe
8baa4f41db JVM: fix system unit compilation error
Apply same change as to systemh.inc in bccc0b195e
2024-02-21 21:48:29 +01:00
Michaël Van Canneyt
97495e93b8 * Delphi compatible TCollection.Sort() using helper 2024-02-21 10:31:29 +01:00
florian
bccc0b195e * allow type = type ... ; syntax only for previously declared types, avoids also internal error for #40566 2024-02-20 23:14:31 +01:00
Michaël Van Canneyt
b61a0fab97 * CurveKappa, CurveKappaInv 2024-02-20 17:50:10 +01:00
Michaël Van Canneyt
9a344568df * RectWidth was not public 2024-02-20 17:48:26 +01:00
Michaël Van Canneyt
31b978f3b7 * Add UnicodeFromLocaleChars for Delphi compatibility 2024-02-20 17:09:35 +01:00
marcoonthegit
5c1997b3d5 * fix ident and executable note in profiler file 2024-02-20 15:49:09 +01:00
Michaël Van Canneyt
30a20cc209 * Add operators to TMethod, for Delphi compatibility 2024-02-20 15:36:18 +01:00
Michaël Van Canneyt
bc714c0fd7 * Added Delphi-compatible overload for ToString with UpdateCapacity argument 2024-02-20 14:49:13 +01:00
Michaël Van Canneyt
852cd355e4 * Use correct error number for missing widestring manager 2024-02-20 14:32:45 +01:00
Michaël Van Canneyt
ad93958e5b * Add delphi-compatible constant (including the typo in the name ;)) 2024-02-20 11:08:39 +01:00
Michaël Van Canneyt
8f8ce13b41 * Add IsUniqueGlobalComponentName 2024-02-20 11:01:35 +01:00
Michaël Van Canneyt
6f25cccda9 * Select proper stringbuilder depending on size of char 2024-02-20 10:46:44 +01:00
Michaël Van Canneyt
1e1b273c67 * Correct TCharArray declaration, disambiguate between widechar/char 2024-02-20 10:16:56 +01:00
Karoly Balogh
572a340a26 m68k-atari: mark functions and API calls related to exiting the program as noreturn 2024-02-20 03:56:17 +01:00
Karoly Balogh
eb6f29d084 m68k: disable verbose error reporting of the stub unicode and threadmanagers by default on Amiga, Atari, Human68k, and Sinclair QL 2024-02-20 03:56:17 +01:00
Karoly Balogh
88c7954d9f rtl: add two defines toallow disabling the verbose error of the stub unicodestringmanager and threadmanager 2024-02-20 03:56:17 +01:00
Michaël Van Canneyt
30f514eb6b * Add CanObserve and ObserverAdded to TComponent, for delphi compatibility 2024-02-19 11:21:42 +01:00
Rika Ichinose
2d6294eb26 MovQ + Shr → PExtrW. 2024-02-18 21:37:39 +00:00
Rika Ichinose
e5b47310c8 Supposedly faster i386 int() and frac(). 2024-02-18 21:37:39 +00:00
Michaël Van Canneyt
b7e8dd6268 * Add optional parameter to get methods of only current class 2024-02-18 21:36:05 +01:00
marcoonthegit
f582f93a0a * git changed to 1024 for mnamelen apparently fixes tdos1 test crash 2024-02-18 16:03:22 +01:00
marcoonthegit
e9b12b41db * also add stack note for trunke 2024-02-18 15:27:23 +01:00
Michaël Van Canneyt
9000f8742d * Fix error in TReadr.ReadString. Fixes issue #40652 2024-02-18 10:44:20 +01:00
Michaël Van Canneyt
f6ce76b638 * Fix in overloads of GetFieldList 2024-02-18 10:44:20 +01:00
Michaël Van Canneyt
89f0e052df * Add Clients property to TBasicAction 2024-02-16 15:50:51 +01:00
Michaël Van Canneyt
f011e80cb2 * Add scCommand (command key) 2024-02-16 15:23:03 +01:00