Mercurial > pub > dyncall > dyncall
comparison ChangeLog @ 551:eef302b7a58d
- amendment fix for buffer overflow (see commit 0455834d29a1), to also handle non-standard struct packing, + better asserts
- changelog wording tweaks for clarity
- comment tweaks for clarity
- (mostly pointless) microoptimization in aggr alignment calculation, avoiding a modulo, as alignment always a power of 2
- cleanups
author | Tassilo Philipp |
---|---|
date | Mon, 20 Jun 2022 14:57:49 +0200 |
parents | ca28e9e3c644 |
children | fd7426080105 |
comparison
equal
deleted
inserted
replaced
550:5e1002095afa | 551:eef302b7a58d |
---|---|
2 | 2 |
3 | 3 |
4 Version 1.4 (upcoming) | 4 Version 1.4 (upcoming) |
5 | 5 |
6 dyncall: | 6 dyncall: |
7 o new, portable aggregate-by-value argument interface | |
7 o aggregate-by-value (struct, union) support for x64 (win and sysv; thanks Raphael Luba!) | 8 o aggregate-by-value (struct, union) support for x64 (win and sysv; thanks Raphael Luba!) |
8 o new aggregate arg interface DCaggr replacing stale DCstruct (latter had shortcomings, was | 9 o new aggregate description interface DCaggr replacing stale DCstruct (latter had shortcomings, was |
9 mostly unused as it lacked stable implementations, didn't handle unions, ...) | 10 mostly unused as it lacked stable implementations, didn't handle unions, ...) |
10 o new calling convention modes for thiscalls (platform agnostic DC_CALL_C_DEFAULT_THIS, as well as | 11 o new calling convention modes for thiscalls (platform agnostic DC_CALL_C_DEFAULT_THIS, as well as |
11 DC_CALL_C_X64_{WIN64,SYSV}_THIS (needed to handle C++ ABI rules for returning aggregates by value) | 12 DC_CALL_C_X64_{WIN64,SYSV}_THIS (needed to handle C++ ABI rules for returning aggregates by value) |
12 o new signature character for platform agnostic thiscalls ('*' / DC_SIGCHAR_CC_THISCALL) | 13 o new signature character for platform agnostic thiscalls ('*' / DC_SIGCHAR_CC_THISCALL) |
13 o dcCallF(), dcVCallF(), dcArgF() and dcVArgF() don't implicitly call dcReset() | 14 o dcCallF(), dcVCallF(), dcArgF() and dcVArgF() don't implicitly call dcReset() |
14 anymore, which was unflexible (breaking change) | 15 anymore, which was unflexible (breaking change) |
15 o added macros to feature test implementation for aggregate-by-value and syscall support | 16 o added macros to feature test implementation for aggregate-by-value and syscall support |
16 o windows/x64/masm directives added to specify how stack unwinds (help for | 17 o windows/x64/masm directives added to specify how stack unwinds (help for |
17 debuggers, exception handling, etc.; thanks Raphael Luba) | 18 debuggers, exception handling, etc.; thanks Raphael Luba) |
18 dyncallback: | 19 dyncallback: |
19 o stack unwinding debug help on windows (thanks Raphael Luba!) | 20 o new, portable aggregate-by-value callback argument interface |
20 o aggregate-by-value (struct, union) support for x64 (win and sysv; thanks Raphael Luba!) | 21 o aggregate-by-value (struct, union) support for x64 (win and sysv; thanks Raphael Luba!) |
21 o new aggregate arg interface DCaggr | 22 o x64/windows masm directives for frame unwinding information (as dbg help; thanks Raphael Luba!) |
22 o windows/x64/masm directives added to specify how stack unwinds (help for | |
23 debuggers, exception handling, etc.; thanks Raphael Luba) | |
24 dynload: | 23 dynload: |
25 o build fix for ReactOS with RosBE/cmake/mingw-make environment | 24 o build fix for ReactOS with RosBE/cmake/mingw-make environment |
26 tests: | 25 tests: |
27 o call_suite: simplified and extended to test also unsigned types, and _Bool | 26 o call_suite: simplified and extended to test also unsigned types, and _Bool |
28 o callback_suite: refactored to be much more like call_suite test | 27 o callback_suite: refactored to be much more like call_suite test |