1 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/data.py: ChoiceLeafs are now |
4 |
|
initialized with size = 1. |
5 |
|
|
6 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
7 |
|
|
8 |
|
* tools/formed/formed/model/data.py: TextLeafs are now |
9 |
|
initialized with size = 40, maxlength = 60 |
10 |
|
|
11 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed: choices |
14 |
|
are renderered with description now. |
15 |
|
|
16 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
17 |
|
|
18 |
|
* tools/formed/formed/plugins/web/renderer.py: Added rendering |
19 |
|
for date items. Added missing ids for texts and textareas. |
20 |
|
|
21 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
22 |
|
|
23 |
|
* tools/formed/formed/config.py: Evaluate the environment |
24 |
|
variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' |
25 |
|
|
26 |
|
* tools/formed/formed/plugins/plugin.py: Give a reference |
27 |
|
to the config at setup time. |
28 |
|
|
29 |
|
* tools/formed/formed/plugins/web/plugin.py: To determine |
30 |
|
the port look at FORMED dictionary first. Key is 'web.port'. |
31 |
|
e.g. FORMED='web.port:8888' |
32 |
|
|
33 |
|
* tools/formed/formed/main.py: Call the plugin setup with |
34 |
|
the reference to the config. |
35 |
|
|
36 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
37 |
|
|
38 |
|
* tools/formed/test-data/simple.xml: removed 'text' attributes from |
39 |
|
info tags. Use the 'value' attributes for same purpose now, please! |
40 |
|
|
41 |
|
* tools/formed/formed/model/data.py: removed text attributes from |
42 |
|
InfoLeaf. |
43 |
|
|
44 |
|
* tools/formed/formed/plugins/web/renderer.py: Rendering of info |
45 |
|
now uses the 'value' instead of the 'text' attributes. |
46 |
|
|
47 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
48 |
|
|
49 |
|
* tools/formed/formed/model/data.py: next/prevPage() are |
50 |
|
methods of PageNode now. |
51 |
|
|
52 |
|
* tools/formed/formed/model/nodecomponents.py: findByClassAndName() |
53 |
|
is method of Document now. |
54 |
|
|
55 |
|
* tools/formed/formed/plugins/web/plugin.py: Factored out |
56 |
|
the HTML renderer. |
57 |
|
|
58 |
|
* tools/formed/formed/plugins/web/renderer.py: New: contains |
59 |
|
the HTML renderer now. |
60 |
|
|
61 |
|
* tools/formed/test-data/simple.xml: Fixed typo |
62 |
|
|
63 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
64 |
|
|
65 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed a bug |
66 |
|
in calculation of width of bounded int fields. |
67 |
|
|
68 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
69 |
|
|
70 |
|
* tools/formed/test-data/simple.xml: Make demo Int fancier. |
71 |
|
|
72 |
|
* tools/formed/formed/model/data.py: Added attributes to IntLeaf |
73 |
|
|
74 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering for |
75 |
|
Ints |
76 |
|
|
77 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
78 |
|
|
79 |
|
* tools/formed/test-data/simple.xml: Added demo textarea |
80 |
|
|
81 |
|
* tools/formed/formed/model/data.py: Added TextAreaLeaf |
82 |
|
|
83 |
|
* tools/formed/formed/io/document.py: register builder |
84 |
|
for loading of textareas |
85 |
|
|
86 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
87 |
|
for textareas. |
88 |
|
|
89 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
90 |
|
|
91 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
92 |
|
|
93 |
|
* tools/formed/formed/model/data.py: Added attributes for texts |
94 |
|
|
95 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
96 |
|
for texts |
97 |
|
|
98 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
99 |
|
|
100 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
101 |
|
|
102 |
|
* tools/formed/formed/model/data.py: Added attributes for choices. |
103 |
|
|
104 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
105 |
|
for choices |
106 |
|
|
107 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
108 |
|
|
109 |
|
* tools/formed/formed/model/data.py, |
110 |
|
tools/formed/formed/model/nodecomponents.py: Added new |
111 |
|
attributes. |
112 |
|
|
113 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
114 |
|
for checkboxes and radio buttons. |
115 |
|
|
116 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
117 |
|
|
118 |
|
* tools/formed/test-data/simple.xml: Added some descriptions |
119 |
|
|
120 |
|
* tools/formed/formed/model/data.py: set attributes in constructors |
121 |
|
directly. |
122 |
|
|
123 |
|
* tools/formed/formed/model/nodecomponents.py: Added description |
124 |
|
attribute in the NodeComponent base class. |
125 |
|
|
126 |
|
* tools/formed/formed/plugins/web/plugin.py: Render description |
127 |
|
as legend in fieldset for GroupNodes. |
128 |
|
|
129 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
130 |
|
|
131 |
|
* tools/formed/formed/plugins/web/plugin.py: make UTF-8 |
132 |
|
output work. |
133 |
|
|
134 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
135 |
|
|
136 |
|
* tools/formed/formed/model/data.py: Added get/setText() method |
137 |
|
|
138 |
|
* tools/formed/formed/plugins/web/plugin.py: Added a first |
139 |
|
version of a recursive HTML renderer based on the document |
140 |
|
tree. |
141 |
|
|
142 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/*: New: plug-in infrastructure. |
145 |
|
|
146 |
|
* tools/formed/formed/plugins/web/*: new: A simple web server |
147 |
|
which is intended to serve pages of the current formular. |
148 |
|
|
149 |
|
* tools/formed/formed/main.py: start the plug-ins |
150 |
|
|
151 |
|
* tools/formed/formed/config.py: configuration class. Used |
152 |
|
for the plug-ins. |
153 |
|
|
154 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
155 |
|
|
156 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed broadcasting |
157 |
|
issue with zero length tree paths. |
158 |
|
|
159 |
|
* tools/formed/formed/model/misc.py: New: contains a class |
160 |
|
for generating unique ids. |
161 |
|
|
162 |
|
* tools/formed/formed/main.py: Added an instance of an |
163 |
|
unique id generator for naming of new made tree items. |
164 |
|
|
165 |
|
2007-08-07 Sascha L. Teichmann <[email protected]> |
166 |
|
|
167 |
|
* tools/formed/formed/main.py: Added event route document -> |
168 |
|
attribute table to get informed when selected item is delete |
169 |
|
or an attribute is changed from the outside. |
170 |
|
|
171 |
|
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
172 |
|
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
173 |
|
of 3 argument. Uses icons+tooltips for tree navigation now. |
174 |
|
|
175 |
|
2007-08-07 Sascha L. Teichmann <[email protected]> |
176 |
|
|
177 |
|
* tools/formed/formed/model/nodecomponents.py: Set name |
178 |
|
attribute in base class. |
179 |
|
|
180 |
|
* tools/formed/formed/io/document.py: Added a table |
181 |
|
names -> classes. |
182 |
|
|
183 |
|
* tools/formed/formed/main.py: Added a toolbar. Added code |
184 |
|
to create and delete tree items. |
185 |
|
|
186 |
|
* tools/formed/formed/ui/controls.py: Added code to |
187 |
|
insert and delete new tree items. |
188 |
|
|
189 |
|
2007-08-07 Sascha L. Teichmann <[email protected]> |
190 |
|
|
191 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed event |
192 |
|
broadcasting for attribute changes. |
193 |
|
|
194 |
|
* tools/formed/formed/ui/controls.py: Add a list/table control to |
195 |
|
edit the attributes of a selected item. |
196 |
|
|
197 |
|
* tools/formed/formed/main.py: Added code to bind the new |
198 |
|
list/table control. |
199 |
|
|
200 |
|
2007-08-06 Sascha L. Teichmann <[email protected]> |
201 |
|
|
202 |
|
* tools/formed/formed/main.py: Added event routes to move |
203 |
|
items in and out of groups. |
204 |
|
|
205 |
|
* tools/formed/formed/ui/controls.py: Added code to move |
206 |
|
items in and out of groups. |
207 |
|
|
208 |
|
2007-08-06 Sascha L. Teichmann <[email protected]> |
209 |
|
|
210 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed path |
211 |
|
calculation to root and event broadcasting |
212 |
|
|
213 |
|
* tools/formed/formed/io/factories.py: Adjust to new |
214 |
|
event broadcasting. |
215 |
|
|
216 |
|
* tools/formed/formed/main.py: Added code to move items |
217 |
|
up and down the document tree. |
218 |
|
|
219 |
|
* tools/formed/formed/ui/controls.py: Establish sort order |
220 |
|
by indices of children in parent instead of alphanum. |
221 |
|
Code to move items up and down the document tree. |
222 |
|
|
223 |
|
* tools/formed/formed/io/document.py: Added missing imports. |
224 |
|
|
225 |
|
2007-08-06 Sascha L. Teichmann <[email protected]> |
226 |
|
|
227 |
|
* tools/formed/formed.py: Added to avoid problems with |
228 |
|
ambiguous absolute module names. Thanks to Bernhard Herzog |
229 |
|
|
230 |
|
* tools/formed/formed.sh: Starts formed.py now |
231 |
|
|
232 |
|
* tools/formed/formed/main.py, |
233 |
|
tools/formed/formed/ui/controls.py: Added control to |
234 |
|
move items around in tree. Has no effect by now. |
235 |
|
|
236 |
|
2007-08-05 Sascha L. Teichmann <[email protected]> |
237 |
|
|
238 |
|
* tools/formed/formed/io/parser.py: Adjusted style |
239 |
|
|
240 |
|
* tools/formed/formed/io/document.py, |
241 |
|
tools/formed/formed/io/factories.py: Simplified factory |
242 |
|
model for XML loading. |
243 |
|
|
244 |
2007-08-05 Sascha L. Teichmann <[email protected]> |
2007-08-05 Sascha L. Teichmann <[email protected]> |
245 |
|
|
246 |
* ChangeLog: started ChangeLog |
* ChangeLog: started ChangeLog |