Mercurial > pub > dyncall > dyncall
annotate ToDo @ 88:82a0eef83db0
- cosmetics
author | cslag |
---|---|
date | Sun, 29 May 2016 15:36:32 +0200 |
parents | 0c8535820000 |
children | 0f7d00b73257 |
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 ------------ | |
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 | |
88 | 92 regressions: |
93 ------------ | |
0 | 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 ----- | |
88 | 113 - setting callconv, specifically for platforms that have only one (default)) excepts on some |
6 | 114 platforms, eg. setting X64_sysv on amd64/Linux - keeping cdecl which is the same in |
88 | 115 this case, works (this should work now...) |
0 | 116 - vararg function calls don't work for ARM THUMB mode (Daniel's new interface for modesetting for varag |
117 args should be used); adapt test/ellipsis and/or retest | |
118 | |
119 missing implementations (descending priority): | |
120 ---------------------------------------------- | |
121 - riscv | |
122 - itanium | |
88 | 123 - superh/j-core |
0 | 124 - 68k, 88k, 6502, etc. |
88 | 125 - arc |
0 | 126 - alpha |
127 - cell | |
128 - blackfin | |
88 | 129 - seaforth |
21 | 130 - s/390 |
0 | 131 - z80 |
132 - hppa | |
133 - vax | |
134 - atmel avr | |
135 - propeller | |
136 - amd29k | |
137 |