/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 27 by teichmann, Fri Aug 10 10:28:57 2007 UTC revision 158 by torsten, Mon Sep 10 10:54:02 2007 UTC
# Line 1  Line 1 
1    2007-09.10 Torsten Irlaender <[email protected]>
2            * tools/formed/formed/plugins/web/controllers.py: Sessions are now
3              really removed when deleting a dataset.
4            
5    2007-09.10 Torsten Irlaender <[email protected]>
6            * tools/formed/formed/plugins/web/controllers.py: Added new Class
7              ErrorStats which provides Information on remaining errors per page.
8            * tools/formed/formed/plugins/web/renderers.py: Finished movement of
9              the renderer methods from controllers.py to renderers.py.
10            * tools/formed/formed/plugins/web/plugin.py: Removed render_session
11              handlers
12    
13    2007-09-10 Sascha L. Teichmann <[email protected]>
14    
15            * tools/formed/formed/plugins/web/form_renderer.py: values for
16              choices are generated from the document tree now. This brings
17                    the state storage of select boxes in HTML to live.
18    
19    2007-09-09 Sascha L. Teichmann <[email protected]>
20    
21            * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
22              range checking of integers.
23    
24            * tools/formed/formed/plugins/web/controllers.py: Added class
25              ErrorItem to track errors. They are stored in the session.
26    
27    2007-09-09 Sascha L. Teichmann <[email protected]>
28    
29            * tools/formed/formed/model/nodecomponents.py: Fixed returning
30              wrong index in Document.indexOfcomponentByClassAndName.
31    
32            * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
33              written 'errot' in renderer for textareas.
34    
35            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
36    
37    2007-09-09 Sascha L. Teichmann <[email protected]>
38    
39            * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
40              method. Could be cheaper for some implementations of help.
41    
42            * tools/formed/formed/plugins/web/form_renderer.py: Modified
43              FormData to have distinct getData(), getHelp() and getError()
44                    methods. Various bug fixes.
45    
46            * tools/formed/formed/plugins/web/controllers.py: Implements the
47              new FormData (trivial by now).
48    
49            * tools/formed/formed/plugins/web/renderer.py: New FormData and
50              some bug fixes.
51    
52    2007-09-09 Sascha L. Teichmann <[email protected]>
53    
54            * tools/formed/formed/model/memory.py,
55              tools/formed/formed/model/persistent.py: Add a getValue() method
56                    to dataset abstraction. This is a bit of a workaround to bring
57                    global access across pages for rule checking to work.
58    
59            * tools/formed/formed/model/data.py: Fixed: When setting a new expression
60              the compiled version was not stored in the RuleLeaf.
61    
62            * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
63              convert the expression string to ascii for compilation.
64    
65            * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
66              valid data is stored to the dataset immediately now. Fixed a bug
67                    with integer handler.
68    
69            * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
70              stuff. When a submit is done extract the rules from the tree document
71                    that are effected by the modified variables and check them.
72    
73            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
74              when dealing with templates.
75    
76    2007-09-07 Torsten Irlaender <[email protected]>
77            * tools/formed/formed/plugins/web/controllers.py,
78              tools/formed/formed/plugins/web/renderer.py: Moved more render
79              functions into renderer.py. New render classes are:
80              DataSetDigestRenderer, DataSetNavigationRenderer,
81              DataSetFormularRenderer, ConfirmationDialogRenderer
82    
83              Note: The new methods are only called from selected handlers. Other
84              handlers call the renderes in the old way.
85    
86    2007-09-07 Torsten Irlaender <[email protected]>
87            * tools/formed/formed/plugins/web/form_renderer.py: Renamed
88              renderer.py to form_renderer.py. This file will contain formular
89              specfic render methods in the future.
90            * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
91              which will contain general render methods.
92            * tools/formed/formed/plugins/web/controllers.py: Began to move all
93              rendering into renderer.py or form_renderer.py. This file will only
94              contain teh handlers in the future.
95    
96    2007-09-07 Torsten Irlaender <[email protected]>
97            * tools/formed/formed/plugins/web/renderer.py,
98              tools/formed/formed/plugins/web/controller.py:
99              Renderes now get an instance of the formdata object to provide
100              access the data needed to render various infoboxes etc. Handler
101              instanciate the formdata.
102            
103    2007-09-06 Torsten Irlaender <[email protected]>
104            * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
105              getFormData interface to work. Added two small semantic fixes, but
106              did not manage to get it up. Need to exime this a little bit more
107            * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
108              around the menus on the right side to be able to assign different
109              styles. Added dataset actions while editing a dataset.
110            
111    2007-09-05 Torsten Irlaender <[email protected]>
112            * tools/formed/formed/model/memory.py: Fixed deleting datasets by
113              removing unwanted del method
114            * tools/formed/formed/plugins/web/controllers.py: Implemented
115              confiration dialogs for create, delete, and select aof datasets. Started to use
116              templates as well for larger information units like the dataset summary.
117            
118    2007-09-05 Sascha L. Teichmann <[email protected]>
119    
120            * tools/formed/formed/model/nodecomponents.py: Added a
121              method to document to find index of page.
122    
123            * tools/formed/formed/plugins/web/semantic.py: Added getValue()
124              to fetch data from semantic box.
125    
126            * tools/formed/formed/plugins/web/controllers.py: Added new
127              FormData implementation to support DB and semantic box.
128    
129    2007-09-05 Sascha L. Teichmann <[email protected]>
130    
131            * tools/formed/formed/plugins/web/renderer.py: escaped
132              error message.
133    
134            * tools/formed/formed/plugins/web/controllers.py: Don't fetch
135              dataset from backend each time a page is up to edit.
136    
137    2007-09-05 Sascha L. Teichmann <[email protected]>
138    
139            * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
140              returns "Page not found" if given page is None.
141    
142            * tools/formed/formed/plugins/web/controllers.py: Added checks
143              to avoid crashing when ask for a non-existent page.
144    
145    2007-09-05 Sascha L. Teichmann <[email protected]>
146    
147            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
148    
149    2007-09-05 Sascha L. Teichmann <[email protected]>
150    
151            * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
152              and renderers.
153    
154            * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
155              and renderers now. TODO: Move renderers to renderer.py
156    
157    2007-09-05 Torsten Irlaender <[email protected]>
158    
159            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
160              and bound in the the new added functions to create, edit, delete and
161              show formdata.
162            
163    2007-09-05 Sascha L. Teichmann <[email protected]>
164    
165            * tools/formed/formed/model/memory.py: Removed bisect and use a
166              simple linear scan for dataset lookup now.
167    
168            * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
169              of different sizes.
170    
171    2007-09-05 Torsten Irlaender <[email protected]>
172    
173            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
174              fuction
175                    
176            * tools/formed/formed/plugins/web/persistent.py: Added store() method
177              to the DataSet interface
178    
179            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
180              renderes for create, update, delete and show actions on formular data.
181    
182    2007-09-04 Sascha L. Teichmann <[email protected]>
183    
184            * tools/formed/formed/plugins/web/server.py: The mapping
185              to methods is now driven by regualar expressions and
186                    a dictionary. Response objects are now able to send
187                    error codes.
188    
189            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
190              when help in Formdata is None. Moved text for help into
191                    a top level '''...''' variable.
192    
193            * tools/formed/test-data/simple.xml: Added test for help.
194    
195            * tools/formed/formed/plugins/web/help.py: extra None check.
196    
197            * tools/formed/formed/plugins/web/plugin.py: Uses the new
198              table driven mapping of reguest handling. TODO: split the
199                    WebPlugIn.pageHandler() method further to smaller handlers.
200                    Smaller clean ups and better exception handling.
201    
202            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
203              and do not catch them.
204    
205    2007-09-04 Torsten Irlaender <[email protected]>
206    
207            * tools/formed/formed/plugins/web/renderer.py,
208            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
209              the HelpProvider and inserted help icons to the html output.
210              Added decorator for Formelemnts, so textfields, choices etc. are now
211              within a <div> tag.
212              Modified the error messages.
213    
214    2007-09-04 Sascha L. Teichmann <[email protected]>
215    
216            * tools/formed/formed/plugins/web/cache.py: New. Implements
217              the server-side caching more clean. Fixes a bug with
218                    serving static content.
219    
220            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
221    
222    2007-09-04 Sascha L. Teichmann <[email protected]>
223    
224            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
225              to "application/xhtml+xml" when serving help texts.
226    
227    2007-09-03 Sascha L. Teichmann <[email protected]>
228    
229            * tools/formed/formed/plugins/export/diff.py: New. Exports
230              pairwise differences between all modes.
231    
232            * tools/formed/formed/config.py: Use new export filter.
233    
234    2007-09-03 Sascha L. Teichmann <[email protected]>
235    
236            * tools/formed/formed/plugins/web/help.py: New. Parses an
237              XHTML document for id'ed divs and builds a help lookup.
238    
239            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
240              the help content frame.
241    
242            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
243              help text index.
244    
245            * tools/formed/formed/plugins/web/plugin.py: Serves the help
246              texts now.
247    
248    2007-09-03 Torsten Irlaender <[email protected]>
249    
250            * tools/formed/formed/plugins/web/plugin.py: Only visible group
251              elements will be rendered in the formular navigation.
252              Formular pages in the navigation now have their own css-style
253              attributes.
254    
255    2007-09-03 Torsten Irlaender <[email protected]>
256    
257            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
258              errors in template
259            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
260              pageerrors variable
261    
262    2007-09-03 Frank Koormann <[email protected]>
263    
264            * tools/formed/formed/plugins/export/html.py
265            (RecursiveExporter): Added annotation to export
266            (fillRow()): Renamed old fillNine to this more generic name.
267            
268    
269    2007-09-03 Sascha L. Teichmann <[email protected]>
270    
271            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
272              from model.misc now.
273    
274    2007-09-03 Sascha L. Teichmann <[email protected]>
275    
276            * tools/formed/formed/model/nodecomponents.py: Added an
277              'annotation' attribute to node components. This is to
278                    enable FormEd document authors to add comments to groups
279                    and fields.
280    
281    2007-09-03 Frank Koormann <[email protected]>
282    
283            * tools/formed/formed/model/nodecomponents.py
284            (NodeComponent.getParent): New method to get node components parent.
285    
286            * tools/formed/formed/plugins/export/html.py: Export Choice option
287            as simple list instead of collection of bools.
288    
289    2007-09-02 Sascha L. Teichmann <[email protected]>
290    
291            * tools/formed/formed/model/persistent.py: Interfaces to abstract
292              from persistent storage details.
293    
294            * tools/formed/formed/model/memory.py: In core implementation
295              of the persistent interfaces.
296    
297            * tools/formed/formed/main.py: Holds a memory data store now.
298    
299    2007-09-02 Sascha L. Teichmann <[email protected]>
300    
301            * tools/formed/formed/plugins/export/sql.py,
302              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
303                    for FileDialogFilter sub classes.
304    
305    2007-09-02 Sascha L. Teichmann <[email protected]>
306    
307            * tools/formed/formed/model/misc.py: Checking the mode in recursive
308              tree traversals is a common task. To ease this a decorator function
309                    checkMode in union with sub classing ModeChecker can be used.
310                    To make it work simply subclass from ModeChecker and add the decorator
311                    to the methods that need mode tracking. Before you start the recursion
312                    call self.prepareDescent().
313    
314            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
315              now which replace the old. TODO: Make the web renderer use the new scheme
316                    too.
317    
318    2007-09-02 Sascha L. Teichmann <[email protected]>
319    
320            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
321    
322            * tools/formed/formed/plugins/export/html.py: HTML table exporter
323              uses new FileDialogFilter base class too.
324    
325    2007-09-02 Sascha L. Teichmann <[email protected]>
326    
327            * tools/formed/formed/plugins/ui/*: New. All file exporters
328              need a file dialog. Till now each of them pulled up its
329                    own. This was silly code replication. Now there is an abstract
330                    base class 'FileDialogFilter' which implements the common
331                    behavior. The file exporters should subclass it.
332    
333            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
334              exporters from the new base class. TODO: Subclass the HTML
335                    exporter too.
336    
337    2007-08-31 Sascha L. Teichmann <[email protected]>
338    
339            * tools/formed/formed/plugins/export/html.py: Make mode check
340              work (again).
341    
342    2007-08-31 Torsten Irlaender <[email protected]>
343    
344            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
345              exprt works now in a recursive way. This change was needed because
346              the structure of the formedtree has changed to be able to render
347              full hirachically document stuctures. (nested lists)
348              TODO: Fix modechecking
349    
350    2007-08-31 Torsten Irlaender <[email protected]>
351    
352            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
353              now in recursive way. This change was needed because the structure
354              of the formedtree has changed to be able to render full hirachically
355              document stuctures. (nested lists)
356    
357    2007-08-31 Sascha L. Teichmann <[email protected]>
358    
359            * tools/formed/formed/model/nodecomponents.py: use discard()
360              instead of remove on sets.
361    
362            * tools/formed/formed/plugins/export/sql.py: Added an
363              exporter for table views.
364    
365            * tools/formed/formed/config.py: Added the new exporter
366              to the list of export filters.
367    
368    2007-08-30 Sascha L. Teichmann <[email protected]>
369    
370            * tools/formed/formed/model/data.py: Fixed a bug in
371              Page.allWidgets()
372    
373            * tools/formed/formed/plugins/export/sql.py: Added an exporter
374              for stored procudeures.
375    
376            * tools/formed/formed/config.py: Add the new SP exporter.
377    
378    2007-08-29 Torsten Irlaender <[email protected]>
379    
380            * tools/formed/formed/plugins/web/plugin.py,
381              tools/formed/formed/plugins/web/error_renderer.py: Added interface
382              to get the errors for a whole page in te formular. These errors can
383              now be displayed on the top of the formular.
384    
385    2007-08-29 Torsten Irlaender <[email protected]>
386    
387            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
388              of the getFromData interface and prepared the rederer for generating
389              nice error messages
390    
391    2007-08-28 Frank Koormann <[email protected]>
392    
393            * tools/formed/formed/plugins/export/sql.py
394            (SchemaCreator.createSchema, SchemaCreator._createGroup):
395            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
396    
397    2007-08-28 Torsten Irlaender <[email protected]>
398    
399            * tools/formed/formed/plugins/export/sql.py: Added small helper
400              function to generated valid quotes within the sql statements
401    
402    2007-08-29 Sascha L. Teichmann <[email protected]>
403    
404            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
405              for repeat tables.
406              
407    2007-08-29 Sascha L. Teichmann <[email protected]>
408    
409            * tools/formed/formed/plugins/export/sql.py: When generating
410              an extra table check in a table of same content exists. In
411                    this case reference the existing table.
412    
413    2007-08-29 Sascha L. Teichmann <[email protected]>
414    
415            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
416              _real_ SQL and respect repeat groups.
417    
418            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
419    
420            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
421              instead of expensive += string concat in some places.
422    
423    2007-08-29 Sascha L. Teichmann <[email protected]>
424    
425            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
426              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
427    
428    2007-08-28 Torsten Irlaender <[email protected]>
429    
430            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
431            * tools/formed/model/data.py: Implements Formadata interface to
432              textfields. Fieldset generated depends now on the "invisible"
433              attribute of the groupnode. Field-label generation slightly changed.
434              Added error indication to textfields
435    
436    2007-08-28 Sascha L. Teichmann <[email protected]>
437    
438            * tools/formed/formed/model/data.py,
439              tools/formed/formed/io/document.py: Removed support
440                    of logical groups.
441    
442    2007-08-28 Sascha L. Teichmann <[email protected]>
443    
444            * tools/formed/formed/io/document.py: Avoid saving empty
445              attributes.
446    
447            * tools/formed/test-data/simple.xml: Applied.
448    
449    2007-08-28 Sascha L. Teichmann <[email protected]>
450    
451            * tools/formed/formed/model/data.py: Added 'repeat' and
452              'invisible' attributes to group. TODO: remove logical group.
453    
454    2007-08-27 Torsten Irlaender <[email protected]>
455    
456            * tools/formed/plugins/web/plugin.py,
457              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
458              depending tags in the html generation.
459    
460    2007-08-27 Sascha L. Teichmann <[email protected]>
461    
462            * tools/formed/formed/model/data.py,
463              tools/formed/formed/io/document.py: Added a logical group.
464                    It has an attribute 'repeat' to indicate that it might
465                    be worthy an external table in DB schema.
466    
467    2007-08-27 Sascha L. Teichmann <[email protected]>
468    
469            * tools/formed/formed/plugins/web/plugin.py: Support
470              serving of static content.
471    
472            * tools/formed/formed/plugins/web/server.py: Removed
473              old send code.
474    
475    2007-08-27 Sascha L. Teichmann <[email protected]>
476    
477            * tools/formed/formed/plugins/web/plugin.py: Use new
478              Response object. Fix typo.
479    
480            * tools/formed/formed/plugins/web/server.py: support
481              response object to serve different MIME types.
482    
483    2007-08-27 Sascha L. Teichmann <[email protected]>
484    
485            * tools/formed/formed/plugins/web/plugin.py: Add web.path
486              to FORMED environment  variable to specify the
487                    root of the static content.
488    
489    2007-08-26 Sascha L. Teichmann <[email protected]>
490    
491            * tools/formed/formed/model/data.py,
492              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
493    
494            * tools/formed/formed/plugins/web/www,
495              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
496                    a template for the HTML output.
497    
498            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
499              mode issues. Introduces CSS support. Simplified the action
500                    handling.
501    
502            * tools/formed/formed/plugins/web/renderer.py: Removed the
503              nagivation code.
504    
505            * tools/formed/formed/plugins/web/server.py: Added missing import.
506    
507    2007-08-26 Sascha L. Teichmann <[email protected]>
508    
509            * tools/formed/formed/model/data.py: Added missing broadcast
510              parameter to setAttribute() of RuleLeaf.
511    
512            * tools/formed/formed/plugins/web/plugin.py: Factorize
513              HTTP server code out to separate module.
514    
515            * tools/formed/formed/plugins/web/renderer.py: Removed
516              needless -1 from pop()
517    
518            * tools/formed/formed/plugins/web/server.py: New. Contains
519              the HTTP server code now.
520    
521    2007-08-26 Sascha L. Teichmann <[email protected]>
522    
523            * tools/formed/test-data/simple.xml: Modified to contain a rule.
524    
525            * tools/formed/formed/model/expr.py: Added. A simple RPN
526              expression evaluator. To avoid the problem of eval()ing
527                    arbitrary python expressions I've decided to use a very
528                    basic and limited stack machine to support rule checking.
529    
530            * tools/formed/formed/model/data.py: Added a RuleLeaf.
531    
532            * tools/formed/formed/io/document.py: Added factories for rules.
533    
534            * tools/formed/formed/model/nodecomponents.py: Add a method
535              to find all items of a given type in document for a given
536                    mode. Usefull to find all rules in the tree.
537    
538            * tools/formed/formed/ui/controls.py: Added a listener mechanism
539              to attribute table to report exceptions when setting a value
540                    from GUI. Useful to report compilation errors when setting
541                    expr of rule leafs.
542    
543            * tools/formed/formed/main.py: Added a method to track exceptions
544              from the attribute table and pop up dialogs if they occur.
545                    Added a counter of rule modifications in tree. Useful if you
546                    want build cached data structures like rule sets and you want
547                    to know if they are still valid.
548    
549    2007-08-24 Torsten Irlaender <[email protected]>
550    
551            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
552              for checkbox values. (Syntax error).
553    
554            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
555              generation  
556    
557    2007-08-24 Torsten Irlaender <[email protected]>
558    
559            * tools/formed/formed/plugins/names/filter.py: Separated Class for
560              making the formularnames more database friendly. Added some more
561              checks.
562            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
563              separated class, and some fixes in sql generation.
564    
565    2007-08-24 Sascha L. Teichmann <[email protected]>
566    
567            * tools/formed/formed/plugins/export/html.py: Print lengths
568              of external choice list.
569    
570    2007-08-24 Sascha L. Teichmann <[email protected]>
571    
572            * tools/formed/formed/main.py: Little workaround for
573              mode selection if someone adds an removes a mode.
574    
575    2007-08-24 Sascha L. Teichmann <[email protected]>
576    
577            * tools/formed/test-data/simple.xml: Better test case for
578              mode depended leaf items.
579    
580            * tools/formed/formed/model/nodecomponents.py: Added a method
581              to calculate the effective mode of an item.
582    
583            * tools/formed/formed/plugins/export/html.py: Use effective
584              mode. TODO: the 'all' modus return false results sometimes.
585                    Cause: The modes are only cumulated over time. Removal is
586                    not done.
587    
588    2007-08-24 Sascha L. Teichmann <[email protected]>
589    
590            * tools/formed/formed/plugins/export/html.py: Dump the items
591              of radio groups and choices too.
592    
593    2007-08-24 Torsten Irlaender <[email protected]>
594    
595            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
596              by formular names to make the naming more database friendly.
597              Now only alphanumeric and underscore chars is allowed.
598    
599    2007-08-24 Sascha L. Teichmann <[email protected]>
600    
601            * tools/formed/formed/plugins/export/html.py: Tweaked
602              HTML table exporter a bit to be on par with the XSLT
603                    script. TODO: Dump items in radio and choice groups.
604    
605    2007-08-23 Sascha L. Teichmann <[email protected]>
606    
607            * tools/formed/formed/plugins/names/filter.py: Removed
608              HTML and SQL exporters.
609    
610            * tools/formed/formed/plugins/export,
611              tools/formed/formed/plugins/export/__init__.py,
612              tools/formed/formed/plugins/export/sql.py,
613              tools/formed/formed/plugins/export/html.py: New: Contain
614                    the HTML and the SQL exporters now.
615    
616            * tools/formed/formed/config.py: Use exporters from different
617              package now.
618    
619    2007-08-23 Torsten Irlaender <[email protected]>
620    
621            * tools/formed/formed/plugins/names/filter.py: Added an
622              pseudo SQL export filters. TODO: Move HTML and SQL filter
623              in a new file (formed/plugins/export/htmlexport.py and
624              sqlexport.py?)
625    
626            * tools/formed/formed/config.py: Install the new SQL filter.
627    
628    2007-08-23 Sascha L. Teichmann <[email protected]>
629    
630            * tools/formed/formed/model/nodecomponents.py: Added a depth()
631              method to determine the depth of particular tree item.
632    
633            * tools/formed/formed/plugins/names/filter.py: Added an
634              HTML export filters. TODO: needs more work.
635    
636            * tools/formed/formed/config.py: Install the new HTML filter.
637    
638    2007-08-23 Torsten Irlaender <[email protected]>
639    
640            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
641              to extract fields and options in the XFA Data in teh PDF. This
642              script might me handy to indicate changes between the different
643              formular versions.
644            
645    2007-08-23 Sascha L. Teichmann <[email protected]>
646    
647            * tools/formed/formed/main.py: Add an 'all' mode to
648              select all modes. ;-)
649    
650    2007-08-22 Sascha L. Teichmann <[email protected]>
651    
652            * tools/formed/test-data/simple.xml,
653              tools/formed/formed/model/data.py,
654              tools/formed/formed/plugins/web/plugin.py,
655              tools/formed/formed/plugins/web/renderer.py,
656              tools/formed/formed/io/document.py,
657              tools/formed/formed/main.py: Removed support for switch nodes.
658              BEWARE: This breaks compatibility with older documents!
659    
660    2007-08-22 Sascha L. Teichmann <[email protected]>
661    
662            * tools/formed/formed/plugins/web/plugin.py: Uses the
663              getSelectedMode() from main now.
664    
665            * tools/formed/formed/main.py: selected mode is now hold
666              in main.
667    
668            * tools/formed/formed/config.py: removed selected mode from
669              env configuration.
670    
671    2007-08-22 Sascha L. Teichmann <[email protected]>
672    
673            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
674              table are now alphabetically sorted.
675    
676    2007-08-22 Sascha L. Teichmann <[email protected]>
677    
678            * tools/formed/formed/model/nodecomponents.py: Added code to
679              establish the new 'modes' recursively.
680    
681            * tools/formed/formed/plugins/plugin.py: Pass main instead
682              of cfg on plug-in start-up.
683    
684            * tools/formed/formed/plugins/web/plugin.py: Use the new
685              'modes' attribute for rendering.
686    
687            * tools/formed/formed/plugins/web/renderer.py: Use decorators
688              to check the new modes.
689    
690            * tools/formed/formed/main.py: Adjusted to new infrastructure.
691    
692    2007-08-22 Sascha L. Teichmann <[email protected]>
693    
694            * tools/formed/formed/model/nodecomponents.py: Added an
695              attribute 'modes' to NodeComponents.
696    
697    2007-08-22 Sascha L. Teichmann <[email protected]>
698    
699            * tools/formed/formed/model/data.py: Small cosmetic cleanups
700    
701    2007-08-21 Sascha L. Teichmann <[email protected]>
702    
703            * tools/formed/formed/plugins/web/renderer.py: Another fix
704              for the hidden field. Argh!
705    
706    2007-08-21 Sascha L. Teichmann <[email protected]>
707    
708            * tools/formed/formed/plugins/web/renderer.py: Fixed double
709              generation of hidden page field.
710    
711    2007-08-21 Sascha L. Teichmann <[email protected]>
712    
713            * tools/formed/formed/plugins/web/semantic.py: Added semantic
714              checks for radio groups.
715    
716    2007-08-21 Sascha L. Teichmann <[email protected]>
717    
718            * tools/formed/formed/plugins/web/semantic.py: Added semantic
719              checks for choices.
720    
721    2007-08-21      Frank Koormann <[email protected]>
722    
723            * contrib/convert-formedtree2html.xsl: Display switch nodes as
724            alternatives.
725            
726    2007-08-21      Frank Koormann <[email protected]>
727    
728            * contrib/convert-formedtree2html.xsl:
729            Replace technical types with readable descriptions
730    
731    2007-08-21 Sascha L. Teichmann <[email protected]>
732    
733            * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
734              issues. 'action' looks for all widgets on a page now, goes
735                    through all passed parameters, tries to match them with the
736                    widgets of the page and put them into the semantic box.
737                    Afterwards a list of untouched page parameters are left
738                    which will be deleted from the semantic box.
739    
740            * tools/formed/formed/plugins/web/semantic.py: Simplified.
741              The NodeComponent is passed as an argument now.
742    
743            * tools/formed/formed/plugins/web/renderer.py: Generate a
744              hidden field to store the name of the page.
745    
746    2007-08-21 Sascha L. Teichmann <[email protected]>
747    
748            * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
749              issue with incoming UTF-8 data.
750    
751    2007-08-21 Sascha L. Teichmann <[email protected]>
752    
753            * tools/formed/test-data/simple.xml: Improve test for widgets
754              in switches.
755    
756            * tools/formed/formed/model/data.py: Added a method to find all
757              widgets in a given page. Fixed a bug when walking in switch
758                    with a given mode.
759    
760            * tools/formed/formed/plugins/web/plugin.py: Simple test for
761              listing all widgets in page.
762    
763    2007-08-21 Torsten Irlaender <[email protected]>
764    
765            * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
766              latin-1
767    
768    2007-08-21 Sascha L. Teichmann <[email protected]>
769    
770            * tools/formed/formed/model/data.py: Added mode parameter to
771              walk.
772                    
773            * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
774              walk() with usage of the new mode parameter. Added a method to
775                    give children in a given mode.
776    
777            * tools/formed/formed/plugins/web/renderer.py: Simplified to use
778              new Switch.childrenInMode() method.
779    
780    2007-08-21 Sascha L. Teichmann <[email protected]>
781    
782            * tools/formed/formed/plugins/web/semantic.py: Add checks for
783              texts and text areas.
784    
785            * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
786              to UTF-8 in generated form.
787    
788    2007-08-20 Sascha L. Teichmann <[email protected]>
789    
790            * tools/formed/formed/plugins/web/semantic.py: Added semantic
791              tests for dates.
792    
793    2007-08-20 Sascha L. Teichmann <[email protected]>        
794    
795            * tools/formed/test-data/simple.xml: Tweak a bit for integer
796              range test.
797    
798            * tools/formed/formed/model/nodecomponents.py: Added a method
799              to find a tree item for a given name.
800    
801            * tools/formed/formed/plugins/web/semantic.py: New: Box for
802              semantic checking. Has check for integers.
803    
804            * tools/formed/formed/plugins/web/plugin.py: Use semantic
805              check.
806    
807    2007-08-20      Torsten Irlaender <[email protected]>
808    
809            * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
810              selection-field generation (Removed quote)
811    
812    2007-08-18      Sascha L. Teichmann <[email protected]>
813    
814            * tools/formed/formed/plugins/web/plugin.py,
815              tools/formed/formed/plugins/web/renderer.py: Added a
816              simple cookie based session management to the HTML
817              renderer. This submit parameters are stored in the
818              session now. This will ease testing the constraint
819              tests which need to be written soon.
820                    
821              BEWARE: The session management is _not_ made for production!
822              Denial of service attacks are too easy, and the
823              cryptographical strength of the session id is doubtful.
824    
825    2007-08-18      Sascha L. Teichmann <[email protected]>
826    
827            * tools/formed/formed/plugins/web/renderer.py: Escaping text
828              coming from the document tree now when inserting it into the
829              HTML output.
830    
831    2007-08-18      Sascha L. Teichmann <[email protected]>
832    
833            * tools/formed/formed/plugins/plugin.py: Added a new kind
834              of plug-in: Filter. They have a short and a long description
835              and can be hooked automatically into the new 'Filters'
836              sub menu under 'Extra'. They got called when the user
837              selects their respective menu item.
838                    
839            * tools/formed/formed/config.py: Contains the list of
840              installed filters.
841    
842            * tools/formed/formed/main.py: Builds the Extra->Filters
843              sub menu during gui initialization. The hard wired code
844              for make unique and formular name/description -> name
845              is removed because they are implemented as filters now.
846    
847            * tools/formed/formed/model/nodecomponents.py,
848              tools/formed/formed/model/data.py: Removed the make
849              unique and formular name/description -> name code.
850    
851            * tools/formed/formed/plugins/names,
852              tools/formed/formed/plugins/names/__init__.py,
853              tools/formed/formed/plugins/names/filter.py: Added. Contains
854              the make unique and formular name/description -> name code
855              in form of filters.
856    
857            * tools/formed/test-data/simple.xml: Modified to be a better
858              test for the formular name/description -> name filter.
859    
860    2007-08-18      Sascha L. Teichmann <[email protected]>
861    
862            * tools/formed/formed.py, tools/formed/formed/main.py: First
863              command line argument is interpreted as filename of document
864              to be loaded at program startup.
865    
866    2007-08-17      Frank Koormann <[email protected]>
867    
868            * contrib/convert-formedtree2html.xsl:
869            Heading level depending on depth of group node.
870            In case of radio/choice/check only list of options.
871    
872    2007-08-17      Torsten Irlaender <[email protected]>
873    
874            * contrib/convert-formedtree2html.xsl: Output is now generated with
875              HTML doc-string and charset information in the meta-header.
876    
877    2007-08-17      Torsten Irlaender <[email protected]>
878    
879            * contrib/convert-formedtree2html.xsl: Added small script for
880              exporting the formed tree to html
881    
882    2007-08-17      Torsten Irlaender <[email protected]>
883    
884            * tools/formed/model/nodecomponents.py: Added function to rename
885              the set the name of the node to the formularname. The formularname
886              gets shorten to <=64 by removing vowels and is stored lowercase.
887              If the name is not unique and additional id value is appended.
888            
889            * tools/formed/formed/model/data.py: Overwritten renaming-function for
890              bool-leafs
891    
892            * tools/formed/formed/main.py: Added menuitem for renaming the names
893              of the element
894    
895    2007-08-16      Sascha L. Teichmann <[email protected]>
896    
897            * tools/formed/formed/main.py: Swaped order of
898              'Make names unique' and 'Selected mode...' in Extra
899                    menu and put a separator between them.
900    
901    2007-08-15      Sascha L. Teichmann <[email protected]>
902    
903            * tools/formed/formed/model/data.py: SwitchNodes can add
904              their modes to a given set now.
905    
906            * tools/formed/formed/plugins/plugin.py: Simplified
907              the plug-in interface. Only the reference to the
908                    global configuration is passed at setup time.
909    
910            * tools/formed/formed/plugins/web/plugin.py: Adjusted
911              to new plug-in setup. The traveral mode is now taken
912                    from the global configuration each time a rendering
913                    is triggered. The FORMED parameter is now named
914                    'doc.mode' instead of 'web.mode'. The parameter
915                    is not needed any more because it can be configured
916                    at runtime.
917    
918            * tools/formed/formed/main.py: Adjusted to new plugin
919              setup. Added a new menu item Extra->Select Mode...
920                    to select the traversal mode. It is stored in the
921                    global config.
922    
923            * tools/formed/formed/config.py: Simplified. Only uses
924              one env dictionary to store global configuration parameters.
925    
926            * tools/formed/formed/ui/controls.py: Add a control to
927              select one item from a list of given strings.
928    
929    2007-08-15      Sascha L. Teichmann <[email protected]>
930    
931            * tools/formed/formed/plugins/web/plugin.py,
932              tools/formed/formed/plugins/web/renderer.py: Added parameter
933                    print out in web plugin.
934    
935    2007-08-15      Torsten Irlaender <[email protected]>
936    
937            * contrib/convert-formedtree2csv.xsl: Added small script for
938              exporting the formed tree to csv
939    
940    2007-08-14      Sascha L. Teichmann <[email protected]>
941    
942            * tools/formed/formed/model/data.py,
943              tools/formed/formed/model/nodecomponents.py,
944              tools/formed/formed/io/document.py: Added a 'switch' node.
945    
946            * tools/formed/formed/plugins/web/renderer.py:Render the
947              new 'switch' node.
948    
949            * tools/formed/formed/plugins/web/plugin.py,
950              tools/formed/formed/config.py: Added a 'web.mode' parameter
951                    to FORMED environment variable.
952                    e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
953                    Defaults to 'default'.
954    
955            * tools/formed/test-data/simple.xml: Added test for switch.
956    
957    2007-08-14      Sascha L. Teichmann <[email protected]>
958    
959            * tools/formed/formed/model/nodecomponents.py: Added an
960              attribute 'formularname' to base class of node components.
961    
962    2007-08-13      Sascha L. Teichmann <[email protected]>
963    
964            * tools/formed/formed/io/document.py,
965              tools/formed/formed/model/data.py,
966              tools/formed/formed/model/nodecomponents.py: Added an item
967                    to model external item lists.
968    
969            * tools/formed/formed/plugins/web/renderer.py: Render new item
970              list.
971            * tools/formed/formed/main.py: Added a forgotten 'self.'
972    
973            * contrib/extract-xfa-items.sh: Modified to generate
974              documents to be loadable from new item lists
975    
976    2007-08-13      Sascha L. Teichmann <[email protected]>
977    
978            * tools/formed/formed/main.py: Fixed typo
979    
980    2007-08-13      Sascha L. Teichmann <[email protected]>
981    
982            * contrib/extract-xfa-items.sh: New. Can be used to extract longer
983              choice item lists for a given field from XFA files. e.g. with
984                    './contrib/extract-xfa-items.sh Muttersprache alles.xml'
985    
986    2007-08-12      Sascha L. Teichmann <[email protected]>
987    
988            * tools/formed/formed/model/data.py,
989              tools/formed/formed/plugins/web/renderer.py,
990                    tools/formed/formed/io/document.py: Changed the structure
991                    of choice constructs. The idea to hold the different items
992                    of a particular choice in a semicolon separated list was bad.
993                    Now choices are groups and  the option items are modelled as
994                    embedded bools. (mainly Torsten Irländer's idea).
995    
996                    WARNING: this makes old document files containing choices incompatible!!!
997                    Use the following XSLT to reestablish compatibility.
998                    
999            * contrib/itemize-choices.xsl: New converts old to new structure.
1000              Needs exslt.org's string extensions (which xsltproc includes)
1001    
1002            * tools/formed/test-data/simple.xml: Ajusted to new structure
1003    
1004            * tools/formed/formed/plugins/web/plugin.py: remove debug output
1005    
1006            * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
1007              node finding code. It now uses the walk() generator, too.
1008    
1009    2007-08-12      Sascha L. Teichmann <[email protected]>
1010    
1011            * tools/formed/formed/main.py: Added a clone item on the toolbar which
1012              copies the currently selected item and appends it after the selection.
1013    
1014            * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1015              of the tree.
1016                    
1017            * tools/formed/formed/ui/controls.py: Added a getSelected method.
1018    
1019            * tools/formed/formed/model/misc.py: Fixed a programming bug.
1020              forgot a 'self.' prefix.
1021    
1022    2007-08-12      Sascha L. Teichmann <[email protected]>
1023    
1024            * tools/formed/formed/model/nodecomponents.py: Added a method to append
1025              a second document to the current.
1026    
1027            * tools/formed/formed/main.py: Added an 'Import' file menu item to load
1028              a second document to be appended to the current.
1029    
1030    2007-08-12      Sascha L. Teichmann <[email protected]>
1031    
1032            * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
1033              a new document when triggered.
1034    
1035    2007-08-12      Sascha L. Teichmann <[email protected]>
1036    
1037            * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1038              items in the document tree. Added a method to eliminated duplicated names
1039                    in document tree.
1040    
1041            * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1042              after names collisions are eliminated.
1043    
1044            * tools/formed/formed/main.py: Added an 'Extra' menu with item
1045              'Make names   unique'.
1046    
1047    2007-08-11      Sascha L. Teichmann <[email protected]>
1048    
1049            * tools/formed/formed/model/data.py,
1050              tools/formed/formed/plugins/web/renderer.py: Removed support
1051                    for 'text' attributes in bool items. They were never really
1052                    used and the 'description' attributes fulfill the same
1053                    purpose.
1054    
1055            * contrib/remove-bool-text.xsl: Transform to remove the
1056              'text' attributes from bool items. Apply with:
1057                    'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1058    
1059            * tools/formed/test-data/simple.xml: Removed 'text' attributes
1060              from bool items.
1061    
1062    2007-08-11      Sascha L. Teichmann <[email protected]>
1063    
1064            * contrib/convert-choices.xsl: Simpified.
1065    
1066    2007-08-11      Sascha L. Teichmann <[email protected]>
1067    
1068            * tools/formed/formed/model/data.py: Removed 'options' attribute
1069              from ChoiceLeaf. Use 'value' instead, please!
1070    
1071            * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
1072              instead of 'options' to render choices.
1073    
1074            * contrib/convert-choices.xsl: Added to convert document files
1075              which use the choice 'option' attribute to usage of 'value'.
1076                    Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1077    
1078    2007-08-10      Sascha L. Teichmann <[email protected]>
1079    
1080            * tools/formed/formed/plugins/web/renderer.py: radio buttons
1081              are selected by 'checked' and not by 'selected'. Fixed.
1082    
1083    2007-08-10      Sascha L. Teichmann <[email protected]>
1084    
1085            * tools/formed/formed/model/data.py: ChoiceLeafs are now
1086              initialized with size = 1.
1087    
1088  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
1089    
1090          * tools/formed/formed/model/data.py: TextLeafs are now          * tools/formed/formed/model/data.py: TextLeafs are now

Legend:
Removed from v.27  
changed lines
  Added in v.158

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26