The R Project SVN R

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
25832 8375 d 23 h /branches/R-tcl-new/ This commit was manufactured by cvs2svn to create branch 'R-tcl-new'.  
20110 8807 d 22 h duncan /trunk/ Extended registration to allow types and in/out style qualifiers for parameters. Documentation on its way in the next few days. Packages that currently use the registration will need to be recompiled  
19500 8853 d 23 h hornik /trunk/ Use system header file '#include <foo.h>' for R API headers.  
15885 9091 d 20 h hornik /trunk/src/include/R_ext/ Change R_FOREIGN_H define to R_EXT_DYNLOAD_H_.  
14571 9179 d 21 h duncan /trunk/ R_FindSymbol takes an additional argument (R_RegisteredNativeSymbol *)
which is used to return the the definition of a registered symbol if
it is found. This can then be used to test the argument types, etc.

Problem with NAOK and DUP being passed onto C routines
rather than removed from the argument list.

Avoid registering certain routines:

eda
mva R_distance commented out




M NEWS
M src/include/R_ext/Rdynload.h
R_ExternalMethod
enum for NativeSymbolType
R_useDynamicSymbols() declaration
M src/include/R_ext/Rdynpriv.h
add External symbol definition & field in DllInfo
add useDynamicLookup flag
Rf_RegisteredNativeSymbol
M src/library/base/man/dynload.Rd
M src/library/ctest/src/init.c
extra argument for R_registerRoutines()
M src/library/eda/src/init.c
don't register C routines since NAOK passed to them
signals an error in number of arguments.
M src/library/lqs/src/lqs.c
extra argument for R_registerRoutines()
incorrect number of args declared for lqs_fitlots()
M src/library/modreg/src/init.c
extra argument for R_registerRoutines()
M src/library/mva/src/init.c
remove registration of R_distance() for NAOK & DUP argument problem.
M src/library/nls/src/nls.c
extra argument for R_registerRoutines()
M src/library/splines/src/splines.c
extra argument for R_registerRoutines()
M src/library/tcltk/src/tcltk_win.c
R_FindSymbol()
M src/library/ts/R/ar.yw.mts.R
extra (11th) argument in .C("multi_yw",...)
M src/library/ts/src/init.c
commented out registration of filter1() and filter2()

M src/main/RNG.c R_FindSymbol()
M src/main/Rdynload.c
added
R_useDynamicSymbols()
useDynamicLookup flag
R_addExternalRoutine()
extra argument to R_registerRoutines()
R_dlsym() takes R_RegisteredNativeSymbol* arg.
Rf_lookupRegisteredExternalSymbol

M src/main/dotcode.c
find the registered routine definition, if present
and perform checks.

M src/main/internet.c R_FindSymbol()
M src/main/lapack.c changed do_isloaded
M src/main/names.c do_isloaded() changes.
M src/main/vfonts.c R_FindSymbol()

M tests/primitive-funs.Rout.save
changes for is.loaded()
 
14178 9203 d 3 h duncan /trunk/src/ Declare the user-generated arguments to the routines for registering C and Fortran routines as being constant. This allows the user to declare the entire array of MethoDef elements a being constant and easier to verify code is thread-safe.  
14137 9205 d 3 h duncan /trunk/src/ Split AddDLL into load and register that can be called individually. Prompted by Byron Ellis for use with embedding R in a host application and accessing the symbols in the host's dlopen() handle.  
14102 9206 d 23 h duncan /trunk/src/include/R_ext/ Changed the void * to DL_FUNC in the method definitions  
14091 9207 d 11 h ripley /trunk/ add module vfonts  
14080 9208 d 3 h ripley /trunk/src/ indentation, copyright date (and missing headers), -Wall  
14077 9208 d 5 h duncan /trunk/src/ Merge the different dynload.c files into a common, platform-independent component (Rdynload.c) and platform-specific routines that perform the opening, closing and symbol resolution (in the dynload.c files). This makes the R_registerRoutines() available on all platforms (when the Mac is changed to use this). Packages include Rdynload.h. Rdynpriv.h is for the internal, platform-specific interface for dynamic loading. Works on Linux, Windows. Not yet on Mac  
13949 9214 d 4 h duncan /trunk/src/ An extension to the dynamic resolution of native symbols (C and Fortran routines) that allows the author of a shared library to register the routines rather than having them be located by the dynamic loading facility of the OS.