Mercurial > pub > dyncall > dyncall
annotate ChangeLog @ 353:2f28f26c72a7 r1.1
- prep/cleanup for 1.1 release
author | Tassilo Philipp |
---|---|
date | Fri, 10 Jan 2020 15:29:13 +0100 |
parents | 4f9f49fb82ce |
children | 5ac53b2d5f1e |
rev | line source |
---|---|
0 | 1 This file lists bigger/noteworthy changes, only... |
2 | |
353 | 3 Version 1.1 (2020/01/11) |
302
d55f9d508074
- mips softfloat support for o32 callconv (calls and callbacks, little and big endian)
Tassilo Philipp
parents:
301
diff
changeset
|
4 dyncall: |
305 | 5 o support for soft-float MIPS o32 & n64 (big- and little-endian, each) |
339 | 6 o x64 System V syscall support |
302
d55f9d508074
- mips softfloat support for o32 callconv (calls and callbacks, little and big endian)
Tassilo Philipp
parents:
301
diff
changeset
|
7 dyncallback: |
305 | 8 o support for soft-float MIPS o32 & n64 (big- and little-endian, each) |
309
b51401bc4c37
- changelog about dynload UTF-8 support on windows
Tassilo Philipp
parents:
307
diff
changeset
|
9 dynload: |
b51401bc4c37
- changelog about dynload UTF-8 support on windows
Tassilo Philipp
parents:
307
diff
changeset
|
10 o added UTF-8 support for pathnames on windows |
314
b2e4e23d9953
- stop using dlinfo() on glibc platforms but use dl_iterate_phdr() instead, as former's implementation is nothing more than a fancy cast and thus dangerously assuming that every provided handle is valid
Tassilo Philipp
parents:
309
diff
changeset
|
11 o reliability/stability fix for dlGetLibraryPath() on glibc based platforms (avoiding |
b2e4e23d9953
- stop using dlinfo() on glibc platforms but use dl_iterate_phdr() instead, as former's implementation is nothing more than a fancy cast and thus dangerously assuming that every provided handle is valid
Tassilo Philipp
parents:
309
diff
changeset
|
12 internal use of glibc's bad impl of dlinfo() which doesn't do any error checking at all) |
320
85c80b0c021c
- Darwin/macos fix for dlGetLibraryPath() to correctly fail on bogus handles
Tassilo Philipp
parents:
314
diff
changeset
|
13 o Darwin/macos fix for dlGetLibraryPath() to correctly fail on bogus handles (did return |
85c80b0c021c
- Darwin/macos fix for dlGetLibraryPath() to correctly fail on bogus handles
Tassilo Philipp
parents:
314
diff
changeset
|
14 paths to random libraries under some circumstances, instead of returning an error) |
314
b2e4e23d9953
- stop using dlinfo() on glibc platforms but use dl_iterate_phdr() instead, as former's implementation is nothing more than a fancy cast and thus dangerously assuming that every provided handle is valid
Tassilo Philipp
parents:
309
diff
changeset
|
15 o support for dlGetLibraryPath() on glibc platforms with glibc vesions <= 2.3.3 |
320
85c80b0c021c
- Darwin/macos fix for dlGetLibraryPath() to correctly fail on bogus handles
Tassilo Philipp
parents:
314
diff
changeset
|
16 o dlGetLibraryPath() now accepts NULL as argument to return path to executable |
353 | 17 o dlLoadLibrary() on windows: no more auto-suffixing of the .dll file ext anymore, to be |
18 more in line with other platforms (not affecting OS specific library search behaviour) | |
301 | 19 doc: |
20 o more detail in support matrix for bi-endian platforms | |
332 | 21 o improvements/corrections to calling convention appendix |
22 o PPC64 calling convention description | |
336 | 23 o MIPS64/N32 calling convention description |
332 | 24 o man page additions for clarity |
309
b51401bc4c37
- changelog about dynload UTF-8 support on windows
Tassilo Philipp
parents:
307
diff
changeset
|
25 tests: |
b51401bc4c37
- changelog about dynload UTF-8 support on windows
Tassilo Philipp
parents:
307
diff
changeset
|
26 o dynload_plain test extended to test UTF-8 library paths |
332 | 27 o better output for plain test |
28 o better output and *nix fix for plain_c++ test | |
296
e6bd998b0308
- FBSD12-CURRENT/mipshf needs to be told explicitly to use -mhard_float (at least as of may 2018)
Tassilo Philipp
parents:
295
diff
changeset
|
29 buildsys: |
e6bd998b0308
- FBSD12-CURRENT/mipshf needs to be told explicitly to use -mhard_float (at least as of may 2018)
Tassilo Philipp
parents:
295
diff
changeset
|
30 o default ./configure: FreeBSD/mips*hf needed -mhard-float compiler flag set explicitly |
307
d2c8ea3ef2ed
better MacOS Mojave support in ./configure (Mojave dropped i386 builds)
Tassilo Philipp
parents:
305
diff
changeset
|
31 o better MacOS Mojave support in ./configure (Mojave dropped i386 builds) |
295 | 32 |
290
4e63c6411e59
- adjusted release date of r1.0 in changelog
Tassilo Philipp
parents:
280
diff
changeset
|
33 Version 1.0 (2018/04/23) |
79 | 34 dyncall: |
206 | 35 o PPC64 single-precision float fixes for more than 13 float args (thanks Masanori Mitsugi!) |
147 | 36 o fixed potential buffer overrun on ARM64 |
206 | 37 o error code handling (dcGetError) changes, flag is now cleared (work still underway) |
130 | 38 o MIPS n64 ellipsis call fixes |
147 | 39 o ARM32 armhf ellipsis call fixes |
175
00dd15cc5c87
- fixed ARM32-THUMB stack alignment issues (found on Cortex-m0, thanks Darren Whobrey!)
cslag
parents:
169
diff
changeset
|
40 o fixed ARM32-THUMB stack alignment issues (found on Cortex-m0, thanks Darren Whobrey!) |
147 | 41 o better C++ compiler support (for pointer conversions) |
79 | 42 dyncallback: |
206 | 43 o PPC64 single-precision float fixes for more than 13 float args (thanks Masanori Mitsugi!) |
135 | 44 o MIPS o32 (big- and little-endian), EABI (32 bit, little-endian) and n64 (big-endian) support |
197
53c42b1d9f8b
- sparc doc improvements for both, 32 and 64
Tassilo Philipp
parents:
185
diff
changeset
|
45 o SPARC32 (v7/v8) support |
53c42b1d9f8b
- sparc doc improvements for both, 32 and 64
Tassilo Philipp
parents:
185
diff
changeset
|
46 o SPARC64 (v9) support |
237 | 47 o PPC32 fixes for (old) Darwin/OS X systems |
185
a41bc98e101c
- impl. for allocwx stuff on POSIX-strict systems where there is no MAP_ANON for mmap()
Tassilo Philipp
parents:
175
diff
changeset
|
48 o POSIX compliance: fallback for wx alloc on systems that don't have mmap()'s MAP_ANON |
203
3999750fae28
- allocwx changes from last commit mentioned in Changelog and adapted testcode
Tassilo Philipp
parents:
197
diff
changeset
|
49 o allocated space used for thunk now always W^X (req. for e.g. OpenBSD >= 6.0) |
217 | 50 dynload: |
224 | 51 o major reliability/stability fixes for Mach-O dlSyms* functions to (thanks Stéphane Mons for help): |
52 better handle loading dylibs by symlink, relative path, random casing, etc. | |
53 fixes to symbol name lookups that used wrong offsets before | |
54 64-bit platform fixes (was broken on x64 and never supported on others) | |
217 | 55 o allowing Mach-O dlSyms* lib to be used standalone (consistent with ELF and PE impls now) |
224 | 56 o simplifications of implemention on Darwin, sharing parts with *nix implementation |
221 | 57 o potentially breaking change on macos/Darwin platforms: all functions now consistently accept or |
224 | 58 return symbol names as they would appear in C code, instead of the raw ones in object files |
247 | 59 o added new function dlGetLibraryPath, allowing lookups of path to library via handle |
169
2fa600ea50e7
- marking off solaris/sparc (32 bit) as completely supported (just tested sparc callbacks on solaris (with gnu toolchain, though), works)
cslag
parents:
159
diff
changeset
|
60 general: |
256
7520e2260097
- added to configure some detection on how to compile .s/.S with --noexecstack (or similar), as compilers' defaults are often insane
Tassilo Philipp
parents:
247
diff
changeset
|
61 o assembly code now built by explicitily asking for non-execstack, for safer/easier integration |
7520e2260097
- added to configure some detection on how to compile .s/.S with --noexecstack (or similar), as compilers' defaults are often insane
Tassilo Philipp
parents:
247
diff
changeset
|
62 into other projects/builds, where needed; needed b/c of questionable default behaviours of some |
185
a41bc98e101c
- impl. for allocwx stuff on POSIX-strict systems where there is no MAP_ANON for mmap()
Tassilo Philipp
parents:
175
diff
changeset
|
63 toolchains (thanks Thorsten Behrens for report and analysis) |
79 | 64 doc: |
65 o working html doc generation from TEX sources | |
197
53c42b1d9f8b
- sparc doc improvements for both, 32 and 64
Tassilo Philipp
parents:
185
diff
changeset
|
66 o SPARC32 (v7/v8) calling convention description |
53c42b1d9f8b
- sparc doc improvements for both, 32 and 64
Tassilo Philipp
parents:
185
diff
changeset
|
67 o SPARC64 (v9) calling convention description |
83
54930a037e8a
- PPC64 single-precision float fixes for more than 13 float args (thanks Masanori!)
cslag
parents:
80
diff
changeset
|
68 bindings: |
84 | 69 o better documentation, removed relative path dependencies, general cleanup |
70 o python: updated to latest signature format (was still on 0.1) | |
71 o java: rewritten (old version was never complete, anyways) | |
214 | 72 tests: |
73 o added new dynload_plain test covering basic use of all dynload functions | |
151 | 74 buildsys: |
75 o cmake: made to work on systems without C++ compiler (thanks Franklin Mathieu) | |
65 | 76 |
59 | 77 Version 0.9 (2015/12/31) |
0 | 78 dyncall: |
40 | 79 o ARM64 support (AAPCS64 on Linux & Apple's derived version on iOS) |
80 o armhf calling convention support for ARM32 | |
206 | 81 o PPC64 support, including syscalls (thanks Masanori Mitsugi!) |
0 | 82 o introduced dcArgF and dcVArgF for flexible/convenient argument binding (works like dcCallF/dcVCallF but without the function call) |
21 | 83 o using -fPIC by default for FreeBSD |
0 | 84 o PPC32 linux syscall support |
147 | 85 o fixed return value errors for ARM32 on some platforms (e.g. freebsd/arm32, nintendo ds); arm & thumb mode |
0 | 86 dyncallback: |
87 o ARM64 support (AAPCS64 on Linux, Apple's derived version on iOS) | |
40 | 88 o armhf calling convention support for ARM32 |
206 | 89 o PPC64 support (thanks Masanori Mitsugi!) |
0 | 90 o PPC32 System V support (Linux) |
91 o fix for PPC32 Darwin/OS X | |
92 o more intuitive specification of callback return type | |
93 doc: | |
94 o added ARM64 support info and calling convention documentation | |
64 | 95 o added ARM32 armhf section |
0 | 96 o added PPC64 support info |
97 o cleanup, brought all up to date, etc. | |
98 tests: | |
99 o callf test covers new argf interface | |
64 | 100 o several fixes to some test suites |
0 | 101 buildsys: |
102 o more flexible testsuite build and 'pack' target for convenience | |
103 o fixes/additions for OS X universal builds | |
104 o added iOS universal build support for armv7/arm64 | |
105 o helper script for generic .elf -> EBOOT.PBP creation for PSP | |
106 o Sun make fixes for C++ code in test suite | |
107 bindings: | |
108 o erldc: Erlang binding (thanks Erik!) | |
2 | 109 infrastructure: |
110 o moved to hg | |
83
54930a037e8a
- PPC64 single-precision float fixes for more than 13 float args (thanks Masanori!)
cslag
parents:
80
diff
changeset
|
111 o moved bindings to own repository |
0 | 112 |
40 | 113 Version 0.8 (2014/03/24) |
0 | 114 buildsys: |
115 o big simplification make-based build system, no more distinct GNU and BSD makefiles anymore | |
116 o new, much simpler ./configure for new make-based build-system | |
117 o support for in-source and out-of-source builds for make-based build systems | |
118 o made configure.bat guess x64 as target arch for x64 windows hosts | |
119 o based more sources on portasm generation | |
120 dyncall: | |
121 o fix for ARMv7 Thumb-2 code (tested on iPhone 4 CDMA / iOS 6.0.1) | |
79 | 122 o bugfixes for -O2 builds for SPARC-v9 and SPARC-v7 |
0 | 123 o new optimized call kernel for SPARC-v9 without conditionals |
130 | 124 o bigger refactoring and optimization of MIPS o32 |
0 | 125 o x64 optimizations |
126 dyncallback: | |
127 o added callback support for plan9 | |
128 o big cleanup, removal of duplicate files after introduction of portasm | |
129 o include path fixes for public facing APIs (removed relative paths) | |
130 doc: | |
131 o cleanup of manual and corrections | |
132 o added info about newly supported and/or tested platforms (e.g. FreeBSD on ARM) | |
133 o restructured folder layout for documentation | |
134 o added API doc for dyncallback and dynload | |
135 o added manpages for dyncallback and dynload | |
136 tests: | |
137 o added arm/thumb interwork test suite | |
138 bindings: | |
139 o godc: added bindings for Go | |
140 o rbdc: fixed and extended ruby bindings | |
141 o shdc: renamed shell binding to shdc and added feature to list shared-objects' symbols | |
142 | |
40 | 143 Version 0.7 (2012/01/02) |
0 | 144 architecture: |
79 | 145 o added subproject: portasm - portable (GNU AS,+Apple and MASM) assembly framework |
0 | 146 o added subproject: autovar - predefined macro framework (was dyncall_macros.h) |
147 o added support for Solaris and SunPro compiler for i386, x86_64, sparc and sparc64 | |
148 o improved auto-detection via preprocessor defines | |
149 dyncall updates: | |
150 o uses portasm (GNU,Apple,Microsoft) common sources for x86,x64,ppc32,arm32_arm | |
206 | 151 o added support for sparc (32-bit) (tested on linux/debian,openbsd,solaris) |
152 o added support for sparc (64-bit) (tested on linux/debian,openbsd,solaris) | |
0 | 153 o bug fixes for x64/win64 calling convention |
154 o added support for mingw32-w64 on x64 | |
155 o improved cdecl x86 calling convention: stack always 16 byte aligned | |
156 o updated API and initial support for structs (for x86/AMD64) | |
157 o initial support for syscalls on x86, added x86 int80h linux/bsd | |
158 o added Minix port (stable) | |
159 o optimized vector buffer for small type pushing | |
160 o minor fix for amd64/sysv: alignment to 32-byte | |
161 o bug fix for ppc32/sysv: ellipsis calls work now | |
162 o updated API, introduced DC_CALL_C_ELLIPSIS_VARARGS | |
163 o changed interface: dcMode does not reset internally anymore | |
164 dyncallback updates: | |
165 o uses portasm for x86,x64 | |
166 o added Solaris/x86/sunpro port (stable) | |
167 o added Minix port (unstable) | |
168 o callback support for Darwin/ppc32 | |
169 o updates source, uses relative includes | |
170 dynload updates: | |
171 o fixes for missing includes (dyncall_alloc.h) | |
172 o fixes for self-resolving symbols on windows | |
173 o removed Dbghelf.lib dependency | |
174 o bug fixes for cygwin/x86 | |
175 o fixes for beos/haiku | |
176 o no dependencies to libdyncall sources. | |
177 buildsys additions: | |
178 o added zero-config (BSD,GNU,SUN) make files (Makefile.embedded) | |
79 | 179 o added in/out-of-source configure2 w/ (BSD,GNU) make files (Makefile.generic) |
180 o added bootstrap lua script (download/build) | |
0 | 181 o Nmakefile: more tests included (resolve_self) |
182 o improved cross-compilation for iOS (upgrade to 4.3 sdk) | |
183 o darwin 8.0 support | |
184 o added 'install' support for Makefile.embedded | |
185 buildsys/gmake updates: | |
186 o added support for msvc/x64 tool-chain | |
187 o default settings for build-dir changed to '.' | |
188 o cleanup: removed top-level Make{Prolog,Epilog,Rules} files and updated all sub-projects and tests | |
189 o added support for DESTDIR staging installation | |
190 o added support for manual page installation | |
191 buildsys/cmake updates: | |
192 o updated find module scripts (see cmake/Modules) | |
193 o added support for using dyncall as sub-project (via *Config.cmake files) | |
194 see details in README.CMake | |
195 o fixes for msvc and ml | |
196 o fixes for CPack | |
197 o fixes for universal builds on Mac OS X | |
198 o supports SunPro with *.S files. | |
199 o added experimental 'dynMake' portable make-based build-system (not stable, yet) | |
200 documentation updates: | |
201 o added dyncallback documentation | |
79 | 202 o updated dyncall documentation |
0 | 203 o minor updates |
204 tests: | |
205 o added flexible test suite for calls (call_suite) based on Lua and C | |
206 o added syscall test | |
207 o updates to resolve-self test (adding additional link flags to export symbols) | |
79 | 208 o improved dir name portability (renamed plain_c++ -> plain_cxx) |
0 | 209 o renamed *.cpp -> *.cc files (OpenBSD/Sun make has no implicit rules for cpp) |
210 | |
40 | 211 Version 0.6 (2010/09/25) |
0 | 212 building: |
213 o new build systems: CMake and Plan9's mk | |
214 o buildsys/gmake tool chain update: pcc and iphone sdk | |
215 o x64 bugfix: added "-fPIC" even for static libs | |
79 | 216 dynload updates: |
0 | 217 o enum symbols update: Mach-O and Win64 (thanks Olivier) |
218 o numerous convenience changes to dynload interface (thanks Olivier) | |
219 o added support for resolving application images itself | |
220 dyncall updates: | |
221 o new platform support: arm/iphone (armv6), x86/Plan9 | |
130 | 222 o new MIPS calling conventions: o32, n64 (both endian models) |
0 | 223 o cleanup: unexported functions in MASM files, b/c export not needed (thanks Olivier) |
224 o interface update: added error reporting facility 'dcGetError' | |
225 o bugfix for ppc32/sysv: ellipsis calls were broken | |
79 | 226 o interface update: added new abstract mode for ellipsis calls (DC_CALL_C_ELLIPSIS) |
0 | 227 docs: |
228 o comprehensive update | |
229 tests: | |
230 o plain: split "plain" test up in C and C++ part | |
231 o callbacksuite: added multiple configuration support for callback_suite | |
232 | |
40 | 233 Version 0.5 (2010/02/01) |
0 | 234 o renamed arm9 stuff to arm32 |
235 o added non-EABI ABI for arm32 (before, EABI was the default implementation) | |
236 o added dyncallback support for x64/windows (thanks Olivier), x64/darwin, arm32/arm, arm32/thumb | |
237 o synced documentation again with current state of the source (lots of small changes) | |
238 o updated ruby binding to current state of signature string (still some features missing, though) | |
239 o added a couple of new options to configure scripts (e.g. prefix-bd, new targets, etc.) | |
240 o darwin universal binary support | |
241 o added new tests callback_plain and calback_suite | |
242 o added Haiku/BeOS support | |
243 | |
40 | 244 Version 0.4 (2009/07/06) |
0 | 245 o added 'doc' makefile target for coherency and ease of use |
246 o fixed nmake buildfiles and configure.bat (were out of date and wrong) | |
247 o test suite clean up (GNUmake, BSDmake): | |
248 target "config" modified, phony without dependencies to other builds | |
221 | 249 o bugfix: GNU fastcall calling convention for float and double arguments was wrong (no skip of register) |
0 | 250 o update: x86win32* suite tests are built on cygwin now, added total result output |
251 o signature types change: | |
252 C Strings: 'S' -> 'Z' | |
253 long: 'l' -> 'j' | |
254 long long: 'L' -> 'l' | |
79 | 255 added unsigned integer type signature characters: upper case encoding |
0 | 256 o added: callbacks component (support only for some platforms ATM) |
257 o added: test cases for alloc_wx, thunk | |
258 o updated Documentation | |
259 | |
40 | 260 Version 0.3 (2009/01/17) |
0 | 261 o added Linux PPC32 support |
262 o added ARM THUMB mode support | |
263 o cosmetic changes, documentation updated | |
264 o bugfix: on cygwin exported C symbols in GNU as are prefixed with '_' now. | |
265 o removed scons build support | |
266 | |
40 | 267 Version 0.2 (2008/05/18) |
0 | 268 o added scons build support |
269 o configure variables all prefix CONFIG_* now | |
270 o configure variable INSTALL_DIR changed to INSTALL_PREFIX | |
271 o configure (shell version) option "--prefix" changed to "--prefix=<path>" | |
272 | |
40 | 273 Version 0.1 (2008/01/23) |
0 | 274 o initial release |
275 |