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
Pierre Muller
8e98e35ac2
macosclassic OS does not have unixtype unit
2023-09-25 01:02:55 +02:00
Pierre Muller
b9af293d35
syscall unit is only used when -dFPC_USE_LIBC is not used
2023-09-25 01:02:54 +02:00
Pierre Muller
5001c72510
Add unixtype nit dependency for ctypes unit for Unix OSes
2023-09-25 01:02:54 +02:00
Pierre Muller
07d4779ee5
Add pthread.inc dependency for cthreads unit
2023-09-25 01:02:52 +02:00
Pierre Muller
1ea8e8bda2
Add rtlconst.inc dependency for rtlconsts unit
2023-09-25 01:02:49 +02:00
Pierre Muller
a160b2470b
Handle sysctl unit for DOTTED
2023-09-25 01:02:49 +02:00
Pierre Muller
bdfd7a66eb
* Adapt initc unit to DOTTED.
...
* Remove OS specific initc rules.
* Set default directory for initc main source to
UNIXINC variable value if is is set.
* Replace initc references by INITCUNIT variable.
* Add dpmiexcp dependency for initc on go32v2 system
by setting INITC_DEPS_OS.
* Add nwsys.inc dependency for initc on netware system.
2023-09-25 01:02:48 +02:00
Pierre Muller
5f14f4447b
Update console unit for DOTTED
2023-09-20 18:05:16 +02:00
Pierre Muller
9a9bbe5740
Handle DOTTED transition for termio unit
2023-09-20 18:05:16 +02:00
Pierre Muller
3c0e3b1a3f
Add -Fi option for dynlibs.inc directory to DYNLIBS_OPT in dynlibs unit rule
2023-09-20 13:16:27 +02:00
Pierre Muller
82dec844c3
* Update math unit rules for dotted version
...
+ Add PROCINC/mathu.inc dependency in generic rule for math unit
* Remove OS specific rules for math unit
* Use MATHUNIT variable everywhere
2023-09-20 08:26:06 +02:00
Pierre Muller
9fe073493a
* Use linux directory explicitly for fpcylix source location
...
* Remove android rule for fpcylix unit
* Replace fpcylix by FPCYLIXUNIT variable
2023-09-20 07:29:58 +02:00
Pierre Muller
31d831d775
Fix CP_UNITS_SRC variable for dotted case
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
82d40c23e7
Fix EXEINFOUNIT and CP_UNITS variable values or dotted case
2023-09-14 08:55:01 +00:00
Pierre Muller
1d56f9f324
Fix CP_UNITS_SRC variable value
2023-09-13 21:19:42 +00:00
Pierre Muller
ec310eb2f3
Add all codepage unit source files to cpall dependency
2023-09-13 20:06:34 +00:00
Pierre Muller
e77402ecb4
Add missing include files for strings unit dependency list
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
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
16d7424a75
Set UUCHARUNIT variable
2023-09-12 07:24:28 +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
5bbd1c2172
Always set MACPASUNIT variable
2023-09-11 21:50:20 +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
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
2536041230
Faster genset.inc:fpc_varset_set_range.
2023-08-28 20:16:54 +00:00
Rika Ichinose
1a6e6a1b0b
Improve generic large set operations: +, -, *, ><, =, <=, mostly by working in PtrUints.
2023-08-16 17:15:33 +00:00
Pierre Muller
8af6ad9148
Dotted rules for arm-embedded
2023-08-10 00:23:51 +02:00
Pierre Muller
55aff2366b
Add WinApi messages unit rules
2023-08-09 00:33:16 +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
80aa3cf89c
Add -Sg option for the three soft fpu units
2023-08-09 00:33:15 +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
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
2e4f7bcc22
Add objpas unit dependency for unicodedata because of $objfpc mode
2023-08-07 14:59:13 +00:00
Pierre Muller
bc40d13c4a
Unique rule for fpwidestring unit
2023-08-06 20:58:44 +00:00