/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26