Mercurial > projects > dwt-linux
changeset 144:424cc4e14124
some notes with todos and author notice
line wrap: on
line diff
--- a/dwt/events/MouseEvent.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwt/events/MouseEvent.d Wed Jan 23 01:08:24 2008 +0100 @@ -95,7 +95,7 @@ */ public char[] toString() { return Format( "{} button={} stateMask={} x={} y={} count={}}", - super.toString[ 0 .. $-2 ], + super.toString[ 0 .. $-1 ], button, stateMask, x, y, count ); } }
--- a/dwtexamples/controlexample/CComboTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/CComboTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.CComboTab;
--- a/dwtexamples/controlexample/CLabelTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/CLabelTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.CLabelTab;
--- a/dwtexamples/controlexample/CTabFolderTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/CTabFolderTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.CTabFolderTab;
--- a/dwtexamples/controlexample/CanvasTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/CanvasTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.CanvasTab;
--- a/dwtexamples/controlexample/ComboTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/ComboTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.ComboTab;
--- a/dwtexamples/controlexample/ControlExample.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/ControlExample.d Wed Jan 23 01:08:24 2008 +0100 @@ -12,16 +12,14 @@ *******************************************************************************/ module dwtexamples.controlexample.ControlExample; -pragma( msg, " === The ControlExample is work in progress ===" ); - - -/+ -import java.io.IOException; -import java.io.InputStream; -import java.text.MessageFormat; -import java.util.MissingResourceException; -import java.util.ResourceBundle; -+/ +pragma( msg, "The ControlExample: still work left" ); +pragma( msg, "todo: search for //PORTING_LEFT" ); +pragma( msg, "todo: Implement Get/Set API reflection" ); +pragma( msg, "todo: DateTimeTab not implemented" ); +pragma( msg, "todo: ExpandBarTab looks strange" ); +pragma( msg, "todo: ProgressBarTab crash on vertical" ); +pragma( msg, "todo: SliderTab horizontal arrow buttons are too high" ); +pragma( msg, "please report problems" ); import dwt.DWT; import dwt.graphics.Image;
--- a/dwtexamples/controlexample/CoolBarTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/CoolBarTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.CoolBarTab;
--- a/dwtexamples/controlexample/CustomControlExample.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/CustomControlExample.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.CustomControlExample;
--- a/dwtexamples/controlexample/DateTimeTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/DateTimeTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.DateTimeTab;
--- a/dwtexamples/controlexample/DialogTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/DialogTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.DialogTab;
--- a/dwtexamples/controlexample/ExpandBarTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/ExpandBarTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.ExpandBarTab;
--- a/dwtexamples/controlexample/GroupTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/GroupTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.GroupTab;
--- a/dwtexamples/controlexample/LabelTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/LabelTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.LabelTab;
--- a/dwtexamples/controlexample/LinkTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/LinkTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.LinkTab;
--- a/dwtexamples/controlexample/ListTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/ListTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.ListTab;
--- a/dwtexamples/controlexample/MenuTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/MenuTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.MenuTab;
--- a/dwtexamples/controlexample/ProgressBarTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/ProgressBarTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.ProgressBarTab;
--- a/dwtexamples/controlexample/RangeTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/RangeTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.RangeTab;
--- a/dwtexamples/controlexample/SashFormTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/SashFormTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.SashFormTab;
--- a/dwtexamples/controlexample/SashTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/SashTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.SashTab;
--- a/dwtexamples/controlexample/ScaleTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/ScaleTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.ScaleTab;
--- a/dwtexamples/controlexample/ScrollableTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/ScrollableTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.ScrollableTab;
--- a/dwtexamples/controlexample/SliderTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/SliderTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.SliderTab;
--- a/dwtexamples/controlexample/SpinnerTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/SpinnerTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.SpinnerTab;
--- a/dwtexamples/controlexample/StyledTextTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/StyledTextTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.StyledTextTab;
--- a/dwtexamples/controlexample/TabFolderTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/TabFolderTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.TabFolderTab;
--- a/dwtexamples/controlexample/TableTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/TableTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.TableTab;
--- a/dwtexamples/controlexample/TextTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/TextTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.TextTab;
--- a/dwtexamples/controlexample/ToolBarTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/ToolBarTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.ToolBarTab;
--- a/dwtexamples/controlexample/ToolTipTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/ToolTipTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.ToolTipTab;
--- a/dwtexamples/controlexample/TreeTab.d Wed Jan 23 00:41:01 2008 +0100 +++ b/dwtexamples/controlexample/TreeTab.d Wed Jan 23 01:08:24 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,6 +7,8 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtexamples.controlexample.TreeTab;