J. Gareth "Curious Kit" Moreton
131c1e1b93
* Converted assertion into an internal error
2022-08-20 16:09:54 +00:00
J. Gareth "Curious Kit" Moreton
32f4931fd2
* x86: Fixed bug where the magic number of an integer division wasn't fully sign-extended, causing incorrect logic within the compiler.
2022-08-20 16:09:54 +00:00
marcoonthegit
9ad1995c6d
* Patch by Rika to have a char specific TStringHelper.replace. Probably faster with low number of char matches. closes #39707
...
* also raise rangeerror for startindex<0 in previous committed join() patch.
2022-08-20 16:16:58 +02:00
florian
d6e8375e64
* apply default replacements also to defines set by -d:
...
- -d with $ is not possible so this should not break any existing compiler call
- this fixes also the strange error message "Error: malformed parameter: -dlinux"
when e.g. -d$FPCOS is passed as the default replacements are applied to the
error message
2022-08-19 22:31:55 +02:00
Karoly Balogh
84de6a0049
Revert " * patch by Rika: This speeds up DefaultReplacements by a lot (order of magnitude or so), resolves #39722 "
...
This reverts commit a2d7503f71
.
Reason: breaks replacements in config file parsing.
2022-08-19 11:59:50 +02:00
Sven/Sarah Barth
61debb1559
* fix #39869 : correctly check whether the recorded token stream still needs to be parsed (the replay depth of the scanner needs to be *larger* than what it was before starting the playback)
...
+ added test
2022-08-18 23:09:01 +02:00
florian
a2d7503f71
* patch by Rika: This speeds up DefaultReplacements by a lot (order of magnitude or so), resolves #39722
2022-08-18 21:22:44 +02:00
marcoonthegit
d25daba08a
* Patch from Alexey T. closes #39705
...
* don't use copy in helper.indexof(). Watch those 0 based indexes.
2022-08-18 13:59:00 +02:00
florian
9e14dee1c3
* fixed Math.Tanh as proposed by Paolo Valle, resolves #39867
2022-08-17 20:56:43 +02:00
marcoonthegit
533cd82922
* applied patch from Alexey for closes #39704
...
* reviewed checks at start of function to match Delphi in rangecheck errors and other exits
* test for the above.
2022-08-17 18:38:02 +02:00
Ondrej Pokorny
761f65cef8
do not publish enums with jumps - keep error on static properties
2022-08-16 22:41:25 +02:00
Ondrej Pokorny
55629aeb19
do not publish enums with jumps
2022-08-16 20:47:44 +02:00
florian
44dca29926
+ some debug messages added
...
* cosmetics
2022-08-16 20:26:24 +02:00
marcoonthegit
aa32bd344a
* Some bio functions added, patch by RDA, closes #39854
2022-08-16 15:23:20 +02:00
florian
85230758e4
* improved FstpFld2<Nop> optimization
2022-08-15 23:17:16 +02:00
J. Gareth "Curious Kit" Moreton
bb4d3fda25
* Fixed internal error number clash (2021102610)
2022-08-15 20:42:18 +00:00
mattias
6c98a63285
fcl-passrc: resolver: allow for for-loop var only local vars
2022-08-15 16:56:06 +02:00
florian
cc66eb27ab
* patch by Rika: More numerical stability for Math, resolves #39863
2022-08-14 22:26:09 +02:00
ccrause
a135940cf5
Mark .noinit section with nobits flag.
2022-08-14 19:31:21 +00:00
marcoonthegit
f532cf1698
* Use an own put for tfpginterfacedobjectlist as per bug #39846 .
...
Maybe not the most elegant, but solves the immediately
2022-08-14 16:24:35 +02:00
Sven/Sarah Barth
27c1bb3bea
* an objectdef also requires an init for its members if a member (or a member of one of the parents) has a complex initialization
...
+ added test
2022-08-14 15:42:32 +02:00
florian
be4a317cb4
* proper naming
2022-08-13 22:30:55 +02:00
florian
8028a769f4
* ensure that the executable path used in the test is absolute
2022-08-12 22:12:11 +02:00
Sven/Sarah Barth
5e7330448d
* fix #39858 : correctly keep track of symbols that need to be captured into the capturer
...
+ added test
2022-08-12 17:44:39 +02:00
Sven/Sarah Barth
260368ea55
* the clause for converting the captured symbols of a nested function must not be entered by an anonymous function
2022-08-12 17:43:15 +02:00
Sven/Sarah Barth
6407b5f4db
* try to specialize a specialize node if it's followed by a < in a non-code section so that we might get better error messages
2022-08-12 17:19:32 +02:00
Sven/Sarah Barth
33ef88858d
* extract generating the specialization from a specialize node into a separate function
2022-08-12 17:01:22 +02:00
Sven/Sarah Barth
abb7aebaba
* fix typo in comment
2022-08-12 14:47:13 +02:00
Sven/Sarah Barth
35958a9b6b
* fix #39860 : even if the block type is not correct for the specialization of a generic routine continue to specialize it to not trigger e.g. an internal error
...
+ added tests
2022-08-12 14:46:56 +02:00
florian
306559667c
* patch by Rika for ArcTan2 to reduce code size
2022-08-11 22:32:45 +02:00
florian
f18d6f1c85
* fixed and improved generic ArcTan2 implementation by Paolo Valle, resolves #39861
2022-08-10 18:23:22 +02:00
marcoonthegit
53d745962f
* also add other threadpool functions
2022-08-09 11:27:23 +02:00
marcoonthegit
fd179a61f9
* give pthread_start_routine a proper Delphi compat prototype.
...
* add Delphi alias for callback.
* add queueuserworkitem
* add name clause GetDateFormatEx
closes #39852
2022-08-09 09:59:42 +02:00
florian
5afd809e88
+ handle LOC_FLAGS in thlcgobj.location_force_mem, resolves #39292
2022-08-08 23:14:56 +02:00
Michaël Van Canneyt
a08ac618a4
* Remove dependency on fpopenssl unit
2022-08-08 16:11:09 +02:00
Michaël Van Canneyt
d7801027c4
* Use default handler for SSL sockets
2022-08-08 14:43:12 +02:00
marcoonthegit
d347487be9
* wait up to 10ms extra till process really done to get rest of input, closes #39821
...
* avoid closing a popassinput handle.
2022-08-08 12:04:50 +02:00
Yuri Serebrennikov
a5486e04cd
Added SSL support for Websocket client.
2022-08-07 22:58:18 +03:00
florian
9c72ab651d
* use g_concatcopy_unaligned on MIPS if needed
2022-08-06 15:04:35 +02:00
florian
a45ba3add5
* x86-64: math helpers do not need a stackframe
2022-08-05 23:02:05 +02:00
J. Gareth "Curious Kit" Moreton
aff2a42431
* x86: Shrink TEST instruction on MovAndTest2Test
...
where possible.
2022-08-05 20:06:18 +00:00
J. Gareth "Curious Kit" Moreton
d7f1e56191
* x86: MovAndTest2Test optimisation now accepts a smaller sub-regiser on the TEST instruction
2022-08-05 20:06:18 +00:00
florian
a401898139
* spelling fixes
2022-08-04 23:01:35 +02:00
florian
ceab50cafb
* use simpler FMOV instead of UMOV
2022-08-03 22:42:25 +02:00
Benito van der Zander
7704fe9319
fix stack trace crash, see #39492
2022-08-03 22:28:03 +02:00
Nikolay Nikolov
dd13b46088
* use WasmCustomSectionName to obtain the debug section names in MaybeWriteDebugSection and MaybeAddDebugSectionToSymbolTable
2022-08-03 23:11:44 +03:00
Nikolay Nikolov
efd92fba01
+ introduced TWasmCustomDebugSectionType
2022-08-03 23:04:53 +03:00
Nikolay Nikolov
cc260eb7b2
* wasm32 obj writer: use Data.ObjSectionList.Find to find the debug section by name in MaybeWriteDebugSection
2022-08-03 22:02:19 +03:00
Nikolay Nikolov
e959422753
* wasm32 obj writer: do the relocations before writing the code, data and debug sections
2022-08-03 20:56:44 +03:00
Nikolay Nikolov
edf5fce7e3
* wasm32 obj writer: determine the section number for the datacount, code, data and debug sections ahead of time (before writing the sections)
2022-08-03 20:51:58 +03:00