/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 211 - (hide annotations)
Sun Oct 21 09:45:58 2007 UTC (17 years, 4 months ago) by frank
File size: 62629 byte(s)
* tools/formed/formed/plugins/export/sql.py: "CREATE OR REPLACE" 
	statements for views and roles to make updates easier.
	Add "admin_ka" membership as third option to VIEW_WHERE_CLAUSE.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26