/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26