Changeset 129:ae94c6a65f9e

Show
Ignore:
Timestamp:
07/25/08 20:47:41 (4 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Removed version=TANGOSVN for release 0.99.7

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • examples/clipboard/ClipboardExample.d

    r123 r129  
    4646import tango.io.Stdout; 
    4747version(JIVE) import jive.stacktrace; 
    48 version(TANGOSVN){ 
    49     import tango.io.model.IFile; 
    50 
    51 else{ 
    52     import tango.io.FileConst; 
    53 
     48import tango.io.model.IFile; 
     49 
    5450class ClipboardExample { 
    5551    static const int SIZE = 60; 
     
    303299                         //copyFileTable.removeAll(); 
    304300                         //This cannot be used 
    305 version(TANGOSVN){ 
    306301                         auto separator = tango.io.model.IFile.FileConst.PathSeparatorString; 
    307 } 
    308 else{ 
    309                          auto separator = tango.io.FileConst.FileConst.PathSeparatorString; 
    310 } 
    311302                         auto path = dialog.getFilterPath(); 
    312303                         auto names = dialog.getFileNames(); 
  • jface/FileTreeViewer.d

    r111 r129  
    3636//------------------------------------ 
    3737 
    38 version(TANGOSVN){ 
    3938import tango.io.FileSystem; 
    40 } 
    41 else{ 
    42 import tango.io.FileRoots; 
    43 } 
    4439import tango.io.FilePath; 
    4540import tango.util.log.Trace; 
     
    134129        Object[] res; 
    135130 
    136 version(TANGOSVN){ 
    137131        foreach( root; FileSystem.roots()){ 
    138132            // ignore floppy drives, they bring up strange error messages 
     
    142136            res ~= new FilePath( root ); 
    143137        } 
    144 } 
    145 else{ 
    146         foreach( root; FileRoots.list()){ 
    147             // ignore floppy drives, they bring up strange error messages 
    148             if( root == `A:\`|| root == `B:\` ){ 
    149                 continue; 
    150             } 
    151             res ~= new FilePath( root ); 
    152         } 
    153 } 
    154138        return res; 
    155139    } 
  • snippets/tree/Snippet8.d

    r120 r129  
    3232import dwt.dwthelper.utils; 
    3333import tango.io.FilePath; 
    34 version(TANGOSVN){ 
    3534import tango.io.FileSystem; 
    36 } 
    37 else{ 
    38 import tango.io.FileRoots; 
    39 } 
    4035 
    4136void main () { 
     
    4540    shell.setLayout (new FillLayout ()); 
    4641    auto tree = new Tree (shell, DWT.BORDER); 
    47 version(TANGOSVN){ 
    4842    auto roots = FileSystem.roots(); 
    49 } 
    50 else{ 
    51     auto roots = FileRoots.list(); 
    52 } 
    5343    foreach (file; roots) { 
    5444        auto root = new TreeItem (tree, 0);