/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26