/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.109  
changed lines
  Added in v.247

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26