Changeset 3:6e0b2c96d1fd
- Timestamp:
- 02/06/08 18:09:21 (4 years ago)
- Files:
-
- dsss.conf (modified) (2 diffs)
- dwtexamples/addressbook/AddressBook.d (modified) (1 diff)
- dwtexamples/controlexample/ControlExample.d (modified) (6 diffs)
- dwtexamples/controlexample/MenuTab.d (modified) (2 diffs)
- dwtexamples/controlexample/ProgressBarTab.d (modified) (1 diff)
- dwtexamples/controlexample/ShellTab.d (modified) (1 diff)
- dwtexamples/controlexample/Tab.d (modified) (1 diff)
- dwtexamples/controlexample/TableTab.d (modified) (2 diffs)
- dwtexamples/controlexample/ToolBarTab.d (modified) (2 diffs)
- dwtexamples/controlexample/TreeTab.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dsss.conf
r0 r3 1 1 2 2 [*] 3 buildflags+=-g -gc 3 buildflags+=-g -gc -debug 4 version(Windows){ 5 #buildflags+= -L/SUBSYSTEM:windows:5 6 buildflags+= -L/SUBSYSTEM:console:5 7 } 4 8 5 9 [dwtexamples/simple.d] … … 10 14 [dwtexamples/helloworld/HelloWorld5.d] 11 15 16 [test1/draw.d] 12 17 13 18 [dwtexamples/addressbook/AddressBook.d] 14 buildflags+=-g -gc 19 buildflags+=-g -gc -debug 20 version(Windows){ 21 buildflags+= -L/SUBSYSTEM:console:5 22 } 15 23 buildflags+=-Jdwtexamples/addressbook 16 24 17 25 [dwtexamples/controlexample/ControlExample.d] 18 buildflags+=-g -gc 26 buildflags+=-g -gc -debug 27 version(Windows){ 28 buildflags+= -L/SUBSYSTEM:console:5 29 } 19 30 buildflags+=-Jdwtexamples/controlexample 20 31 buildflags+=-version=CONTROL_EXAMPLE_MAIN 21 32 22 33 [dwtexamples/controlexample/CustomControlExample.d] 23 buildflags+=-g -gc 34 buildflags+=-g -gc -debug 35 version(Windows){ 36 buildflags+= -L/SUBSYSTEM:console:5 37 } 24 38 buildflags+=-Jdwtexamples/controlexample 25 39 buildflags+=-version=CUSTOM_CONTROL_EXAMPLE_MAIN dwtexamples/addressbook/AddressBook.d
r0 r3 385 385 displayError(resAddressBook.getString("IO_error_write") ~ "\n" ~ file.toString()); 386 386 result = false; 387 } catch( TracedException e2 ) {387 } catch(Exception e2 ) { 388 388 displayError(resAddressBook.getString("error_write") ~ "\n" ~ e2.toString()); 389 389 result = false; dwtexamples/controlexample/ControlExample.d
r0 r3 33 33 import dwtexamples.controlexample.CoolBarTab; 34 34 //import dwtexamples.controlexample.DateTimeTab; 35 import dwtexamples.controlexample.DialogTab; 35 version(linux){ 36 import dwtexamples.controlexample.DialogTab; 37 } 36 38 import dwtexamples.controlexample.ExpandBarTab; 37 39 import dwtexamples.controlexample.GroupTab; … … 79 81 Stdout.formatln( "todo: DateTimeTab not implemented" ); 80 82 Stdout.formatln( "todo: ExpandBarTab looks strange" ); 81 Stdout.formatln( "todo: ProgressBarTab crash on vertical" ); 82 Stdout.formatln( "todo: SliderTab horizontal arrow buttons are too high" ); 83 Stdout.formatln( "" ); 84 Stdout.formatln( "On linux GTK:" ); 85 Stdout.formatln( "bug: ProgressBarTab crash on vertical" ); 86 Stdout.formatln( " in java it behaves the same" ); 87 Stdout.formatln( "bug: SliderTab horizontal arrow buttons are too high." ); 88 Stdout.formatln( " in java it behaves the same" ); 89 Stdout.formatln( " Known bug:" ); 90 Stdout.formatln( " https://bugs.eclipse.org/bugs/show_bug.cgi?id=197402" ); 91 Stdout.formatln( " http://bugzilla.gnome.org/show_bug.cgi?id=475909" ); 92 Stdout.formatln( "" ); 83 93 Stdout.formatln( "please report problems" ); 84 94 ControlExample.main( null ); … … 140 150 */ 141 151 Tab[] createTabs() { 152 version(Windows){ 153 return [ cast(Tab) 154 new ButtonTab (this), 155 new CanvasTab (this), 156 new ComboTab (this), 157 new CoolBarTab (this), 158 //new DateTimeTab (this), // DateTime Control not implemented 159 //new DialogTab (this), // Dialog not implemented 160 new ExpandBarTab (this), 161 new GroupTab (this), 162 new LabelTab (this), 163 new LinkTab (this), 164 new ListTab (this), 165 new MenuTab (this), 166 //new ProgressBarTab (this), // crash on start 167 new SashTab (this), 168 //new ScaleTab (this), // crash on start 169 shellTab = new ShellTab(this), 170 //new SliderTab (this), // crash on start 171 //new SpinnerTab (this), // crash on start 172 new TabFolderTab (this), 173 new TableTab (this), 174 new TextTab (this), 175 new ToolBarTab (this), 176 new ToolTipTab (this), 177 new TreeTab (this) 178 ]; 179 } else { // linux 142 180 return [ cast(Tab) 143 181 new ButtonTab (this), … … 166 204 new TreeTab (this) 167 205 ]; 206 } 168 207 } 169 208 … … 263 302 } 264 303 return; 265 } catch ( TracedException t) {304 } catch (Exception t) { 266 305 Stdout.formatln( "ups {}", t ); 267 306 } … … 271 310 "Unable to load resources"; //$NON-NLS-1$ 272 311 freeResources(); 273 throw new TracedException(error);312 throw new Exception(error); 274 313 } 275 314 dwtexamples/controlexample/MenuTab.d
r0 r3 1 /*******************************************************************************1 /******************************************************************************* 2 2 * Copyright (c) 2000, 2005 IBM Corporation and others. 3 3 * All rights reserved. This program and the accompanying materials … … 31 31 import dwtexamples.controlexample.Tab; 32 32 import dwtexamples.controlexample.ControlExample; 33 34 import dwt.dwthelper.utils; 35 33 36 import tango.util.Convert; 34 37 dwtexamples/controlexample/ProgressBarTab.d
r0 r3 1 /*******************************************************************************1 /******************************************************************************* 2 2 * Copyright (c) 2000, 2007 IBM Corporation and others. 3 3 * All rights reserved. This program and the accompanying materials dwtexamples/controlexample/ShellTab.d
r0 r3 29 29 import dwtexamples.controlexample.Tab; 30 30 import dwtexamples.controlexample.ControlExample; 31 32 import dwt.dwthelper.utils; 33 31 34 import tango.util.Convert; 32 35 dwtexamples/controlexample/Tab.d
r0 r3 80 80 import dwt.widgets.ExpandBar; 81 81 82 import dwt.dwthelper.utils; 83 82 84 import dwtexamples.controlexample.ControlExample; 83 85 import tango.text.convert.Format; dwtexamples/controlexample/TableTab.d
r0 r3 1 /*******************************************************************************1 /******************************************************************************* 2 2 * Copyright (c) 2000, 2007 IBM Corporation and others. 3 3 * All rights reserved. This program and the accompanying materials … … 43 43 import dwtexamples.controlexample.ControlExample; 44 44 import dwtexamples.controlexample.ScrollableTab; 45 46 import dwt.dwthelper.utils; 47 45 48 import tango.text.convert.Format; 46 49 import tango.util.Convert; dwtexamples/controlexample/ToolBarTab.d
r0 r3 1 /*******************************************************************************1 /******************************************************************************* 2 2 * Copyright (c) 2000, 2007 IBM Corporation and others. 3 3 * All rights reserved. This program and the accompanying materials … … 34 34 import dwtexamples.controlexample.Tab; 35 35 import dwtexamples.controlexample.ControlExample; 36 37 import dwt.dwthelper.utils; 38 36 39 import tango.util.Convert; 37 40 dwtexamples/controlexample/TreeTab.d
r0 r3 1 /*******************************************************************************1 /******************************************************************************* 2 2 * Copyright (c) 2000, 2007 IBM Corporation and others. 3 3 * All rights reserved. This program and the accompanying materials … … 44 44 import dwtexamples.controlexample.ControlExample; 45 45 import dwtexamples.controlexample.ScrollableTab; 46 47 import dwt.dwthelper.utils; 48 46 49 import tango.text.convert.Format; 47 50 import tango.util.Convert;
