Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3779

Show
Ignore:
Timestamp:
07/21/08 08:49:59 (5 months ago)
Author:
larsivi
Message:

Merging [3768]:[3778] into 0.99.7 release

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/next/0.99.7/dsss.conf

    r3199 r3779  
    1111    $DSSS_BUILD -obj -explicit lib/common/tango/core/Exception.d -fintfc-file=tango/core/Exception.di ; \ 
    1212    $DSSS_BUILD -obj -explicit lib/common/tango/core/Memory.d -fintfc-file=tango/core/Memory.di ; \ 
    13     $DSSS_BUILD -obj -explicit lib/common/tango/core/Runtime.d -fintfc-file=tango/core/Runtime.di ; \ 
    14     $DSSS_BUILD -obj -explicit lib/common/tango/core/Thread.d -fintfc-file=tango/core/Thread.di ;  
     13    $DSSS_BUILD -obj -explicit lib/common/tango/core/Runtime.d -fintfc-file=tango/core/Runtime.di ;  
    1514} else version (DigitalMars) { 
    1615    prebuild = $DSSS_BUILD -obj -explicit lib/common/tango/core/BitManip.d -Hftango/core/BitManip.di ; \ 
     
    3332 
    3433[tango/sys] 
    35 exclude = tango/sys/linux/* tango/sys/darwin/* tango/sys/win32/* tango/sys/freebsd/* 
     34exclude = tango/sys/linux/* tango/sys/darwin/* tango/sys/freebsd/* 
    3635exclude += tango/sys/TimeConverter.d 
     36exclude += tango/sys/win32/Type.di 
     37exclude += tango/sys/win32/UserGdi.di 
     38exclude += tango/sys/win32/Process.di 
     39exclude += tango/sys/win32/Macros.di 
    3740 
    3841version (linux) { 
     
    7073[tango/time] 
    7174 
    72 [tango/group] 
     75[+std] 
     76preinstall = install std/intrinsic.di $INCLUDE_PREFIX/std ; \ 
     77    install std/stdarg.di $INCLUDE_PREFIX/std ; \ 
     78    install std/c/stdarg.di $INCLUDE_PREFIX/std/c 
    7379 
    74 [+std] 
    75 preinstall = installdir std $INCLUDE_PREFIX/std 
  • branches/next/0.99.7/install/windows/switch.d

    r3646 r3779  
    2626    { 
    2727        if(useMessageBoxes) 
    28             MessageBoxA(null, cast(ubyte*) toStringz(msg), cast(ubyte*) "Tango Switch utility\0", 0); 
     28            MessageBoxA(null, toStringz(msg), "Tango Switch utility\0", 0); 
    2929        else 
    3030            printf("%s\n", toStringz(msg)); 
     
    9494        } 
    9595         
    96         MoveFileA(cast(ubyte*) toStringz(targetConf), cast(ubyte*) toStringz(tangoConf));   // backup the Tango Build config 
    97         MoveFileA(cast(ubyte*) toStringz(phobosConf), cast(ubyte*) toStringz(targetConf));  // put Phobos's Build config in place 
     96        MoveFileA(toStringz(targetConf), toStringz(tangoConf));   // backup the Tango Build config 
     97        MoveFileA(toStringz(phobosConf), toStringz(targetConf));  // put Phobos's Build config in place 
    9898         
    99         if (!CopyFileA(cast(ubyte*) toStringz(phobosLib), cast(ubyte*) toStringz(targetLib), false)) 
     99        if (!CopyFileA(toStringz(phobosLib), toStringz(targetLib), false)) 
    100100            showMessage("Error: Could not find " ~ phobosLib); 
    101101        else 
     
    111111        } 
    112112         
    113         MoveFileA(cast(ubyte*) toStringz(targetConf), cast(ubyte*) toStringz(phobosConf));  // backup the Phobos Build config 
    114         MoveFileA(cast(ubyte*) toStringz(tangoConf), cast(ubyte*) toStringz(targetConf));   // put Tango's Build config in place 
     113        MoveFileA(toStringz(targetConf), toStringz(phobosConf));  // backup the Phobos Build config 
     114        MoveFileA(toStringz(tangoConf), toStringz(targetConf));   // put Tango's Build config in place 
    115115         
    116         if (!CopyFileA(cast(ubyte*) toStringz(tangoLib), cast(ubyte*) toStringz(targetLib), false)) 
     116        if (!CopyFileA(toStringz(tangoLib), toStringz(targetLib), false)) 
    117117            showMessage("Error: Could not find " ~ tangoLib); 
    118118        else 
  • branches/next/0.99.7/tango/io/model/IConduit.d

    r3471 r3779  
    1313 
    1414module tango.io.model.IConduit; 
    15  
    16 public import tango.io.model.IBuffer; 
    1715 
    1816/******************************************************************************* 
  • branches/next/0.99.7/tango/text/convert/Layout.d

    r3691 r3779  
    1515 
    1616        Layout can be customized via configuring various handlers and 
    17         associated meta-date. This is utilized to plug in text.locale 
     17        associated meta-data. This is utilized to plug in text.locale 
    1818        for handling custom formats, date/time and culture-specific 
    1919        conversions. 
     
    3333private import  Float  = tango.text.convert.Float, 
    3434                Integer = tango.text.convert.Integer; 
     35 
     36private import  tango.io.model.IConduit : OutputStream; 
    3537 
    3638/******************************************************************************* 
     
    144146        { 
    145147                return convert (sink, _arguments, _argptr, formatStr); 
     148        } 
     149 
     150        /********************************************************************** 
     151 
     152            Tentative convert using an OutputStream as sink - may still be 
     153            removed. 
     154 
     155            Since: 0.99.7 
     156 
     157        **********************************************************************/ 
     158 
     159        public final uint convert (OutputStream output, T[] formatStr, ...) 
     160        { 
     161                return convert (cast(Sink) &output.write, _arguments, _argptr, formatStr); 
    146162        } 
    147163 
     
    901917                auto layout = new Layout!(char); 
    902918 
     919                layout.convert (Cout.stream, "hi {}", "there\n"); 
     920 
    903921                Cout (layout.sprint (new char[1], "hi")).newline; 
    904922                Cout (layout.sprint (new char[10], "{.4}", "hello")).newline;