/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26