/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.111  
changed lines
  Added in v.255

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26