Pierre Muller
|
feb7d54553
|
Fix compilation of heaptrc unit using fixes branch bsd compiler
|
2024-09-13 09:21:47 +00:00 |
|
Nikolay Nikolov
|
2dd0b55d04
|
* the fpc_invalidpointer rtl function declared compproc to allow easier calling
from the high level code generator
|
2024-09-03 18:04:52 +03:00 |
|
Rika Ichinose
|
ce5a632432
|
Remove the rest of the VER3_0 conditionals.
|
2024-09-01 17:13:39 +00:00 |
|
Rika Ichinose
|
cd2c8a6539
|
Faster RTTIManagementAndSize -_-.
|
2024-08-31 11:34:49 +03:00 |
|
Rika Ichinose
|
6de766e40a
|
Redesign RTTISizeAndOp to return more useful information.
|
2024-08-27 14:44:48 +03:00 |
|
Rika Ichinose
|
d7352e7b66
|
Remove most of the VER3_0 conditionals.
|
2024-08-25 09:44:11 +00:00 |
|
Rika Ichinose
|
ea33fdcdf8
|
Decimate rtl/i386/strings.inc.
|
2024-08-19 20:34:10 +00:00 |
|
Rika Ichinose
|
801e14c33b
|
Faster Insert(ansi/unicodestring).
|
2024-08-12 20:09:30 +00:00 |
|
Nikolay Nikolov
|
296a792380
|
* set MaxIntResource to 1023 for WebAssembly, because that's where the first
data segment starts, after commit 3218f25d13 ,
and even before that, when using the external linker
|
2024-08-11 04:19:36 +03:00 |
|
florian
|
5b5a8b3387
|
* add cpuriscv to be on the safe side
|
2024-08-01 22:40:11 +02:00 |
|
florian
|
08bf5f7201
|
* indentation fixed
|
2024-07-28 20:47:46 +02:00 |
|
Rika Ichinose
|
2536529bc0
|
Reuse DWARF buffer on seeks.
|
2024-07-28 11:02:59 +03:00 |
|
Michaël Van Canneyt
|
b3b4343e6b
|
* Disposed is protected, does not appear by default in RTTI
|
2024-07-27 08:21:44 +02:00 |
|
Rika Ichinose
|
1030f67fb4
|
Use IndexQWord_SSE41 directly if -Cp RTL compiled with supports SSE 4.1.
|
2024-07-21 08:40:12 +00:00 |
|
Rika Ichinose
|
be11d22c17
|
Fix val(str, enum).
|
2024-07-20 08:30:02 +00:00 |
|
Rika Ichinose
|
10b7ad9d0c
|
Faster val(str, enum).
|
2024-07-19 20:51:24 +00:00 |
|
Michaël Van Canneyt
|
b0a82993e6
|
* Inherit extended RTTI settings from parent object
|
2024-07-19 16:05:14 +02:00 |
|
Rika Ichinose
|
8cfc87ffdf
|
Sink lnfodwrf.pp global variables down to their actual scopes.
|
2024-07-19 12:07:33 +00:00 |
|
Michael Ring
|
14b3c11c0d
|
Initial support for esp32-c6-s2-s3. Support for idf versions 5.0.6 and 5.2.1
|
2024-07-18 20:16:04 +00:00 |
|
Rika Ichinose
|
a575a5c0fd
|
Move Int128Rec to System; remove i386 and x86_64 CPU unit dependency on SysUtils.
|
2024-07-15 13:31:20 +00:00 |
|
Rika Ichinose
|
73bf0c82bb
|
Disable _Plain versions when compiling RTL for newer CPUs.
|
2024-07-14 14:36:17 +00:00 |
|
florian
|
569c3fb49f
|
* really all TMonitor shortcuts pass through the results
|
2024-07-12 19:02:21 +02:00 |
|
Michaël Van Canneyt
|
fa1abfba92
|
* Shortcuts must pass result on
|
2024-07-12 09:04:42 +02:00 |
|
florian
|
e225b41e3e
|
* properly define esp32 helper unit names in inc/Makefile.rtl
|
2024-07-09 22:23:19 +02:00 |
|
Nikolay Nikolov
|
e51fb8020c
|
+ introduced constant MaxIntResource, use it in InternalIsIntResource
|
2024-07-05 13:20:06 +03:00 |
|
Nikolay Nikolov
|
c96b0f6ca5
|
* workaround for WebAssembly resource names possibly residing in memory below 64KB
|
2024-07-04 07:26:36 +03:00 |
|
florian
|
3180c985ed
|
* fix naming (no functional change)
|
2024-07-03 18:47:26 +02:00 |
|
florian
|
9209f55112
|
* make GetProcessID inline
|
2024-07-01 21:25:34 +02:00 |
|
Rika Ichinose
|
0ca608243c
|
SSE4.1 IndexQWord for i386 and x86-64.
|
2024-06-29 20:37:55 +00:00 |
|
florian
|
8d3a9c3dda
|
* remove unneeded checks in generic string routines, resolves #40816
|
2024-06-12 20:41:08 +02:00 |
|
Michaël Van Canneyt
|
2c66f30520
|
* Remove debug statements
|
2024-06-12 17:45:47 +02:00 |
|
Rika Ichinose
|
11942fcf01
|
Cover more values in the [0; 1) range by “random”.
|
2024-06-01 16:55:36 +00:00 |
|
Rika Ichinose
|
875e22f7d7
|
Implement length(PWideChar) with IndexWord.
|
2024-05-22 20:15:12 +00:00 |
|
J. Gareth "Curious Kit" Moreton
|
d729d5a5b1
|
* arm: Re-enabled "inline" on "fpc_ansistr_decr_ref" and "fpc_ansistr_incr_ref".
|
2024-05-22 01:52:01 +01:00 |
|
J. Gareth "Curious Kit" Moreton
|
2519f42854
|
* arm: Disabled "inline" on "fpc_ansistr_decr_ref" and "..._incr_ref" until arm compiler bug is resolved
|
2024-05-22 00:29:20 +01: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 |
|
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
|
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 |
|
florian
|
886f91dee3
|
+ tvardata.vuint32, resolvers #40729
|
2024-04-05 20:29:13 +02: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 |
|
Michael Ring
|
cba5e252d1
|
Fix missing configuration for namespaces to make rp2040.pp build on main compiler
|
2024-03-17 09:35:13 +00:00 |
|
Pierre Muller
|
603dd63b39
|
Fix make variable name error: OBJPAS_DEPS_SPU => OBJPAS_DEPS_CPU
|
2024-03-11 14:23:25 +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 |
|
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 |
|
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
|
b3800d38cb
|
* Handle potential double defintion of INFINITE
|
2024-02-24 19:52:00 +01:00 |
|
Michaël Van Canneyt
|
e1b2feac33
|
* Set monitor structures in place
|
2024-02-24 18:11:23 +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
|
31b978f3b7
|
* Add UnicodeFromLocaleChars for Delphi compatibility
|
2024-02-20 17:09:35 +01:00 |
|
Michaël Van Canneyt
|
30a20cc209
|
* Add operators to TMethod, for Delphi compatibility
|
2024-02-20 15:36:18 +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
|
87a37e70ee
|
* Add EnumModules for Delphi compatibility
|
2024-02-16 11:15:27 +01:00 |
|
Michaël Van Canneyt
|
4af99236b0
|
* Add TDispatchMessage
|
2024-02-13 19:57:05 +01:00 |
|
florian
|
e7600ee245
|
* patch by Rika: Small improvements to (a|u)strings.inc, resolves #40364
|
2024-02-11 16:29:53 +01:00 |
|
Pierre Muller
|
2e6a31df8b
|
Add linux dependency on syscall unit for libc on i386 and x86_64
|
2024-01-29 11:20:09 +00:00 |
|
Sven/Sarah Barth
|
4aeb1ee223
|
* fix implementation comment
|
2024-01-22 22:27:33 +01:00 |
|
Michaël Van Canneyt
|
e9c6f1c152
|
* Delphi-compatible overloads UTF8ToUnicodeString
|
2024-01-18 09:32:15 +01:00 |
|
marcoonthegit
|
231007ebda
|
* check length of optstring before dereferencing (optstring[1]) it. Fixes #40596
|
2024-01-17 11:41:16 +01:00 |
|
florian
|
b81f92536d
|
* avoid that fpc_fillmem does not inline due too much nested calls
|
2024-01-15 22:42:53 +01:00 |
|
Sven/Sarah Barth
|
dd4f7e9148
|
* fix #40592: make the Delphi-compatible attributes usable, but in a way that makes it clear to the user that they won't work
+ added test
|
2024-01-15 22:29:47 +01:00 |
|
florian
|
9bb6a32c62
|
* avoid wrong warning about FillChar not initializing the output parameter in case count <= 0
|
2024-01-15 21:54:11 +01:00 |
|
Karoly Balogh
|
be4e5f240c
|
m68k-sinclairql: make heaptrc compile for the QL
|
2024-01-08 02:22:15 +01:00 |
|
Sven/Sarah Barth
|
170c05592b
|
* ensure that the legacy method table has the correct alignment on platforms that require it (e.g. SPARC64)
|
2024-01-07 18:09:51 +01:00 |
|
Michaël Van Canneyt
|
50d72bb559
|
* Define RTTI visibilities
|
2024-01-02 07:09:23 +01:00 |
|
Michaël Van Canneyt
|
c39e51485c
|
* Avoid range error in comparisons
|
2024-01-02 07:09:20 +01:00 |
|
Sven/Sarah Barth
|
30bf8047aa
|
* ensure that the field and method tables are always accessed with the default alignment
|
2024-01-02 07:09:20 +01:00 |
|
Rika Ichinose
|
fca0ace070
|
Improve shortstring Pos() and generic fpc_shortstr_compare().
|
2024-01-01 21:12:52 +00:00 |
|
Rika Ichinose
|
b7d32e4933
|
ERMSB-aware Fill* for i386.
|
2024-01-01 18:33:33 +00:00 |
|
Jonas Maebe
|
49cb7b2564
|
LLVM: use llvm.dbg.declare instead of llvm.dbg.addr for variable declarations
Even though it's supposedly deprecated, clang also still uses it and without
the declaration ranges of local variables are sometimes cut off
|
2023-12-06 22:57:16 +01:00 |
|
Michaël Van Canneyt
|
7e4aca384f
|
* Some delphi compatibility issues solved (PtrToNil and TGUID operator)
|
2023-11-29 14:34:27 +01:00 |
|
Michaël Van Canneyt
|
7bd8ac25d4
|
* Regen Makefiles with correct defines for some lineinfo units
|
2023-11-08 18:15:52 +01:00 |
|
Michaël Van Canneyt
|
ebed69e858
|
* Fix name of lineinfo
|
2023-11-08 17:12:37 +01:00 |
|
Michaël Van Canneyt
|
ab3b7f8f69
|
* Do not use namespace prefix for lnfodwarf
|
2023-11-08 17:08:03 +01:00 |
|
Michaël Van Canneyt
|
2f9c1e8be4
|
* line info may not use namespaces, referenced in compiler
|
2023-11-08 17:06:19 +01:00 |
|
Rika Ichinose
|
854d944cfa
|
Faster string concatenations.
|
2023-11-05 14:59:42 +00:00 |
|
Michaël Van Canneyt
|
2ad272f03f
|
* Correct dependency of (System.)Character, or resulting unit is unusable
|
2023-11-02 12:10:36 +01:00 |
|
Michaël Van Canneyt
|
038f054bdc
|
* Add varUInt32 alias for delphi compatibility
|
2023-11-01 21:38:55 +01:00 |
|
Michaël Van Canneyt
|
80d471a9f1
|
* Add HINST for Delphi compatibility
|
2023-11-01 21:38:55 +01:00 |
|
Rika Ichinose
|
0d3d4918b3
|
Don’t allow generic fpc_pchar_length to arbitrarily over-read.
|
2023-11-01 20:04:40 +00:00 |
|
Rika Ichinose
|
8d1d763a1a
|
Don’t use local shortstring in generic fpc_pchar_to_shortstr, move directly to the destination.
|
2023-11-01 20:04:40 +00:00 |
|
florian
|
b2a13077c0
|
* redefine also PPChar and PPPChar depending on the string type mode, resolves #40491
|
2023-10-31 23:13:22 +01:00 |
|
Michaël Van Canneyt
|
6045b3a6bd
|
* Add Delphi-compatible DisposeOf and friends.
|
2023-10-30 09:17:01 +01:00 |
|
Pierre Muller
|
b317f47029
|
Set SYSTEMUNIT variable globally inside inc/Makefile.rtl
|
2023-10-09 01:02:28 +02:00 |
|
Pierre Muller
|
b9544ad342
|
Add SYSTEMDIR variable (needed for BSD OSes)
|
2023-09-29 17:44:34 +02:00 |
|
Pierre Muller
|
a6353fecf0
|
Add tthread.inc dependency for classes unit using TTHREADINCDIR variable
|
2023-09-26 23:52:37 +02:00 |
|
Pierre Muller
|
4f055a9254
|
Add dependency of classes unit on sortbase
|
2023-09-26 23:23:21 +02:00 |
|
Pierre Muller
|
541ba50269
|
Revert wrong substitution of classes and sysutils subdirectories inside wildcard calls
|
2023-09-26 22:48:55 +02:00 |
|
Pierre Muller
|
bb20f8f318
|
Replace all objpas$(PPUEXT) by $(OBJPASUNIT)$(PPUEXT) in inc/Makefile.rtl
|
2023-09-26 14:21:36 +02:00 |
|
Pierre Muller
|
b12932c7f8
|
Handle specific main cwstring.pp source for android OS
|
2023-09-26 01:02:46 +02:00 |
|
Pierre Muller
|
48ea716826
|
Set special value for RTLDEFSINCDIR variable
for andrioid and targets using AMIINC variable.
Add rtldefs.inc dependency for cwstring unit,
with RTLDEFSINCDIR directory.
|
2023-09-26 01:02:46 +02:00 |
|
Pierre Muller
|
edc92f26ff
|
Handle win16 specific units: wintypes winprocs and win31 for DOTTED
|
2023-09-26 01:02:44 +02:00 |
|
Pierre Muller
|
c0d8241b5d
|
Handle unixtype unit and introduce PTYESINCDIR variable
|
2023-09-25 01:02:56 +02:00 |
|