/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 214 - (hide annotations)
Fri Nov 2 10:13:18 2007 UTC (17 years, 3 months ago) by frank
File size: 63064 byte(s)
tools/formed/formed/plugins/export/sql.py: New WHERE-clause for views.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26