annotate ToDo @ 86:0c8535820000

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