Commit Graph

356 Commits

Author SHA1 Message Date
Pierre Muller
3bf5c67485 Revert "Add missing dependency on types unit for math unit"
This reverts commit 1f01ba4bc0.
2025-04-03 12:07:18 +00:00
Pierre Muller
1f01ba4bc0 Add missing dependency on types unit for math unit 2025-04-03 11:58:59 +00:00
Pierre Muller
282f4aa060 Add definitions of ALUSInt and ALUUInt types in java/jsystemh_types.inc 2025-03-31 13:36:13 +00:00
Nikolay Nikolov
97fde50101 * regen makefiles 2025-03-10 22:39:51 +02:00
Nikolay Nikolov
bf0c724d80 * regen makefiles 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
12c494cc0f * update makefiles 2025-02-28 15:12:19 +02:00
Rika Ichinose
98a5072fbe Remove NewAnsiString & NewUnicodeString. 2025-02-09 14:27:09 +00:00
Pierre Muller
930596bd85 Fix directories for some source files, based on suggestion by Alfred Glänzer in #40995 2024-11-19 22:12:31 +00:00
Rika Ichinose
798d793cdc Specialized fpc_copy_with_move_semantics for destructive copies. 2024-11-17 09:45:11 +00:00
Frederic Kehrein
ca92c49f8c * Avoid calling copy operator when moving data from temporary objects
When a function returns a managed record, a new temporary object is
created for the result, which is then copied to the real destination.
For managed records with a deep copy implementation, this can create
immense overhead. So instead this introduces a move, which basically
consists of
```pascal
procedure Move(var src, dst);
begin
  Finalize(dst); // Finalize existing data
  Move(src,dst,sizeof(dst)); // Shallow copy
  Initialize(src); // Clear source
```

* nld.pas: use MOVE when assigning the function result from the
  temporary return object
* rtl/inc/systemh.pas: Adding new macro to mark new RTTI version with MOVE
  operation
* rtl/inc/compproc.inc, rtl/inc/rtti.inc: Adding new move mechanism when
  indicated by the compiler.
2024-11-16 22:08:06 +00:00
Rika Ichinose
0b97f169b0 Remove conditionals that rely on not defined(FPC_HAS_CPSTRING). 2024-11-04 10:28:33 +00:00
Nikolay Nikolov
37b7835b12 + added unit unix98pty. Only enabled for linux, for now, but can be enabled in the future on other unix-likes. 2024-10-19 16:11:25 +03:00
Kirill Kranz
52651a7ede First compiler Build 2024-09-29 16:56:18 +03: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
florian
e225b41e3e * properly define esp32 helper unit names in inc/Makefile.rtl 2024-07-09 22:23:19 +02:00
Pierre Muller
3d2d27cf67 Makefile regenerated after 'nothreads unit depends on objpas because of objfpc mode' commit 2024-05-20 15:14:05 +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
florian
a0cae50af6 * rtl part of #35433 2024-05-01 23:15:12 +02:00
Pierre Muller
8b7dbb81b1 Update after commit b0076a4709 to fix jvm rtl compilation error 2024-04-18 08:15:56 +02:00
florian
cf6b38c35f * regenerated Makefiles after last commit 2024-03-23 22:30:37 +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
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
Pierre Muller
5a7d5367d2 Try to implement UnicodeFromLocaleChars for java 2024-03-05 20:58:30 +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
Pierre Muller
57e74e0c8b Regenerated Makefile's after: Add linux dependency on syscall unit for libc on i386 and x86_64 2024-01-29 11:20:47 +00:00
Karoly Balogh
679f2f75b3 human68k: regenerated Makefiles 2023-11-30 23:43:27 +00: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
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
Pierre Muller
08f9aaa6e6 Regenerate Makefile's with centralized SYSTEMUNIT variable 2023-10-09 01:02:28 +02:00
Pierre Muller
cb2d675732 Remove OS specific SYSTEMUNIT variable setting 2023-10-09 01:02:28 +02:00
Pierre Muller
ca0fbc1de6 Regenerate Makefile's after system rule changes 2023-09-29 17:44:35 +02:00
Pierre Muller
70d25e3b60 Remove OS spefic rules for system unit.
Use SYSDEPS variable to add specific dependencies.
  Override FPC_SYTEM_OPT to add OS specific options.
  Use SYSTEMUNIT variable.
2023-09-29 17:44:35 +02:00
Pierre Muller
c3fddb91ce Regenerate Makefile's after changes for DOTTED support 2023-09-27 16:50:05 +02:00
Pierre Muller
f8e277ef0f Regenerate Makefile's after changes for DOTTED support 2023-09-26 22:48:55 +02:00
Pierre Muller
cbe5fabd3d Regenerate Makefile's after changes for DOTTED support 2023-09-26 15:31:09 +02:00
Pierre Muller
ececf26d87 Regenerate Makefile's after change to inc/Makefile.rtl 2023-09-26 01:02:46 +02:00
Pierre Muller
95886b7e03 Regenerate Makefile's after DOTTED conversions 2023-09-25 16:39:02 +02:00
Pierre Muller
6f09604636 Regenerate all RTL Makefile's 2023-09-20 18:05:47 +02:00
Pierre Muller
b5e3217bb5 Makefile's regenerated after math unit rule update 2023-09-20 08:26:07 +02:00
Pierre Muller
d37669c54a Regenerated Makefile's after CP_UNITS_SRC fix for dotted version 2023-09-19 21:29:36 +00:00
Pierre Muller
5676cf4c1a Fix CP_UNITS variable setting 2023-09-14 11:21:00 +00:00
Pierre Muller
3370ae1806 Regenerated Makefile's after: Fix EXEINFOUNIT and CP_UNITS variable values or dotted case 2023-09-14 08:55:27 +00:00
Pierre Muller
1647b998ed Regenerate Makefile's after: Fix CP_UNITS_SRC variable value 2023-09-13 21:20:18 +00:00
Pierre Muller
308a71c79c Regenerate RTL Makefile's 2023-09-13 21:09:22 +00:00
Pierre Muller
c6dd35bc54 Regenerate rtl Mzkefile's 2023-09-12 21:39:27 +00:00