/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 37 - (show annotations)
Sun Aug 12 22:00:10 2007 UTC (17 years, 6 months ago) by teichmann
File size: 11699 byte(s)
Choices are groups and options are embedded bools now. WARNING: This breaks compatibility with old documents.
1 2007-08-12 Sascha L. Teichmann <[email protected]>
2
3 * tools/formed/formed/model/data.py,
4 tools/formed/formed/plugins/web/renderer.py,
5 tools/formed/formed/io/document.py: Changed the structure
6 of choice constructs. The idea to hold the different items
7 of a particular choice in a semicolon separated list was bad.
8 Now choices are groups and the option items are modelled as
9 embedded bools. (mainly Torsten Irländer's idea).
10
11 WARNING: this makes old document files containing choices incompatible!!!
12 Use the following XSLT to reestablish compatibility.
13
14 * contrib/itemize-choices.xsl: New converts old to new structure.
15 Needs exslt.org's string extensions (which xsltproc includes)
16
17 * tools/formed/test-data/simple.xml: Ajusted to new structure
18
19 * tools/formed/formed/plugins/web/plugin.py: remove debug output
20
21 * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
22 node finding code. It now uses the walk() generator, too.
23
24 2007-08-12 Sascha L. Teichmann <[email protected]>
25
26 * tools/formed/formed/main.py: Added a clone item on the toolbar which
27 copies the currently selected item and appends it after the selection.
28
29 * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
30 of the tree.
31
32 * tools/formed/formed/ui/controls.py: Added a getSelected method.
33
34 * tools/formed/formed/model/misc.py: Fixed a programming bug.
35 forgot a 'self.' prefix.
36
37 2007-08-12 Sascha L. Teichmann <[email protected]>
38
39 * tools/formed/formed/model/nodecomponents.py: Added a method to append
40 a second document to the current.
41
42 * tools/formed/formed/main.py: Added an 'Import' file menu item to load
43 a second document to be appended to the current.
44
45 2007-08-12 Sascha L. Teichmann <[email protected]>
46
47 * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
48 a new document when triggered.
49
50 2007-08-12 Sascha L. Teichmann <[email protected]>
51
52 * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
53 items in the document tree. Added a method to eliminated duplicated names
54 in document tree.
55
56 * tools/formed/formed/model/misc.py: Added update mechanism for id generator
57 after names collisions are eliminated.
58
59 * tools/formed/formed/main.py: Added an 'Extra' menu with item
60 'Make names unique'.
61
62 2007-08-11 Sascha L. Teichmann <[email protected]>
63
64 * tools/formed/formed/model/data.py,
65 tools/formed/formed/plugins/web/renderer.py: Removed support
66 for 'text' attributes in bool items. They were never really
67 used and the 'description' attributes fulfill the same
68 purpose.
69
70 * contrib/remove-bool-text.xsl: Transform to remove the
71 'text' attributes from bool items. Apply with:
72 'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
73
74 * tools/formed/test-data/simple.xml: Removed 'text' attributes
75 from bool items.
76
77 2007-08-11 Sascha L. Teichmann <[email protected]>
78
79 * contrib/convert-choices.xsl: Simpified.
80
81 2007-08-11 Sascha L. Teichmann <[email protected]>
82
83 * tools/formed/formed/model/data.py: Removed 'options' attribute
84 from ChoiceLeaf. Use 'value' instead, please!
85
86 * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
87 instead of 'options' to render choices.
88
89 * contrib/convert-choices.xsl: Added to convert document files
90 which use the choice 'option' attribute to usage of 'value'.
91 Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
92
93 2007-08-10 Sascha L. Teichmann <[email protected]>
94
95 * tools/formed/formed/plugins/web/renderer.py: radio buttons
96 are selected by 'checked' and not by 'selected'. Fixed.
97
98 2007-08-10 Sascha L. Teichmann <[email protected]>
99
100 * tools/formed/formed/model/data.py: ChoiceLeafs are now
101 initialized with size = 1.
102
103 2007-08-10 Sascha L. Teichmann <[email protected]>
104
105 * tools/formed/formed/model/data.py: TextLeafs are now
106 initialized with size = 40, maxlength = 60
107
108 2007-08-10 Sascha L. Teichmann <[email protected]>
109
110 * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
111 are renderered with description now.
112
113 2007-08-10 Sascha L. Teichmann <[email protected]>
114
115 * tools/formed/formed/plugins/web/renderer.py: Added rendering
116 for date items. Added missing ids for texts and textareas.
117
118 2007-08-10 Sascha L. Teichmann <[email protected]>
119
120 * tools/formed/formed/config.py: Evaluate the environment
121 variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
122
123 * tools/formed/formed/plugins/plugin.py: Give a reference
124 to the config at setup time.
125
126 * tools/formed/formed/plugins/web/plugin.py: To determine
127 the port look at FORMED dictionary first. Key is 'web.port'.
128 e.g. FORMED='web.port:8888'
129
130 * tools/formed/formed/main.py: Call the plugin setup with
131 the reference to the config.
132
133 2007-08-10 Sascha L. Teichmann <[email protected]>
134
135 * tools/formed/test-data/simple.xml: removed 'text' attributes from
136 info tags. Use the 'value' attributes for same purpose now, please!
137
138 * tools/formed/formed/model/data.py: removed text attributes from
139 InfoLeaf.
140
141 * tools/formed/formed/plugins/web/renderer.py: Rendering of info
142 now uses the 'value' instead of the 'text' attributes.
143
144 2007-08-09 Sascha L. Teichmann <[email protected]>
145
146 * tools/formed/formed/model/data.py: next/prevPage() are
147 methods of PageNode now.
148
149 * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
150 is method of Document now.
151
152 * tools/formed/formed/plugins/web/plugin.py: Factored out
153 the HTML renderer.
154
155 * tools/formed/formed/plugins/web/renderer.py: New: contains
156 the HTML renderer now.
157
158 * tools/formed/test-data/simple.xml: Fixed typo
159
160 2007-08-09 Sascha L. Teichmann <[email protected]>
161
162 * tools/formed/formed/plugins/web/plugin.py: Fixed a bug
163 in calculation of width of bounded int fields.
164
165 2007-08-09 Sascha L. Teichmann <[email protected]>
166
167 * tools/formed/test-data/simple.xml: Make demo Int fancier.
168
169 * tools/formed/formed/model/data.py: Added attributes to IntLeaf
170
171 * tools/formed/formed/plugins/web/plugin.py: Added rendering for
172 Ints
173
174 2007-08-09 Sascha L. Teichmann <[email protected]>
175
176 * tools/formed/test-data/simple.xml: Added demo textarea
177
178 * tools/formed/formed/model/data.py: Added TextAreaLeaf
179
180 * tools/formed/formed/io/document.py: register builder
181 for loading of textareas
182
183 * tools/formed/formed/plugins/web/plugin.py: Added rendering
184 for textareas.
185
186 2007-08-09 Sascha L. Teichmann <[email protected]>
187
188 * tools/formed/test-data/simple.xml: Make demo choice fancier.
189
190 * tools/formed/formed/model/data.py: Added attributes for texts
191
192 * tools/formed/formed/plugins/web/plugin.py: Added rendering
193 for texts
194
195 2007-08-09 Sascha L. Teichmann <[email protected]>
196
197 * tools/formed/test-data/simple.xml: Make demo choice fancier.
198
199 * tools/formed/formed/model/data.py: Added attributes for choices.
200
201 * tools/formed/formed/plugins/web/plugin.py: Added rendering
202 for choices
203
204 2007-08-09 Sascha L. Teichmann <[email protected]>
205
206 * tools/formed/formed/model/data.py,
207 tools/formed/formed/model/nodecomponents.py: Added new
208 attributes.
209
210 * tools/formed/formed/plugins/web/plugin.py: Added rendering
211 for checkboxes and radio buttons.
212
213 2007-08-08 Sascha L. Teichmann <[email protected]>
214
215 * tools/formed/test-data/simple.xml: Added some descriptions
216
217 * tools/formed/formed/model/data.py: set attributes in constructors
218 directly.
219
220 * tools/formed/formed/model/nodecomponents.py: Added description
221 attribute in the NodeComponent base class.
222
223 * tools/formed/formed/plugins/web/plugin.py: Render description
224 as legend in fieldset for GroupNodes.
225
226 2007-08-08 Sascha L. Teichmann <[email protected]>
227
228 * tools/formed/formed/plugins/web/plugin.py: make UTF-8
229 output work.
230
231 2007-08-08 Sascha L. Teichmann <[email protected]>
232
233 * tools/formed/formed/model/data.py: Added get/setText() method
234
235 * tools/formed/formed/plugins/web/plugin.py: Added a first
236 version of a recursive HTML renderer based on the document
237 tree.
238
239 2007-08-08 Sascha L. Teichmann <[email protected]>
240
241 * tools/formed/formed/plugins/*: New: plug-in infrastructure.
242
243 * tools/formed/formed/plugins/web/*: new: A simple web server
244 which is intended to serve pages of the current formular.
245
246 * tools/formed/formed/main.py: start the plug-ins
247
248 * tools/formed/formed/config.py: configuration class. Used
249 for the plug-ins.
250
251 2007-08-08 Sascha L. Teichmann <[email protected]>
252
253 * tools/formed/formed/model/nodecomponents.py: Fixed broadcasting
254 issue with zero length tree paths.
255
256 * tools/formed/formed/model/misc.py: New: contains a class
257 for generating unique ids.
258
259 * tools/formed/formed/main.py: Added an instance of an
260 unique id generator for naming of new made tree items.
261
262 2007-08-07 Sascha L. Teichmann <[email protected]>
263
264 * tools/formed/formed/main.py: Added event route document ->
265 attribute table to get informed when selected item is delete
266 or an attribute is changed from the outside.
267
268 * tools/formed/formed/ui/controls.py: Fixed. In older versions of
269 wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
270 of 3 argument. Uses icons+tooltips for tree navigation now.
271
272 2007-08-07 Sascha L. Teichmann <[email protected]>
273
274 * tools/formed/formed/model/nodecomponents.py: Set name
275 attribute in base class.
276
277 * tools/formed/formed/io/document.py: Added a table
278 names -> classes.
279
280 * tools/formed/formed/main.py: Added a toolbar. Added code
281 to create and delete tree items.
282
283 * tools/formed/formed/ui/controls.py: Added code to
284 insert and delete new tree items.
285
286 2007-08-07 Sascha L. Teichmann <[email protected]>
287
288 * tools/formed/formed/model/nodecomponents.py: Fixed event
289 broadcasting for attribute changes.
290
291 * tools/formed/formed/ui/controls.py: Add a list/table control to
292 edit the attributes of a selected item.
293
294 * tools/formed/formed/main.py: Added code to bind the new
295 list/table control.
296
297 2007-08-06 Sascha L. Teichmann <[email protected]>
298
299 * tools/formed/formed/main.py: Added event routes to move
300 items in and out of groups.
301
302 * tools/formed/formed/ui/controls.py: Added code to move
303 items in and out of groups.
304
305 2007-08-06 Sascha L. Teichmann <[email protected]>
306
307 * tools/formed/formed/model/nodecomponents.py: Fixed path
308 calculation to root and event broadcasting
309
310 * tools/formed/formed/io/factories.py: Adjust to new
311 event broadcasting.
312
313 * tools/formed/formed/main.py: Added code to move items
314 up and down the document tree.
315
316 * tools/formed/formed/ui/controls.py: Establish sort order
317 by indices of children in parent instead of alphanum.
318 Code to move items up and down the document tree.
319
320 * tools/formed/formed/io/document.py: Added missing imports.
321
322 2007-08-06 Sascha L. Teichmann <[email protected]>
323
324 * tools/formed/formed.py: Added to avoid problems with
325 ambiguous absolute module names. Thanks to Bernhard Herzog
326
327 * tools/formed/formed.sh: Starts formed.py now
328
329 * tools/formed/formed/main.py,
330 tools/formed/formed/ui/controls.py: Added control to
331 move items around in tree. Has no effect by now.
332
333 2007-08-05 Sascha L. Teichmann <[email protected]>
334
335 * tools/formed/formed/io/parser.py: Adjusted style
336
337 * tools/formed/formed/io/document.py,
338 tools/formed/formed/io/factories.py: Simplified factory
339 model for XML loading.
340
341 2007-08-05 Sascha L. Teichmann <[email protected]>
342
343 * ChangeLog: started ChangeLog
344
345 * tools/formed/*: initial check-in of the Formular Editor.
346 Not working yet. Only can load, view and store formular XML files.
347 Start it with 'tools/formed/formed.sh'.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26