/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26