/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.128  
changed lines
  Added in v.231

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26