# HG changeset patch # User Frank Benoit # Date 1238206197 -3600 # Node ID eb3414669eb0e473441dbf241bdb804566bd6d9b # Parent eb98a5cbfd7826ad0cab5201d9fb44a7e8052be3 fix for dmd 1.041 and tango 0.99.8 diff -r eb98a5cbfd78 -r eb3414669eb0 dwtx/core/commands/common/HandleObject.d --- a/dwtx/core/commands/common/HandleObject.d Fri Mar 13 17:03:26 2009 +0100 +++ b/dwtx/core/commands/common/HandleObject.d Sat Mar 28 03:09:57 2009 +0100 @@ -133,7 +133,7 @@ && (this.classinfo is handle.classinfo); } - public override final String getId() { + public final String getId() { return id; } diff -r eb98a5cbfd78 -r eb3414669eb0 dwtx/dwtxhelper/Timer.d --- a/dwtx/dwtxhelper/Timer.d Fri Mar 13 17:03:26 2009 +0100 +++ b/dwtx/dwtxhelper/Timer.d Sat Mar 28 03:09:57 2009 +0100 @@ -389,11 +389,7 @@ } void scheduleAtFixedRate(TimerTask task, long delay, long period){ assert( task ); - version(TANGOSVN){ - task.executionTime = Clock.now + TimeSpan.fromMillis(delay); - } else { - task.executionTime = Clock.now + TimeSpan.millis(delay); - } + task.executionTime = Clock.now + TimeSpan.fromMillis(delay); task.timer = this; synchronized(mutex){ int index = 0; diff -r eb98a5cbfd78 -r eb3414669eb0 dwtx/sleak/Sleak.d --- a/dwtx/sleak/Sleak.d Fri Mar 13 17:03:26 2009 +0100 +++ b/dwtx/sleak/Sleak.d Sat Mar 28 03:09:57 2009 +0100 @@ -234,8 +234,8 @@ if (index is -1) return; if (check.getSelection ()) { char[] txt = "Stacktrace info (if missing you need stacktrace support for your program):\n"; - foreach( line; errors[index].info ){ - txt ~= line ~ \n; + foreach( frame; errors[index].info ){ + txt ~= Format("{}:{}\n", frame.file, frame.line ); } text.setText (txt); text.setVisible (true);