/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 304 - (hide annotations)
Wed Jan 21 15:57:15 2009 UTC (16 years, 1 month ago) by torsten
File size: 81405 byte(s)
Changed XSD-Schema generation

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26