Mercurial > pub > dyncall > dyncall
annotate ToDo @ 86:0c8535820000
- todo cleanup
author | cslag |
---|---|
date | Sat, 09 Apr 2016 17:03:20 -0500 |
parents | 8439d9e57d08 |
children | 82a0eef83db0 |
rev | line source |
---|---|
0 | 1 1.0: |
2 ---- | |
86 | 3 - the CallVM-free functions are per VTable, however the latter can be changed out |
4 at runtime... which basically changes potentially the deallocator... | |
5 same goes for functions setting the mode. think about how to make this safer - currently | |
6 we have a higher flexibility and we need to potentially clean up from the mode we are in, | |
7 however, this is open to misuse | |
78 | 8 - check all vararg calling conv implementations if they promote correctly |
9 (e.g. float to double); we used to not care as it was the user's job to | |
10 think of that, but we allow users to use ArgFloat, etc. on "..." now, | |
11 taking care of the promotion; so it should be consistent all across the | |
12 implementations -> also write testcode specifically for that | |
0 | 13 - autovar was never really pushed all the way through and still plays second |
9 | 14 fiddle to dyncall_macros.h, clean this all up, eventually (Tassilo: for now, I |
15 removed out of sync files to avoid confusion; but still probably duped code) | |
0 | 16 - ppc32 callback fixes on bsd |
69 | 17 - add portable "make install" |
18 * make install should also install manpages | |
0 | 19 - mailing list announcements (html email?) |
20 - fix for NDS: | |
69 | 21 * ARM: |
22 - callback_plain retval wrong (not only platform) | |
23 * THUMB: | |
24 - ellipsis (might be test itself, not respecting fixed part of args) | |
25 - callback_plain retval | |
26 - callf | |
0 | 27 - fix Minix/x86 callbacks (see callback_suite) |
54 | 28 - armhf ellipsis: fix weirdness with long long as first ... arg |
24 | 29 - support Solaris11 CFLAGS with -D_FILE_OFFSET_BITS=64 |
30 - make sure selinux works (esp. regarding NX bits, asm might need (or similar): .section .note.GNU-stack,"",@progbits) | |
54 | 31 Daniel has a patch for it, if needed, implementing allocwx with two memory blocks, one for w^x, mmaped to one for r|x |
68 | 32 - support /SAFESEH on cl/win32 |
83
54930a037e8a
- PPC64 single-precision float fixes for more than 13 float args (thanks Masanori!)
cslag
parents:
78
diff
changeset
|
33 - test code functions should be in .so files, optionally, so the suites can directly |
54930a037e8a
- PPC64 single-precision float fixes for more than 13 float args (thanks Masanori!)
cslag
parents:
78
diff
changeset
|
34 be used to test dycnall bindings |
54930a037e8a
- PPC64 single-precision float fixes for more than 13 float args (thanks Masanori!)
cslag
parents:
78
diff
changeset
|
35 - pkg-config support? |
0 | 36 |
37 portasm: | |
38 -------- | |
39 - add solaris support for x64 | |
40 | |
41 dyncall: | |
42 -------- | |
43 - support for return values: aggregate return values | |
44 - support for argument values: structures, half-precision, vector types, long double | |
45 - varargs for mips (might exist, but test all ABIs) | |
46 - consider automatic type-promotion for arguments passed through DC_CALL_C_ELLIPSIS_VARARGS; | |
47 this would make it easier to just pass arguments instead of having to know about the C | |
48 type promotions | |
49 - syscalls for x64 | |
50 * bsd | |
51 * linux | |
52 - other syscalls | |
53 | |
54 dynload: | |
55 -------- | |
56 - bug: test/nm crashes on qemu mips linux o32 debian etch | |
57 - test/resolve_self crashes/asserts on windows and bsds | |
58 - rename SymsInit to InitSyms and similar for cleanup function to reflect naming | |
59 in dyncall | |
60 - get rid of Dl_info and friends (_GNU_SOURCE) in dynload/dynload_syms_elf.c | |
61 for implementation of dlSymsNameFromValue(..) | |
62 - check if PSP can support dynload (missing elf.h, dlfcn.h, etc.); fixup readme if successful | |
84 | 63 - some functionality like java's System.mapLibraryName('name') might be helpful? |
0 | 64 |
65 dyncallback: | |
66 ------------ | |
67 - callback_plain's return value not correct anymore on NDS (maybe just broken testcode?) | |
68 - add MIPS callbacks for eabi, n32, o32 (thunks are working) | |
21 | 69 - finish PPC32 callbacks (see bugs section, below, BSD not working) |
0 | 70 |
71 bindings: | |
72 --------- | |
73 - release bindings as standalone packages (already done for rbdc as a gem and rdyncall on cran) | |
74 * add note to documentation, where bindings are and that some bindings are svn-only ATM | |
75 - add rdoc documentation to ruby gem | |
76 - add pydoc for python | |
77 - add manpage for shdc | |
78 - expose callf-convenience functions to go | |
79 - add godoc for godc | |
80 - add javadoc to java | |
81 - add more bindings | |
82 - add callback support for erlang, go, java, lua, python and ruby (and shell? how?) | |
83 - add call-conv-mode-support for rbdc through signature | |
84 | |
85 manual: | |
86 ------- | |
87 - finish tex4ht manual generation (use \ifhtml and \ifnhtml, ...) | |
88 - provide more examples on how to use dyncall, dynload and dyncallback | |
89 * e.g. enhance manual with a couple of examples (e.g. calling MessageBoxA on windows, etc.) | |
90 - manuals for bindings (as stated in bindings-section, above) | |
91 | |
92 urgent issues: | |
93 -------------- | |
94 - finish SPARC/SPARC64 calling conventions in doc's callconv-appendix !!! | |
95 - Haiku/gmake build doesn't build dynload due to the fact, that elf.h is not found | |
96 on default installations (one has to install the system headers) | |
97 * add to doc | |
98 - Solaris/gmake build doesn't build dynload and tests anymore (maybe not even dyncallback) | |
99 - test arm32/ATPCS/THUMB (and then change Status in doc Appendix) | |
100 - look over code and fix TODO or @@@ marks | |
101 - add ppc-support to doc (both, 32 and 64, as well as little and big endian remarks) | |
102 | |
103 nice to have: | |
104 ------------- | |
105 - update: microsoft visual c++ build files - integrate all test suites in solution file | |
106 - consistency: on x64 platforms: make both ABIs available ('win64','sysv') for all x64 OS ports | |
107 - microsoft build enhancement: autodetect assembly via C preprocessor (like with .S gcc files) | |
108 - test/thunk: some platforms do not allow for allocation of executable code on heap and stack -- | |
109 currently this test will crash, maybe we should collect information which platforms allow and which not. | |
110 | |
111 bugs: | |
112 ----- | |
6 | 113 - callconv set specifically for platform that has only one (default) excepts for some |
114 platforms, eg. setting X64_sysv on amd64/Linux - keeping cdecl which is the same in | |
115 this case, works | |
0 | 116 - callbacks on ppc32 only work on linux and apple (osx abi), but not BSD |
117 - vararg function calls don't work for ARM THUMB mode (Daniel's new interface for modesetting for varag | |
118 args should be used); adapt test/ellipsis and/or retest | |
119 | |
120 missing implementations (descending priority): | |
121 ---------------------------------------------- | |
122 - riscv | |
123 - itanium | |
124 - 68k, 88k, 6502, etc. | |
125 - alpha | |
126 - superh | |
127 - cell | |
128 - blackfin | |
21 | 129 - s/390 |
0 | 130 - z80 |
131 - hppa | |
132 - vax | |
133 - atmel avr | |
134 - propeller | |
135 - amd29k | |
136 - arc | |
137 - seaforth | |
138 |