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
47757 6389 d 19 h jmc /branches/R-classInheritance/ create branch for class inheritance  
45667 6651 d 6 h ripley /trunk/src/main/ remove old comments on i18n if no longer relevant  
44282 6752 d 0 h urbaneks /trunk/src/main/ fix strptime misoptimization crash  
42326 6941 d 8 h ripley /trunk/src/main/ update GPL address  
42307 6942 d 9 h ripley /trunk/src/ change reference to GPL  
40951 7059 d 20 h ripley /trunk/ bug fix in ansari.test
avoid symbol clash in AIX 5.3 headers
 
39866 7196 d 5 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.
 
37398 7462 d 7 h ripley /trunk/ always use R's internal strptime.
this allows examples of the use of fractional seconds.
 
37397 7462 d 9 h ripley /trunk/src/main/ isspace can be a macro, and is on Solaris  
37395 7463 d 1 h ripley /trunk/ option "digits.secs" to control printing of fractional seconds.
Allow %OS to be used on input when Rstrptime.h is in use.
 
36820 7524 d 2 h ripley /trunk/ update FSF address  
34182 7753 d 2 h ripley /trunk/ cache locale settings. Put Rstrptime.h in POTFILES  
33401 7818 d 21 h ripley /trunk/src/main/ avoid gcc4 complaint  
32677 7862 d 2 h ripley /trunk/src/ define and use mbcslocale  
32624 7864 d 22 h ripley /trunk/src/ make with SUPPORT_MBCS sections that can in principle support any
MBCS, not just UTF-8.
 
32574 7868 d 1 h ripley /trunk/src/ try to silence warnings on various platforms  
32536 7870 d 0 h ripley /trunk/ Internationalize Rstrptime.h  
32535 7870 d 1 h ripley /trunk/src/main/ fix non-SUPPORT_UTF8 case too  
32534 7870 d 1 h ripley /trunk/src/main/ UTF-8 fix  
32380 7880 d 2 h ripley /trunk/src/ add notes about compatibility with UTF-8
clarify on help pages nbytes/nchars differences
 

Show All