/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26