/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26