/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 191 - (hide annotations)
Tue Sep 25 17:00:50 2007 UTC (17 years, 5 months ago) by torsten
File size: 58034 byte(s)
webplugin: fix on viewrenderer

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26