Sven/Sarah Barth
2df57e117b
* fix #40381 : also check for hints when parsing the parameters of a routine (including open array parameters) or the result type of a function
...
+ added tests
2023-09-08 15:54:08 +02:00
Sven/Sarah Barth
8fa439e64d
+ add some tests for hint directives in context of arrays (both with the element and the index) that check that the hint is indeed generated
2023-09-08 15:23: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
Sven/Sarah Barth
98fc58b229
+ add a test that check for correct functionality of all the SwapEndian() overloads
2023-09-08 15:02: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
0210254b2d
Fix wrong index error
2023-09-07 22:54:55 +02: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
marcoonthegit
e789db81ed
* add two FOS_* constants, fixes #40422
2023-08-31 21:51:27 +02:00
marcoonthegit
0af25e1644
* hopefully the final fix to #40288
2023-08-31 11:56:06 +02: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
marcoonthegit
3f73b6b918
* fix operator order in earlier sincos commit. What was I thinking? Thanks Alexey
2023-08-30 20:37:50 +02:00
Henrique Gottardi Werlang
dd4de2f7e0
Removed not used unit.
2023-08-29 20:25:50 +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
Henrique Gottardi Werlang
8ecdc6ed05
Allow constructor RTTI info in Pas2Js generated file.
2023-08-29 14:37:51 -03:00
Michaël Van Canneyt
9392e62935
* Trigger OnHeaders after responsestatuscode is set. Fixes issue #40419
2023-08-29 19:30:30 +02: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
Michaël Van Canneyt
4822daaa4f
* Patch from Alexey Torgashin to switch to const param strings where possible
2023-08-28 10:24:26 +02:00
Michaël Van Canneyt
2d1e14f778
* Fix max key size
2023-08-28 08:16:22 +02:00
florian
15e7dd3d9f
* patch and test by Rika: Redirect StrUtils.RPos to StrUtils.RPosEx, fix a bit, improve a bit, resolves #40394
2023-08-27 22:33:00 +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
Michaël Van Canneyt
db1a906a8f
* correct grammar in comment
2023-08-27 16:23:24 +02:00
Michaël Van Canneyt
81a1447b54
* Support for content-disposition: attachment
2023-08-27 16:09:43 +02:00
Michaël Van Canneyt
1886fad528
* Blowfish II implementation
2023-08-27 15:39:19 +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
florian
fb391d571a
* another test renamed
2023-08-27 10:48:15 +02:00
florian
e1f7b50985
* renamed tests so they are actually run
2023-08-27 10:09:40 +02:00
florian
dd586da709
* formatting
2023-08-26 22:14:36 +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
J. Gareth "Curious Kit" Moreton
1bcf4a5a8c
* New test to detect SSE/AVX optimisation error
2023-08-24 19:41:41 +00:00
J. Gareth "Curious Kit" Moreton
35e52b90f5
* Added missing register allocations to SSE/AVX optimisations
2023-08-24 19:41:41 +00:00
J. Gareth "Curious Kit" Moreton
49d66b8f20
* x86: Fixed bug where incorrect SSE/AVX peephole optimisations were performed under -O3 in some situations.
2023-08-24 19:41:41 +00: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
marcoonthegit
1a4428536f
Follow up commit to #40402
...
* prefix 0x when writing hex values.
* write 8, not 4 digits.
2023-08-22 23:10:37 +02:00
Jonas Maebe
a9f3906dd5
default(): fix in generics for non-procvars after 1be7416816
...
Block added in the wrong place :|
Resolves #40409
2023-08-22 21:19:12 +02:00
Michaël Van Canneyt
c09e8778bd
* Small improvement in inittls. Fixes issue 40408
2023-08-21 23:19:15 +02:00
Ondrej Pokorny
a518fb1fd5
set FSocketInitialized to False in TSocketStream.Close (fix AV when Close is called twice)
2023-08-21 21:11:29 +00:00
Ondrej Pokorny
38537fe27f
SSL sockets: propagate socket error on SSL_ERROR_SYSCALL (SSL_ERROR_SYSCALL means an error happened on the underlying socket)
2023-08-21 21:11:29 +00:00
Ondrej Pokorny
75338da133
Sockets errors redefined as regular Berkeley error constants also for Linux + add EINTR for Win
2023-08-21 21:11:29 +00:00
Jonas Maebe
2476062198
default(): fix webtbf/tw37303 after previous changes
2023-08-21 22:40:24 +02:00
Jonas Maebe
1be7416816
default value: fix issue with inlining
...
Ensure the mangled name is always the same
Resolves #40404
2023-08-20 22:08:47 +02:00