/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26