Mercurial > projects > dwt-addons
changeset 200:eb3414669eb0 default tip
fix for dmd 1.041 and tango 0.99.8
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 28 Mar 2009 03:09:57 +0100 |
parents | eb98a5cbfd78 |
children | |
files | dwtx/core/commands/common/HandleObject.d dwtx/dwtxhelper/Timer.d dwtx/sleak/Sleak.d |
diffstat | 3 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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; }
--- 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;
--- 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);