Mercurial > pub > dyncall > dyncall
annotate ToDo @ 89:0f7d00b73257
- todo update
author | cslag |
---|---|
date | Sun, 29 May 2016 15:38:26 +0200 |
parents | 82a0eef83db0 |
children | e932e6331f35 |
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 | |
88 | 48 type promotions (this is partly done, see todo-item above under 1.0) |
0 | 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 ------------ | |
89 | 67 - add SPARC and SPARC64 callback support |
0 | 68 - callback_plain's return value not correct anymore on NDS (maybe just broken testcode?) |
69 - add MIPS callbacks for eabi, n32, o32 (thunks are working) | |
21 | 70 - finish PPC32 callbacks (see bugs section, below, BSD not working) |
0 | 71 |
72 bindings: | |
73 --------- | |
74 - release bindings as standalone packages (already done for rbdc as a gem and rdyncall on cran) | |
75 * add note to documentation, where bindings are and that some bindings are svn-only ATM | |
76 - add rdoc documentation to ruby gem | |
77 - add pydoc for python | |
78 - add manpage for shdc | |
79 - expose callf-convenience functions to go | |
80 - add godoc for godc | |
81 - add javadoc to java | |
82 - add more bindings | |
83 - add callback support for erlang, go, java, lua, python and ruby (and shell? how?) | |
84 - add call-conv-mode-support for rbdc through signature | |
85 | |
86 manual: | |
87 ------- | |
88 - finish tex4ht manual generation (use \ifhtml and \ifnhtml, ...) | |
89 - provide more examples on how to use dyncall, dynload and dyncallback | |
90 * e.g. enhance manual with a couple of examples (e.g. calling MessageBoxA on windows, etc.) | |
91 - manuals for bindings (as stated in bindings-section, above) | |
92 | |
88 | 93 regressions: |
94 ------------ | |
0 | 95 - finish SPARC/SPARC64 calling conventions in doc's callconv-appendix !!! |
96 - Haiku/gmake build doesn't build dynload due to the fact, that elf.h is not found | |
97 on default installations (one has to install the system headers) | |
98 * add to doc | |
99 - Solaris/gmake build doesn't build dynload and tests anymore (maybe not even dyncallback) | |
100 - test arm32/ATPCS/THUMB (and then change Status in doc Appendix) | |
101 - look over code and fix TODO or @@@ marks | |
102 - add ppc-support to doc (both, 32 and 64, as well as little and big endian remarks) | |
103 | |
104 nice to have: | |
105 ------------- | |
106 - update: microsoft visual c++ build files - integrate all test suites in solution file | |
107 - consistency: on x64 platforms: make both ABIs available ('win64','sysv') for all x64 OS ports | |
108 - microsoft build enhancement: autodetect assembly via C preprocessor (like with .S gcc files) | |
109 - test/thunk: some platforms do not allow for allocation of executable code on heap and stack -- | |
110 currently this test will crash, maybe we should collect information which platforms allow and which not. | |
111 | |
112 bugs: | |
113 ----- | |
88 | 114 - setting callconv, specifically for platforms that have only one (default)) excepts on some |
6 | 115 platforms, eg. setting X64_sysv on amd64/Linux - keeping cdecl which is the same in |
88 | 116 this case, works (this should work now...) |
0 | 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 | |
88 | 124 - superh/j-core |
0 | 125 - 68k, 88k, 6502, etc. |
88 | 126 - arc |
0 | 127 - alpha |
128 - cell | |
129 - blackfin | |
88 | 130 - seaforth |
21 | 131 - s/390 |
0 | 132 - z80 |
133 - hppa | |
134 - vax | |
135 - atmel avr | |
136 - propeller | |
137 - amd29k | |
138 |