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 3 h murdoch /branches/djm-source/ Recreate branch from trunk  
42014 6975 d 19 h ripley /trunk/ missing protects when creating a list matrix in [cr]bind  
41996 6977 d 4 h ripley /trunk/src/main/ clarify code  
41899 6987 d 9 h ripley /trunk/ tidy up and document R_AllocStringBuffer
make use of it, or tidy up usage
 
41784 6995 d 7 h ripley /trunk/src/ more 'const char *'  
41715 7002 d 10 h ripley /trunk/ improvements to error/warning messages  
41712 7003 d 3 h ripley /trunk/ add experimental showCalls option.
improvements to layout of error messages, and to some messages.
 
41686 7005 d 3 h ripley /trunk/ more improvements to warning/error messages  
41680 7005 d 7 h ripley /trunk/ improvements to the handling of warning/error messages  
41631 7009 d 10 h ripley /trunk/src/ work on inlining
- allow C99 model
- use static inlining in units where function is used a lot
export isS4, asS4 (don't use them internally, rather macros)
work around an optimization bug in currnt gcc pre-4.3.0
 
41495 7019 d 19 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
 
40718 7103 d 20 h ripley /trunk/src/main/ safer code  
40705 7104 d 9 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40236 7161 d 6 h ripley /trunk/src/main/ UseMethod and unlist can be builtins  
40093 7177 d 21 h ripley /trunk/ tidy up  
40091 7177 d 22 h ripley /trunk/src/main/ more R_Visible tweaks  
40090 7177 d 23 h ripley /trunk/ port trace() fix from R-2-4-branch
more R_Visibility fixes (not yet complete)
 
39866 7196 d 2 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.
 
38957 7278 d 11 h ripley /trunk/src/ more tidying up of entry points  
38956 7278 d 20 h ripley /trunk/ do_bind was not using R_LookupMethod and hence missing registered methods  

Show All