/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.54  
changed lines
  Added in v.122

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26