/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.95  
changed lines
  Added in v.260

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26