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 4 h murdoch /branches/djm-source/ Recreate branch from trunk  
41807 6993 d 1 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
 
41784 6995 d 8 h ripley /trunk/src/ more 'const char *'  
41715 7002 d 10 h ripley /trunk/ improvements to error/warning messages  
41713 7003 d 1 h ripley /trunk/src/main/ improvements to error messages  
41712 7003 d 4 h ripley /trunk/ add experimental showCalls option.
improvements to layout of error messages, and to some messages.
 
41688 7004 d 22 h ripley /trunk/ more tweaks to warnings  
41686 7005 d 4 h ripley /trunk/ more improvements to warning/error messages  
41535 7017 d 1 h ripley /trunk/ more startup performance improvements  
41532 7017 d 5 h ripley /trunk/src/ some tidying up: do_delay is no longer used  
41412 7026 d 7 h ripley /trunk/ name import environments, for convenience  
40705 7104 d 9 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40672 7108 d 9 h ripley /trunk/ start marking encoding of CHARSXPs  
40668 7109 d 23 h ripley /trunk/ make use of NAMED in expression()  
40581 7121 d 15 h rgentlem /trunk/ patched new.env to allow users to specify the size, plus a few
tidying up operations
 
40329 7149 d 4 h ripley /trunk/ teach args() and print() about the argument lists of (most) primitives.  
40012 7182 d 23 h ripley /trunk/ add environmentName.
add test for integrity of datasets using str().
tidy up str() and the environments on the system datasets.
 
39866 7196 d 3 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.
 
38994 7274 d 2 h ripley /trunk/ make rep() a primitive, with internal dispatch, for speed  
38681 7310 d 10 h ripley /trunk/src/main/ use memset for initializations
use R-core indentation
 

Show All