/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.19  
changed lines
  Added in v.232

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26