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