annotate R/rdyncall/TODO @ 37:8c8f848131c6

- version bump - better doc - made calling convention mode reset by default, as only way to specify convention used is via signature string
author Tassilo Philipp
date Mon, 13 Apr 2020 20:08:54 +0200
parents 0cfcc391201f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 TODO:
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 - update manual
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 - document new dynports
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 - check signature format markup (.dyncall)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 - updates from dyncall (compare svn 1284 -> 1381)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 - name mangling R <-> C ... exchange the first '_' in C -> '.' in R.
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 - feature: support for function pointers arguments,
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 if R closure is passed, auto wrap function a callback object
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 the callback object is appended in a global list
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 - bugfix for using callconv prefixes via .dyncall and not .dyncall.*.
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 using a different callvm for .dyncall that may be setup via prefixes and
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 resets to default always.
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 - test R build on solaris and sparc(64).
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 - document win32 expat binary installation
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 - callbacks should fail with "not yet implemented" on unsupported platforms
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 - use raw vectors for 1-to-1 bit encoding of values e.g. raw(8) for (u)int64 values
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 - handling of Csingle attribute on double vectors
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 - character encoding support, R supports UTF-8.
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 - Fortran calling conventions
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 - attr("struct") -> attr("CType")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 - parseStructInfos -> cstruct
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 - parseUnionInfos -> cunion
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 - .dyncall typed pointer
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 - as.struct -> as.ctype
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 - new.struct -> cdata
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 - new.callback -> cfunction
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 - planed dynports:glut, curl, openal
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 BUGS:
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 - OpenBSD 4.8/amd64: SDL failed due to pthread.
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 R version on OpenBSD does not provide a shared R library, thus
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 the symbols are not resolvable.
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 Additional Test for resolving self:
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 While .dynsym(as.extptr(NULL), "R_ShowMessage") works on Mac OS X, it fails on OpenBSD.
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 - demo(ttf) failed on Mac OS X 10.6
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37