/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26