/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 210 - (hide annotations)
Fri Oct 19 07:31:04 2007 UTC (17 years, 4 months ago) by frank
File size: 62392 byte(s)
* tools/formed/formed/plugins/export/sql.py: Added GRANT statements for views.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26