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]> |
2003-04-14 Jonathan Coles <[email protected]> |
71 |
|
|
72 |
* Thuban/UI/dock.py: Fixes some window resizing problems most |
* Thuban/UI/dock.py: Fixes some window resizing problems most |