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
41713 7004 d 9 h ripley /trunk/src/main/ improvements to error messages  
41686 7006 d 11 h ripley /trunk/ more improvements to warning/error messages  
41495 7021 d 4 h rgentlem /trunk/src/ a large number of changes to alter the behavior of CHARSXPs so that
they are unique and hashed. This will have some effect on run time, but
for any application which uses a lot of names (like big arrays with
row or column names) the savings are often impressive
 
41002 7058 d 6 h jmc /trunk/ use DUPLICATE_ATTRIB instead of SET_ATTRIB to copy object, S4 bits correctly  
40711 7105 d 9 h ripley /trunk/src/ ENCODING arg to .C/.Fortran has been there since 2.1.0, but never documented.  
40705 7105 d 17 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40034 7182 d 16 h ripley /trunk/src/main/ workaround a gcc -pedantic warning  
39866 7197 d 11 h duncan /trunk/src/ The following are half the files changed to compile R with C++.
These are the simple, safe changes that keep the stricter compiler happy.

Change variable new to _new, class to klass, this to This or _this, template to Template, not to Not.
Remove some duplicate routine declarations.
Modernize some K&R routine parameter definitions.
Make explicit the signature for some routine pointer types.
Declare mode in creating connection as a const char * const.
Correct some routine declarations.
Add a throw to some routine definitions if in C++ to match built-in definitions.
Made the Clinkage explicit for rwarnc, rexitc. Use enum labels/constants where necessary.

The goals of using g++ are
a) to use a stricter compiler to discover anomolies in our code,
b) be able to use g++ -fdump-translation-unit so that we can more readily
do code analysis on the routines, variables, expressions and at the very
least allow me to identify the use of global variables automatically
and propose refactoring strategies,
c) to explore the pros and cons of using an Object Oriented programming
language C++ as the base language to get extensibility at the system level
and take advantage of some higher-level language features such as exceptions.
 
38705 7305 d 18 h ripley /trunk/src/ remove some unused entry points, take others static.
add prefixes to graphapp and some graphics entry points
improve the use of / <--> \ conversions under Windows
 
38581 7321 d 14 h ripley /trunk/ eliminate dangerous use of VECTOR_PTR (that would break the write barrier)  
38550 7323 d 0 h tlumley /trunk/src/ tracemem tracks copies through arithmetic/math functions, coercion.  
37711 7414 d 10 h ripley /trunk/ improvements to mapping of foreign symbols  
36990 7509 d 3 h ripley /trunk/ reduce the number of visible symbols in libR.so from 1806 to 1136  
36903 7516 d 23 h duncan /trunk/ Documented the return type for getNativeSymbolInfo() under different values for withRegistrationInfo. Added withRegistrationInfo to NEWS. And cleaned up duplicate declarations of R_dlsym.  
36902 7516 d 23 h duncan /trunk/src/ Registration information now also available from getNativeSymbolInfo() and used in the loadNamespace() call when loading a library and creating R symbols for the routines.  
36820 7525 d 8 h ripley /trunk/ update FSF address  
36489 7549 d 13 h ripley /trunk/src/ move Defn.h up  
36047 7580 d 4 h ripley /trunk/ try to make is.loaded work more like .C etc in looking up symbols.
increase name length for cached symbols as methods seems fond of ca 30 chars
 
35948 7587 d 8 h ripley /trunk/src/ SUPPORT_MBCS now implies working iconv  
35488 7632 d 9 h murdoch /trunk/src/main/ More information in load error messages from .C and .Fortran  

Show All