digitalmars.D.dwt - Errors building dwt with latest tango
- Bill Baxter (29/29) Jun 30 2008 This is with the latest SVN tango
- Frank Benoit (5/7) Jun 30 2008 It is much easier to support the tango release instead of tango svn
- Bill Baxter (4/13) Jun 30 2008 Bummer. I guess I'll just try to figure out how to roll back the
- Lars Ivar Igesund (7/22) Jun 30 2008 It didn't use to ...
- Bill Baxter (13/30) Jun 30 2008 I'm not sure what it did, but it gave lots of errors.
- torhu (3/36) Jun 30 2008 I think both errors will go away if you go back to 1.027. Are you sure
- Bill Baxter (3/12) Jun 30 2008 Any chance you could send me the hg bundle of those changes?
- Frank Benoit (3/6) Jun 30 2008 Sure. But i have them not here at the moment, so it will be tomorrow.
- Tower Ty (1/1) Jun 30 2008 About time you guys sorted out the schemozzle.
- Bill Baxter (4/6) Jun 30 2008 It is sorted out for people using the officially recommended and
- Bill Baxter (8/16) Jun 30 2008 Ok, well the fix doesn't seem to be complicated, so the issue was just
- Frank Benoit (137/137) Jul 01 2008 Yes, here is the fix i used for dwt-linux, i hope this works from the we...
This is with the latest SVN tango Don't have time to look into these at the moment, but maybe later tonight. dwt\dwthelper\utils.d(152): Error: undefined identifier module Integer.Style dwt\dwthelper\utils.d(152): Error: no property 'Hex' for type 'void' dwt\dwthelper\utils.d(152): function tango.text.convert.Integer.toString (long,char[]) does not match parameter types (int,int) dwt\dwthelper\utils.d(152): Error: cannot implicitly convert expression (1) of type int to char[] dwt\dwthelper\utils.d(152): Error: cannot cast int to char[] dwt\dwthelper\utils.d(152): Error: integral constant must be scalar type, not char[] dwt\dwthelper\utils.d(156): Error: undefined identifier module Integer.Style dwt\dwthelper\utils.d(156): Error: no property 'Octal' for type 'void' dwt\dwthelper\utils.d(156): function tango.text.convert.Integer.toString (long,char[]) does not match parameter types (int,int) dwt\dwthelper\utils.d(156): Error: cannot implicitly convert expression (1) of type int to char[] dwt\dwthelper\utils.d(156): Error: cannot cast int to char[] dwt\dwthelper\utils.d(156): Error: integral constant must be scalar type, not char[] dwt\dwthelper\utils.d(160): Error: undefined identifier module Integer.Style dwt\dwthelper\utils.d(160): Error: no property 'Binary' for type 'void' dwt\dwthelper\utils.d(160): function tango.text.convert.Integer.toString (long,char[]) does not match parameter types (int,int) dwt\dwthelper\utils.d(160): Error: cannot implicitly convert expression (1) of type int to char[] dwt\dwthelper\utils.d(160): Error: cannot cast int to char[] dwt\dwthelper\utils.d(160): Error: integral constant must be scalar type, not char[]
Jun 30 2008
Bill Baxter schrieb:This is with the latest SVN tango Don't have time to look into these at the moment, but maybe later tonight.It is much easier to support the tango release instead of tango svn trunk. Hence the errors. I have fixes for them locally, but did not commit them into the public repository, waiting for the next tango release.
Jun 30 2008
Frank Benoit wrote:Bill Baxter schrieb:Bummer. I guess I'll just try to figure out how to roll back the updates I made. -bb -- hoping "dsss net install tango" installs latest release versionThis is with the latest SVN tango Don't have time to look into these at the moment, but maybe later tonight.It is much easier to support the tango release instead of tango svn trunk. Hence the errors. I have fixes for them locally, but did not commit them into the public repository, waiting for the next tango release.
Jun 30 2008
Bill Baxter wrote:Frank Benoit wrote:It didn't use to ... -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the TangoBill Baxter schrieb:Bummer. I guess I'll just try to figure out how to roll back the updates I made. -bb -- hoping "dsss net install tango" installs latest release versionThis is with the latest SVN tango Don't have time to look into these at the moment, but maybe later tonight.It is much easier to support the tango release instead of tango svn trunk. Hence the errors. I have fixes for them locally, but did not commit them into the public repository, waiting for the next tango release.
Jun 30 2008
Lars Ivar Igesund wrote:Bill Baxter wrote:I'm not sure what it did, but it gave lots of errors. Like: ..\tango\text\convert\TimeStamp.d(145): template tango.text.Util.layout(T) does not match any template declaration ..\tango\text\convert\TimeStamp.d(145): template tango.text.Util.layout(T) cannot deduce template function from argument types (wchar[],char[25u],wchar[],wchar[],wchar[],wchar[],wchar[],wchar[],wchar[]) And: dmd -c -inline -release -O -oftango-math-Bessel.obj ..\tango\math\Bessel.d F:\usr\pkg\d\dsss\tmp\DSSS_tango\tango\tango\lib\..\tango\math\IEEE.d(515): undefined identifier 'st'Frank Benoit wrote:It didn't use to ...Bill Baxter schrieb:Bummer. I guess I'll just try to figure out how to roll back the updates I made. -bb -- hoping "dsss net install tango" installs latest release versionThis is with the latest SVN tango Don't have time to look into these at the moment, but maybe later tonight.It is much easier to support the tango release instead of tango svn trunk. Hence the errors. I have fixes for them locally, but did not commit them into the public repository, waiting for the next tango release.
Jun 30 2008
Bill Baxter wrote:Lars Ivar Igesund wrote:I think both errors will go away if you go back to 1.027. Are you sure you're using tango 0.99.6, and not an older version?Bill Baxter wrote:I'm not sure what it did, but it gave lots of errors. Like: ...\tango\text\convert\TimeStamp.d(145): template tango.text.Util.layout(T) does not match any template declaration ...\tango\text\convert\TimeStamp.d(145): template tango.text.Util.layout(T) cannot deduce template function from argument types (wchar[],char[25u],wchar[],wchar[],wchar[],wchar[],wchar[],wchar[],wchar[]) And: dmd -c -inline -release -O -oftango-math-Bessel.obj ..\tango\math\Bessel.d F:\usr\pkg\d\dsss\tmp\DSSS_tango\tango\tango\lib\..\tango\math\IEEE.d(515): undefined identifier 'st'Frank Benoit wrote:It didn't use to ...Bill Baxter schrieb:Bummer. I guess I'll just try to figure out how to roll back the updates I made. -bb -- hoping "dsss net install tango" installs latest release versionThis is with the latest SVN tango Don't have time to look into these at the moment, but maybe later tonight.It is much easier to support the tango release instead of tango svn trunk. Hence the errors. I have fixes for them locally, but did not commit them into the public repository, waiting for the next tango release.
Jun 30 2008
Frank Benoit wrote:Bill Baxter schrieb:Any chance you could send me the hg bundle of those changes? --bbThis is with the latest SVN tango Don't have time to look into these at the moment, but maybe later tonight.It is much easier to support the tango release instead of tango svn trunk. Hence the errors. I have fixes for them locally, but did not commit them into the public repository, waiting for the next tango release.
Jun 30 2008
Bill Baxter schrieb:Any chance you could send me the hg bundle of those changes? --bbSure. But i have them not here at the moment, so it will be tomorrow. Sorry for that.
Jun 30 2008
Tower Ty wrote:About time you guys sorted out the schemozzle.It is sorted out for people using the officially recommended and released versions of things. I'm not, so I get what I deserve. --bb
Jun 30 2008
Frank Benoit wrote:Bill Baxter schrieb:Ok, well the fix doesn't seem to be complicated, so the issue was just if I use your changeset then I don't have to worry about merge conflicts later. But I guess when that time comes I'll just do a "revert". I updated the up and coming breaking tango changes page with info on how to fix these issues. (http://www.dsource.org/projects/tango/wiki/0_99_7_BreakingChanges) --bbAny chance you could send me the hg bundle of those changes? --bbSure. But i have them not here at the moment, so it will be tomorrow. Sorry for that.
Jun 30 2008
Yes, here is the fix i used for dwt-linux, i hope this works from the web newsreader.. : diff -r cc1d3de0e80b dwt/custom/DefaultContent.d --- a/dwt/custom/DefaultContent.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/custom/DefaultContent.d Tue Jul 01 08:35:34 2008 +0200 -23,7 +23,7 import dwt.custom.StyledText; import dwt.custom.StyledText; import dwt.dwthelper.utils; -static import tango.io.FileConst; +static import tango.io.model.IFile; static import tango.text.Text; alias tango.text.Text.Text!(char) StringBuffer; diff -r cc1d3de0e80b dwt/custom/StyledText.d --- a/dwt/custom/StyledText.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/custom/StyledText.d Tue Jul 01 08:35:34 2008 +0200 -85,7 +85,7 import dwt.dwthelper.Runnable; static import tango.text.Text; static import tango.text.Util; -static import tango.io.FileConst; +static import tango.io.model.IFile; static import tango.text.convert.Utf; import tango.util.Convert; import dwt.dwthelper.utils; diff -r cc1d3de0e80b dwt/dwthelper/File.d --- a/dwt/dwthelper/File.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/dwthelper/File.d Tue Jul 01 08:35:34 2008 +0200 -5,7 +5,7 module dwt.dwthelper.File; import dwt.dwthelper.utils; -static import tango.io.FileConst; +static import tango.io.model.IFile; static import tango.io.FilePath; static import tango.io.FileSystem; -19,10 +19,10 public class File { private tango.io.FilePath.FilePath mFilePath; static this(){ - separator = tango.io.FileConst.FileConst.PathSeparatorString; - separatorChar = tango.io.FileConst.FileConst.PathSeparatorChar; - pathSeparator = tango.io.FileConst.FileConst.SystemPathString; - pathSeparatorChar = tango.io.FileConst.FileConst.SystemPathChar; + separator = tango.io.model.IFile.FileConst.PathSeparatorString; + separatorChar = tango.io.model.IFile.FileConst.PathSeparatorChar; + pathSeparator = tango.io.model.IFile.FileConst.SystemPathString; + pathSeparatorChar = tango.io.model.IFile.FileConst.SystemPathChar; } public this ( String pathname ){ diff -r cc1d3de0e80b dwt/dwthelper/InflaterInputStream.d --- a/dwt/dwthelper/InflaterInputStream.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/dwthelper/InflaterInputStream.d Tue Jul 01 08:35:34 2008 +0200 -6,6 +6,7 public import dwt.dwthelper.InputStream; public import dwt.dwthelper.InputStream; import dwt.dwthelper.utils; import tango.io.Stdout; +import tango.io.Conduit; import tango.io.compress.ZlibStream; class InputStreamWrapper : tango.io.model.IConduit.InputStream { -20,6 +21,10 class InputStreamWrapper : tango.io.mode int res = istr.read( cast(byte[])dst ); return res; } + void[] load (void[] dst = null) { + return Conduit.load (this, dst); + } + tango.io.model.IConduit.InputStream clear (){ return this; diff -r cc1d3de0e80b dwt/dwthelper/utils.d --- a/dwt/dwthelper/utils.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/dwthelper/utils.d Tue Jul 01 08:35:34 2008 +0200 -149,15 +149,15 class Integer : ValueWrapperT!(int) { } public static String toHexString( int i ){ - return tango.text.convert.Integer.toString(i, tango.text.convert.Integer.Style.Hex ); + return tango.text.convert.Integer.toString(i, "x" ); } public static String toOctalString( int i ){ - return tango.text.convert.Integer.toString(i, tango.text.convert.Integer.Style.Octal ); + return tango.text.convert.Integer.toString(i, "o" ); } public static String toBinaryString( int i ){ - return tango.text.convert.Integer.toString(i, tango.text.convert.Integer.Style.Binary ); + return tango.text.convert.Integer.toString(i, "b" ); } public static String toString( int i ){ -637,12 +637,10 static String toHex(uint value, bool pre static String toHex(uint value, bool prefix = true, int radix = 8){ return tango.text.convert.Integer.toString( value, - radix is 10 ? tango.text.convert.Integer.Style.Signed : - radix is 8 ? tango.text.convert.Integer.Style.Octal : - radix is 16 ? tango.text.convert.Integer.Style.Hex : - tango.text.convert.Integer.Style.Signed, - prefix ? tango.text.convert.Integer.Flags.Prefix : tango.text.convert.Integer.Flags.None - ); + radix is 10 ? "d" : + radix is 8 ? "o" : + radix is 16 ? "x" : + "d" ); } class RuntimeException : Exception { diff -r cc1d3de0e80b dwt/widgets/DirectoryDialog.d --- a/dwt/widgets/DirectoryDialog.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/widgets/DirectoryDialog.d Tue Jul 01 08:35:34 2008 +0200 -23,7 +23,7 import dwt.widgets.Shell; import dwt.widgets.Shell; import dwt.widgets.Display; -static import tango.io.FileConst; +static import tango.io.model.IFile; static import tango.text.Util; /** diff -r cc1d3de0e80b dwt/widgets/FileDialog.d --- a/dwt/widgets/FileDialog.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/widgets/FileDialog.d Tue Jul 01 08:35:34 2008 +0200 -22,7 +22,7 import dwt.widgets.Display; import dwt.widgets.Display; import dwt.dwthelper.utils; -static import tango.io.FileConst; +static import tango.io.model.IFile; static import tango.text.Util; static import tango.text.Text;
Jul 01 2008