/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 202 - (hide annotations)
Sun Oct 7 09:48:51 2007 UTC (17 years, 4 months ago) by teichmann
File size: 60774 byte(s)
SQL exporter: factored out legacy exporters to separate file.
1 teichmann 202 2007-10-07 Sascha L. Teichmann <[email protected]>
2    
3     * tools/formed/formed/plugins/export/old_sql.py: New. Contains
4     the legacy SQL export filters.
5    
6     * tools/formed/formed/plugins/export/sql.py: Factored out the
7     legacy SQL export filters to old_sql.
8    
9     * tools/formed/formed/config.py: Adjusted to fetch legacy
10     filters from old_sql.
11    
12 teichmann 201 2007-10-06 Sascha L. Teichmann <[email protected]>
13 teichmann 197
14 teichmann 201 * pdf2xfa/**: Initial import of the PDF to XFA server.
15    
16     2007-10-06 Sascha L. Teichmann <[email protected]>
17    
18 teichmann 200 * tools/formed/formed/plugins/export/sql.py: Fixed bug
19     that made choices of three elements to booleans if
20     they have other meanings than 'Ja', 'Nein', 'keine Angabe'.
21    
22 teichmann 201 2007-10-05 Sascha L. Teichmann <[email protected]>
23 teichmann 200
24 teichmann 199 * tools/formed/formed/plugins/export/sql.py: Select ids of
25     underlaying tables in views too.
26    
27     2007-10-04 Sascha L. Teichmann <[email protected]>
28    
29 teichmann 198 * tools/formed/formed/plugins/export/sql.py: Create schema inside transaction.
30     Various bug fixes.
31    
32     2007-10-04 Sascha L. Teichmann <[email protected]>
33    
34 teichmann 197 * tools/formed/formed/model/data.py: Added GroupNode.allWidgets()
35     to extract fields from embedded repeat groups.
36    
37     * tools/formed/formed/plugins/export/sql.py: The SQL exporter exports
38     views per page too. Result not tested yet.
39    
40 teichmann 195 2007-10-01 Sascha L. Teichmann <[email protected]>
41    
42 teichmann 196 * tools/formed/formed/plugins/web/view_renderer.py: Ignore
43     in-page repeat groups while rendering pages.
44    
45     2007-10-01 Sascha L. Teichmann <[email protected]>
46    
47 teichmann 195 * tools/formed/formed/model/nodecomponents.py: Added visitor
48     traversals for document trees.
49    
50     * tools/formed/formed/model/data.py: Rewrote the
51     Page.allWidgets() method to use new visitor for
52     tree traversal.
53    
54 torsten 194 2007-09-27 Torsten Irlaender <[email protected]>
55 teichmann 195
56 torsten 194 * tools/formed/formed/plugins/names/filter.py: Pages are now included
57     in the rename by formular name algorithm
58    
59 teichmann 192 2007-09-26 Sascha L. Teichmann <[email protected]>
60    
61 teichmann 193 * tools/formed/formed/model/data.py: Removed old {next|prev}Page()
62     TODO: rewrite Page.allWidgets().
63    
64     * tools/formed/formed/model/nodecomponents.py: Added a method
65     Node.firstLevel(criterion) to walk a defined line in the tree.
66    
67     * tools/formed/formed/plugins/export/sql.py: Extract data suitable to
68     build views and respective joins.
69    
70     2007-09-26 Sascha L. Teichmann <[email protected]>
71    
72 teichmann 192 * tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to
73     FORMED environment variable. If set to true tidylib is used to
74     filter HTML content to be W3C valid. To use this feature install
75     uTidylib.
76    
77     * tools/formed/formed/plugins/web/server.py: Check if MIME type is
78     text/html and filters content through tidy if requested.
79    
80 torsten 191 2007-09-25 Torsten Irlaender <[email protected]>
81 teichmann 192
82 torsten 191 * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
83     cleanup of the form generation code.
84    
85 teichmann 190 2007-09-21 Sascha L. Teichmann <[email protected]>
86    
87     * tools/formed/formed/plugins/export/sql.py: Added generation time
88     and DROP TABLE statements to schema export.
89    
90 teichmann 188 2007-09-20 Sascha L. Teichmann <[email protected]>
91    
92 teichmann 189 * tools/formed/formed/plugins/export/sql.py: The tables are generated
93     in correct topolocial order now.
94    
95     2007-09-20 Sascha L. Teichmann <[email protected]>
96    
97 teichmann 188 * tools/formed/formed/plugins/export/mode.py: New. Filter to export
98     a document with items that are in given mode.
99    
100     * tools/formed/formed/model/nodecomponents.py: Added methods to clone
101     trees depending on selected modes.
102    
103     * tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py:
104     Fixed clone issue with RuleNodes.
105    
106     * tools/formed/formed/config.py: Use new plug-in.
107    
108 teichmann 187 2007-09-17 Sascha L. Teichmann <[email protected]>
109    
110     * tools/formed/formed/plugins/web/view_renderer.py: Make the
111     view renderer a real view renderer. It takes a list of
112     items now and not only a single page.
113    
114     * tools/formed/formed/plugins/web/renderer.py: Feed a list
115     of items to the view renderer.
116    
117 torsten 186 2007-09-17 Torsten Irlaender <[email protected]>
118 teichmann 187
119 torsten 186 * tools/formed/formed/plugins/web/view_renderer.py:
120     Small tweaks in rendering bools.
121     RadioNodes (with all its children) can now be placed in a container.
122     The radiobools will not get a surrounding <div> anymore.
123     I am not sure if the new way results in the wanted behaivor, but the
124     rendering results are much better now :)
125     Maybe we need a similar approach for checkboxes?
126     Rendering groups is still broken in some way.
127    
128 teichmann 183 2007-09-17 Sascha L. Teichmann <[email protected]>
129    
130 teichmann 185 * tools/formed/formed/plugins/web/view_renderer.py: Fixed
131     a few bugs: Do not render empty containers, do not
132 teichmann 187 generate misplaced <br class="newline"> in choices.
133     Add a nameless container to catch the items that are
134     nor explicitly assigned to a target. Removed FormData.
135 teichmann 185
136     * tools/formed/formed/plugins/web/renderer.py: Removed
137     a needless import
138    
139     2007-09-17 Sascha L. Teichmann <[email protected]>
140    
141 teichmann 184 * tools/formed/formed/plugins/web/view_renderer.py: Implemented
142     usage of 'containers' and 'target' attributes.
143    
144     * tools/formed/formed/plugins/web/controllers.py: Modified import.
145    
146     * tools/formed/formed/plugins/web/renderer.py: Use
147     new ViewRenderer.
148    
149     2007-09-17 Sascha L. Teichmann <[email protected]>
150    
151 teichmann 183 * tools/formed/formed/model/nodecomponents.py: Added attributes
152     'target' to NodeComponent and 'containers' to Node.
153    
154     * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
155     to be a replacement for form_renderer. Not ready yet!
156    
157     * ChangeLog: Fixed some indention glitches.
158    
159     2007-09-13 Torsten Irlaender <[email protected]>
160    
161 torsten 182 * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
162     renaming algorithm.
163    
164 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
165    
166 torsten 181 * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
167     from formular navigation to "Fallakte Inhalt"
168    
169 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
170    
171 torsten 180 * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
172     values (dates) were not pretty printed.
173 teichmann 183
174 torsten 180 * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
175     label rendering for choicelists.
176    
177 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
178    
179 torsten 179 * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
180     choicelist did not get selected when the value is set to "0"
181    
182 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
183    
184 torsten 178 * tools/formed/formed/plugins/web/form_renderer.py: Added
185     "getPrintableData" method, for the formdata Class which will return
186     the description rather than the value of element in the ID. This is
187     need for displaying the choises in a right way.
188    
189     * tools/formed/formed/plugins/web/renderer.py: Changed string
190     "Fallnummer" into "Kundennummer" in the templates. Added
191     Kundennummer to the dataset digest output. Bound in the new
192     "getPrintableData" call for the digest.
193    
194 teichmann 183 2007-10-11 Sascha L. Teichmann <[email protected]>
195 teichmann 176
196 teichmann 177 * tools/formed/formed/plugins/export/data.py: The import/export
197     of data is now implemented with filters (the most consequent
198 teichmann 183 way in terms of design of FormEd). The support of the 'persistent'
199     FORMED env-variable support has been removed.
200    
201 teichmann 177 * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
202     filter file dialog to double as import dialog.
203    
204     * tools/formed/formed/main.py: Removed the the FORMED-var support
205     for persistence.
206    
207     * tools/formed/formed/config.py: Add the two new filters to the filters
208     list.
209    
210 teichmann 183 2007-10-11 Sascha L. Teichmann <[email protected]>
211 teichmann 177
212 teichmann 176 * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
213     Removed pickle/unpickle stuff.
214    
215     * tools/formed/formed/main.py: Uses the new XML persistence.
216    
217     * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
218     not converted to int indices.
219    
220 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
221 teichmann 175
222     * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
223     with pickle/unpickle.
224    
225     * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
226     Set to a file name it is tried to unpickle a MemoryDataStore from
227 teichmann 183 that file. When exiting the program this file is used to store the
228     current MemoryDataStore state. The storing only works if you exit
229     the program through the Menu File->Exit.
230     usage: FORMED=persistent:test.db ./formed.sh
231 teichmann 175
232 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
233 teichmann 175
234 torsten 174 * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
235     application on the welcome page from "Formed" to "WASKA"
236    
237 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
238 teichmann 175
239 torsten 172 * tools/formed/formed/plugins/web/plugin.py,
240     * tools/formed/formed/plugins/web/controllers.py,
241     * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
242     The infopage provides information on all project participants.
243    
244 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
245 teichmann 171
246     * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
247     issues with error messages (once again).
248    
249 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
250 teichmann 171
251 torsten 170 * tools/formed/formed/plugins/web/form_renderer.py,
252     * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
253     icons in error and confirmation dialogs.
254    
255 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
256 teichmann 168
257 teichmann 169 * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
258     generation for ints, texts and textareas. Fixed h depths of infos.
259    
260 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
261 teichmann 169
262 teichmann 168 * tools/formed/formed/plugins/web/form_renderer.py: Removed
263     debug output for help.
264    
265     * tools/formed/formed/plugins/web/semantic.py: Added forgotten
266     check for bools.
267    
268     * tools/formed/formed/plugins/web/controllers.py: Added correct
269     HTML output of data for bools.
270    
271 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
272 teichmann 168
273 torsten 167 * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
274     textfields for int values. Changed Label for submitbuttons to
275     "Speichern"
276 teichmann 168
277 torsten 167 * tools/formed/formed/plugins/web/plugin.py,
278     tools/formed/formed/plugins/web/controllers.py: Added new
279     NotImplementedHandler to show up a dummysite for not implemented
280     functions.
281 teichmann 168
282 torsten 167 * tools/formed/formed/plugins/web/renderer.py: Added
283     NotImplementedRenderer. Various small fixes. Mostly renaming the
284     labels of some context menus. Error messages are now generated
285     dynamically depending on num errors. Formular navigation has now
286     colored indication for errors.
287    
288 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
289 teichmann 168
290 torsten 166 * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
291     algorithm for the formular navigation to get rid of the problem
292     that some of the items within the navigation are not linked. Now
293     structural group elements are linked with the next page found in the
294     formular structure.
295    
296 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
297 torsten 165 * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
298     div and formtag.
299 teichmann 168
300 torsten 165 * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
301     menu in the conformation dialog when creating a new dataset.
302 teichmann 168
303 torsten 165 * tools/formed/formed/plugins/web/renderer.py: Fixed error when
304     rendering the default welcome page. Changed rendering of the
305     overview and the digest table of the datasets. Added icon for
306     confirmation dialog, moved the icon in the <h1> tags.
307    
308 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
309 teichmann 168
310 torsten 164 * tools/formed/formed/plugins/web/form_renderer.py: Some html
311     generation cleanup. Added error icons to formelements
312 teichmann 168
313 torsten 164 * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
314     of ErrorStatus. Fixed generated of the help tags in the formular
315 teichmann 168
316 torsten 164 * tools/formed/formed/plugins/web/renderer.py: Added error icon for
317     pageerrors. An "!" now indicates errors on pages in the formular
318     navigation. Added new <div> "content" around confirmation dialogss.
319     Links in confimation dialogs are now rendered as buttons. Removed
320     old obsolete OverviewRenderer.
321    
322 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
323 teichmann 163
324     * tools/formed/formed/plugins/web/renderer.py: Highlight selected
325     page in page navigation.
326    
327 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
328 teichmann 163
329 torsten 162 * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
330     displaying formdata when changing datasets. Loading the right
331     formdata was not handled in a correct way. Hope it is all fixed now.
332     Left some commented code because not all sideeffects of the changes
333     are tested yet.
334 teichmann 163
335 torsten 162 * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
336     now uses the correct data out of the formdata.
337    
338 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
339 teichmann 159
340 teichmann 161 * tools/formed/formed/plugins/web/controllers.py: Pretty
341     print format data (dates e.g)
342    
343 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
344 teichmann 161
345 teichmann 160 * tools/formed/formed/plugins/web/controllers.py: Modified
346     ErrorStats a bit to avoid mysterious extra error on page.
347 teichmann 183 No clue why this works.
348 teichmann 160
349 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
350 teichmann 160
351 teichmann 159 * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
352     problem with radio groups, too.
353    
354 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
355 torsten 158 * tools/formed/formed/plugins/web/controllers.py: Sessions are now
356     really removed when deleting a dataset.
357    
358 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
359 teichmann 159
360 torsten 157 * tools/formed/formed/plugins/web/controllers.py: Added new Class
361     ErrorStats which provides Information on remaining errors per page.
362 teichmann 159
363 torsten 157 * tools/formed/formed/plugins/web/renderers.py: Finished movement of
364     the renderer methods from controllers.py to renderers.py.
365 teichmann 159
366 torsten 157 * tools/formed/formed/plugins/web/plugin.py: Removed render_session
367     handlers
368 teichmann 153
369 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
370 torsten 157
371 teichmann 156 * tools/formed/formed/plugins/web/form_renderer.py: values for
372     choices are generated from the document tree now. This brings
373 teichmann 183 the state storage of select boxes in HTML to live.
374 teichmann 156
375 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
376 teichmann 156
377 teichmann 155 * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
378     range checking of integers.
379    
380     * tools/formed/formed/plugins/web/controllers.py: Added class
381     ErrorItem to track errors. They are stored in the session.
382    
383 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
384 teichmann 155
385 teichmann 154 * tools/formed/formed/model/nodecomponents.py: Fixed returning
386     wrong index in Document.indexOfcomponentByClassAndName.
387    
388     * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
389     written 'errot' in renderer for textareas.
390    
391     * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
392    
393 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
394 teichmann 154
395 teichmann 153 * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
396     method. Could be cheaper for some implementations of help.
397    
398     * tools/formed/formed/plugins/web/form_renderer.py: Modified
399     FormData to have distinct getData(), getHelp() and getError()
400 teichmann 183 methods. Various bug fixes.
401 teichmann 153
402     * tools/formed/formed/plugins/web/controllers.py: Implements the
403     new FormData (trivial by now).
404    
405     * tools/formed/formed/plugins/web/renderer.py: New FormData and
406     some bug fixes.
407    
408 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
409 teichmann 152
410     * tools/formed/formed/model/memory.py,
411     tools/formed/formed/model/persistent.py: Add a getValue() method
412 teichmann 183 to dataset abstraction. This is a bit of a workaround to bring
413     global access across pages for rule checking to work.
414 teichmann 152
415     * tools/formed/formed/model/data.py: Fixed: When setting a new expression
416     the compiled version was not stored in the RuleLeaf.
417    
418     * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
419     convert the expression string to ascii for compilation.
420    
421     * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
422     valid data is stored to the dataset immediately now. Fixed a bug
423 teichmann 183 with integer handler.
424 teichmann 152
425     * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
426     stuff. When a submit is done extract the rules from the tree document
427 teichmann 183 that are effected by the modified variables and check them.
428 teichmann 152
429     * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
430     when dealing with templates.
431    
432 teichmann 183 2007-09-07 Torsten Irlaender <[email protected]>
433 torsten 151 * tools/formed/formed/plugins/web/controllers.py,
434     tools/formed/formed/plugins/web/renderer.py: Moved more render
435     functions into renderer.py. New render classes are:
436     DataSetDigestRenderer, DataSetNavigationRenderer,
437     DataSetFormularRenderer, ConfirmationDialogRenderer
438    
439     Note: The new methods are only called from selected handlers. Other
440     handlers call the renderes in the old way.
441    
442 teichmann 183 2007-09-07 Torsten Irlaender <[email protected]>
443 torsten 150 * tools/formed/formed/plugins/web/form_renderer.py: Renamed
444     renderer.py to form_renderer.py. This file will contain formular
445     specfic render methods in the future.
446     * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
447     which will contain general render methods.
448     * tools/formed/formed/plugins/web/controllers.py: Began to move all
449     rendering into renderer.py or form_renderer.py. This file will only
450     contain teh handlers in the future.
451    
452 teichmann 183 2007-09-07 Torsten Irlaender <[email protected]>
453 torsten 148 * tools/formed/formed/plugins/web/renderer.py,
454     tools/formed/formed/plugins/web/controller.py:
455     Renderes now get an instance of the formdata object to provide
456     access the data needed to render various infoboxes etc. Handler
457     instanciate the formdata.
458    
459 teichmann 183 2007-09-06 Torsten Irlaender <[email protected]>
460 torsten 147 * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
461     getFormData interface to work. Added two small semantic fixes, but
462     did not manage to get it up. Need to exime this a little bit more
463     * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
464     around the menus on the right side to be able to assign different
465     styles. Added dataset actions while editing a dataset.
466    
467 teichmann 183 2007-09-05 Torsten Irlaender <[email protected]>
468 torsten 146 * tools/formed/formed/model/memory.py: Fixed deleting datasets by
469     removing unwanted del method
470     * tools/formed/formed/plugins/web/controllers.py: Implemented
471     confiration dialogs for create, delete, and select aof datasets. Started to use
472     templates as well for larger information units like the dataset summary.
473    
474 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
475 teichmann 141
476 teichmann 145 * tools/formed/formed/model/nodecomponents.py: Added a
477     method to document to find index of page.
478    
479     * tools/formed/formed/plugins/web/semantic.py: Added getValue()
480     to fetch data from semantic box.
481    
482     * tools/formed/formed/plugins/web/controllers.py: Added new
483     FormData implementation to support DB and semantic box.
484    
485 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
486 teichmann 145
487 teichmann 144 * tools/formed/formed/plugins/web/renderer.py: escaped
488     error message.
489    
490     * tools/formed/formed/plugins/web/controllers.py: Don't fetch
491     dataset from backend each time a page is up to edit.
492    
493 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
494 teichmann 144
495 teichmann 143 * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
496     returns "Page not found" if given page is None.
497    
498     * tools/formed/formed/plugins/web/controllers.py: Added checks
499     to avoid crashing when ask for a non-existent page.
500    
501 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
502 teichmann 143
503 teichmann 142 * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
504    
505 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
506 teichmann 142
507 teichmann 141 * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
508     and renderers.
509    
510     * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
511     and renderers now. TODO: Move renderers to renderer.py
512    
513 teichmann 183 2007-09-05 Torsten Irlaender <[email protected]>
514 teichmann 141
515 torsten 140 * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
516 teichmann 141 and bound in the the new added functions to create, edit, delete and
517     show formdata.
518 torsten 140
519 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
520 teichmann 139
521     * tools/formed/formed/model/memory.py: Removed bisect and use a
522     simple linear scan for dataset lookup now.
523    
524     * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
525     of different sizes.
526    
527 teichmann 183 2007-09-05 Torsten Irlaender <[email protected]>
528 torsten 138
529     * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
530     fuction
531 teichmann 183
532 torsten 138 * tools/formed/formed/plugins/web/persistent.py: Added store() method
533     to the DataSet interface
534 teichmann 139
535 torsten 138 * tools/formed/formed/plugins/web/renderer.py: Added handlers and
536     renderes for create, update, delete and show actions on formular data.
537    
538 teichmann 183 2007-09-04 Sascha L. Teichmann <[email protected]>
539 torsten 136
540 teichmann 137 * tools/formed/formed/plugins/web/server.py: The mapping
541     to methods is now driven by regualar expressions and
542 teichmann 183 a dictionary. Response objects are now able to send
543     error codes.
544 teichmann 137
545     * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
546     when help in Formdata is None. Moved text for help into
547 teichmann 183 a top level '''...''' variable.
548 teichmann 137
549     * tools/formed/test-data/simple.xml: Added test for help.
550    
551     * tools/formed/formed/plugins/web/help.py: extra None check.
552    
553     * tools/formed/formed/plugins/web/plugin.py: Uses the new
554     table driven mapping of reguest handling. TODO: split the
555 teichmann 183 WebPlugIn.pageHandler() method further to smaller handlers.
556     Smaller clean ups and better exception handling.
557 teichmann 137
558     * tools/formed/formed/plugins/web/cache.py: Report OSErrors
559     and do not catch them.
560    
561 teichmann 183 2007-09-04 Torsten Irlaender <[email protected]>
562 teichmann 137
563 torsten 136 * tools/formed/formed/plugins/web/renderer.py,
564     * tools/formed/formed/plugins/web/plugin.py: Added Interface to
565     the HelpProvider and inserted help icons to the html output.
566     Added decorator for Formelemnts, so textfields, choices etc. are now
567     within a <div> tag.
568     Modified the error messages.
569    
570 teichmann 183 2007-09-04 Sascha L. Teichmann <[email protected]>
571 teichmann 134
572 teichmann 135 * tools/formed/formed/plugins/web/cache.py: New. Implements
573     the server-side caching more clean. Fixes a bug with
574 teichmann 183 serving static content.
575 teichmann 135
576     * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
577    
578 teichmann 183 2007-09-04 Sascha L. Teichmann <[email protected]>
579 teichmann 135
580 teichmann 134 * tools/formed/formed/plugins/web/plugin.py: Set MIME type
581     to "application/xhtml+xml" when serving help texts.
582    
583 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
584 teichmann 132
585 teichmann 133 * tools/formed/formed/plugins/export/diff.py: New. Exports
586     pairwise differences between all modes.
587    
588     * tools/formed/formed/config.py: Use new export filter.
589    
590 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
591 teichmann 133
592     * tools/formed/formed/plugins/web/help.py: New. Parses an
593 teichmann 132 XHTML document for id'ed divs and builds a help lookup.
594    
595     * tools/formed/formed/plugins/web/www/help.tmpl: Template for
596     the help content frame.
597    
598     * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
599     help text index.
600    
601     * tools/formed/formed/plugins/web/plugin.py: Serves the help
602     texts now.
603    
604 teichmann 183 2007-09-03 Torsten Irlaender <[email protected]>
605 teichmann 132
606 torsten 131 * tools/formed/formed/plugins/web/plugin.py: Only visible group
607     elements will be rendered in the formular navigation.
608     Formular pages in the navigation now have their own css-style
609     attributes.
610    
611 teichmann 183 2007-09-03 Torsten Irlaender <[email protected]>
612 teichmann 132
613 torsten 130 * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
614     errors in template
615     * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
616     pageerrors variable
617    
618 teichmann 183 2007-09-03 Frank Koormann <[email protected]>
619 frank 129
620     * tools/formed/formed/plugins/export/html.py
621     (RecursiveExporter): Added annotation to export
622     (fillRow()): Renamed old fillNine to this more generic name.
623    
624    
625 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
626 teichmann 127
627 teichmann 128 * tools/formed/formed/plugins/web/renderer.py: Using the decorator
628     from model.misc now.
629    
630 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
631 teichmann 128
632 teichmann 127 * tools/formed/formed/model/nodecomponents.py: Added an
633     'annotation' attribute to node components. This is to
634 teichmann 183 enable FormEd document authors to add comments to groups
635     and fields.
636 teichmann 127
637 teichmann 183 2007-09-03 Frank Koormann <[email protected]>
638 frank 126
639     * tools/formed/formed/model/nodecomponents.py
640     (NodeComponent.getParent): New method to get node components parent.
641    
642     * tools/formed/formed/plugins/export/html.py: Export Choice option
643     as simple list instead of collection of bools.
644    
645 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
646 teichmann 120
647 teichmann 124 * tools/formed/formed/model/persistent.py: Interfaces to abstract
648     from persistent storage details.
649    
650     * tools/formed/formed/model/memory.py: In core implementation
651     of the persistent interfaces.
652    
653     * tools/formed/formed/main.py: Holds a memory data store now.
654    
655 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
656 teichmann 124
657 teichmann 123 * tools/formed/formed/plugins/export/sql.py,
658     tools/formed/formed/plugins/export/html.py: Fixed constructor chains
659 teichmann 183 for FileDialogFilter sub classes.
660 teichmann 123
661 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
662 teichmann 123
663 teichmann 122 * tools/formed/formed/model/misc.py: Checking the mode in recursive
664     tree traversals is a common task. To ease this a decorator function
665 teichmann 183 checkMode in union with sub classing ModeChecker can be used.
666     To make it work simply subclass from ModeChecker and add the decorator
667     to the methods that need mode tracking. Before you start the recursion
668     call self.prepareDescent().
669 teichmann 122
670     * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
671     now which replace the old. TODO: Make the web renderer use the new scheme
672 teichmann 183 too.
673 teichmann 122
674 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
675 teichmann 122
676 teichmann 121 * tools/formed/formed/plugins/export/sql.py: Removed needless import.
677    
678     * tools/formed/formed/plugins/export/html.py: HTML table exporter
679     uses new FileDialogFilter base class too.
680    
681 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
682 teichmann 121
683 teichmann 120 * tools/formed/formed/plugins/ui/*: New. All file exporters
684     need a file dialog. Till now each of them pulled up its
685 teichmann 183 own. This was silly code replication. Now there is an abstract
686     base class 'FileDialogFilter' which implements the common
687     behavior. The file exporters should subclass it.
688 teichmann 120
689     * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
690     exporters from the new base class. TODO: Subclass the HTML
691 teichmann 183 exporter too.
692 teichmann 120
693 teichmann 183 2007-08-31 Sascha L. Teichmann <[email protected]>
694 teichmann 119
695     * tools/formed/formed/plugins/export/html.py: Make mode check
696     work (again).
697    
698 teichmann 183 2007-08-31 Torsten Irlaender <[email protected]>
699 torsten 117
700 torsten 118 * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
701     exprt works now in a recursive way. This change was needed because
702     the structure of the formedtree has changed to be able to render
703     full hirachically document stuctures. (nested lists)
704     TODO: Fix modechecking
705    
706 teichmann 183 2007-08-31 Torsten Irlaender <[email protected]>
707 torsten 118
708 torsten 117 * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
709     now in recursive way. This change was needed because the structure
710     of the formedtree has changed to be able to render full hirachically
711     document stuctures. (nested lists)
712    
713 teichmann 183 2007-08-31 Sascha L. Teichmann <[email protected]>
714 teichmann 115
715 teichmann 116 * tools/formed/formed/model/nodecomponents.py: use discard()
716     instead of remove on sets.
717    
718     * tools/formed/formed/plugins/export/sql.py: Added an
719     exporter for table views.
720    
721     * tools/formed/formed/config.py: Added the new exporter
722     to the list of export filters.
723    
724 teichmann 183 2007-08-30 Sascha L. Teichmann <[email protected]>
725 teichmann 116
726 teichmann 115 * tools/formed/formed/model/data.py: Fixed a bug in
727     Page.allWidgets()
728    
729     * tools/formed/formed/plugins/export/sql.py: Added an exporter
730     for stored procudeures.
731    
732     * tools/formed/formed/config.py: Add the new SP exporter.
733    
734 teichmann 183 2007-08-29 Torsten Irlaender <[email protected]>
735 frank 111
736 torsten 113 * tools/formed/formed/plugins/web/plugin.py,
737     tools/formed/formed/plugins/web/error_renderer.py: Added interface
738     to get the errors for a whole page in te formular. These errors can
739     now be displayed on the top of the formular.
740    
741 teichmann 183 2007-08-29 Torsten Irlaender <[email protected]>
742 torsten 113
743 torsten 112 * tools/formed/formed/plugins/web/renderer.py: Finished implementation
744     of the getFromData interface and prepared the rederer for generating
745     nice error messages
746    
747 teichmann 183 2007-08-28 Frank Koormann <[email protected]>
748 torsten 112
749 frank 111 * tools/formed/formed/plugins/export/sql.py
750     (SchemaCreator.createSchema, SchemaCreator._createGroup):
751     Fixed typo in created DDS (PRIMRAY -> PRIMARY)
752    
753 teichmann 183 2007-08-28 Torsten Irlaender <[email protected]>
754 torsten 110
755     * tools/formed/formed/plugins/export/sql.py: Added small helper
756     function to generated valid quotes within the sql statements
757    
758 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
759 teichmann 106
760 teichmann 109 * tools/formed/formed/plugins/export/sql.py: Added foreign keys
761     for repeat tables.
762    
763 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
764 teichmann 109
765 teichmann 108 * tools/formed/formed/plugins/export/sql.py: When generating
766     an extra table check in a table of same content exists. In
767 teichmann 183 this case reference the existing table.
768 teichmann 108
769 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
770 teichmann 108
771 teichmann 107 * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
772     _real_ SQL and respect repeat groups.
773    
774     * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
775    
776     * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
777     instead of expensive += string concat in some places.
778    
779 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
780 teichmann 107
781 teichmann 106 * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
782     to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
783    
784 teichmann 183 2007-08-28 Torsten Irlaender <[email protected]>
785 torsten 105
786     * tools/formed/plugins/web/renderer.py: Added Formdata interface.
787     * tools/formed/model/data.py: Implements Formadata interface to
788     textfields. Fieldset generated depends now on the "invisible"
789     attribute of the groupnode. Field-label generation slightly changed.
790     Added error indication to textfields
791    
792 teichmann 183 2007-08-28 Sascha L. Teichmann <[email protected]>
793 teichmann 102
794 teichmann 104 * tools/formed/formed/model/data.py,
795     tools/formed/formed/io/document.py: Removed support
796 teichmann 183 of logical groups.
797 teichmann 104
798 teichmann 183 2007-08-28 Sascha L. Teichmann <[email protected]>
799 teichmann 104
800 teichmann 103 * tools/formed/formed/io/document.py: Avoid saving empty
801     attributes.
802    
803     * tools/formed/test-data/simple.xml: Applied.
804    
805 teichmann 183 2007-08-28 Sascha L. Teichmann <[email protected]>
806 teichmann 103
807 teichmann 102 * tools/formed/formed/model/data.py: Added 'repeat' and
808     'invisible' attributes to group. TODO: remove logical group.
809    
810 teichmann 183 2007-08-27 Torsten Irlaender <[email protected]>
811 teichmann 96
812 torsten 101 * tools/formed/plugins/web/plugin.py,
813     tools/formed/plugins/web/renderer.py: Started to include stylesheet
814     depending tags in the html generation.
815    
816 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
817 torsten 101
818 teichmann 99 * tools/formed/formed/model/data.py,
819     tools/formed/formed/io/document.py: Added a logical group.
820 teichmann 183 It has an attribute 'repeat' to indicate that it might
821     be worthy an external table in DB schema.
822 teichmann 99
823 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
824 teichmann 99
825 teichmann 98 * tools/formed/formed/plugins/web/plugin.py: Support
826     serving of static content.
827    
828     * tools/formed/formed/plugins/web/server.py: Removed
829     old send code.
830    
831 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
832 teichmann 98
833 teichmann 97 * tools/formed/formed/plugins/web/plugin.py: Use new
834     Response object. Fix typo.
835    
836     * tools/formed/formed/plugins/web/server.py: support
837     response object to serve different MIME types.
838    
839 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
840 teichmann 97
841 teichmann 96 * tools/formed/formed/plugins/web/plugin.py: Add web.path
842     to FORMED environment variable to specify the
843 teichmann 183 root of the static content.
844 teichmann 96
845 teichmann 183 2007-08-26 Sascha L. Teichmann <[email protected]>
846 teichmann 93
847 teichmann 95 * tools/formed/formed/model/data.py,
848     tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
849    
850     * tools/formed/formed/plugins/web/www,
851     tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
852 teichmann 183 a template for the HTML output.
853 teichmann 95
854     * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
855     mode issues. Introduces CSS support. Simplified the action
856 teichmann 183 handling.
857 teichmann 95
858     * tools/formed/formed/plugins/web/renderer.py: Removed the
859     nagivation code.
860    
861     * tools/formed/formed/plugins/web/server.py: Added missing import.
862    
863 teichmann 183 2007-08-26 Sascha L. Teichmann <[email protected]>
864 teichmann 95
865 teichmann 94 * tools/formed/formed/model/data.py: Added missing broadcast
866     parameter to setAttribute() of RuleLeaf.
867    
868     * tools/formed/formed/plugins/web/plugin.py: Factorize
869     HTTP server code out to separate module.
870    
871     * tools/formed/formed/plugins/web/renderer.py: Removed
872     needless -1 from pop()
873    
874     * tools/formed/formed/plugins/web/server.py: New. Contains
875     the HTTP server code now.
876    
877 teichmann 183 2007-08-26 Sascha L. Teichmann <[email protected]>
878 teichmann 94
879 teichmann 93 * tools/formed/test-data/simple.xml: Modified to contain a rule.
880    
881     * tools/formed/formed/model/expr.py: Added. A simple RPN
882     expression evaluator. To avoid the problem of eval()ing
883 teichmann 183 arbitrary python expressions I've decided to use a very
884     basic and limited stack machine to support rule checking.
885 teichmann 93
886     * tools/formed/formed/model/data.py: Added a RuleLeaf.
887    
888     * tools/formed/formed/io/document.py: Added factories for rules.
889    
890     * tools/formed/formed/model/nodecomponents.py: Add a method
891     to find all items of a given type in document for a given
892 teichmann 183 mode. Usefull to find all rules in the tree.
893 teichmann 93
894     * tools/formed/formed/ui/controls.py: Added a listener mechanism
895     to attribute table to report exceptions when setting a value
896 teichmann 183 from GUI. Useful to report compilation errors when setting
897     expr of rule leafs.
898 teichmann 93
899     * tools/formed/formed/main.py: Added a method to track exceptions
900     from the attribute table and pop up dialogs if they occur.
901 teichmann 183 Added a counter of rule modifications in tree. Useful if you
902     want build cached data structures like rule sets and you want
903     to know if they are still valid.
904 teichmann 93
905 teichmann 183 2007-08-24 Torsten Irlaender <[email protected]>
906 torsten 90
907 torsten 92 * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
908     for checkbox values. (Syntax error).
909    
910     * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
911     generation
912    
913 teichmann 183 2007-08-24 Torsten Irlaender <[email protected]>
914 torsten 92
915 torsten 90 * tools/formed/formed/plugins/names/filter.py: Separated Class for
916     making the formularnames more database friendly. Added some more
917     checks.
918     * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
919     separated class, and some fixes in sql generation.
920    
921 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
922 teichmann 86
923 teichmann 89 * tools/formed/formed/plugins/export/html.py: Print lengths
924     of external choice list.
925    
926 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
927 teichmann 89
928 teichmann 88 * tools/formed/formed/main.py: Little workaround for
929     mode selection if someone adds an removes a mode.
930    
931 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
932 teichmann 88
933 teichmann 87 * tools/formed/test-data/simple.xml: Better test case for
934     mode depended leaf items.
935    
936     * tools/formed/formed/model/nodecomponents.py: Added a method
937     to calculate the effective mode of an item.
938    
939     * tools/formed/formed/plugins/export/html.py: Use effective
940     mode. TODO: the 'all' modus return false results sometimes.
941 teichmann 183 Cause: The modes are only cumulated over time. Removal is
942     not done.
943 teichmann 87
944 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
945 teichmann 87
946 teichmann 86 * tools/formed/formed/plugins/export/html.py: Dump the items
947     of radio groups and choices too.
948    
949 teichmann 183 2007-08-24 Torsten Irlaender <[email protected]>
950 torsten 85
951     * tools/formed/formed/plugins/names/filter.py: Modified the renaming
952     by formular names to make the naming more database friendly.
953     Now only alphanumeric and underscore chars is allowed.
954    
955 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
956 teichmann 84
957     * tools/formed/formed/plugins/export/html.py: Tweaked
958     HTML table exporter a bit to be on par with the XSLT
959 teichmann 183 script. TODO: Dump items in radio and choice groups.
960 teichmann 84
961 teichmann 183 2007-08-23 Sascha L. Teichmann <[email protected]>
962 teichmann 83
963     * tools/formed/formed/plugins/names/filter.py: Removed
964     HTML and SQL exporters.
965    
966     * tools/formed/formed/plugins/export,
967     tools/formed/formed/plugins/export/__init__.py,
968     tools/formed/formed/plugins/export/sql.py,
969     tools/formed/formed/plugins/export/html.py: New: Contain
970 teichmann 183 the HTML and the SQL exporters now.
971 teichmann 83
972     * tools/formed/formed/config.py: Use exporters from different
973     package now.
974    
975 teichmann 183 2007-08-23 Torsten Irlaender <[email protected]>
976 torsten 82
977     * tools/formed/formed/plugins/names/filter.py: Added an
978     pseudo SQL export filters. TODO: Move HTML and SQL filter
979     in a new file (formed/plugins/export/htmlexport.py and
980     sqlexport.py?)
981    
982     * tools/formed/formed/config.py: Install the new SQL filter.
983    
984 teichmann 183 2007-08-23 Sascha L. Teichmann <[email protected]>
985 teichmann 81
986     * tools/formed/formed/model/nodecomponents.py: Added a depth()
987     method to determine the depth of particular tree item.
988    
989     * tools/formed/formed/plugins/names/filter.py: Added an
990     HTML export filters. TODO: needs more work.
991    
992     * tools/formed/formed/config.py: Install the new HTML filter.
993    
994 teichmann 183 2007-08-23 Torsten Irlaender <[email protected]>
995 torsten 80
996     * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
997     to extract fields and options in the XFA Data in teh PDF. This
998     script might me handy to indicate changes between the different
999     formular versions.
1000    
1001 teichmann 183 2007-08-23 Sascha L. Teichmann <[email protected]>
1002 teichmann 73
1003 teichmann 79 * tools/formed/formed/main.py: Add an 'all' mode to
1004     select all modes. ;-)
1005    
1006 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1007 teichmann 79
1008 teichmann 78 * tools/formed/test-data/simple.xml,
1009     tools/formed/formed/model/data.py,
1010     tools/formed/formed/plugins/web/plugin.py,
1011     tools/formed/formed/plugins/web/renderer.py,
1012     tools/formed/formed/io/document.py,
1013     tools/formed/formed/main.py: Removed support for switch nodes.
1014     BEWARE: This breaks compatibility with older documents!
1015    
1016 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1017 teichmann 78
1018 teichmann 77 * tools/formed/formed/plugins/web/plugin.py: Uses the
1019     getSelectedMode() from main now.
1020    
1021     * tools/formed/formed/main.py: selected mode is now hold
1022     in main.
1023    
1024     * tools/formed/formed/config.py: removed selected mode from
1025     env configuration.
1026    
1027 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1028 teichmann 77
1029 teichmann 76 * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
1030     table are now alphabetically sorted.
1031    
1032 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1033 teichmann 76
1034 teichmann 75 * tools/formed/formed/model/nodecomponents.py: Added code to
1035     establish the new 'modes' recursively.
1036    
1037     * tools/formed/formed/plugins/plugin.py: Pass main instead
1038     of cfg on plug-in start-up.
1039    
1040     * tools/formed/formed/plugins/web/plugin.py: Use the new
1041     'modes' attribute for rendering.
1042    
1043     * tools/formed/formed/plugins/web/renderer.py: Use decorators
1044     to check the new modes.
1045    
1046     * tools/formed/formed/main.py: Adjusted to new infrastructure.
1047    
1048 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1049 teichmann 75
1050 teichmann 74 * tools/formed/formed/model/nodecomponents.py: Added an
1051     attribute 'modes' to NodeComponents.
1052    
1053 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1054 teichmann 74
1055 teichmann 73 * tools/formed/formed/model/data.py: Small cosmetic cleanups
1056    
1057 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1058 frank 67
1059 teichmann 72 * tools/formed/formed/plugins/web/renderer.py: Another fix
1060     for the hidden field. Argh!
1061    
1062 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1063 teichmann 72
1064 teichmann 71 * tools/formed/formed/plugins/web/renderer.py: Fixed double
1065     generation of hidden page field.
1066    
1067 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1068 teichmann 71
1069 teichmann 69 * tools/formed/formed/plugins/web/semantic.py: Added semantic
1070 teichmann 70 checks for radio groups.
1071    
1072 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1073 teichmann 70
1074     * tools/formed/formed/plugins/web/semantic.py: Added semantic
1075 teichmann 69 checks for choices.
1076    
1077     2007-08-21 Frank Koormann <[email protected]>
1078    
1079 frank 68 * contrib/convert-formedtree2html.xsl: Display switch nodes as
1080     alternatives.
1081    
1082 teichmann 69 2007-08-21 Frank Koormann <[email protected]>
1083 frank 68
1084 frank 67 * contrib/convert-formedtree2html.xsl:
1085     Replace technical types with readable descriptions
1086    
1087 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1088 teichmann 64
1089 teichmann 66 * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
1090     issues. 'action' looks for all widgets on a page now, goes
1091 teichmann 183 through all passed parameters, tries to match them with the
1092     widgets of the page and put them into the semantic box.
1093     Afterwards a list of untouched page parameters are left
1094     which will be deleted from the semantic box.
1095 teichmann 66
1096     * tools/formed/formed/plugins/web/semantic.py: Simplified.
1097     The NodeComponent is passed as an argument now.
1098    
1099     * tools/formed/formed/plugins/web/renderer.py: Generate a
1100     hidden field to store the name of the page.
1101    
1102 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1103 teichmann 66
1104 teichmann 65 * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
1105     issue with incoming UTF-8 data.
1106    
1107 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1108 teichmann 65
1109 teichmann 64 * tools/formed/test-data/simple.xml: Improve test for widgets
1110     in switches.
1111    
1112     * tools/formed/formed/model/data.py: Added a method to find all
1113     widgets in a given page. Fixed a bug when walking in switch
1114 teichmann 183 with a given mode.
1115 teichmann 64
1116     * tools/formed/formed/plugins/web/plugin.py: Simple test for
1117     listing all widgets in page.
1118    
1119 teichmann 183 2007-08-21 Torsten Irlaender <[email protected]>
1120 torsten 63
1121     * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
1122     latin-1
1123    
1124 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1125 teichmann 61
1126 teichmann 62 * tools/formed/formed/model/data.py: Added mode parameter to
1127     walk.
1128 teichmann 183
1129 teichmann 62 * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1130     walk() with usage of the new mode parameter. Added a method to
1131 teichmann 183 give children in a given mode.
1132 teichmann 62
1133     * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1134     new Switch.childrenInMode() method.
1135    
1136 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1137 teichmann 62
1138 teichmann 61 * tools/formed/formed/plugins/web/semantic.py: Add checks for
1139     texts and text areas.
1140    
1141     * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1142     to UTF-8 in generated form.
1143    
1144 teichmann 183 2007-08-20 Sascha L. Teichmann <[email protected]>
1145 teichmann 60
1146     * tools/formed/formed/plugins/web/semantic.py: Added semantic
1147     tests for dates.
1148    
1149 teichmann 183 2007-08-20 Sascha L. Teichmann <[email protected]>
1150 teichmann 59
1151     * tools/formed/test-data/simple.xml: Tweak a bit for integer
1152     range test.
1153    
1154     * tools/formed/formed/model/nodecomponents.py: Added a method
1155     to find a tree item for a given name.
1156    
1157     * tools/formed/formed/plugins/web/semantic.py: New: Box for
1158     semantic checking. Has check for integers.
1159    
1160     * tools/formed/formed/plugins/web/plugin.py: Use semantic
1161     check.
1162    
1163 teichmann 183 2007-08-20 Torsten Irlaender <[email protected]>
1164 torsten 58
1165     * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1166     selection-field generation (Removed quote)
1167    
1168 teichmann 54 2007-08-18 Sascha L. Teichmann <[email protected]>
1169    
1170 teichmann 57 * tools/formed/formed/plugins/web/plugin.py,
1171     tools/formed/formed/plugins/web/renderer.py: Added a
1172     simple cookie based session management to the HTML
1173     renderer. This submit parameters are stored in the
1174     session now. This will ease testing the constraint
1175     tests which need to be written soon.
1176 teichmann 183
1177 teichmann 57 BEWARE: The session management is _not_ made for production!
1178     Denial of service attacks are too easy, and the
1179     cryptographical strength of the session id is doubtful.
1180    
1181     2007-08-18 Sascha L. Teichmann <[email protected]>
1182    
1183 teichmann 56 * tools/formed/formed/plugins/web/renderer.py: Escaping text
1184     coming from the document tree now when inserting it into the
1185 teichmann 57 HTML output.
1186 teichmann 56
1187     2007-08-18 Sascha L. Teichmann <[email protected]>
1188    
1189 teichmann 55 * tools/formed/formed/plugins/plugin.py: Added a new kind
1190     of plug-in: Filter. They have a short and a long description
1191 teichmann 57 and can be hooked automatically into the new 'Filters'
1192     sub menu under 'Extra'. They got called when the user
1193     selects their respective menu item.
1194 teichmann 183
1195 teichmann 55 * tools/formed/formed/config.py: Contains the list of
1196     installed filters.
1197    
1198     * tools/formed/formed/main.py: Builds the Extra->Filters
1199     sub menu during gui initialization. The hard wired code
1200 teichmann 57 for make unique and formular name/description -> name
1201     is removed because they are implemented as filters now.
1202 teichmann 55
1203     * tools/formed/formed/model/nodecomponents.py,
1204     tools/formed/formed/model/data.py: Removed the make
1205 teichmann 57 unique and formular name/description -> name code.
1206 teichmann 55
1207     * tools/formed/formed/plugins/names,
1208     tools/formed/formed/plugins/names/__init__.py,
1209 teichmann 57 tools/formed/formed/plugins/names/filter.py: Added. Contains
1210     the make unique and formular name/description -> name code
1211     in form of filters.
1212 teichmann 55
1213     * tools/formed/test-data/simple.xml: Modified to be a better
1214     test for the formular name/description -> name filter.
1215    
1216     2007-08-18 Sascha L. Teichmann <[email protected]>
1217    
1218 teichmann 54 * tools/formed/formed.py, tools/formed/formed/main.py: First
1219     command line argument is interpreted as filename of document
1220 teichmann 57 to be loaded at program startup.
1221 teichmann 54
1222 frank 53 2007-08-17 Frank Koormann <[email protected]>
1223    
1224     * contrib/convert-formedtree2html.xsl:
1225     Heading level depending on depth of group node.
1226     In case of radio/choice/check only list of options.
1227    
1228 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
1229 torsten 50
1230 torsten 52 * contrib/convert-formedtree2html.xsl: Output is now generated with
1231     HTML doc-string and charset information in the meta-header.
1232    
1233 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
1234 torsten 52
1235 torsten 50 * contrib/convert-formedtree2html.xsl: Added small script for
1236     exporting the formed tree to html
1237    
1238 torsten 49 2007-08-17 Torsten Irlaender <[email protected]>
1239    
1240     * tools/formed/model/nodecomponents.py: Added function to rename
1241     the set the name of the node to the formularname. The formularname
1242     gets shorten to <=64 by removing vowels and is stored lowercase.
1243     If the name is not unique and additional id value is appended.
1244    
1245     * tools/formed/formed/model/data.py: Overwritten renaming-function for
1246     bool-leafs
1247    
1248     * tools/formed/formed/main.py: Added menuitem for renaming the names
1249     of the element
1250    
1251 teichmann 47 2007-08-16 Sascha L. Teichmann <[email protected]>
1252    
1253     * tools/formed/formed/main.py: Swaped order of
1254     'Make names unique' and 'Selected mode...' in Extra
1255 teichmann 183 menu and put a separator between them.
1256 teichmann 47
1257 teichmann 45 2007-08-15 Sascha L. Teichmann <[email protected]>
1258    
1259 teichmann 46 * tools/formed/formed/model/data.py: SwitchNodes can add
1260     their modes to a given set now.
1261    
1262     * tools/formed/formed/plugins/plugin.py: Simplified
1263     the plug-in interface. Only the reference to the
1264 teichmann 183 global configuration is passed at setup time.
1265 teichmann 46
1266     * tools/formed/formed/plugins/web/plugin.py: Adjusted
1267     to new plug-in setup. The traveral mode is now taken
1268 teichmann 183 from the global configuration each time a rendering
1269     is triggered. The FORMED parameter is now named
1270     'doc.mode' instead of 'web.mode'. The parameter
1271     is not needed any more because it can be configured
1272     at runtime.
1273 teichmann 46
1274     * tools/formed/formed/main.py: Adjusted to new plugin
1275     setup. Added a new menu item Extra->Select Mode...
1276 teichmann 183 to select the traversal mode. It is stored in the
1277     global config.
1278 teichmann 46
1279     * tools/formed/formed/config.py: Simplified. Only uses
1280     one env dictionary to store global configuration parameters.
1281    
1282     * tools/formed/formed/ui/controls.py: Add a control to
1283     select one item from a list of given strings.
1284    
1285     2007-08-15 Sascha L. Teichmann <[email protected]>
1286    
1287 teichmann 45 * tools/formed/formed/plugins/web/plugin.py,
1288     tools/formed/formed/plugins/web/renderer.py: Added parameter
1289 teichmann 183 print out in web plugin.
1290 teichmann 45
1291 torsten 44 2007-08-15 Torsten Irlaender <[email protected]>
1292 teichmann 45
1293 torsten 44 * contrib/convert-formedtree2csv.xsl: Added small script for
1294     exporting the formed tree to csv
1295    
1296 teichmann 41 2007-08-14 Sascha L. Teichmann <[email protected]>
1297    
1298 teichmann 42 * tools/formed/formed/model/data.py,
1299     tools/formed/formed/model/nodecomponents.py,
1300     tools/formed/formed/io/document.py: Added a 'switch' node.
1301    
1302     * tools/formed/formed/plugins/web/renderer.py:Render the
1303     new 'switch' node.
1304    
1305     * tools/formed/formed/plugins/web/plugin.py,
1306     tools/formed/formed/config.py: Added a 'web.mode' parameter
1307 teichmann 183 to FORMED environment variable.
1308     e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1309     Defaults to 'default'.
1310 teichmann 42
1311     * tools/formed/test-data/simple.xml: Added test for switch.
1312    
1313     2007-08-14 Sascha L. Teichmann <[email protected]>
1314    
1315 teichmann 41 * tools/formed/formed/model/nodecomponents.py: Added an
1316     attribute 'formularname' to base class of node components.
1317    
1318 teichmann 38 2007-08-13 Sascha L. Teichmann <[email protected]>
1319    
1320 teichmann 40 * tools/formed/formed/io/document.py,
1321     tools/formed/formed/model/data.py,
1322     tools/formed/formed/model/nodecomponents.py: Added an item
1323 teichmann 183 to model external item lists.
1324 teichmann 40
1325     * tools/formed/formed/plugins/web/renderer.py: Render new item
1326     list.
1327     * tools/formed/formed/main.py: Added a forgotten 'self.'
1328    
1329     * contrib/extract-xfa-items.sh: Modified to generate
1330     documents to be loadable from new item lists
1331    
1332     2007-08-13 Sascha L. Teichmann <[email protected]>
1333    
1334 teichmann 39 * tools/formed/formed/main.py: Fixed typo
1335    
1336     2007-08-13 Sascha L. Teichmann <[email protected]>
1337    
1338 teichmann 38 * contrib/extract-xfa-items.sh: New. Can be used to extract longer
1339     choice item lists for a given field from XFA files. e.g. with
1340 teichmann 183 './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1341 teichmann 38
1342 teichmann 33 2007-08-12 Sascha L. Teichmann <[email protected]>
1343    
1344 teichmann 37 * tools/formed/formed/model/data.py,
1345     tools/formed/formed/plugins/web/renderer.py,
1346 teichmann 183 tools/formed/formed/io/document.py: Changed the structure
1347     of choice constructs. The idea to hold the different items
1348     of a particular choice in a semicolon separated list was bad.
1349     Now choices are groups and the option items are modelled as
1350     embedded bools. (mainly Torsten Irländer's idea).
1351 teichmann 37
1352 teichmann 183 WARNING: this makes old document files containing choices incompatible!!!
1353     Use the following XSLT to reestablish compatibility.
1354    
1355 teichmann 37 * contrib/itemize-choices.xsl: New converts old to new structure.
1356     Needs exslt.org's string extensions (which xsltproc includes)
1357    
1358     * tools/formed/test-data/simple.xml: Ajusted to new structure
1359    
1360     * tools/formed/formed/plugins/web/plugin.py: remove debug output
1361    
1362     * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
1363     node finding code. It now uses the walk() generator, too.
1364    
1365     2007-08-12 Sascha L. Teichmann <[email protected]>
1366    
1367 teichmann 36 * tools/formed/formed/main.py: Added a clone item on the toolbar which
1368     copies the currently selected item and appends it after the selection.
1369    
1370     * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1371     of the tree.
1372 teichmann 183
1373 teichmann 36 * tools/formed/formed/ui/controls.py: Added a getSelected method.
1374    
1375     * tools/formed/formed/model/misc.py: Fixed a programming bug.
1376     forgot a 'self.' prefix.
1377    
1378     2007-08-12 Sascha L. Teichmann <[email protected]>
1379    
1380 teichmann 35 * tools/formed/formed/model/nodecomponents.py: Added a method to append
1381     a second document to the current.
1382    
1383     * tools/formed/formed/main.py: Added an 'Import' file menu item to load
1384     a second document to be appended to the current.
1385    
1386     2007-08-12 Sascha L. Teichmann <[email protected]>
1387    
1388 teichmann 34 * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
1389     a new document when triggered.
1390    
1391     2007-08-12 Sascha L. Teichmann <[email protected]>
1392    
1393 teichmann 33 * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1394     items in the document tree. Added a method to eliminated duplicated names
1395 teichmann 183 in document tree.
1396 teichmann 33
1397     * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1398     after names collisions are eliminated.
1399    
1400     * tools/formed/formed/main.py: Added an 'Extra' menu with item
1401     'Make names unique'.
1402    
1403 teichmann 30 2007-08-11 Sascha L. Teichmann <[email protected]>
1404    
1405 teichmann 32 * tools/formed/formed/model/data.py,
1406     tools/formed/formed/plugins/web/renderer.py: Removed support
1407 teichmann 183 for 'text' attributes in bool items. They were never really
1408     used and the 'description' attributes fulfill the same
1409     purpose.
1410 teichmann 32
1411     * contrib/remove-bool-text.xsl: Transform to remove the
1412     'text' attributes from bool items. Apply with:
1413 teichmann 183 'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1414 teichmann 32
1415     * tools/formed/test-data/simple.xml: Removed 'text' attributes
1416     from bool items.
1417    
1418     2007-08-11 Sascha L. Teichmann <[email protected]>
1419    
1420 teichmann 31 * contrib/convert-choices.xsl: Simpified.
1421    
1422     2007-08-11 Sascha L. Teichmann <[email protected]>
1423    
1424 teichmann 30 * tools/formed/formed/model/data.py: Removed 'options' attribute
1425     from ChoiceLeaf. Use 'value' instead, please!
1426    
1427     * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
1428     instead of 'options' to render choices.
1429    
1430     * contrib/convert-choices.xsl: Added to convert document files
1431     which use the choice 'option' attribute to usage of 'value'.
1432 teichmann 183 Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1433 teichmann 30
1434 teichmann 23 2007-08-10 Sascha L. Teichmann <[email protected]>
1435    
1436 teichmann 29 * tools/formed/formed/plugins/web/renderer.py: radio buttons
1437     are selected by 'checked' and not by 'selected'. Fixed.
1438    
1439     2007-08-10 Sascha L. Teichmann <[email protected]>
1440    
1441 teichmann 28 * tools/formed/formed/model/data.py: ChoiceLeafs are now
1442     initialized with size = 1.
1443    
1444     2007-08-10 Sascha L. Teichmann <[email protected]>
1445    
1446 teichmann 27 * tools/formed/formed/model/data.py: TextLeafs are now
1447     initialized with size = 40, maxlength = 60
1448    
1449     2007-08-10 Sascha L. Teichmann <[email protected]>
1450    
1451 teichmann 26 * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
1452     are renderered with description now.
1453    
1454     2007-08-10 Sascha L. Teichmann <[email protected]>
1455    
1456 teichmann 25 * tools/formed/formed/plugins/web/renderer.py: Added rendering
1457     for date items. Added missing ids for texts and textareas.
1458    
1459     2007-08-10 Sascha L. Teichmann <[email protected]>
1460    
1461 teichmann 24 * tools/formed/formed/config.py: Evaluate the environment
1462     variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
1463    
1464     * tools/formed/formed/plugins/plugin.py: Give a reference
1465     to the config at setup time.
1466    
1467     * tools/formed/formed/plugins/web/plugin.py: To determine
1468     the port look at FORMED dictionary first. Key is 'web.port'.
1469 teichmann 183 e.g. FORMED='web.port:8888'
1470 teichmann 24
1471     * tools/formed/formed/main.py: Call the plugin setup with
1472     the reference to the config.
1473    
1474     2007-08-10 Sascha L. Teichmann <[email protected]>
1475    
1476 teichmann 23 * tools/formed/test-data/simple.xml: removed 'text' attributes from
1477     info tags. Use the 'value' attributes for same purpose now, please!
1478    
1479     * tools/formed/formed/model/data.py: removed text attributes from
1480     InfoLeaf.
1481    
1482     * tools/formed/formed/plugins/web/renderer.py: Rendering of info
1483     now uses the 'value' instead of the 'text' attributes.
1484    
1485 teichmann 17 2007-08-09 Sascha L. Teichmann <[email protected]>
1486 teichmann 10
1487 teichmann 22 * tools/formed/formed/model/data.py: next/prevPage() are
1488     methods of PageNode now.
1489    
1490     * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
1491     is method of Document now.
1492    
1493     * tools/formed/formed/plugins/web/plugin.py: Factored out
1494     the HTML renderer.
1495    
1496     * tools/formed/formed/plugins/web/renderer.py: New: contains
1497     the HTML renderer now.
1498    
1499     * tools/formed/test-data/simple.xml: Fixed typo
1500    
1501     2007-08-09 Sascha L. Teichmann <[email protected]>
1502    
1503 teichmann 21 * tools/formed/formed/plugins/web/plugin.py: Fixed a bug
1504     in calculation of width of bounded int fields.
1505    
1506     2007-08-09 Sascha L. Teichmann <[email protected]>
1507    
1508 teichmann 20 * tools/formed/test-data/simple.xml: Make demo Int fancier.
1509    
1510     * tools/formed/formed/model/data.py: Added attributes to IntLeaf
1511    
1512     * tools/formed/formed/plugins/web/plugin.py: Added rendering for
1513     Ints
1514    
1515     2007-08-09 Sascha L. Teichmann <[email protected]>
1516    
1517 teichmann 19 * tools/formed/test-data/simple.xml: Added demo textarea
1518    
1519     * tools/formed/formed/model/data.py: Added TextAreaLeaf
1520    
1521     * tools/formed/formed/io/document.py: register builder
1522     for loading of textareas
1523    
1524     * tools/formed/formed/plugins/web/plugin.py: Added rendering
1525     for textareas.
1526    
1527     2007-08-09 Sascha L. Teichmann <[email protected]>
1528    
1529 teichmann 18 * tools/formed/test-data/simple.xml: Make demo choice fancier.
1530 teichmann 17
1531 teichmann 18 * tools/formed/formed/model/data.py: Added attributes for texts
1532    
1533     * tools/formed/formed/plugins/web/plugin.py: Added rendering
1534     for texts
1535 teichmann 17
1536 teichmann 18 2007-08-09 Sascha L. Teichmann <[email protected]>
1537    
1538     * tools/formed/test-data/simple.xml: Make demo choice fancier.
1539    
1540     * tools/formed/formed/model/data.py: Added attributes for choices.
1541    
1542 teichmann 17 * tools/formed/formed/plugins/web/plugin.py: Added rendering
1543     for choices
1544    
1545     2007-08-09 Sascha L. Teichmann <[email protected]>
1546    
1547 teichmann 16 * tools/formed/formed/model/data.py,
1548     tools/formed/formed/model/nodecomponents.py: Added new
1549 teichmann 183 attributes.
1550 teichmann 16
1551     * tools/formed/formed/plugins/web/plugin.py: Added rendering
1552     for checkboxes and radio buttons.
1553    
1554     2007-08-08 Sascha L. Teichmann <[email protected]>
1555    
1556 teichmann 15 * tools/formed/test-data/simple.xml: Added some descriptions
1557    
1558     * tools/formed/formed/model/data.py: set attributes in constructors
1559     directly.
1560    
1561     * tools/formed/formed/model/nodecomponents.py: Added description
1562     attribute in the NodeComponent base class.
1563    
1564     * tools/formed/formed/plugins/web/plugin.py: Render description
1565     as legend in fieldset for GroupNodes.
1566    
1567     2007-08-08 Sascha L. Teichmann <[email protected]>
1568    
1569 teichmann 14 * tools/formed/formed/plugins/web/plugin.py: make UTF-8
1570     output work.
1571    
1572     2007-08-08 Sascha L. Teichmann <[email protected]>
1573    
1574 teichmann 12 * tools/formed/formed/model/data.py: Added get/setText() method
1575    
1576     * tools/formed/formed/plugins/web/plugin.py: Added a first
1577     version of a recursive HTML renderer based on the document
1578 teichmann 183 tree.
1579 teichmann 12
1580     2007-08-08 Sascha L. Teichmann <[email protected]>
1581    
1582 teichmann 11 * tools/formed/formed/plugins/*: New: plug-in infrastructure.
1583    
1584     * tools/formed/formed/plugins/web/*: new: A simple web server
1585     which is intended to serve pages of the current formular.
1586    
1587     * tools/formed/formed/main.py: start the plug-ins
1588    
1589     * tools/formed/formed/config.py: configuration class. Used
1590     for the plug-ins.
1591    
1592     2007-08-08 Sascha L. Teichmann <[email protected]>
1593    
1594 teichmann 10 * tools/formed/formed/model/nodecomponents.py: Fixed broadcasting
1595     issue with zero length tree paths.
1596    
1597     * tools/formed/formed/model/misc.py: New: contains a class
1598     for generating unique ids.
1599    
1600     * tools/formed/formed/main.py: Added an instance of an
1601     unique id generator for naming of new made tree items.
1602    
1603 teichmann 7 2007-08-07 Sascha L. Teichmann <[email protected]>
1604    
1605 teichmann 9 * tools/formed/formed/main.py: Added event route document ->
1606     attribute table to get informed when selected item is delete
1607 teichmann 183 or an attribute is changed from the outside.
1608 teichmann 9
1609     * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1610     wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1611 teichmann 183 of 3 argument. Uses icons+tooltips for tree navigation now.
1612 teichmann 9
1613     2007-08-07 Sascha L. Teichmann <[email protected]>
1614    
1615 teichmann 8 * tools/formed/formed/model/nodecomponents.py: Set name
1616     attribute in base class.
1617    
1618     * tools/formed/formed/io/document.py: Added a table
1619     names -> classes.
1620    
1621     * tools/formed/formed/main.py: Added a toolbar. Added code
1622     to create and delete tree items.
1623    
1624     * tools/formed/formed/ui/controls.py: Added code to
1625     insert and delete new tree items.
1626    
1627     2007-08-07 Sascha L. Teichmann <[email protected]>
1628    
1629 teichmann 7 * tools/formed/formed/model/nodecomponents.py: Fixed event
1630     broadcasting for attribute changes.
1631    
1632     * tools/formed/formed/ui/controls.py: Add a list/table control to
1633     edit the attributes of a selected item.
1634    
1635     * tools/formed/formed/main.py: Added code to bind the new
1636     list/table control.
1637    
1638 teichmann 4 2007-08-06 Sascha L. Teichmann <[email protected]>
1639    
1640 teichmann 6 * tools/formed/formed/main.py: Added event routes to move
1641     items in and out of groups.
1642    
1643     * tools/formed/formed/ui/controls.py: Added code to move
1644     items in and out of groups.
1645    
1646     2007-08-06 Sascha L. Teichmann <[email protected]>
1647    
1648 teichmann 5 * tools/formed/formed/model/nodecomponents.py: Fixed path
1649     calculation to root and event broadcasting
1650    
1651     * tools/formed/formed/io/factories.py: Adjust to new
1652     event broadcasting.
1653    
1654     * tools/formed/formed/main.py: Added code to move items
1655     up and down the document tree.
1656    
1657     * tools/formed/formed/ui/controls.py: Establish sort order
1658     by indices of children in parent instead of alphanum.
1659 teichmann 183 Code to move items up and down the document tree.
1660 teichmann 5
1661     * tools/formed/formed/io/document.py: Added missing imports.
1662    
1663     2007-08-06 Sascha L. Teichmann <[email protected]>
1664    
1665 teichmann 4 * tools/formed/formed.py: Added to avoid problems with
1666     ambiguous absolute module names. Thanks to Bernhard Herzog
1667    
1668     * tools/formed/formed.sh: Starts formed.py now
1669    
1670     * tools/formed/formed/main.py,
1671     tools/formed/formed/ui/controls.py: Added control to
1672 teichmann 183 move items around in tree. Has no effect by now.
1673 teichmann 4
1674 teichmann 2 2007-08-05 Sascha L. Teichmann <[email protected]>
1675    
1676 teichmann 3 * tools/formed/formed/io/parser.py: Adjusted style
1677    
1678     * tools/formed/formed/io/document.py,
1679 teichmann 4 tools/formed/formed/io/factories.py: Simplified factory
1680     model for XML loading.
1681 teichmann 3
1682     2007-08-05 Sascha L. Teichmann <[email protected]>
1683    
1684 teichmann 2 * ChangeLog: started ChangeLog
1685    
1686     * tools/formed/*: initial check-in of the Formular Editor.
1687     Not working yet. Only can load, view and store formular XML files.
1688 teichmann 183 Start it with 'tools/formed/formed.sh'.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26