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
42208 6955 d 8 h murdoch /branches/djm-source/ Recreate branch from trunk  
41894 6989 d 6 h ripley /trunk/ deriv was returning double not int dims
make use of mkString and ScalarXXX to simplify code
 
41807 6993 d 5 h rgentlem /trunk/ patches from Seth F for the CHARSXP hashing changes
Seth says:
const char fixes

CHAR() internal macro now returns (const char *)

Add CHAR_RW: writable CHARSXP access for internal R use only

const char fixes for methods package

Add NEWS item and some doc to R-ext for CHARSXP changes
 
40947 7060 d 4 h ripley /trunk/src/ workaround for PR#9572  
40871 7067 d 9 h ripley /trunk/ fix for PR#9577  
40419 7138 d 23 h ripley /trunk/ allow min/max/range to handle character data.
small change to message to allows messages without \n (more to come)
update some copyright dates
 
40412 7139 d 10 h ripley /trunk/ copy 'tz' to object if set in strptime  
40406 7139 d 12 h ripley /trunk/src/main/ to find isdst correctly we need to set the timezone:
will not work correctly on Windows with named timezones (but little does)
 
40404 7139 d 13 h ripley /trunk/src/main/ typo in last change  
40403 7139 d 13 h ripley /trunk/src/ don't make use of unsetenv value as FreeBSD does not have it,
but test afterwards.
 
40401 7139 d 22 h urbaneks /trunk/src/main/ Request POSIX 1003.1-2001 on OS X to get correct unsetenv  
40392 7142 d 9 h ripley /trunk/src/ tweaks to environment variables  
40391 7142 d 10 h ripley /trunk/src/main/ update for unstenv substitutes and for preference for setenv.  
39866 7196 d 7 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.
 
39051 7269 d 9 h ripley /trunk/src/ set UTC on as.POSIXlt conversion of "Date".  
37745 7410 d 13 h ripley /trunk/src/main/ Windows workaround  
37439 7457 d 4 h ripley /trunk/src/ more tweaks for fractional seconds  
37398 7462 d 9 h ripley /trunk/ always use R's internal strptime.
this allows examples of the use of fractional seconds.
 
37395 7463 d 3 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.
 
37334 7469 d 14 h ripley /trunk/ more support for fractional seconds in date-time classes  

Show All