/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 292 - (hide annotations)
Wed Oct 29 14:59:57 2008 UTC (16 years, 3 months ago) by teichmann
File size: 78151 byte(s)
Relative paths in external choices are now possible.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26