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
Jonas Maebe
f18524f2fe
Darwin: fix mac0S 11.0 version string
...
Prevents LLVM warnings
2022-10-29 14:24:37 +02:00
Jonas Maebe
cd8ddffe42
AArch64: X18 is not a volatile register
...
It may be unused on some platforms, but in general it's reserved for OS library
usage (usually related to TLS)
2022-10-29 14:24:37 +02:00
Jonas Maebe
49fb1b4c29
RTTI: don't generate full RTTI for internal types
...
These are types created by the code generator for internal purposes, and hence
are never queried by user code
2022-10-29 14:24:37 +02:00
Sven/Sarah Barth
f0e31628ad
* ensure that hmodule is initialized correctly
2022-10-29 12:15:59 +02:00
Sven/Sarah Barth
e050a019a2
* fix #29859 : ensure that it's correctly passed down into generate_specialization whether a unit name was provided for the specialization and if so search the generic only in that unit
...
+ added tests
2022-10-28 17:40:53 +02:00
Sven/Sarah Barth
35a57bac94
* generate the generic name for a specialization of a generic interface alias in the same way as for specializations in general
2022-10-28 17:36:22 +02:00
Sven/Sarah Barth
399d82e1da
- remove unused consume_generic_interface; it has been superseded by handle_generic_interface in 17a0ac7fc0
2022-10-28 13:57:02 +02:00