Commit Graph

65884 Commits

Author SHA1 Message Date
mattias
0894b5fd02 webidl: added typedef test for wasmjob 2022-08-25 11:43:11 +02:00
mattias
90df440df3 webidl: INputStream, OutputStream, set default unitname, wasmjob: variants 2022-08-25 11:42:17 +02:00
mattias
bdc4297811 fcl-base: comment 2022-08-25 11:41:20 +02:00
florian
85c7368759 * handle also simulated flags in tmipselnotnode.second_boolean, resolves #39877 2022-08-24 21:16:23 +02:00
Michaël Van Canneyt
27f8f077d5 * Patch from Luxa Olivetti, fix for issue #33737 2022-08-24 14:13:17 +02:00
Michaël Van Canneyt
f8bf34303c * Fix from Kevin Jesshope to fix concurrent access in case of CGI 2022-08-24 09:54:45 +02:00
Michaël Van Canneyt
87ea9a9e0f * Fix from Kevin Jesshope to correct filename detection in CGI app 2022-08-24 09:54:45 +02:00
florian
2670eb1ce7 * improved test as proposed by Rika 2022-08-23 21:27:44 +02:00
florian
4f7dffadbb * extended test 2022-08-22 21:33:52 +02:00
mattias
1d95e6087a fcl-web: fixed TCustomWebsocketClient.FreeConnectionObjects 2022-08-22 19:49:05 +02:00
mattias
4c9f2b8b25 fcl-web: TCustomWSServer.OnDisconnect: pass TCustomWebsocketClient as Sender instead of connection 2022-08-22 19:29:28 +02:00
mattias
8ebced609c fcl-web: comment 2022-08-22 19:29:28 +02:00
mattias
87857252a4 fcl-web: TCustomWSServer.RemoveConnection: call DoDisconnect on disconnect 2022-08-22 19:29:28 +02:00
mattias
0b24d5f92e fcl-web: comments 2022-08-22 19:29:28 +02:00
mattias
4503070f7f fcl-web: clean up 2022-08-22 19:29:28 +02:00
marcoonthegit
f341baeaa7 * fixed ambiguity between pipe(2) with two params and pipe(3) with one that broke -dFPC_USE_LIBC 2022-08-22 13:22:57 +02:00
florian
5af087cfc3 * experimental test for #39722, no sure if it will work this way on all platforms 2022-08-21 23:03:38 +02:00
marcoonthegit
83b4555511 * a few more simple handlers get custom variant intercepts. Also part of #39815 2022-08-21 18:43:34 +02:00
marcoonthegit
3eb800fac6 * merge in different openbsd langinfo.h with some ifdefs.
* alternate solution that generates less new files at the expense of a few ifdefs.   bug #29317
2022-08-21 14:18:48 +02:00
marcoonthegit
c67004d929 * custom variant support for integer types, first part of #39815 2022-08-20 23:00:32 +02:00
florian
d3d4de7818 * test for #39834, previous commits resolve #39834 2022-08-20 18:11:24 +02:00
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