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
52864 5807 d 20 h urbaneks /branches/R-exp-R5/ Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system
 
50880 6051 d 19 h ripley /trunk/src/main/ control lifetime of translateChar in loops  
45667 6652 d 0 h ripley /trunk/src/main/ remove old comments on i18n if no longer relevant  
44986 6694 d 18 h ripley /trunk/ new interface for marked encodings  
44500 6736 d 5 h ripley /trunk/src/ more use of pointer types
use const with pGEcontext
 
44301 6751 d 3 h ripley /trunk/src/ introduce pGEcontext  
44285 6752 d 16 h ripley /trunk/ use pGEDevDesc as pointer type.
remove unused do_replay.
don't set dd->open on devices (unused) nor newDevStruct.
tidy up duplication in header files.
 
44249 6754 d 2 h ripley /trunk/src/ reduce use of Graphics.h where unneeded
split out color stuff to Colors.h
 
44158 6758 d 14 h ripley /trunk/ more work on graphics, change font default on contour  
43932 6773 d 2 h ripley /trunk/src/ move re-encoding of graphics text to engine/vfonts level.
This allows Hershey Latin-1 to work in other 8-bit locales.
 
43926 6774 d 2 h ripley /trunk/src/ pass encoding down to graphics engine (and eventually to device)  
43924 6774 d 14 h ripley /trunk/src/ clean up Hershey font handling  
43918 6774 d 21 h ripley /trunk/ bug fixes in Hershey  
42307 6943 d 3 h ripley /trunk/src/ change reference to GPL  
41960 6982 d 8 h ripley /trunk/src/main/ more attribute_hidden  
41875 6991 d 0 h ripley /trunk/src/ tidy up the treatment of vfonts (including removing duplicate declarations)  
41784 6996 d 3 h ripley /trunk/src/ more 'const char *'  
39866 7196 d 23 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 7279 d 7 h ripley /trunk/src/ more tidying up of entry points  
37968 7391 d 0 h ripley /trunk/src/ fixup Hershey Cyrillic to work in UTF-8 etc  

Show All