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
46659 6501 d 6 h murdoch /branches/djm-parseRd/ Create temporary branch for Rd parsing code.  
46128 6574 d 5 h jmc /trunk/ changes to allow S4 classes to extend S3 classes  
45667 6651 d 7 h ripley /trunk/src/main/ remove old comments on i18n if no longer relevant  
45446 6670 d 7 h ripley /trunk/src/main/ whitespace cleanup  
44195 6755 d 23 h ripley /trunk/src/ some uses of (void) where possible  
42675 6908 d 7 h ripley /trunk/src/main/ tidy up, add comment  
42307 6942 d 10 h ripley /trunk/src/ change reference to GPL  
42292 6943 d 14 h ripley /trunk/src/ We do need to promiseArgs before calling closures from R_possible_dispatch
(a failure to duplicate was seen in the wild).

Change log() to mimic former interpreted wrapper and an treat missing 'base'
as not supplied.

Change round() and digits() to treat missing 'digits' as not supplied.
 
42110 6964 d 12 h maechler /trunk/src/ + R_getClassDef() C function  
41901 6987 d 11 h ripley /trunk/src/ use void* for generic memory pointers
add back-compatibility to R_AllocStringBuffer, with a warning
 
41856 6991 d 0 h ripley /trunk/src/ remove non-existent/commented-out functions  
41825 6992 d 4 h ripley /trunk/src/main/ wrap .Internal and primitive calls in setting vmax to avoid leaks.  
41784 6995 d 10 h ripley /trunk/src/ more 'const char *'  
41771 6996 d 13 h ripley /trunk/src/ sort out some more of the problems with r41767  
41713 7003 d 4 h ripley /trunk/src/main/ improvements to error messages  
41686 7005 d 6 h ripley /trunk/ more improvements to warning/error messages  
41631 7009 d 14 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
 
41613 7010 d 9 h ripley /trunk/ add arguments to warn on partial matching  
41367 7030 d 5 h ripley /trunk/ port r41366 (avoid segfault in UseMethod)  
41280 7035 d 9 h ripley /trunk/ confine dispatch in %*% to S4 object and that op.
use FALSE values in .BasicFunsList to indicate that S4 methods cannot be set
 
41270 7036 d 14 h ripley /trunk/ remove R_seemsS4Object, as it was not quite right (S4SXP, no S4 bit?)

move warning for old-style S4 object to C-level, so it is used when
restoring workspace.
 
41250 7038 d 12 h ripley /trunk/src/ tidy up  
41111 7048 d 6 h ripley /trunk/src/main/ standard indentation  
40724 7102 d 10 h ripley /trunk/src/main/ do not use strlen() to check for zero length.  
40705 7104 d 12 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40245 7160 d 16 h ripley /trunk/ revert UseMethod to special to avoid extra contexts on profiling.  
40236 7161 d 9 h ripley /trunk/src/main/ UseMethod and unlist can be builtins  
40090 7178 d 3 h ripley /trunk/ port trace() fix from R-2-4-branch
more R_Visibility fixes (not yet complete)
 
39866 7196 d 6 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.
 
39508 7245 d 8 h ripley /trunk/src/ clarifications on how NextMethod works, typo.  
39348 7254 d 12 h ripley /trunk/src/ migrate R_get_primitive from methods to base, add sanity check  
39232 7260 d 5 h ripley /trunk/src/ centralize check for stack imbalance  
39103 7266 d 3 h jmc /trunk/src/ make IS_S4_OBJECT and friends work with strict barrier  
39077 7267 d 4 h jmc /trunk/ introduce S4 object bit and document it  
39073 7267 d 14 h ripley /trunk/ change handling of empty args in builtins  
39032 7270 d 13 h ripley /trunk/ back out r39025 at Robert's request  
39025 7270 d 14 h ripley /trunk/ make stack imbalance an error  
39016 7271 d 6 h jmc /trunk/ Changes to methods and class management  
38982 7276 d 7 h ripley /trunk/src/main/ change commnet  
38913 7284 d 6 h ripley /trunk/ NextMethod assumed .Method was set, which it will not be if a method
is called directly (and model.matrix.lm was in package mmlcr).