1 |
|
2003-04-15 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/classification.py: Implemented __repr__ for |
4 |
|
the ClassGroup* classes to make debugging a bit easier. |
5 |
|
(ClassGroup.SetLabel): Check that the string is an instance |
6 |
|
of StringTypes not StringType. Accounts for Unicode strings. |
7 |
|
|
8 |
|
* Thuban/Model/color.py: Implemented __repr__ to make |
9 |
|
debugging a bit easier. |
10 |
|
|
11 |
|
* Thuban/Model/save.py (Saver.write_classification): Need to |
12 |
|
save the group label. |
13 |
|
|
14 |
|
* test/test_load.py (testClassification): New. Loads the |
15 |
|
iceland_sample_test.thuban file and checks if it was loaded |
16 |
|
correctly. |
17 |
|
|
18 |
|
2003-04-15 Jonathan Coles <[email protected]> |
19 |
|
|
20 |
|
* extensions/thuban/wxproj.cpp (draw_polygon_init): New. Used |
21 |
|
to improve rendering performance by initializing the variables |
22 |
|
that are not change each time draw_polygon_shape() is called. |
23 |
|
The values are stored in a global struct draw_info. |
24 |
|
(draw_polygon_shape): Removed initialization code that is |
25 |
|
now in draw_polygon_init(). |
26 |
|
|
27 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Make |
28 |
|
drawing initialization call to draw_polygon_init() |
29 |
|
(MapRenderer.draw_polygon_shape): Use new signature of |
30 |
|
draw_polygon_shape. |
31 |
|
|
32 |
|
* Thuban/UI/classgen.py (GenUniformPanel): Fix spin control |
33 |
|
weirdness by setting the range to (1, maxint). |
34 |
|
|
35 |
|
* Thuban/Model/classification.py (ClassGroupProperties): Make |
36 |
|
instance variables private and optimize comparison operator |
37 |
|
by first checking if the color references are the same. |
38 |
|
(ClassGroupSingleton): Make instance variables private. |
39 |
|
(ClassGroupRange): Make instance variables private. |
40 |
|
|
41 |
|
* HOWTO-Release: Filled in missing steps for releasing packages. |
42 |
|
|
43 |
|
2003-04-15 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
|
First stab at internationalized messages: |
46 |
|
|
47 |
|
* Thuban/__init__.py (_): Implement the translation function for |
48 |
|
real using the python gettext module. |
49 |
|
|
50 |
|
* Thuban/UI/classifier.py (ClassTable.GetRowLabelValue): Don't |
51 |
|
translate empty strings. |
52 |
|
|
53 |
|
* Thuban/UI/application.py (ThubanApplication.read_startup_files): |
54 |
|
Add a missing space to a warning message |
55 |
|
|
56 |
|
* po/README: New. Notes about the management of the translation |
57 |
|
files. |
58 |
|
|
59 |
|
* po/Makefile: New. Makefile to help manage the translation files. |
60 |
|
|
61 |
|
* po/es.po: New. Spanish translation by Daniel Calvelo Aros |
62 |
|
|
63 |
|
* MANIFEST.in: Include the *.mo files in Resources/Locale and the |
64 |
|
translations and support files in po/ |
65 |
|
|
66 |
|
* setup.py (data_files): Add the *.mo files to the data_files too |
67 |
|
|
68 |
|
* README: Add note about the translations when building from CVS |
69 |
|
|
70 |
|
2003-04-14 Jonathan Coles <[email protected]> |
71 |
|
|
72 |
|
* Thuban/UI/dock.py: Fixes some window resizing problems most |
73 |
|
noticable under windows. Always assume the button bitmaps will |
74 |
|
be there. Code clean up. |
75 |
|
(DockabelWindow.Dock, DockableWindow.UnDock): Force all the |
76 |
|
images for the dock/undock button to the same images. |
77 |
|
Work around for RTbug #1801. |
78 |
|
|
79 |
|
* Thuban/UI/legend.py (LegendPanel.__init__): The toolbar should |
80 |
|
be allowed to grow within the sizer. Fixes a bug under Windows |
81 |
|
where the toolbar wasn't being drawn. |
82 |
|
|
83 |
|
2003-04-14 Frank Koormann <[email protected]> |
84 |
|
|
85 |
|
* Resources/Bitmaps/dock_12.xpm, Resources/Bitmaps/undock_12.xpm: |
86 |
|
Updated design to try to make the button functionality more |
87 |
|
transparent. |
88 |
|
|
89 |
|
2003-04-14 Jonathan Coles <[email protected]> |
90 |
|
|
91 |
|
* Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to |
92 |
|
finalize the intialization of the panel. |
93 |
|
|
94 |
|
* Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the |
95 |
|
creation of the panel. Should be the last thing called in the |
96 |
|
initializer of a subclass. |
97 |
|
|
98 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively |
99 |
|
set the current selections in the combo boxes. This is needed |
100 |
|
under Windows. |
101 |
|
|
102 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Add a top |
103 |
|
level panel to the dialog so that the background colors are |
104 |
|
consistent under Windows. |
105 |
|
|
106 |
|
2003-04-11 Jonathan Coles <[email protected]> |
107 |
|
|
108 |
|
* Thuban/UI/classgen.py: Change color ramps to start at white |
109 |
|
not black. |
110 |
|
|
111 |
|
* Thuban/UI/legend.py: Enable/disable the legend buttons when |
112 |
|
the legend changes. Fixes RTbug #1793. |
113 |
|
|
114 |
|
* test/test_classification.py: Added test for copying of |
115 |
|
classifications. |
116 |
|
|
117 |
|
2003-04-11 Jonathan Coles <[email protected]> |
118 |
|
|
119 |
|
* Thuban/UI/resource.py: New. Centralize the loading of resources |
120 |
|
such as bitmaps. |
121 |
|
|
122 |
|
* Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons, |
123 |
|
added images to the move buttons, added 'reverse' button. |
124 |
|
(CustomRampPanel.__init__): Added images to the move buttons. |
125 |
|
(GreyRamp): New. Generates a ramp from white to black. |
126 |
|
(HotToColdRamp): New. Generates a ramp from cold to hot colors. |
127 |
|
|
128 |
|
* Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to |
129 |
|
ID_PROPERTY_*. |
130 |
|
(Classifier.__init__): Minor changes to the layout. |
131 |
|
(Classifier._OnTitleChanged): Listen for when the user edits the |
132 |
|
title and update the dialog's title and the layer's title. |
133 |
|
|
134 |
|
* Thuban/UI/dock.py: Use new bitmaps for the control buttons. |
135 |
|
|
136 |
|
* Thuban/UI/legend.py: Use new bitmaps for the control buttons. |
137 |
|
(LegendTree._OnMsgLayerTitleChanged): Change the displayed title |
138 |
|
if the layer's title changes. |
139 |
|
|
140 |
|
* Thuban/UI/mainwindow.py: Added new menu item and associated code |
141 |
|
to open a dialog to rename the map. |
142 |
|
(MainWindow): Use new resource class to import bitmaps. |
143 |
|
|
144 |
|
2003-04-11 Jonathan Coles <[email protected]> |
145 |
|
|
146 |
|
* Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm, |
147 |
|
Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm, |
148 |
|
Resources/Bitmaps/group_use_none.xpm, |
149 |
|
Resources/Bitmaps/group_use_not.xpm, |
150 |
|
Resources/Bitmaps/hide_layer.xpm, |
151 |
|
Resources/Bitmaps/layer_properties.xpm, |
152 |
|
Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm, |
153 |
|
Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm: |
154 |
|
New. |
155 |
|
|
156 |
2003-04-10 Jonathan Coles <[email protected]> |
2003-04-10 Jonathan Coles <[email protected]> |
157 |
|
|
158 |
* Thuban/Model/classification.py: (ClassGroupRange.__init__): |
* Thuban/Model/classification.py: (ClassGroupRange.__init__): |