Sven/Sarah Barth
d221f42a57
* ensure that the correct overload is picked for function reference parameters
...
+ added tests
2022-11-06 22:01:49 +01:00
Sven/Sarah Barth
19cee9b841
+ mark the def for a capturer class with a corresponding object option
2022-11-06 22:01:48 +01:00
Sven/Sarah Barth
a714e2ff35
* fix #39981 : retrieve the symbol that returns the desired procdef/procvardef not maybe the Self or something else as we need that symbol to differentiate the procdefs
...
+ added test
2022-11-06 22:01:48 +01:00
Sven/Sarah Barth
3c2703787c
* ensure that newly created tloadparentfpnodes have a valid resultdef as they might be created in situation where the loadnode itself is no longer typechecked
2022-11-06 22:01:48 +01:00
Rika Ichinose
7243befdb7
Better TBits.
2022-11-06 20:55:38 +00:00
Ondrej Pokorny
eab28cdd2e
clean up
2022-11-06 18:51:53 +00:00
Ondrej Pokorny
029ea37ed9
* simplify implementation (almost) without touching the public interface
...
* make function references an option to classic events
2022-11-06 18:51:53 +00:00
Ondrej Pokorny
6bb59c66cb
clean up
2022-11-06 18:51:53 +00:00
Ondrej Pokorny
56cb11e3ef
both callback interfaces: classic events and function references
2022-11-06 18:51:53 +00:00
Ondrej Pokorny
dab6c48b47
clean up
2022-11-06 18:51:53 +00:00
Ondrej Pokorny
7ee1dea027
use function references for callbacks + change TNotifyEvent to TFPHTTPClientPoolSimpleCallback
2022-11-06 18:51:53 +00:00
Ondrej Pokorny
28a8279d91
remove unused private variable
2022-11-06 18:51:30 +00:00
Ondrej Pokorny
b881deeb9f
fix TServerSocketStream.CanRead result when FServer is gone (this happens on closing the server with open connections)
2022-11-06 18:51:30 +00:00
Ondrej Pokorny
a1a30876d5
disable KeepAlive flag in CloseConnectionSocket to close hanging keep-alive connections
2022-11-06 18:51:05 +00:00
J. Gareth "Curious Kit" Moreton
0dbf40a24c
* Added new tests for BZHI optimisations
2022-11-06 15:42:09 +00:00
J. Gareth "Curious Kit" Moreton
c40f518de4
* x86: "x and ((1 shl y) - 1)" to BZHI adapted for in_and_assign_x_y
2022-11-06 15:42:09 +00:00
J. Gareth "Curious Kit" Moreton
7da9b4a988
* x86: The code generator will now attempt to manipulate "x and ((1 shl y) - 1)" to use BZHI
2022-11-06 15:42:09 +00:00
J. Gareth "Curious Kit" Moreton
e748e4c7ab
* x86: Added new emit_reg_ref_reg routine and related methods to support BMI2 instructions
2022-11-06 15:42:09 +00:00
Jonas Maebe
95f94a279c
llvmdbg: fixes for method debug info
...
Mark "self" parameter as artificial
Add methods to the scope of the class/record rather than to the file scope
Add the vmt field, strip the "($)hidden" prefix from its name, and emit its
real type
2022-11-06 16:41:25 +01:00
Jonas Maebe
c5cdfbd9c0
dwarf-eh: don't emit header if there's no data to emit
2022-11-06 16:41:25 +01:00
florian
1b08b89b7b
* check if a target really supports safecall before calling load_safecallresult_node
2022-11-06 16:38:01 +01:00
florian
3db1415a44
* generate correct dfa for subroutines declared as safecall
2022-11-05 16:56:24 +01:00
ccrause
031c16dd3c
Fix potential overflow when incrementing 8 bit high value of res.
2022-11-05 11:19:58 +02:00
Pierre Muller
9b6926c5f5
Introduce CTYPES_INLINE, enabled by default but which can be disabled using -dDISABLE_INLINE for ctypes unit
2022-11-04 22:21:29 +00:00
florian
e67670fa70
* changed of do_optdeadstoreelim must be passed by reference as noted by Alexey Torgashin
2022-11-03 19:01:02 +01:00
Ondrej Pokorny
c5f4fe2882
httpserver: add KeepConnectionIdleTimeout property and OnKeepConnectionIdle event. Fix KeepConnectionTimeout to match the meaning from the comment and the name
2022-11-03 08:14:52 +01:00
florian
342524c312
* run dead store elimination multiple times if needed
2022-11-02 22:14:12 +01:00
florian
a0366d7d28
* dead store elimnation should not remove statements which can cause an exception
2022-11-02 22:13:40 +01:00
Ondrej Pokorny
05c45486e8
fcl-image/pasjpeg: handle Exif orientation flag automatically
2022-11-02 09:25:20 +00:00
florian
3f7bf0fd70
* stop generation of typed array constants if the size does not match, resolves #39980
2022-11-01 21:16:31 +01:00
Michaël Van Canneyt
d351b78821
* Fix typo in author
2022-11-01 13:06:52 +01:00
Michaël Van Canneyt
78666090c2
* Remove wrong unit
2022-11-01 13:05:59 +01:00
Michaël Van Canneyt
36073c1b65
* Add gstreamer library import unit (gst)
2022-11-01 11:39:20 +01:00
florian
0eee70ac81
* fix FindUnitSymtable for exception symtables, resolves #24801 and #39974
...
* more consistent naming of exceptsymtable enumeration symbol
2022-10-31 20:19:10 +01:00
J. Gareth "Curious Kit" Moreton
dbd8259c48
* x86: Fixed mistake in var9 optimisation under -Os; "andl $255,%eax" is not
...
smaller than "movzbl %al,%eax" because the immediate is sign-extended,
not zero-extended, so $255 will be stored as a 32-bit value.
2022-10-31 18:40:23 +00:00
mattias
87044c004f
fcl-css: clean up
2022-10-31 18:03:56 +01:00
Pierre Muller
92cc78e723
Allow cycle to finish successfully with -dEXTDEBUG without ALLOW_WARNINGS=1
2022-10-31 07:09:37 +01:00
Jonas Maebe
6d3e3d06e2
Linux: don't discard CFI when using it for exceptions
2022-10-30 21:57:19 +01:00
Jonas Maebe
57935a895c
Darwin: really fix -Xg for DWARF4
2022-10-30 21:57:19 +01:00
Jonas Maebe
e62cf5b9e7
systems_iphonesym -> systems_iphonesim
...
It's a simulator, not a symbolator
2022-10-30 21:57:18 +01:00
J. Gareth "Curious Kit" Moreton
3ba9cf5b4f
* x86: PostPeepholeOptTestOr has different debug messages for each found instruction, and also tests for BEXTR and BZHI.
2022-10-30 16:16:56 +00:00
J. Gareth "Curious Kit" Moreton
a7d1f7d771
* x86: FuncMov2Func now has code to remove "mov %reg,%reg" (since it doesn't get removed in Pass 2).
2022-10-30 16:06:01 +00:00
J. Gareth "Curious Kit" Moreton
3d805b8a9a
* x86: FuncMov2Func moved to separate method and also called by OptPass2MOV.
2022-10-30 16:06:01 +00:00
J. Gareth "Curious Kit" Moreton
d35be8a9ea
* x86: Extended FuncMov2Func optimisation to handle 1, 3 and 4-operand functions
2022-10-30 16:06:01 +00:00
J. Gareth "Curious Kit" Moreton
9fc2b9062d
* x86: Updated Mov0LblCmp0Jne optimisation to work when alignment hints appear before the label
2022-10-30 15:58:43 +00:00
florian
a1064ad8fd
+ MovSubCmp2MovSub optimization
2022-10-30 16:58:09 +01:00
Pierre Muller
ae12a79bf7
Avoid string truncation
2022-10-30 10:59:31 +01:00
Pierre Muller
e1b3c03daf
Add test for mips code generation bug
2022-10-29 21:34:00 +01:00
Pierre Muller
dce70b3b70
Short version of the mips code genration bug
2022-10-29 21:34:00 +01:00
marcoonthegit
f9a76aaa56
* Add AMPM to string, patch from closes #39973
2022-10-29 16:12:40 +02:00