Commit Graph

15768 Commits

Author SHA1 Message Date
Pierre Muller
dc6d842dcf Regenerated Makefile's 2023-09-13 22:08:40 +00:00
Pierre Muller
9c9ac092a1 Remove OS rules for mmx unit and use MMXUNIT variable 2023-09-13 22:00:15 +00:00
Pierre Muller
a56c329937 Remove OS x86 unt rules and use X86UNIT variable 2023-09-13 21:55:34 +00:00
Pierre Muller
8b019b61c2 Remove OS ports unit rules, set PORTSDIR variable and use PORTSUNIT variable 2023-09-13 21:50:32 +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
1d56f9f324 Fix CP_UNITS_SRC variable value 2023-09-13 21:19:42 +00:00
Pierre Muller
308a71c79c Regenerate RTL Makefile's 2023-09-13 21:09:22 +00:00
Pierre Muller
d8ff551103 Replace fpwidestring by FPWIDESTRINGUNIT variable 2023-09-13 21:02:36 +00:00
Pierre Muller
321fb59797 Remove OS rules for unixcp unit and use UNIXCP variable 2023-09-13 21:00:02 +00:00
Pierre Muller
8395118f43 Use CP_UNITS in OS Makefile.fpc 2023-09-13 20:53:24 +00:00
Pierre Muller
7eb36c389b Use CP_UNITS variable 2023-09-13 20:34:16 +00:00
Pierre Muller
89fe91efde Remove OS rules for callsepc unit (which was removed in 2001 from RTL) 2023-09-13 20:18:56 +00:00
Pierre Muller
7ca8abf1e0 Remove OS rules for errors unit and use ERRORSUNIT variable 2023-09-13 20:15:26 +00:00
Pierre Muller
017c1abfac Remove OS rules for character unit and use CHARACTERUNIT variable 2023-09-13 20:10:32 +00:00
Pierre Muller
971ba981f7 Remove OS getopts rule and use GETOPTSUNIT variable 2023-09-13 20:06:34 +00:00
Pierre Muller
63d64cce41 Use FGLUNIT and CPALLUNIT variables 2023-09-13 20:06:34 +00:00
Pierre Muller
aed1e0a5e2 Remove OS rules for flg and cpall units 2023-09-13 20:06:34 +00:00
Pierre Muller
ec310eb2f3 Add all codepage unit source files to cpall dependency 2023-09-13 20:06:34 +00:00
Pierre Muller
6bff15a0f3 Use SORTBASEUNIT variable 2023-09-13 20:06:34 +00:00
Pierre Muller
265d51a912 Remove OS rule for charset unit and use CHARSETUNIT variable 2023-09-13 20:06:34 +00:00
Pierre Muller
db61217355 Fix missing spaces around $(CMEMUNIT) 2023-09-13 06:43:51 +00:00
Pierre Muller
0f9bc0eced Remove OS lnfogdb unit rule and use LNFOGDBUNIT variable 2023-09-12 22:09:46 +00:00
Pierre Muller
ac23be1b43 Regenerate rtl Mzkefile's 2023-09-12 21:56:30 +00:00
Pierre Muller
6077499091 Remove OS rules for cmem unit and use CMEMUNIT variable 2023-09-12 21:51:03 +00:00
Pierre Muller
c6dd35bc54 Regenerate rtl Mzkefile's 2023-09-12 21:39:27 +00:00
Pierre Muller
20e87be824 Remove OS rules for strings unit and use STRINGSUNIT variable 2023-09-12 21:39:27 +00:00
Pierre Muller
e77402ecb4 Add missing include files for strings unit dependency list 2023-09-12 21:39:27 +00:00
Pierre Muller
4e279d1a18 Replace exeinfo by EXEINFOUNIT variable 2023-09-12 21:39:27 +00:00
Pierre Muller
79e9b05e03 Remove OS specific rule for exeinfo unit 2023-09-12 21:39:27 +00:00
Pierre Muller
ebc34f3dbb Remove wrong ERRORSUNIT=System.Errors line 2023-09-12 21:39:27 +00:00
Pierre Muller
e2d466f990 Remove duplicated, useless line 2023-09-12 21:39:27 +00:00
Pierre Muller
6ba28372db Remove OS lnfodwrf unit rule and use LNFODWRFUNIT variable 2023-09-12 21:39:27 +00:00
Pierre Muller
3f4c6c5255 Replace lineinfo by variable LINEINFOUNIT 2023-09-12 21:39:27 +00:00
Pierre Muller
c9a2c24874 Remove OS specific rules for lineinfo unit 2023-09-12 21:39:27 +00:00
Pierre Muller
3e0db101b9 Replace 'softfpu sfpux80 ufloatx80 sfpu128 ufloat128' by DOTTED variable names 2023-09-12 21:39:26 +00:00
Rika Ichinose
324b77f317 Let fpc_dynarray_concat(_multi) reuse the only nonempty input or append to the destination if possible.
Improve fpc_dynarray_delete.
2023-09-12 20:58:50 +00:00
Pierre Muller
307083a8ba Regenerated Makefile's after: Replace heaptrc by $(HEAPTRCUNIT) in all Makefile.fpc 2023-09-12 07:24:28 +00:00
Pierre Muller
55196a4fae Replace heaptrc by $(HEAPTRCUNIT) in all Makefile.fpc 2023-09-12 07:24:28 +00:00
Pierre Muller
df7aa2c1d1 Remove all OS specfic rules for heaptrc unit in Makefile.fpc 2023-09-12 07:24:28 +00:00
Pierre Muller
54175a1abf Regenerated Makefile's after: Replace all uuchar by $(UUCHARUNIT) in Makefile.fpc 2023-09-12 07:24:28 +00:00
Pierre Muller
b081947e49 Replace all uuchar by $(UUCHARUNIT) in Makefile.fpc 2023-09-12 07:24:28 +00:00
Pierre Muller
ef41312308 Remove OS specific rules for uuchar unit 2023-09-12 07:24:28 +00:00
Pierre Muller
16d7424a75 Set UUCHARUNIT variable 2023-09-12 07:24:28 +00:00
Pierre Muller
5bb3d0ed18 Regenerated Makefile's after: Replace objpas by $(OBJPASUNIT) in all Makefile.fpc 2023-09-12 07:24:28 +00:00
Pierre Muller
a88ab9e23f Replace objpas by $(OBJPASUNIT) in all Makefile.fpc 2023-09-12 07:24:27 +00:00
Pierre Muller
8f1ca3773c Remove all OS specfic objpas unit rules 2023-09-12 07:24:27 +00:00
Pierre Muller
abc45c7de4 Remove duplicate fpintres unit in morphos Makefile.fpc 2023-09-12 09:23:50 +02:00
Pierre Muller
39ccf7f231 Regenerated Makefile's after: Remove OS specific extpas rules and replace extpas by $(EXTPASUNIT) 2023-09-11 22:25:52 +00:00
Pierre Muller
e34a5ac44b Remove OS specific extpas rules and replace extpas by $(EXTPASUNIT) 2023-09-11 22:25:18 +00:00
Pierre Muller
62fe06ce9e Do not use ISO7185UNIT variable for main source file in ISO7185_DEPS 2023-09-11 22:17:44 +00:00
Pierre Muller
d1c0a1b8d3 Remove OS specific iso7185 unit rules, and replace iso7185 by $(ISO7185UNIT) 2023-09-11 22:16:41 +00:00
Pierre Muller
2252beeaf2 Regenerate Makefile's after macpas => $(MACPASUNIT) changes 2023-09-11 22:04:31 +00:00
Pierre Muller
774140bb84 Replace all macpas by $(MACPASUNIT) in Makefile.fpc files 2023-09-11 22:03:34 +00:00
Pierre Muller
7fd97011df Remove all OS specific macpas unit rule 2023-09-11 22:00:59 +00:00
Pierre Muller
b35bcdf7b4 Makefile's regenerated after: Always set MACPASUNIT variable 2023-09-11 21:51:07 +00:00
Pierre Muller
5bbd1c2172 Always set MACPASUNIT variable 2023-09-11 21:50:20 +00:00
Pierre Muller
2d45b2a105 Regenerated Makefile's after: Replace all fpintres with $(FPINTRESUNIT) in Makefile.fpc 2023-09-11 21:45:28 +00:00
Pierre Muller
24a5c24cb6 Replace all fpintres with $(FPINTRESUNIT) in Makefile.fpc 2023-09-11 21:44:47 +00:00
Pierre Muller
abffcbb1ea Makefile's regenerated after: Remove explicit fpintres rule, which is present in inc/Mkefile.rtl 2023-09-11 21:37:08 +00:00
Pierre Muller
2eb16fdd5f Remove explicit fpintres rule, which is present in inc/Mkefile.rtl 2023-09-11 21:36:36 +00:00
Pierre Muller
b0bc73b1c2 Regenerate Makefile's 2023-09-11 21:31:12 +00:00
Pierre Muller
7b2507456c Set FPINTRESUNIT and OBJPASUNIT variables 2023-09-11 21:31:12 +00:00
florian
ba78551c4f * patch by Rika: improve fpc_*_concat_multi, resolves #40251 2023-09-10 19:27:55 +02:00
Sven/Sarah Barth
30a1cde7a5 * fix #40421: implement assembly variants of the SwapEndian functions for Aarch64 2023-09-08 15:03:51 +02:00
Pierre Muller
397745f49a Add sysutils dependency on Dos unit for msdos OS 2023-09-08 10:34:23 +00:00
Pierre Muller
fbec954de9 Add dependency of dos unit to objpas unit due to use of objfpc mode for FreeRTOS OS 2023-09-01 12:42:50 +00:00
Pierre Muller
cafcc19877 Regenerate Makefile's for amiga, aros, embedded and morphos OSes 2023-09-01 12:31:49 +00:00
Rika Ichinose
f9667df16f Remove ancient i386 implementations of (large)set_(add/mul/sub/symdif/contains)_sets that were kept as references until someone implements varset_* versions, according to the comment. 2023-08-30 19:38:33 +00:00
Rika Ichinose
2dca69f2ac Specialized fpc_varset_OP_sets for i386 and x86-64. 2023-08-30 19:38:33 +00:00
florian
7e69f399b3 * patch and test by Rika: fixes self inserts in Insert(x, dynarray) and improves Insert(x, dynarray), resolves #40417 2023-08-29 22:23:22 +02:00
Rika Ichinose
1c4151d82e Remake AdjustLineBreaks.
This version is correct and supposedly better in other ways (except for a bit of clarity maybe).
2023-08-29 20:08:03 +00:00
Michaël Van Canneyt
148bde3f8f * Small improvement 2023-08-29 11:35:44 +02:00
Rika Ichinose
2536041230 Faster genset.inc:fpc_varset_set_range. 2023-08-28 20:16:54 +00:00
Interferon
0c3c9982b9 Added changes that didn't commit in merge 427 2023-08-28 22:14:46 +02:00
Marcus Sackrow
9c6d1d7dca AROS: fixed dotted rtl 2023-08-27 22:31:35 +02:00
Marcus Sackrow
374d22b5ea MorphOS: fixed support for dotted rtl 2023-08-27 20:44:34 +02:00
Marcus Sackrow
1714dbb563 Amiga: Enable Dotted RTL for Amiga 2023-08-27 12:13:43 +02:00
florian
e19103e9a9 * missing file to build added, as mentioned by Mathew Bradford
* Makefile regenerated
2023-08-27 10:48:41 +02:00
Interferon
c482bafdaf There is code in the register allocator to restrict register allocation to the
first 16 registers in RISC-V RVE and RVEC modes.  However, there was still
code in tcpuparamanager.create_paraloc_info_intern that allowed the allocation
of up to register X17 in RVE and RVEC modes.  Modified this function to
take the processor mode into account and restrict it to X0..X15 in RVE and RVEC modes.

Also put conditional code in setjump.inc assembler code to only set the first
16 registers in RVE and RVEC modes.

The entire embedded-riscv32 RTL can now compile successfuly in RVEC mode.
2023-08-26 22:12:00 +02:00
Interferon
8382c6f586 Added generic WCH32Vx RISC-V processor types using memory size suffixes
Modified low-level startup code for RISCV32 embedded microcontrollers to
allow user code override of reset handlers for non-power-up reset events
as well as enabling user code override handlers for all 255 possible
interrupt vectors.
Separated out the low-level startup memory init into a callable procedure
to allow users that have caught reset events to init memory again if needed.

Signed-off-by: Interferon <brspm2@pinnaclesimulation.com>
2023-08-26 22:12:00 +02:00
ccrause
5930ffa135 Call rtl_do_close handler in sysfile.do_close, as reported by Kostas Michalopoulos 2023-08-26 09:24:46 +02:00
Michaël Van Canneyt
a748d7279c * Re-add comment 2023-08-24 14:58:22 +02:00
Michaël Van Canneyt
6a07a508b8 * Simplify GetEnumNameCount (by Lagprogramming). Fixes issue #40411 2023-08-24 08:44:01 +02:00
Michaël Van Canneyt
c09e8778bd * Small improvement in inittls. Fixes issue 40408 2023-08-21 23:19:15 +02:00
Henrique Gottardi Werlang
1ca9f9af51 Rebase error. 2023-08-16 14:31:42 -03:00
Rika Ichinose
1a6e6a1b0b Improve generic large set operations: +, -, *, ><, =, <=, mostly by working in PtrUints. 2023-08-16 17:15:33 +00:00
florian
c48c816e49 * (modified) patch by Jinyang He to handle alignment in FindInFieldTable correctly, resolves #40400 2023-08-15 23:31:33 +02:00
Michaël Van Canneyt
36a2835f8c * Deprecate hextobin 2023-08-12 17:09:07 +02:00
Michaël Van Canneyt
fd39fd96b3 * Add enumerator for TStringBuilder. Fix issue #37088 2023-08-12 14:33:50 +02:00
Pierre Muller
22a1acd610 Applied fix for binutils 2.41 for loongarch64 suggested by Jinyang He
32fa3e9eb1
  with modifications reported in comments.
2023-08-11 08:58:40 +00:00
Pierre Muller
2d42040b1d Fix z80-embedded target 2023-08-10 22:40:11 +00:00
Pierre Muller
1057e7cd2d Avoid recurvise variable expansion error for wasm32-embedded 2023-08-11 00:07:28 +02:00
Pierre Muller
febb45c39c Re-add 'Lost in translation' mmx unit for i386-linux target 2023-08-10 15:18:01 +02:00
Pierre Muller
ddd4011b08 Regenerate Makefile's 2023-08-10 00:24:27 +02:00
Pierre Muller
8af6ad9148 Dotted rules for arm-embedded 2023-08-10 00:23:51 +02:00
Pierre Muller
feeb22b602 Try to fix dotted rules for embedded targets 2023-08-09 23:52:22 +02:00
Pierre Muller
c1e5f347bc Regenerated Makefile's 2023-08-09 23:03:35 +02:00
Pierre Muller
60649204ad Remove obsolete GRAPHDIR and USELIBGGI, because graph unit has been moved to packages long ago 2023-08-09 22:49:48 +02:00
Pierre Muller
2836bf406d embedded dos unit needs objpas unit because of objfpc mode 2023-08-09 22:38:13 +02:00
Pierre Muller
33ce4c5fce Set CPU_SPECIFIC_COMMON_UNITS to empty for i8086-embedded 2023-08-09 22:33:24 +02:00
Pierre Muller
f3003f1bb5 Remove fpcmake.loc added by accident 2023-08-09 08:11:08 +02:00
Pierre Muller
645e296345 Fix spaces/tab issue 2023-08-09 08:09:28 +02:00
Pierre Muller
e1651ccdab Regenerate Makefile's 2023-08-09 00:33:16 +02:00
Pierre Muller
55aff2366b Add WinApi messages unit rules 2023-08-09 00:33:16 +02:00
Pierre Muller
7245f74e9f Fix some WinApi rules for wince 2023-08-09 00:33:15 +02:00
Pierre Muller
e16364b567 Adapt sources to FPC_DOTTEDUNITS 2023-08-09 00:33:15 +02:00
Pierre Muller
233e3b9963 Use lowercase names for all embedded CPU specific units, as in namespaced/embedded/CPU 2023-08-09 00:33:15 +02:00
Pierre Muller
12a084d6c0 Remove unwanted space in EmbeddedApi.sc32442b.pp name 2023-08-09 00:33:15 +02:00
Pierre Muller
961abed52a Add dotted rules for some CPU specific units 2023-08-09 00:33:15 +02:00
Pierre Muller
80aa3cf89c Add -Sg option for the three soft fpu units 2023-08-09 00:33:15 +02:00
Pierre Muller
39a16c4fa8 Regenerate embedded Makefile 2023-08-08 11:55:32 +02:00
Pierre Muller
4809d6da21 Write dotted rules for embedded CPU specific units 2023-08-08 11:54:19 +02:00
Pierre Muller
3d987fa177 Regenerate Makefile's 2023-08-08 01:08:00 +02:00
Pierre Muller
037bbf006d Add dotted rules for embedded specific heapmgr and consoleio units 2023-08-08 01:07:19 +02:00
Pierre Muller
d0103704a6 Fix sysutils dotted rule for OSes having local included files 2023-08-08 01:06:16 +02:00
Pierre Muller
adfa555645 Set CPU_SPECIFIC_COMMON_UNITS using dotted compatible variables 2023-08-08 00:37:17 +02:00
Pierre Muller
d655024cce Replace explicit rule to compile system unit for embedded OS by setting of SYSDEPS and FPC_SYSTEM_OPT variables 2023-08-08 00:16:57 +02:00
Pierre Muller
d763c32afe Add explict rule for AVR specific intrinsics unit 2023-08-07 20:26:01 +02:00
Pierre Muller
607c603e0f Regenerate Makefile's 2023-08-07 14:59:15 +00:00
Pierre Muller
9d52550178 Set RTLCONSTSUNIT to rtlconst only of FPC_DOTTEDUNITS is not defined 2023-08-07 14:59:14 +00:00
Pierre Muller
6b185c041d Always set RTLCONSTSUNIT to rtlconsts, if FPC_DOTTEDUNITS is not defined, as OS specific changes are parsed after 2023-08-07 14:59:14 +00:00
Pierre Muller
3297b8f1fa Regenerate Makefile's 2023-08-07 14:59:14 +00:00
Pierre Muller
2e4f7bcc22 Add objpas unit dependency for unicodedata because of $objfpc mode 2023-08-07 14:59:13 +00:00
Pierre Muller
b142049e1c Regenerate Makefile's 2023-08-06 20:58:45 +00:00
Pierre Muller
bc40d13c4a Unique rule for fpwidestring unit 2023-08-06 20:58:44 +00:00
Marcus Sackrow
5bf7492d2d MorphOS: activated fpintres again 2023-08-06 12:42:31 +02:00
Marcus Sackrow
a853428cc5 AROS: activate fpintres again 2023-08-06 11:22:26 +02:00
Marcus Sackrow
dcb91d0b52 Amiga: activated sysconst for amiga 2023-08-05 20:46:31 +02:00
Pierre Muller
8917f84882 Regenarate rtl Makefile's 2023-08-05 20:27:10 +02:00
Pierre Muller
13b3f11896 Add NSWINDOWSDIR variable 2023-08-05 11:57:37 +02:00
Pierre Muller
2130d92afc Regenerate Makefile's 2023-08-04 22:28:28 +00:00
Pierre Muller
2b82581f92 Put unique rule for unicodedata into inc/Makefile.rtl 2023-08-04 22:28:28 +00:00
Pierre Muller
2e5c62e086 Remove several useless variable settings for os2 2023-08-04 21:52:17 +00:00
Pierre Muller
9b1acb0397 Regenerate Makefile's 2023-08-04 21:31:43 +00:00
Pierre Muller
53de381d87 Set DYNLIBSINCDIR to WINDIR for win32 and win64 2023-08-04 21:31:05 +00:00
Pierre Muller
0763ad74c2 Regenerate Makefile's 2023-08-04 20:59:43 +00:00
Pierre Muller
58d39f8319 Use SYSUTILS_UNIX_DEPS to set +SYSUTILS_DEPS_OS for linux 2023-08-04 20:59:09 +00:00
Pierre Muller
74ee781ae3 Remove OS rules for sortbase unit, already present in inc/Makefile.rtl 2023-08-04 17:55:31 +02:00
Pierre Muller
761eff5fe9 Regenerate Makefile's after softfpu, sfpux80, sfpu128, ufloatx80 and ufloat128 changes 2023-08-04 17:55:31 +02:00
Pierre Muller
af134d6126 Remove OS rules for softfpu, sfpux80 and sfpu128 units, already present in inc/Makefile.rtl 2023-08-04 17:55:31 +02:00
Pierre Muller
c39071753e Remove OS specific rule for ufloatx80 and ufloat128 units, already found in inc/Makefile.rtl 2023-08-04 17:55:31 +02:00
Pierre Muller
176558564e Try to fix dependency issues for win64 OS 2023-08-04 17:55:30 +02:00
Pierre Muller
c01649c7d8 Regenerate Makefile's after inc/Makefile.rtl change 2023-08-04 17:29:30 +02:00
Pierre Muller
df9efe4cb5 Fix syntax error 2023-08-04 17:28:54 +02:00
Pierre Muller
cefa2745b8 Regenerate Makefile's after inc/Makefile.rtl change 2023-08-04 17:16:24 +02:00
Pierre Muller
8b0e2cf0cd fpwidestring depends on objpas unit because of $mode objfpc 2023-08-04 17:15:46 +02:00
Pierre Muller
e354e8322f Regenerate Makefile's after inc/Makefile.rtl change 2023-08-04 16:33:00 +02:00
Pierre Muller
ba3965e987 Add a few missing dependencies on system unit, or on objpas unit because of $mode use 2023-08-04 16:31:59 +02:00
Pierre Muller
4bd9ad7dee Regenerated Makefile's after change in inc/Makefile.rtl 2023-08-04 14:48:16 +02:00
Pierre Muller
9acc01cc93 Rectofy emx/os2 unit dependencies 2023-08-04 14:47:35 +02:00
Pierre Muller
493b58d72b Handle .pas/.pp source extension differences also for dotted units 2023-08-04 14:46:45 +02:00
Pierre Muller
ed734996fc Add required FPC_DOTTEDUNITS changes 2023-08-04 14:07:39 +02:00
Pierre Muller
84c8a68492 Regenerated Makefile's after change in inc/Makefile.rtl 2023-08-04 12:30:48 +02:00
Pierre Muller
0c75716f11 Use uppercase UNIT names in new EMX/OS2 rules 2023-08-04 12:29:53 +02:00
Pierre Muller
f01d3c6b39 Use uppercase UNIT names 2023-08-04 12:29:29 +02:00
Pierre Muller
17fc9aa60b Add required OS2Api. prefix for dotted units 2023-08-04 12:28:46 +02:00
Pierre Muller
ce5653897b * Move EMX/OS2 rules to inc/Makefile.rtl
+ Implement dotted versions for te mex/os2 units
  * Use lower names for OS2Api.name as in namespaced/os2 directory
2023-08-04 11:48:14 +02:00
Pierre Muller
d1dca0a815 Regenerated Makefile's after HEAPTRCUNIT change in inc/Makefile.rtl 2023-08-04 11:01:19 +02:00
Pierre Muller
b713b84352 Set HEAPTRCUNIT variable 2023-08-04 11:00:14 +02:00
Pierre Muller
d4172b48bc Regenerated Makefile's after change in inc/Makefile.rtl 2023-08-04 11:00:14 +02:00
Pierre Muller
7c7783a24a * Replace -I by -Fi iun objpas rule
* Correct fgl unit _DEPS variables
  * Set up rules for RTLCONSTSUNIT to handle both rtlconst and rtlconsts
2023-08-04 11:00:14 +02:00
Pierre Muller
401fcf6dfc Use RTLCONSTSUNIT but set the variable to rtlconst 2023-08-04 11:00:14 +02:00
Pierre Muller
89bcc82843 Fix last forgotten SFPUX8080UNIT wrong variable name 2023-08-04 09:05:11 +02:00
Pierre Muller
ec0b830bba Regenerate Makefile's after 21b02cb56b 2023-08-02 22:36:20 +02:00
Pierre Muller
21b02cb56b Add default NSOSDIR and msmouse unit rules 2023-08-02 22:35:13 +02:00
Pierre Muller
67ba21f8a8 Add dotted version of Dos unit in msdos/sysutils source 2023-08-02 22:33:19 +02:00
Pierre Muller
6577cd16e2 Regenerate Makefile's after 0c7c75435d 2023-08-02 15:22:26 +02:00
Pierre Muller
0c7c75435d Fix dotted mmx unit rule and OBJCBASE_OPT 2023-08-02 15:21:16 +02:00
Pierre Muller
d12bc9e9b9 Add FPC_DOTTEDUNITS code 2023-08-02 15:20:27 +02:00
Pierre Muller
9c68cc9378 Update Makefile's after commit 93c116ff19 2023-08-02 14:22:34 +02:00
Pierre Muller
93c116ff19 Small fixes need to get i386-linux dotted ready.
* Add explicit -dFPC_DOOTEDUNITS for fpcylix unit
  * Add dependecy on sysutils for cpu unit
  * Add missing CPU_DEPS for System.CPU.ppu rule
2023-08-02 14:21:42 +02:00
Pierre Muller
603614e28e Adapt USE_STATX code to FPC_DOTTEDUNITS 2023-08-02 14:18:26 +02:00
Pierre Muller
34169d4fbd Regenerated Makefile's after adding WINDIRSDIR variable 2023-08-02 12:58:30 +02:00
Pierre Muller
0d8d363de4 Add WINDIRSDIR variable 2023-08-02 12:58:02 +02:00
Pierre Muller
2f97637b0f Regenerate Makefile's after change in inc/Makefile.rtl 2023-08-02 11:25:58 +02:00
Pierre Muller
640e0e028b Fix dependencies for win32 and win64 2023-08-02 11:25:58 +02:00
Pierre Muller
591ad88ec0 Add heaptrc and fix several namespaced unit names 2023-08-02 11:25:58 +02:00
Pierre Muller
e917b5c083 Temporary fix for win32/initc unit which is not yet handled in namespaced 2023-08-02 11:25:58 +02:00
Pierre Muller
ac91cbb2e5 Add explicit dependency of Windows unit to objpas 2023-08-02 11:25:58 +02:00
Pierre Muller
b877b2a978 Avoid using namespcaced/win32 directory 2023-08-02 11:25:58 +02:00
Pierre Muller
816079a7cc Handle path conversion using cygpath utility on Cygwin system 2023-08-02 09:16:42 +02:00
Pierre Muller
6f8e71cb87 Add missing win32 OS sysutils related variables, copied over from win64 2023-08-01 21:25:37 +00:00
Pierre Muller
6cbb73034f Avoid overwriting of already set DOS_DEPS_OS and DYNLIBS_DEPS_OS variables for linux RTL 2023-08-01 19:30:29 +02:00
Pierre Muller
6f713ab51b Fix installation of freertos RTL 2023-08-01 10:04:24 +02:00
Pierre Muller
5004889c3c Update Makefile's after cpu unit dependency fix 2023-08-01 10:04:24 +02:00
Pierre Muller
d3d39001bc i8086 CPU also needs sysutils unit as dependecy for cpu unit 2023-08-01 10:04:24 +02:00
Michaël Van Canneyt
f65e6cfebe * Additional dependency for unit unit 2023-08-01 07:52:48 +02:00
Pierre Muller
f2cb7ffce9 Remove code testing for FPC_VERSION 1.X or 2.X 2023-08-01 07:18:09 +02:00
Pierre Muller
d1609b0acb Makefile regenerated after addition of macos directory handling by regenmakefiles.sh 2023-07-31 15:06:09 +02:00
Pierre Muller
5bc82beab3 Handle macos directory, which target name is now macosclassic 2023-07-31 15:04:44 +02:00
Pierre Muller
1bfcd45307 Regnerated Makefile's after dependency fixes for debug info units 2023-07-31 14:59:32 +02:00
Pierre Muller
67cfa79659 * Add dependency of lineinfo unit on exeinfo.
* System.ExeInfo depends on EXEINFO_DEPS, not on LINEINFO_DEPS
  * lnfodwrf unit does not depend on lineinfo unit
  * lnfogdb depends on ctypes, baseunix and unix units, but not on lineinfo
2023-07-31 14:56:53 +02:00
Pierre Muller
b76c111e89 Avoid double rules for ctypes and cmem units 2023-07-31 14:51:29 +02:00
Pierre Muller
3cb8d59bab Avoid 'will not overwrite just-created' error on installation 2023-07-31 14:03:58 +02:00
Pierre Muller
425612504f Fix spelling mistake SFPUX8080UNIT => SFPUX80UNIT 2023-07-31 13:57:31 +02:00
marcoonthegit
f48975ffcf * dotted variant 2023-07-31 10:14:58 +02:00
Michaël Van Canneyt
681dfc91ac * Fix typo 2023-07-30 18:55:28 +02:00
Michaël Van Canneyt
ba79c04af2 * Extra dependencies for dos, solves hopefully jenkins problem ? 2023-07-30 17:46:36 +02:00
Michaël Van Canneyt
681a00a76f * Fixes based on feedback of team, fixes issue #40368 2023-07-30 11:19:47 +02:00
Michaël Van Canneyt
a77c50728f * Script to regenerate makefiles with proper options 2023-07-30 11:18:18 +02:00
Michaël Van Canneyt
7e7eb033fc * Renamed so as not to be automatically detected, in line with Makefile.pkg in packages dir 2023-07-30 08:27:38 +02:00
Michaël Van Canneyt
82bc431bf4 * Remove double system unit target 2023-07-28 13:22:52 +02:00
Michaël Van Canneyt
d94574938a * Remove double ctypes unit 2023-07-28 13:11:15 +02:00
Michaël Van Canneyt
bd3580239a * Removed double unit, regenerated makefile 2023-07-28 13:08:08 +02:00
Michaël Van Canneyt
27ce569b0b * Fix EOL escapes, regenerate makefiles 2023-07-28 12:49:13 +02:00
Michaël Van Canneyt
379deed2f0 * Regenerate Makefile with fix for missing space 2023-07-28 12:03:05 +02:00
Michaël Van Canneyt
fb93b59966 * Dynlibs dependency 2023-07-27 23:23:21 +02:00
Michaël Van Canneyt
2d562c1560 * dos unit deps 2023-07-27 22:57:42 +02:00
Michaël Van Canneyt
2bd2ffff2a * dos unit deps 2023-07-27 22:57:41 +02:00
Michaël Van Canneyt
c43db94883 * Better dependencies for ctypes, remove double unit rules 2023-07-27 22:21:24 +02:00
Michaël Van Canneyt
64226a0ab1 * Add dependencies, fix jenkins build 2023-07-27 20:42:10 +02:00
Michaël Van Canneyt
38f7eab982 * Need iOS and iphonesim 2023-07-27 20:37:38 +02:00
Michaël Van Canneyt
41f5b0756e * Correct dependency for dynlibs 2023-07-27 20:34:21 +02:00
Michael VAN CANNEYT
ccfa38c68e * Dotted RTL compiles 2023-07-27 19:04:03 +02:00
Michael VAN CANNEYT
ed50a1941b * Unicode resource strings 2023-07-25 16:06:53 +02:00
Pierre Muller
ef5a32ab95 Fix order of parameters of FillChar 2023-07-25 07:22:39 +02:00
Michaël Van Canneyt
813105ea0a * Fix compilation for platforms that do not have unicodestring 2023-07-24 18:08:02 +02:00
Michaël Van Canneyt
f0ef6b08ed * Regenerated makefiles with subtarget support 2023-07-24 16:16:37 +02:00
Michael VAN CANNEYT
efc0272b99 * Zero out stringmanager record 2023-07-24 15:38:09 +02:00
Michael VAN CANNEYT
b83d4fae29 * CompareStrAnsiStringProc is not necessarily assigned 2023-07-24 15:38:09 +02:00
Michael VAN CANNEYT
8ef4625e4d * UnicodeString<>WideString on windows 2023-07-24 15:38:09 +02:00
Michael VAN CANNEYT
6cc315d4da * Fix compilation with unicodertl 2023-07-24 15:38:09 +02:00
Michael VAN CANNEYT
b5dd1f9beb * Fix windows compilation 2023-07-24 15:38:09 +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
68db04d89e * Adapt classes to Unicode RTL : Give string/char correct type depending on case 2023-07-24 15:37:51 +02:00
Michaël Van Canneyt
defc7e99d1 * Fix compilation for avr-embedded (no unicode strings) 2023-07-24 14:54:30 +02:00
Michaël Van Canneyt
a3beff94dc * TStringHelper alias. 2023-07-24 08:34:13 +02:00
Michaël Van Canneyt
fb5b891c45 * Fix issue #40360 2023-07-23 23:32:37 +02:00
Michaël Van Canneyt
ceddc2aec3 * TArray is now in system unit 2023-07-22 15:30:30 +02:00
Michaël Van Canneyt
757d2b4f91 * Move TMarshal to system unit 2023-07-22 15:24:27 +02:00
Rika Ichinose
7f4420495b TMarshal & TMarshaller, strange things from Delphi. 2023-07-22 15:24:27 +02:00
Michaël Van Canneyt
ab5b3a6e1c * ansichar is the basic type 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
a3300b5ef5 * string -> shortstring 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
28b8d069ba * Replace string -> shortstring 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
4c529287c6 * string -> shortstring 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
9cfe6e97a0 * add uachar loading for unicode rtl 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
56006aa002 * Allow widechar sets, reduce to ansichar set 2023-07-22 08:26:22 +00:00
Rika Ichinose
62bc640306 Also prevent SyncObjs.THandleObject.WaitForMultiple from unconditionally linking to ole32.dll. 2023-07-20 11:52:26 +03:00
Rika Ichinose
943b88e3da Delay-load CoWaitForMultipleHandles to not force the dependency on ole32.dll. 2023-07-20 06:14:39 +00:00
Pierre Muller
c249495e2d Add '%note' to .note.openbsd.ident section 2023-07-19 19:07:16 +02:00
Pierre Muller
512faa7141 Restore usage of fpexecve function inside ExecuteProcess
as set by commit 305d34a8f6
2023-07-19 18:03:02 +02:00
Michaël Van Canneyt
8af6fdefa8 * Better length check 2023-07-17 10:04:46 +02:00
Michaël Van Canneyt
0be4498284 * Add length check 2023-07-17 10:02:15 +02:00
Michaël Van Canneyt
33dba31536 * Add overload to fix issue 40931 in lazarus 2023-07-16 19:06:22 +02:00
Michaël Van Canneyt
1f74ca0d1d * Fixes in PChar -> PansiChar 2023-07-15 18:22:41 +02:00
Michaël Van Canneyt
ec65ed9e64 * Better Ansi/WideString support for TStream. Fix StringStream with unicode to be delphi compatible 2023-07-15 18:22:41 +02:00
Michaël Van Canneyt
b7f9947d26 * Better string array definitions 2023-07-15 18:22:41 +02:00
Michaël Van Canneyt
7493e04015 * PChar -> PansiChar 2023-07-15 18:22:41 +02:00
Michaël Van Canneyt
bf3ced76b2 * Remove use of internal conversion routines 2023-07-15 18:22:36 +02:00
Michael VAN CANNEYT
0c17b8e9c6 * String helpers for all string types 2023-07-15 09:24:35 +02:00
Michael VAN CANNEYT
cd8af229a8 * string -> shortstring 2023-07-14 20:33:45 +02:00
Michael VAN CANNEYT
3a5b18e0e4 * string -> shortstring 2023-07-14 20:31:42 +02:00
Michael VAN CANNEYT
fae6b2a1f3 * Refer to mainunit for lazarus IDE 2023-07-14 20:28:28 +02:00
Michael VAN CANNEYT
8b84926993 * Refer to mainunit for lazarus IDE 2023-07-14 20:28:03 +02:00
Michael VAN CANNEYT
0d0e66f2f0 * Refer to mainunit for lazarus IDE 2023-07-14 20:26:46 +02:00
Michael VAN CANNEYT
9320118189 * Refer to mainunit for lazarus IDE 2023-07-14 20:26:10 +02:00
Michael VAN CANNEYT
1ee1040bce * Explicit string types, duplicate where needed 2023-07-14 20:16:27 +02:00
Michael VAN CANNEYT
6084bb6d09 * Some forgotten string -> shortstring instances 2023-07-14 20:13:43 +02:00
Michaël Van Canneyt
11e3b12354 * Better detection of ansichar 2023-07-14 18:43:01 +02:00
Michael VAN CANNEYT
4bddf12657 * Fix typo 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
7edf9b3884 * fix PString 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
96c83e7f39 * move $H here 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
b9a1a90d6e * String -> ansistring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
3aefada11a * check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
f04577d292 * check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
b69c78ccce * String -> ShortString/RTLString 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
3085eac501 * String -> ShortString 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
e98ef65b6f * Restore char/pchar 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
bcaf82f5e7 * String -> ShortString 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
31ef662201 * check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
f75f208992 * Add IndexChar for widechar 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
1671010086 * string -> shortstring, check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
bec6b8c249 * string -> shortstring, check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
62d650d926 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
01b70479a0 * string -> shortstring, check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
4d42d013b8 * check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
057cfc100c * check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
581dfc6d28 * string -> ansistring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
775408b21b * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
c29d36e369 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
dafe77b954 * string -> shortstring, check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
2677ad9f86 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
40bb7d9bdf * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
c8551879f7 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
29c36aa407 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
e50d90b7e9 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
32d55bb0ea * String -> AnsiString 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
74fdf0692c * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
0d0317b3af * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
1e587e1150 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
bf1af7a962 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
f6beba0b0b * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
e9ce7ebd4b * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
59016499dc * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
d70d11a650 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
08200fffa1 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
05620b271d * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
552c2146d8 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
cf17bd2733 * String -> ansistring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
0135ff90f6 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michaël Van Canneyt
340ee21b34 * Ansistring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
21d0a2d299 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
79d906795d * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
5367940084 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
53b50327e9 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
216c55871a * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
9d6a495c02 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
c19b1d2fd5 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
dd46dd133a * string -> shortstring 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
a6e499264b * string -> shortstring 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
c21838cd31 * string -> shortstring 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
e8b3f2dba3 * string -> shortstring 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
3d88722d8f * string -> shortstring 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
ef98dd877a * string -> shortstring 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
0f7f9a73a8 * string -> shortstring 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
33ec5643c6 * string -> shortstring 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
9bb9ec0fa2 * string -> shortstring 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
aa3a5f8324 * 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
Michaël Van Canneyt
f36ec0ed7f * Fix non-unix compilation 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
44658572cd * String -> ansistring 2023-07-14 17:26:10 +02:00
Michaël Van Canneyt
15ed1f131e * PAnsiChar version of Strdispose must be public 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
98cdab5200 * Add MainUnit 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
2339db3b00 * Fix compilation 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
d23fa5a87f * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
4336599c3a * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
6f4ade6abe * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
efb204d5e7 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
54338a12b3 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
2767a9c979 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
d2d3fe6bc3 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
6032bd09ba * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
9d9df104b9 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
8c39b9376b * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
abd1e72e9d * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
b849d92589 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
46ca9f437a * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
5ce739135b * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
706e090457 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
a17efde2a3 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
24d2bcebdd * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
a5ad266065 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
d88a7c2e24 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
f96476b4fc * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
Michael VAN CANNEYT
ec8d82332a * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
Michael VAN CANNEYT
d3bc874500 * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
Michael VAN CANNEYT
23411b36e0 * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
Michael VAN CANNEYT
4e9c267af9 * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
Michael VAN CANNEYT
485944b492 * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
Michael VAN CANNEYT
2d6534ddb0 * Char -> AnsiChar 2023-07-14 17:26:09 +02:00