/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 232 - (hide annotations)
Sun Feb 24 19:12:08 2008 UTC (17 years ago) by teichmann
File size: 66898 byte(s)
Added new plug-in for simplified HTML output.
Added new plug-in for dumping schema as python dictionaries.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26