/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 294 - (hide annotations)
Mon Nov 10 11:33:03 2008 UTC (16 years, 3 months ago) by torsten
File size: 78667 byte(s)
Implemented radio-matrix elements.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26