# HG changeset patch # User Frank Benoit # Date 1233049255 -3600 # Node ID 27479f54069d8ba7ed467cd31ce6b79527f4e567 # Parent f980ea238e7287f030eb76d18fc6413e79d58468 Removed trace outputs. diff -r f980ea238e72 -r 27479f54069d dwt/dwthelper/ResourceBundle.d --- a/dwt/dwthelper/ResourceBundle.d Mon Jan 26 10:46:51 2009 -0500 +++ b/dwt/dwthelper/ResourceBundle.d Tue Jan 27 10:40:55 2009 +0100 @@ -11,8 +11,6 @@ import tango.io.File; import tango.text.locale.Core; -import tango.util.log.Trace; - class ResourceBundle { String[ String ] map; @@ -27,7 +25,7 @@ char[] end = "_" ~ name ~ ".properties"; foreach( entry; data ){ if( entry.name.length > end.length && entry.name[ $-end.length .. $ ] == end ){ - Trace.formatln( "ResourceBundle {}", entry.name ); + //Trace.formatln( "ResourceBundle {}", entry.name ); initialize( cast(char[])entry.data ); return; } @@ -36,12 +34,12 @@ char[] end = "_" ~ name[0..2] ~ ".properties"; foreach( entry; data ){ if( entry.name.length > end.length && entry.name[ $-end.length .. $ ] == end ){ - Trace.formatln( "ResourceBundle {}", entry.name ); + //Trace.formatln( "ResourceBundle {}", entry.name ); initialize( cast(char[])entry.data ); return; } } - Trace.formatln( "ResourceBundle default" ); + //Trace.formatln( "ResourceBundle default" ); initialize( cast(char[])data[0].data ); } public this( ImportData data ){ diff -r f980ea238e72 -r 27479f54069d dwt/graphics/TextLayout.d --- a/dwt/graphics/TextLayout.d Mon Jan 26 10:46:51 2009 -0500 +++ b/dwt/graphics/TextLayout.d Tue Jan 27 10:40:55 2009 +0100 @@ -25,8 +25,6 @@ + is a range where Bidi char reordering can happen. + The 'runs' are those ranges with an idiviual style. +/ -import tango.util.log.Trace; - import dwt.DWT; import dwt.DWTException; import dwt.internal.Compatibility; diff -r f980ea238e72 -r 27479f54069d dwt/internal/gdip/Gdip.d --- a/dwt/internal/gdip/Gdip.d Mon Jan 26 10:46:51 2009 -0500 +++ b/dwt/internal/gdip/Gdip.d Tue Jan 27 10:40:55 2009 +0100 @@ -25,11 +25,6 @@ import tango.sys.win32.UserGdi; } -import tango.util.log.Trace; -void trace(int line ){ - //Trace.formatln( "Gdip {}", line ); -} - alias dwt.internal.gdip.native.GdiplusStartupInput GdiplusStartupInput; alias dwt.internal.gdip.native.GdiplusStartupOutput GdiplusStartupOutput; diff -r f980ea238e72 -r 27479f54069d dwt/widgets/Control.d --- a/dwt/widgets/Control.d Mon Jan 26 10:46:51 2009 -0500 +++ b/dwt/widgets/Control.d Tue Jan 27 10:40:55 2009 +0100 @@ -55,11 +55,7 @@ import dwt.dwthelper.utils; import dwt.dwthelper.System; -import tango.util.log.Trace; static import tango.sys.Common; -void trc( int line ){ - Trace.formatln( "Control {}", line ); -} /** * Control is the abstract superclass of all windowed user interface classes. diff -r f980ea238e72 -r 27479f54069d dwt/widgets/ExpandBar.d --- a/dwt/widgets/ExpandBar.d Mon Jan 26 10:46:51 2009 -0500 +++ b/dwt/widgets/ExpandBar.d Tue Jan 27 10:40:55 2009 +0100 @@ -35,10 +35,6 @@ import dwt.widgets.Event; import dwt.dwthelper.utils; -import tango.util.log.Trace; -void trc( long line ){ - //Trace.formatln( "ExpandBar {}", line ); -} /** * Instances of this class support the layout of selectable @@ -639,7 +635,6 @@ } override LRESULT WM_KEYDOWN (int wParam, int lParam) { -trc(__LINE__); LRESULT result = super.WM_KEYDOWN (wParam, lParam); if (result !is null) return result; if (focusItem is null) return result; @@ -722,7 +717,6 @@ } override LRESULT WM_MOUSELEAVE (int wParam, int lParam) { -trc(__LINE__); LRESULT result = super.WM_MOUSELEAVE (wParam, lParam); if (result !is null) return result; for (int i = 0; i < itemCount; i++) { @@ -753,7 +747,6 @@ } override LRESULT WM_PAINT (int wParam, int lParam) { -trc(__LINE__); PAINTSTRUCT ps; GCData data = new GCData (); data.ps = &ps; @@ -783,7 +776,6 @@ } override LRESULT WM_PRINTCLIENT (int wParam, int lParam) { -trc(__LINE__); LRESULT result = super.WM_PRINTCLIENT (wParam, lParam); RECT rect; OS.GetClientRect (handle, &rect); @@ -797,7 +789,6 @@ } override LRESULT WM_SETCURSOR (int wParam, int lParam) { -trc(__LINE__); LRESULT result = super.WM_SETCURSOR (wParam, lParam); if (result !is null) return result; int hitTest = cast(short) OS.LOWORD (lParam); @@ -815,14 +806,12 @@ } override LRESULT WM_SETFOCUS (int wParam, int lParam) { -trc(__LINE__); LRESULT result = super.WM_SETFOCUS (wParam, lParam); if (focusItem !is null) focusItem.redraw (true); return result; } override LRESULT WM_SIZE (int wParam, int lParam) { -trc(__LINE__); LRESULT result = super.WM_SIZE (wParam, lParam); RECT rect; OS.GetClientRect (handle, &rect); @@ -837,7 +826,6 @@ } override LRESULT wmScroll (ScrollBar bar, bool update, HWND hwnd, int msg, int wParam, int lParam) { -trc(__LINE__); LRESULT result = super.wmScroll (bar, true, hwnd, msg, wParam, lParam); SCROLLINFO info; info.cbSize = SCROLLINFO.sizeof; diff -r f980ea238e72 -r 27479f54069d dwt/widgets/ScrollBar.d --- a/dwt/widgets/ScrollBar.d Mon Jan 26 10:46:51 2009 -0500 +++ b/dwt/widgets/ScrollBar.d Tue Jan 27 10:40:55 2009 +0100 @@ -26,10 +26,6 @@ import dwt.widgets.Scrollable; import dwt.dwthelper.utils; -import tango.util.log.Trace; -void trc( long line ){ - //Trace.formatln( "ScrollBar {}", line ); -} /** * Instances of this class are selectable user interface @@ -937,7 +933,6 @@ } LRESULT wmScrollChild (int /*long*/ wParam, int /*long*/ lParam) { -trc(__LINE__); /* Do nothing when scrolling is ending */ int code = OS.LOWORD (wParam); diff -r f980ea238e72 -r 27479f54069d dwt/widgets/Scrollable.d --- a/dwt/widgets/Scrollable.d Mon Jan 26 10:46:51 2009 -0500 +++ b/dwt/widgets/Scrollable.d Tue Jan 27 10:40:55 2009 +0100 @@ -27,10 +27,6 @@ import dwt.widgets.Widget; import dwt.dwthelper.utils; -//import tango.util.log.Trace; -void trc( long line ){ - //Trace.formatln( "Scrollable {}", line ); -} /** * This class is the abstract superclass of all classes which @@ -279,7 +275,6 @@ } override LRESULT WM_HSCROLL (int wParam, int lParam) { -trc(__LINE__); LRESULT result = super.WM_HSCROLL (wParam, lParam); if (result !is null) return result; @@ -297,7 +292,6 @@ } override LRESULT WM_MOUSEWHEEL (int wParam, int lParam) { -trc(__LINE__); int scrollRemainder = display.scrollRemainder; LRESULT result = super.WM_MOUSEWHEEL (wParam, lParam); if (result !is null) return result; @@ -377,7 +371,6 @@ } override LRESULT WM_SIZE (int wParam, int lParam) { -trc(__LINE__); int /*long*/ code = callWindowProc (handle, OS.WM_SIZE, wParam, lParam); super.WM_SIZE (wParam, lParam); // widget may be disposed at this point @@ -386,7 +379,6 @@ } override LRESULT WM_VSCROLL (int wParam, int lParam) { -trc(__LINE__); LRESULT result = super.WM_VSCROLL (wParam, lParam); if (result !is null) return result; /* diff -r f980ea238e72 -r 27479f54069d dwt/widgets/Shell.d --- a/dwt/widgets/Shell.d Mon Jan 26 10:46:51 2009 -0500 +++ b/dwt/widgets/Shell.d Tue Jan 27 10:40:55 2009 +0100 @@ -33,11 +33,6 @@ import dwt.dwthelper.utils; -import tango.util.log.Trace; -void trc( int line ){ - Trace.formatln( "Shell {}", line ); -} - /** * Instances of this class represent the "windows" * which the desktop or "window manager" is managing. diff -r f980ea238e72 -r 27479f54069d dwt/widgets/Widget.d --- a/dwt/widgets/Widget.d Mon Jan 26 10:46:51 2009 -0500 +++ b/dwt/widgets/Widget.d Tue Jan 27 10:40:55 2009 +0100 @@ -30,10 +30,6 @@ import tango.io.Stdout; import tango.core.Thread; import dwt.dwthelper.utils; -import tango.util.log.Trace; -void trc( long line ){ -// Trace.formatln( "Widget {}", line ); -} /** * This class is the abstract superclass of all user interface objects.