/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.122  
changed lines
  Added in v.257

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26