Changeset 276:9d67c3170a58

Show
Ignore:
Timestamp:
07/25/08 20:52:25 (4 years ago)
Author:
Frank Benoit <benoit@tionex.de>
Tags:

Release-1

branch:
default
Message:

Removed version=TANGOSVN for release 0.99.7

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/custom/DefaultContent.d

    r271 r276  
    2424import dwt.dwthelper.utils; 
    2525 
    26 version(TANGOSVN) { 
    27     static import tango.io.model.IFile; 
    28 
    29 else{ 
    30     static import tango.io.FileConst; 
    31 
     26static import tango.io.model.IFile; 
    3227static import tango.text.Text; 
    3328 
     
    3530 
    3631class DefaultContent : StyledTextContent { 
    37 version(TANGOSVN) { 
    3832    private final static String LineDelimiter = tango.io.model.IFile.FileConst.NewlineString; 
    39 } 
    40 else{ 
    41     private final static String LineDelimiter = tango.io.FileConst.FileConst.NewlineString; 
    42 } 
    4333 
    4434    StyledTextListener[] textListeners; // stores text listeners for event sending 
  • dwt/custom/StyledText.d

    r271 r276  
    8686static import tango.text.Text; 
    8787static import tango.text.Util; 
    88 version(TANGOSVN) { 
    89     static import tango.io.model.IFile; 
    90 
    91 else{ 
    92     static import tango.io.FileConst; 
    93 
     88static import tango.io.model.IFile; 
    9489static import tango.text.convert.Utf; 
    9590import tango.util.Convert; 
     
    158153 
    159154    static const char TAB = '\t'; 
    160 version(TANGOSVN){ 
    161155    static const String PlatformLineDelimiter = tango.io.model.IFile.FileConst.NewlineString; 
    162 } 
    163 else { 
    164     static const String PlatformLineDelimiter = tango.io.FileConst.FileConst.NewlineString; 
    165 } 
    166156    static const int BIDI_CARET_WIDTH = 3; 
    167157    static const int DEFAULT_WIDTH  = 64; 
  • dwt/dwthelper/ByteArrayOutputStream.d

    r271 r276  
    77import dwt.dwthelper.utils; 
    88import tango.io.Buffer; 
    9 version(TANGOSVN) { 
    10     import tango.io.Buffer; 
    11 } 
    12 else{ 
    13     import tango.io.GrowBuffer; 
    14 } 
    159 
    1610public class ByteArrayOutputStream : dwt.dwthelper.OutputStream.OutputStream { 
  • dwt/dwthelper/File.d

    r271 r276  
    66import dwt.dwthelper.utils; 
    77 
    8 version(TANGOSVN) { 
    9     static import tango.io.model.IFile; 
    10 
    11 else{ 
    12     static import tango.io.FileConst; 
    13 
     8static import tango.io.model.IFile; 
    149static import tango.io.FilePath; 
    1510static import tango.io.FileSystem; 
     
    2520 
    2621    static this(){ 
    27 version(TANGOSVN) { 
    2822        separator = tango.io.model.IFile.FileConst.PathSeparatorString; 
    2923        separatorChar = tango.io.model.IFile.FileConst.PathSeparatorChar; 
    3024        pathSeparator = tango.io.model.IFile.FileConst.SystemPathString; 
    3125        pathSeparatorChar = tango.io.model.IFile.FileConst.SystemPathChar; 
    32 } 
    33 else{ 
    34         separator = tango.io.FileConst.FileConst.PathSeparatorString; 
    35         separatorChar = tango.io.FileConst.FileConst.PathSeparatorChar; 
    36         pathSeparator = tango.io.FileConst.FileConst.SystemPathString; 
    37         pathSeparatorChar = tango.io.FileConst.FileConst.SystemPathChar; 
    38 } 
    3926    } 
    4027 
  • dwt/dwthelper/InflaterInputStream.d

    r271 r276  
    88import tango.io.Stdout; 
    99import tango.io.compress.ZlibStream; 
    10 version(TANGOSVN) { 
    11     import tango.io.Conduit; 
    12 
     10import tango.io.Conduit; 
     11 
    1312class InputStreamWrapper : tango.io.model.IConduit.InputStream { 
    1413 
     
    2322        return res; 
    2423    } 
    25 version(TANGOSVN) { 
     24 
    2625    void[] load (void[] dst = null) { 
    2726            return Conduit.load (this, dst); 
    2827    } 
    29 } 
    30  
    3128 
    3229    tango.io.model.IConduit.InputStream clear (){ 
  • dwt/dwthelper/utils.d

    r271 r276  
    150150 
    151151    public static String toHexString( int i ){ 
    152 version(TANGOSVN) { 
    153152        return tango.text.convert.Integer.toString(i, "x" ); 
    154 } 
    155 else{ 
    156         return tango.text.convert.Integer.toString(i, tango.text.convert.Integer.Style.Hex ); 
    157 } 
    158153    } 
    159154 
    160155    public static String toOctalString( int i ){ 
    161 version(TANGOSVN) { 
    162156        return tango.text.convert.Integer.toString(i, "o" ); 
    163 } 
    164 else{ 
    165         return tango.text.convert.Integer.toString(i, tango.text.convert.Integer.Style.Octal ); 
    166 } 
    167157    } 
    168158 
    169159    public static String toBinaryString( int i ){ 
    170 version(TANGOSVN) { 
    171160        return tango.text.convert.Integer.toString(i, "b" ); 
    172 } 
    173 else{ 
    174         return tango.text.convert.Integer.toString(i, tango.text.convert.Integer.Style.Binary ); 
    175 } 
    176161    } 
    177162 
     
    651636 
    652637static String toHex(uint value, bool prefix = true, int radix = 8){ 
    653 version(TANGOSVN) { 
    654638    return tango.text.convert.Integer.toString( 
    655639            value, 
     
    658642            radix is 16 ? "x" : 
    659643                          "d" ); 
    660 } 
    661 else{ 
    662     return tango.text.convert.Integer.toString( 
    663             value, 
    664             radix is 10 ? tango.text.convert.Integer.Style.Signed : 
    665             radix is  8 ? tango.text.convert.Integer.Style.Octal  : 
    666             radix is 16 ? tango.text.convert.Integer.Style.Hex    : 
    667                           tango.text.convert.Integer.Style.Signed, 
    668             prefix ? tango.text.convert.Integer.Flags.Prefix : tango.text.convert.Integer.Flags.None 
    669             ); 
    670 } 
    671644} 
    672645 
  • dwt/widgets/DirectoryDialog.d

    r271 r276  
    2424import dwt.widgets.Display; 
    2525 
    26 version(TANGOSVN) { 
    27     static import tango.io.model.IFile; 
    28 
    29 else{ 
    30     static import tango.io.FileConst; 
    31 
     26static import tango.io.model.IFile; 
    3227static import tango.text.Util; 
    3328 
     
    5247public class DirectoryDialog : Dialog { 
    5348    String message = "", filterPath = ""; 
    54 version(TANGOSVN) { 
    5549    static const String SEPARATOR = tango.io.model.IFile.FileConst.PathSeparatorString; 
    56 } 
    57 else{ 
    58     static const String SEPARATOR = tango.io.FileConst.FileConst.PathSeparatorString; 
    59 } 
    6050 
    6151/** 
  • dwt/widgets/FileDialog.d

    r271 r276  
    2323import dwt.dwthelper.utils; 
    2424 
    25 version(TANGOSVN) { 
    26     static import tango.io.model.IFile; 
    27 
    28 else{ 
    29     static import tango.io.FileConst; 
    30 
     25static import tango.io.model.IFile; 
    3126static import tango.text.Util; 
    3227static import tango.text.Text; 
     
    6257    bool overwrite = false; 
    6358    GtkWidget* handle; 
    64 version(TANGOSVN) { 
    6559    static final char SEPARATOR = tango.io.model.IFile.FileConst.PathSeparatorChar; 
    66 } 
    67 else{ 
    68     static final char SEPARATOR = tango.io.FileConst.FileConst.PathSeparatorChar; 
    69 } 
    7060    static final char EXTENSION_SEPARATOR = ';'; 
    7161