/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 50 by torsten, Fri Aug 17 13:09:11 2007 UTC revision 127 by teichmann, Mon Sep 3 09:15:57 2007 UTC
# Line 1  Line 1 
1  2007-08-1/      Torsten Irlaender <[email protected]>  2007-09-03 Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/model/nodecomponents.py: Added an
4              'annotation' attribute to node components. This is to
5                    enable FormEd document authors to add comments to groups
6                    and fields.
7    
8    2007-09-03 Frank Koormann <[email protected]>
9    
10            * tools/formed/formed/model/nodecomponents.py
11            (NodeComponent.getParent): New method to get node components parent.
12    
13            * tools/formed/formed/plugins/export/html.py: Export Choice option
14            as simple list instead of collection of bools.
15    
16    2007-09-02 Sascha L. Teichmann <[email protected]>
17    
18            * tools/formed/formed/model/persistent.py: Interfaces to abstract
19              from persistent storage details.
20    
21            * tools/formed/formed/model/memory.py: In core implementation
22              of the persistent interfaces.
23    
24            * tools/formed/formed/main.py: Holds a memory data store now.
25    
26    2007-09-02 Sascha L. Teichmann <[email protected]>
27    
28            * tools/formed/formed/plugins/export/sql.py,
29              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
30                    for FileDialogFilter sub classes.
31    
32    2007-09-02 Sascha L. Teichmann <[email protected]>
33    
34            * tools/formed/formed/model/misc.py: Checking the mode in recursive
35              tree traversals is a common task. To ease this a decorator function
36                    checkMode in union with sub classing ModeChecker can be used.
37                    To make it work simply subclass from ModeChecker and add the decorator
38                    to the methods that need mode tracking. Before you start the recursion
39                    call self.prepareDescent().
40    
41            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
42              now which replace the old. TODO: Make the web renderer use the new scheme
43                    too.
44    
45    2007-09-02 Sascha L. Teichmann <[email protected]>
46    
47            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
48    
49            * tools/formed/formed/plugins/export/html.py: HTML table exporter
50              uses new FileDialogFilter base class too.
51    
52    2007-09-02 Sascha L. Teichmann <[email protected]>
53    
54            * tools/formed/formed/plugins/ui/*: New. All file exporters
55              need a file dialog. Till now each of them pulled up its
56                    own. This was silly code replication. Now there is an abstract
57                    base class 'FileDialogFilter' which implements the common
58                    behavior. The file exporters should subclass it.
59    
60            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
61              exporters from the new base class. TODO: Subclass the HTML
62                    exporter too.
63    
64    2007-08-31 Sascha L. Teichmann <[email protected]>
65    
66            * tools/formed/formed/plugins/export/html.py: Make mode check
67              work (again).
68    
69    2007-08-31 Torsten Irlaender <[email protected]>
70    
71            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
72              exprt works now in a recursive way. This change was needed because
73              the structure of the formedtree has changed to be able to render
74              full hirachically document stuctures. (nested lists)
75              TODO: Fix modechecking
76    
77    2007-08-31 Torsten Irlaender <[email protected]>
78    
79            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
80              now in recursive way. This change was needed because the structure
81              of the formedtree has changed to be able to render full hirachically
82              document stuctures. (nested lists)
83    
84    2007-08-31 Sascha L. Teichmann <[email protected]>
85    
86            * tools/formed/formed/model/nodecomponents.py: use discard()
87              instead of remove on sets.
88    
89            * tools/formed/formed/plugins/export/sql.py: Added an
90              exporter for table views.
91    
92            * tools/formed/formed/config.py: Added the new exporter
93              to the list of export filters.
94    
95    2007-08-30 Sascha L. Teichmann <[email protected]>
96    
97            * tools/formed/formed/model/data.py: Fixed a bug in
98              Page.allWidgets()
99    
100            * tools/formed/formed/plugins/export/sql.py: Added an exporter
101              for stored procudeures.
102    
103            * tools/formed/formed/config.py: Add the new SP exporter.
104    
105    2007-08-29 Torsten Irlaender <[email protected]>
106    
107            * tools/formed/formed/plugins/web/plugin.py,
108              tools/formed/formed/plugins/web/error_renderer.py: Added interface
109              to get the errors for a whole page in te formular. These errors can
110              now be displayed on the top of the formular.
111    
112    2007-08-29 Torsten Irlaender <[email protected]>
113    
114            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
115              of the getFromData interface and prepared the rederer for generating
116              nice error messages
117    
118    2007-08-28 Frank Koormann <[email protected]>
119    
120            * tools/formed/formed/plugins/export/sql.py
121            (SchemaCreator.createSchema, SchemaCreator._createGroup):
122            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
123    
124    2007-08-28 Torsten Irlaender <[email protected]>
125    
126            * tools/formed/formed/plugins/export/sql.py: Added small helper
127              function to generated valid quotes within the sql statements
128    
129    2007-08-29 Sascha L. Teichmann <[email protected]>
130    
131            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
132              for repeat tables.
133              
134    2007-08-29 Sascha L. Teichmann <[email protected]>
135    
136            * tools/formed/formed/plugins/export/sql.py: When generating
137              an extra table check in a table of same content exists. In
138                    this case reference the existing table.
139    
140    2007-08-29 Sascha L. Teichmann <[email protected]>
141    
142            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
143              _real_ SQL and respect repeat groups.
144    
145            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
146    
147            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
148              instead of expensive += string concat in some places.
149    
150    2007-08-29 Sascha L. Teichmann <[email protected]>
151    
152            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
153              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
154    
155    2007-08-28 Torsten Irlaender <[email protected]>
156    
157            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
158            * tools/formed/model/data.py: Implements Formadata interface to
159              textfields. Fieldset generated depends now on the "invisible"
160              attribute of the groupnode. Field-label generation slightly changed.
161              Added error indication to textfields
162    
163    2007-08-28 Sascha L. Teichmann <[email protected]>
164    
165            * tools/formed/formed/model/data.py,
166              tools/formed/formed/io/document.py: Removed support
167                    of logical groups.
168    
169    2007-08-28 Sascha L. Teichmann <[email protected]>
170    
171            * tools/formed/formed/io/document.py: Avoid saving empty
172              attributes.
173    
174            * tools/formed/test-data/simple.xml: Applied.
175    
176    2007-08-28 Sascha L. Teichmann <[email protected]>
177    
178            * tools/formed/formed/model/data.py: Added 'repeat' and
179              'invisible' attributes to group. TODO: remove logical group.
180    
181    2007-08-27 Torsten Irlaender <[email protected]>
182    
183            * tools/formed/plugins/web/plugin.py,
184              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
185              depending tags in the html generation.
186    
187    2007-08-27 Sascha L. Teichmann <[email protected]>
188    
189            * tools/formed/formed/model/data.py,
190              tools/formed/formed/io/document.py: Added a logical group.
191                    It has an attribute 'repeat' to indicate that it might
192                    be worthy an external table in DB schema.
193    
194    2007-08-27 Sascha L. Teichmann <[email protected]>
195    
196            * tools/formed/formed/plugins/web/plugin.py: Support
197              serving of static content.
198    
199            * tools/formed/formed/plugins/web/server.py: Removed
200              old send code.
201    
202    2007-08-27 Sascha L. Teichmann <[email protected]>
203    
204            * tools/formed/formed/plugins/web/plugin.py: Use new
205              Response object. Fix typo.
206    
207            * tools/formed/formed/plugins/web/server.py: support
208              response object to serve different MIME types.
209    
210    2007-08-27 Sascha L. Teichmann <[email protected]>
211    
212            * tools/formed/formed/plugins/web/plugin.py: Add web.path
213              to FORMED environment  variable to specify the
214                    root of the static content.
215    
216    2007-08-26 Sascha L. Teichmann <[email protected]>
217    
218            * tools/formed/formed/model/data.py,
219              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
220    
221            * tools/formed/formed/plugins/web/www,
222              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
223                    a template for the HTML output.
224    
225            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
226              mode issues. Introduces CSS support. Simplified the action
227                    handling.
228    
229            * tools/formed/formed/plugins/web/renderer.py: Removed the
230              nagivation code.
231    
232            * tools/formed/formed/plugins/web/server.py: Added missing import.
233    
234    2007-08-26 Sascha L. Teichmann <[email protected]>
235    
236            * tools/formed/formed/model/data.py: Added missing broadcast
237              parameter to setAttribute() of RuleLeaf.
238    
239            * tools/formed/formed/plugins/web/plugin.py: Factorize
240              HTTP server code out to separate module.
241    
242            * tools/formed/formed/plugins/web/renderer.py: Removed
243              needless -1 from pop()
244    
245            * tools/formed/formed/plugins/web/server.py: New. Contains
246              the HTTP server code now.
247    
248    2007-08-26 Sascha L. Teichmann <[email protected]>
249    
250            * tools/formed/test-data/simple.xml: Modified to contain a rule.
251    
252            * tools/formed/formed/model/expr.py: Added. A simple RPN
253              expression evaluator. To avoid the problem of eval()ing
254                    arbitrary python expressions I've decided to use a very
255                    basic and limited stack machine to support rule checking.
256    
257            * tools/formed/formed/model/data.py: Added a RuleLeaf.
258    
259            * tools/formed/formed/io/document.py: Added factories for rules.
260    
261            * tools/formed/formed/model/nodecomponents.py: Add a method
262              to find all items of a given type in document for a given
263                    mode. Usefull to find all rules in the tree.
264    
265            * tools/formed/formed/ui/controls.py: Added a listener mechanism
266              to attribute table to report exceptions when setting a value
267                    from GUI. Useful to report compilation errors when setting
268                    expr of rule leafs.
269    
270            * tools/formed/formed/main.py: Added a method to track exceptions
271              from the attribute table and pop up dialogs if they occur.
272                    Added a counter of rule modifications in tree. Useful if you
273                    want build cached data structures like rule sets and you want
274                    to know if they are still valid.
275    
276    2007-08-24 Torsten Irlaender <[email protected]>
277    
278            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
279              for checkbox values. (Syntax error).
280    
281            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
282              generation  
283    
284    2007-08-24 Torsten Irlaender <[email protected]>
285    
286            * tools/formed/formed/plugins/names/filter.py: Separated Class for
287              making the formularnames more database friendly. Added some more
288              checks.
289            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
290              separated class, and some fixes in sql generation.
291    
292    2007-08-24 Sascha L. Teichmann <[email protected]>
293    
294            * tools/formed/formed/plugins/export/html.py: Print lengths
295              of external choice list.
296    
297    2007-08-24 Sascha L. Teichmann <[email protected]>
298    
299            * tools/formed/formed/main.py: Little workaround for
300              mode selection if someone adds an removes a mode.
301    
302    2007-08-24 Sascha L. Teichmann <[email protected]>
303    
304            * tools/formed/test-data/simple.xml: Better test case for
305              mode depended leaf items.
306    
307            * tools/formed/formed/model/nodecomponents.py: Added a method
308              to calculate the effective mode of an item.
309    
310            * tools/formed/formed/plugins/export/html.py: Use effective
311              mode. TODO: the 'all' modus return false results sometimes.
312                    Cause: The modes are only cumulated over time. Removal is
313                    not done.
314    
315    2007-08-24 Sascha L. Teichmann <[email protected]>
316    
317            * tools/formed/formed/plugins/export/html.py: Dump the items
318              of radio groups and choices too.
319    
320    2007-08-24 Torsten Irlaender <[email protected]>
321    
322            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
323              by formular names to make the naming more database friendly.
324              Now only alphanumeric and underscore chars is allowed.
325    
326    2007-08-24 Sascha L. Teichmann <[email protected]>
327    
328            * tools/formed/formed/plugins/export/html.py: Tweaked
329              HTML table exporter a bit to be on par with the XSLT
330                    script. TODO: Dump items in radio and choice groups.
331    
332    2007-08-23 Sascha L. Teichmann <[email protected]>
333    
334            * tools/formed/formed/plugins/names/filter.py: Removed
335              HTML and SQL exporters.
336    
337            * tools/formed/formed/plugins/export,
338              tools/formed/formed/plugins/export/__init__.py,
339              tools/formed/formed/plugins/export/sql.py,
340              tools/formed/formed/plugins/export/html.py: New: Contain
341                    the HTML and the SQL exporters now.
342    
343            * tools/formed/formed/config.py: Use exporters from different
344              package now.
345    
346    2007-08-23 Torsten Irlaender <[email protected]>
347    
348            * tools/formed/formed/plugins/names/filter.py: Added an
349              pseudo SQL export filters. TODO: Move HTML and SQL filter
350              in a new file (formed/plugins/export/htmlexport.py and
351              sqlexport.py?)
352    
353            * tools/formed/formed/config.py: Install the new SQL filter.
354    
355    2007-08-23 Sascha L. Teichmann <[email protected]>
356    
357            * tools/formed/formed/model/nodecomponents.py: Added a depth()
358              method to determine the depth of particular tree item.
359    
360            * tools/formed/formed/plugins/names/filter.py: Added an
361              HTML export filters. TODO: needs more work.
362    
363            * tools/formed/formed/config.py: Install the new HTML filter.
364    
365    2007-08-23 Torsten Irlaender <[email protected]>
366    
367            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
368              to extract fields and options in the XFA Data in teh PDF. This
369              script might me handy to indicate changes between the different
370              formular versions.
371            
372    2007-08-23 Sascha L. Teichmann <[email protected]>
373    
374            * tools/formed/formed/main.py: Add an 'all' mode to
375              select all modes. ;-)
376    
377    2007-08-22 Sascha L. Teichmann <[email protected]>
378    
379            * tools/formed/test-data/simple.xml,
380              tools/formed/formed/model/data.py,
381              tools/formed/formed/plugins/web/plugin.py,
382              tools/formed/formed/plugins/web/renderer.py,
383              tools/formed/formed/io/document.py,
384              tools/formed/formed/main.py: Removed support for switch nodes.
385              BEWARE: This breaks compatibility with older documents!
386    
387    2007-08-22 Sascha L. Teichmann <[email protected]>
388    
389            * tools/formed/formed/plugins/web/plugin.py: Uses the
390              getSelectedMode() from main now.
391    
392            * tools/formed/formed/main.py: selected mode is now hold
393              in main.
394    
395            * tools/formed/formed/config.py: removed selected mode from
396              env configuration.
397    
398    2007-08-22 Sascha L. Teichmann <[email protected]>
399    
400            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
401              table are now alphabetically sorted.
402    
403    2007-08-22 Sascha L. Teichmann <[email protected]>
404    
405            * tools/formed/formed/model/nodecomponents.py: Added code to
406              establish the new 'modes' recursively.
407    
408            * tools/formed/formed/plugins/plugin.py: Pass main instead
409              of cfg on plug-in start-up.
410    
411            * tools/formed/formed/plugins/web/plugin.py: Use the new
412              'modes' attribute for rendering.
413    
414            * tools/formed/formed/plugins/web/renderer.py: Use decorators
415              to check the new modes.
416    
417            * tools/formed/formed/main.py: Adjusted to new infrastructure.
418    
419    2007-08-22 Sascha L. Teichmann <[email protected]>
420    
421            * tools/formed/formed/model/nodecomponents.py: Added an
422              attribute 'modes' to NodeComponents.
423    
424    2007-08-22 Sascha L. Teichmann <[email protected]>
425    
426            * tools/formed/formed/model/data.py: Small cosmetic cleanups
427    
428    2007-08-21 Sascha L. Teichmann <[email protected]>
429    
430            * tools/formed/formed/plugins/web/renderer.py: Another fix
431              for the hidden field. Argh!
432    
433    2007-08-21 Sascha L. Teichmann <[email protected]>
434    
435            * tools/formed/formed/plugins/web/renderer.py: Fixed double
436              generation of hidden page field.
437    
438    2007-08-21 Sascha L. Teichmann <[email protected]>
439    
440            * tools/formed/formed/plugins/web/semantic.py: Added semantic
441              checks for radio groups.
442    
443    2007-08-21 Sascha L. Teichmann <[email protected]>
444    
445            * tools/formed/formed/plugins/web/semantic.py: Added semantic
446              checks for choices.
447    
448    2007-08-21      Frank Koormann <[email protected]>
449    
450            * contrib/convert-formedtree2html.xsl: Display switch nodes as
451            alternatives.
452            
453    2007-08-21      Frank Koormann <[email protected]>
454    
455            * contrib/convert-formedtree2html.xsl:
456            Replace technical types with readable descriptions
457    
458    2007-08-21 Sascha L. Teichmann <[email protected]>
459    
460            * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
461              issues. 'action' looks for all widgets on a page now, goes
462                    through all passed parameters, tries to match them with the
463                    widgets of the page and put them into the semantic box.
464                    Afterwards a list of untouched page parameters are left
465                    which will be deleted from the semantic box.
466    
467            * tools/formed/formed/plugins/web/semantic.py: Simplified.
468              The NodeComponent is passed as an argument now.
469    
470            * tools/formed/formed/plugins/web/renderer.py: Generate a
471              hidden field to store the name of the page.
472    
473    2007-08-21 Sascha L. Teichmann <[email protected]>
474    
475            * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
476              issue with incoming UTF-8 data.
477    
478    2007-08-21 Sascha L. Teichmann <[email protected]>
479    
480            * tools/formed/test-data/simple.xml: Improve test for widgets
481              in switches.
482    
483            * tools/formed/formed/model/data.py: Added a method to find all
484              widgets in a given page. Fixed a bug when walking in switch
485                    with a given mode.
486    
487            * tools/formed/formed/plugins/web/plugin.py: Simple test for
488              listing all widgets in page.
489    
490    2007-08-21 Torsten Irlaender <[email protected]>
491    
492            * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
493              latin-1
494    
495    2007-08-21 Sascha L. Teichmann <[email protected]>
496    
497            * tools/formed/formed/model/data.py: Added mode parameter to
498              walk.
499                    
500            * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
501              walk() with usage of the new mode parameter. Added a method to
502                    give children in a given mode.
503    
504            * tools/formed/formed/plugins/web/renderer.py: Simplified to use
505              new Switch.childrenInMode() method.
506    
507    2007-08-21 Sascha L. Teichmann <[email protected]>
508    
509            * tools/formed/formed/plugins/web/semantic.py: Add checks for
510              texts and text areas.
511    
512            * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
513              to UTF-8 in generated form.
514    
515    2007-08-20 Sascha L. Teichmann <[email protected]>
516    
517            * tools/formed/formed/plugins/web/semantic.py: Added semantic
518              tests for dates.
519    
520    2007-08-20 Sascha L. Teichmann <[email protected]>        
521    
522            * tools/formed/test-data/simple.xml: Tweak a bit for integer
523              range test.
524    
525            * tools/formed/formed/model/nodecomponents.py: Added a method
526              to find a tree item for a given name.
527    
528            * tools/formed/formed/plugins/web/semantic.py: New: Box for
529              semantic checking. Has check for integers.
530    
531            * tools/formed/formed/plugins/web/plugin.py: Use semantic
532              check.
533    
534    2007-08-20      Torsten Irlaender <[email protected]>
535    
536            * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
537              selection-field generation (Removed quote)
538    
539    2007-08-18      Sascha L. Teichmann <[email protected]>
540    
541            * tools/formed/formed/plugins/web/plugin.py,
542              tools/formed/formed/plugins/web/renderer.py: Added a
543              simple cookie based session management to the HTML
544              renderer. This submit parameters are stored in the
545              session now. This will ease testing the constraint
546              tests which need to be written soon.
547                    
548              BEWARE: The session management is _not_ made for production!
549              Denial of service attacks are too easy, and the
550              cryptographical strength of the session id is doubtful.
551    
552    2007-08-18      Sascha L. Teichmann <[email protected]>
553    
554            * tools/formed/formed/plugins/web/renderer.py: Escaping text
555              coming from the document tree now when inserting it into the
556              HTML output.
557    
558    2007-08-18      Sascha L. Teichmann <[email protected]>
559    
560            * tools/formed/formed/plugins/plugin.py: Added a new kind
561              of plug-in: Filter. They have a short and a long description
562              and can be hooked automatically into the new 'Filters'
563              sub menu under 'Extra'. They got called when the user
564              selects their respective menu item.
565                    
566            * tools/formed/formed/config.py: Contains the list of
567              installed filters.
568    
569            * tools/formed/formed/main.py: Builds the Extra->Filters
570              sub menu during gui initialization. The hard wired code
571              for make unique and formular name/description -> name
572              is removed because they are implemented as filters now.
573    
574            * tools/formed/formed/model/nodecomponents.py,
575              tools/formed/formed/model/data.py: Removed the make
576              unique and formular name/description -> name code.
577    
578            * tools/formed/formed/plugins/names,
579              tools/formed/formed/plugins/names/__init__.py,
580              tools/formed/formed/plugins/names/filter.py: Added. Contains
581              the make unique and formular name/description -> name code
582              in form of filters.
583    
584            * tools/formed/test-data/simple.xml: Modified to be a better
585              test for the formular name/description -> name filter.
586    
587    2007-08-18      Sascha L. Teichmann <[email protected]>
588    
589            * tools/formed/formed.py, tools/formed/formed/main.py: First
590              command line argument is interpreted as filename of document
591              to be loaded at program startup.
592    
593    2007-08-17      Frank Koormann <[email protected]>
594    
595            * contrib/convert-formedtree2html.xsl:
596            Heading level depending on depth of group node.
597            In case of radio/choice/check only list of options.
598    
599    2007-08-17      Torsten Irlaender <[email protected]>
600    
601            * contrib/convert-formedtree2html.xsl: Output is now generated with
602              HTML doc-string and charset information in the meta-header.
603    
604    2007-08-17      Torsten Irlaender <[email protected]>
605    
606          * contrib/convert-formedtree2html.xsl: Added small script for          * contrib/convert-formedtree2html.xsl: Added small script for
607            exporting the formed tree to html            exporting the formed tree to html

Legend:
Removed from v.50  
changed lines
  Added in v.127

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26