/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 82 by torsten, Thu Aug 23 16:07:37 2007 UTC revision 154 by teichmann, Sun Sep 9 23:19:16 2007 UTC
# Line 1  Line 1 
1    2007-10-05 Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/model/nodecomponents.py: Fixed returning
4              wrong index in Document.indexOfcomponentByClassAndName.
5    
6            * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
7              written 'errot' in renderer for textareas.
8    
9            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
10    
11    2007-10-05 Sascha L. Teichmann <[email protected]>
12    
13            * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
14              method. Could be cheaper for some implementations of help.
15    
16            * tools/formed/formed/plugins/web/form_renderer.py: Modified
17              FormData to have distinct getData(), getHelp() and getError()
18                    methods. Various bug fixes.
19    
20            * tools/formed/formed/plugins/web/controllers.py: Implements the
21              new FormData (trivial by now).
22    
23            * tools/formed/formed/plugins/web/renderer.py: New FormData and
24              some bug fixes.
25    
26    2007-09-05 Sascha L. Teichmann <[email protected]>
27    
28            * tools/formed/formed/model/memory.py,
29              tools/formed/formed/model/persistent.py: Add a getValue() method
30                    to dataset abstraction. This is a bit of a workaround to bring
31                    global access across pages for rule checking to work.
32    
33            * tools/formed/formed/model/data.py: Fixed: When setting a new expression
34              the compiled version was not stored in the RuleLeaf.
35    
36            * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
37              convert the expression string to ascii for compilation.
38    
39            * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
40              valid data is stored to the dataset immediately now. Fixed a bug
41                    with integer handler.
42    
43            * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
44              stuff. When a submit is done extract the rules from the tree document
45                    that are effected by the modified variables and check them.
46    
47            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
48              when dealing with templates.
49    
50    2007-09-07 Torsten Irlaender <[email protected]>
51            * tools/formed/formed/plugins/web/controllers.py,
52              tools/formed/formed/plugins/web/renderer.py: Moved more render
53              functions into renderer.py. New render classes are:
54              DataSetDigestRenderer, DataSetNavigationRenderer,
55              DataSetFormularRenderer, ConfirmationDialogRenderer
56    
57              Note: The new methods are only called from selected handlers. Other
58              handlers call the renderes in the old way.
59    
60    2007-09-07 Torsten Irlaender <[email protected]>
61            * tools/formed/formed/plugins/web/form_renderer.py: Renamed
62              renderer.py to form_renderer.py. This file will contain formular
63              specfic render methods in the future.
64            * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
65              which will contain general render methods.
66            * tools/formed/formed/plugins/web/controllers.py: Began to move all
67              rendering into renderer.py or form_renderer.py. This file will only
68              contain teh handlers in the future.
69    
70    2007-09-07 Torsten Irlaender <[email protected]>
71            * tools/formed/formed/plugins/web/renderer.py,
72              tools/formed/formed/plugins/web/controller.py:
73              Renderes now get an instance of the formdata object to provide
74              access the data needed to render various infoboxes etc. Handler
75              instanciate the formdata.
76            
77    2007-09-06 Torsten Irlaender <[email protected]>
78            * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
79              getFormData interface to work. Added two small semantic fixes, but
80              did not manage to get it up. Need to exime this a little bit more
81            * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
82              around the menus on the right side to be able to assign different
83              styles. Added dataset actions while editing a dataset.
84            
85    2007-09-05 Torsten Irlaender <[email protected]>
86            * tools/formed/formed/model/memory.py: Fixed deleting datasets by
87              removing unwanted del method
88            * tools/formed/formed/plugins/web/controllers.py: Implemented
89              confiration dialogs for create, delete, and select aof datasets. Started to use
90              templates as well for larger information units like the dataset summary.
91            
92    2007-09-05 Sascha L. Teichmann <[email protected]>
93    
94            * tools/formed/formed/model/nodecomponents.py: Added a
95              method to document to find index of page.
96    
97            * tools/formed/formed/plugins/web/semantic.py: Added getValue()
98              to fetch data from semantic box.
99    
100            * tools/formed/formed/plugins/web/controllers.py: Added new
101              FormData implementation to support DB and semantic box.
102    
103    2007-09-05 Sascha L. Teichmann <[email protected]>
104    
105            * tools/formed/formed/plugins/web/renderer.py: escaped
106              error message.
107    
108            * tools/formed/formed/plugins/web/controllers.py: Don't fetch
109              dataset from backend each time a page is up to edit.
110    
111    2007-09-05 Sascha L. Teichmann <[email protected]>
112    
113            * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
114              returns "Page not found" if given page is None.
115    
116            * tools/formed/formed/plugins/web/controllers.py: Added checks
117              to avoid crashing when ask for a non-existent page.
118    
119    2007-09-05 Sascha L. Teichmann <[email protected]>
120    
121            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
122    
123    2007-09-05 Sascha L. Teichmann <[email protected]>
124    
125            * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
126              and renderers.
127    
128            * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
129              and renderers now. TODO: Move renderers to renderer.py
130    
131    2007-09-05 Torsten Irlaender <[email protected]>
132    
133            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
134              and bound in the the new added functions to create, edit, delete and
135              show formdata.
136            
137    2007-09-05 Sascha L. Teichmann <[email protected]>
138    
139            * tools/formed/formed/model/memory.py: Removed bisect and use a
140              simple linear scan for dataset lookup now.
141    
142            * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
143              of different sizes.
144    
145    2007-09-05 Torsten Irlaender <[email protected]>
146    
147            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
148              fuction
149                    
150            * tools/formed/formed/plugins/web/persistent.py: Added store() method
151              to the DataSet interface
152    
153            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
154              renderes for create, update, delete and show actions on formular data.
155    
156    2007-09-04 Sascha L. Teichmann <[email protected]>
157    
158            * tools/formed/formed/plugins/web/server.py: The mapping
159              to methods is now driven by regualar expressions and
160                    a dictionary. Response objects are now able to send
161                    error codes.
162    
163            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
164              when help in Formdata is None. Moved text for help into
165                    a top level '''...''' variable.
166    
167            * tools/formed/test-data/simple.xml: Added test for help.
168    
169            * tools/formed/formed/plugins/web/help.py: extra None check.
170    
171            * tools/formed/formed/plugins/web/plugin.py: Uses the new
172              table driven mapping of reguest handling. TODO: split the
173                    WebPlugIn.pageHandler() method further to smaller handlers.
174                    Smaller clean ups and better exception handling.
175    
176            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
177              and do not catch them.
178    
179    2007-09-04 Torsten Irlaender <[email protected]>
180    
181            * tools/formed/formed/plugins/web/renderer.py,
182            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
183              the HelpProvider and inserted help icons to the html output.
184              Added decorator for Formelemnts, so textfields, choices etc. are now
185              within a <div> tag.
186              Modified the error messages.
187    
188    2007-09-04 Sascha L. Teichmann <[email protected]>
189    
190            * tools/formed/formed/plugins/web/cache.py: New. Implements
191              the server-side caching more clean. Fixes a bug with
192                    serving static content.
193    
194            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
195    
196    2007-09-04 Sascha L. Teichmann <[email protected]>
197    
198            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
199              to "application/xhtml+xml" when serving help texts.
200    
201    2007-09-03 Sascha L. Teichmann <[email protected]>
202    
203            * tools/formed/formed/plugins/export/diff.py: New. Exports
204              pairwise differences between all modes.
205    
206            * tools/formed/formed/config.py: Use new export filter.
207    
208    2007-09-03 Sascha L. Teichmann <[email protected]>
209    
210            * tools/formed/formed/plugins/web/help.py: New. Parses an
211              XHTML document for id'ed divs and builds a help lookup.
212    
213            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
214              the help content frame.
215    
216            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
217              help text index.
218    
219            * tools/formed/formed/plugins/web/plugin.py: Serves the help
220              texts now.
221    
222    2007-09-03 Torsten Irlaender <[email protected]>
223    
224            * tools/formed/formed/plugins/web/plugin.py: Only visible group
225              elements will be rendered in the formular navigation.
226              Formular pages in the navigation now have their own css-style
227              attributes.
228    
229    2007-09-03 Torsten Irlaender <[email protected]>
230    
231            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
232              errors in template
233            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
234              pageerrors variable
235    
236    2007-09-03 Frank Koormann <[email protected]>
237    
238            * tools/formed/formed/plugins/export/html.py
239            (RecursiveExporter): Added annotation to export
240            (fillRow()): Renamed old fillNine to this more generic name.
241            
242    
243    2007-09-03 Sascha L. Teichmann <[email protected]>
244    
245            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
246              from model.misc now.
247    
248    2007-09-03 Sascha L. Teichmann <[email protected]>
249    
250            * tools/formed/formed/model/nodecomponents.py: Added an
251              'annotation' attribute to node components. This is to
252                    enable FormEd document authors to add comments to groups
253                    and fields.
254    
255    2007-09-03 Frank Koormann <[email protected]>
256    
257            * tools/formed/formed/model/nodecomponents.py
258            (NodeComponent.getParent): New method to get node components parent.
259    
260            * tools/formed/formed/plugins/export/html.py: Export Choice option
261            as simple list instead of collection of bools.
262    
263    2007-09-02 Sascha L. Teichmann <[email protected]>
264    
265            * tools/formed/formed/model/persistent.py: Interfaces to abstract
266              from persistent storage details.
267    
268            * tools/formed/formed/model/memory.py: In core implementation
269              of the persistent interfaces.
270    
271            * tools/formed/formed/main.py: Holds a memory data store now.
272    
273    2007-09-02 Sascha L. Teichmann <[email protected]>
274    
275            * tools/formed/formed/plugins/export/sql.py,
276              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
277                    for FileDialogFilter sub classes.
278    
279    2007-09-02 Sascha L. Teichmann <[email protected]>
280    
281            * tools/formed/formed/model/misc.py: Checking the mode in recursive
282              tree traversals is a common task. To ease this a decorator function
283                    checkMode in union with sub classing ModeChecker can be used.
284                    To make it work simply subclass from ModeChecker and add the decorator
285                    to the methods that need mode tracking. Before you start the recursion
286                    call self.prepareDescent().
287    
288            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
289              now which replace the old. TODO: Make the web renderer use the new scheme
290                    too.
291    
292    2007-09-02 Sascha L. Teichmann <[email protected]>
293    
294            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
295    
296            * tools/formed/formed/plugins/export/html.py: HTML table exporter
297              uses new FileDialogFilter base class too.
298    
299    2007-09-02 Sascha L. Teichmann <[email protected]>
300    
301            * tools/formed/formed/plugins/ui/*: New. All file exporters
302              need a file dialog. Till now each of them pulled up its
303                    own. This was silly code replication. Now there is an abstract
304                    base class 'FileDialogFilter' which implements the common
305                    behavior. The file exporters should subclass it.
306    
307            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
308              exporters from the new base class. TODO: Subclass the HTML
309                    exporter too.
310    
311    2007-08-31 Sascha L. Teichmann <[email protected]>
312    
313            * tools/formed/formed/plugins/export/html.py: Make mode check
314              work (again).
315    
316    2007-08-31 Torsten Irlaender <[email protected]>
317    
318            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
319              exprt works now in a recursive way. This change was needed because
320              the structure of the formedtree has changed to be able to render
321              full hirachically document stuctures. (nested lists)
322              TODO: Fix modechecking
323    
324    2007-08-31 Torsten Irlaender <[email protected]>
325    
326            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
327              now in recursive way. This change was needed because the structure
328              of the formedtree has changed to be able to render full hirachically
329              document stuctures. (nested lists)
330    
331    2007-08-31 Sascha L. Teichmann <[email protected]>
332    
333            * tools/formed/formed/model/nodecomponents.py: use discard()
334              instead of remove on sets.
335    
336            * tools/formed/formed/plugins/export/sql.py: Added an
337              exporter for table views.
338    
339            * tools/formed/formed/config.py: Added the new exporter
340              to the list of export filters.
341    
342    2007-08-30 Sascha L. Teichmann <[email protected]>
343    
344            * tools/formed/formed/model/data.py: Fixed a bug in
345              Page.allWidgets()
346    
347            * tools/formed/formed/plugins/export/sql.py: Added an exporter
348              for stored procudeures.
349    
350            * tools/formed/formed/config.py: Add the new SP exporter.
351    
352    2007-08-29 Torsten Irlaender <[email protected]>
353    
354            * tools/formed/formed/plugins/web/plugin.py,
355              tools/formed/formed/plugins/web/error_renderer.py: Added interface
356              to get the errors for a whole page in te formular. These errors can
357              now be displayed on the top of the formular.
358    
359    2007-08-29 Torsten Irlaender <[email protected]>
360    
361            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
362              of the getFromData interface and prepared the rederer for generating
363              nice error messages
364    
365    2007-08-28 Frank Koormann <[email protected]>
366    
367            * tools/formed/formed/plugins/export/sql.py
368            (SchemaCreator.createSchema, SchemaCreator._createGroup):
369            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
370    
371    2007-08-28 Torsten Irlaender <[email protected]>
372    
373            * tools/formed/formed/plugins/export/sql.py: Added small helper
374              function to generated valid quotes within the sql statements
375    
376    2007-08-29 Sascha L. Teichmann <[email protected]>
377    
378            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
379              for repeat tables.
380              
381    2007-08-29 Sascha L. Teichmann <[email protected]>
382    
383            * tools/formed/formed/plugins/export/sql.py: When generating
384              an extra table check in a table of same content exists. In
385                    this case reference the existing table.
386    
387    2007-08-29 Sascha L. Teichmann <[email protected]>
388    
389            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
390              _real_ SQL and respect repeat groups.
391    
392            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
393    
394            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
395              instead of expensive += string concat in some places.
396    
397    2007-08-29 Sascha L. Teichmann <[email protected]>
398    
399            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
400              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
401    
402    2007-08-28 Torsten Irlaender <[email protected]>
403    
404            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
405            * tools/formed/model/data.py: Implements Formadata interface to
406              textfields. Fieldset generated depends now on the "invisible"
407              attribute of the groupnode. Field-label generation slightly changed.
408              Added error indication to textfields
409    
410    2007-08-28 Sascha L. Teichmann <[email protected]>
411    
412            * tools/formed/formed/model/data.py,
413              tools/formed/formed/io/document.py: Removed support
414                    of logical groups.
415    
416    2007-08-28 Sascha L. Teichmann <[email protected]>
417    
418            * tools/formed/formed/io/document.py: Avoid saving empty
419              attributes.
420    
421            * tools/formed/test-data/simple.xml: Applied.
422    
423    2007-08-28 Sascha L. Teichmann <[email protected]>
424    
425            * tools/formed/formed/model/data.py: Added 'repeat' and
426              'invisible' attributes to group. TODO: remove logical group.
427    
428    2007-08-27 Torsten Irlaender <[email protected]>
429    
430            * tools/formed/plugins/web/plugin.py,
431              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
432              depending tags in the html generation.
433    
434    2007-08-27 Sascha L. Teichmann <[email protected]>
435    
436            * tools/formed/formed/model/data.py,
437              tools/formed/formed/io/document.py: Added a logical group.
438                    It has an attribute 'repeat' to indicate that it might
439                    be worthy an external table in DB schema.
440    
441    2007-08-27 Sascha L. Teichmann <[email protected]>
442    
443            * tools/formed/formed/plugins/web/plugin.py: Support
444              serving of static content.
445    
446            * tools/formed/formed/plugins/web/server.py: Removed
447              old send code.
448    
449    2007-08-27 Sascha L. Teichmann <[email protected]>
450    
451            * tools/formed/formed/plugins/web/plugin.py: Use new
452              Response object. Fix typo.
453    
454            * tools/formed/formed/plugins/web/server.py: support
455              response object to serve different MIME types.
456    
457    2007-08-27 Sascha L. Teichmann <[email protected]>
458    
459            * tools/formed/formed/plugins/web/plugin.py: Add web.path
460              to FORMED environment  variable to specify the
461                    root of the static content.
462    
463    2007-08-26 Sascha L. Teichmann <[email protected]>
464    
465            * tools/formed/formed/model/data.py,
466              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
467    
468            * tools/formed/formed/plugins/web/www,
469              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
470                    a template for the HTML output.
471    
472            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
473              mode issues. Introduces CSS support. Simplified the action
474                    handling.
475    
476            * tools/formed/formed/plugins/web/renderer.py: Removed the
477              nagivation code.
478    
479            * tools/formed/formed/plugins/web/server.py: Added missing import.
480    
481    2007-08-26 Sascha L. Teichmann <[email protected]>
482    
483            * tools/formed/formed/model/data.py: Added missing broadcast
484              parameter to setAttribute() of RuleLeaf.
485    
486            * tools/formed/formed/plugins/web/plugin.py: Factorize
487              HTTP server code out to separate module.
488    
489            * tools/formed/formed/plugins/web/renderer.py: Removed
490              needless -1 from pop()
491    
492            * tools/formed/formed/plugins/web/server.py: New. Contains
493              the HTTP server code now.
494    
495    2007-08-26 Sascha L. Teichmann <[email protected]>
496    
497            * tools/formed/test-data/simple.xml: Modified to contain a rule.
498    
499            * tools/formed/formed/model/expr.py: Added. A simple RPN
500              expression evaluator. To avoid the problem of eval()ing
501                    arbitrary python expressions I've decided to use a very
502                    basic and limited stack machine to support rule checking.
503    
504            * tools/formed/formed/model/data.py: Added a RuleLeaf.
505    
506            * tools/formed/formed/io/document.py: Added factories for rules.
507    
508            * tools/formed/formed/model/nodecomponents.py: Add a method
509              to find all items of a given type in document for a given
510                    mode. Usefull to find all rules in the tree.
511    
512            * tools/formed/formed/ui/controls.py: Added a listener mechanism
513              to attribute table to report exceptions when setting a value
514                    from GUI. Useful to report compilation errors when setting
515                    expr of rule leafs.
516    
517            * tools/formed/formed/main.py: Added a method to track exceptions
518              from the attribute table and pop up dialogs if they occur.
519                    Added a counter of rule modifications in tree. Useful if you
520                    want build cached data structures like rule sets and you want
521                    to know if they are still valid.
522    
523    2007-08-24 Torsten Irlaender <[email protected]>
524    
525            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
526              for checkbox values. (Syntax error).
527    
528            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
529              generation  
530    
531    2007-08-24 Torsten Irlaender <[email protected]>
532    
533            * tools/formed/formed/plugins/names/filter.py: Separated Class for
534              making the formularnames more database friendly. Added some more
535              checks.
536            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
537              separated class, and some fixes in sql generation.
538    
539    2007-08-24 Sascha L. Teichmann <[email protected]>
540    
541            * tools/formed/formed/plugins/export/html.py: Print lengths
542              of external choice list.
543    
544    2007-08-24 Sascha L. Teichmann <[email protected]>
545    
546            * tools/formed/formed/main.py: Little workaround for
547              mode selection if someone adds an removes a mode.
548    
549    2007-08-24 Sascha L. Teichmann <[email protected]>
550    
551            * tools/formed/test-data/simple.xml: Better test case for
552              mode depended leaf items.
553    
554            * tools/formed/formed/model/nodecomponents.py: Added a method
555              to calculate the effective mode of an item.
556    
557            * tools/formed/formed/plugins/export/html.py: Use effective
558              mode. TODO: the 'all' modus return false results sometimes.
559                    Cause: The modes are only cumulated over time. Removal is
560                    not done.
561    
562    2007-08-24 Sascha L. Teichmann <[email protected]>
563    
564            * tools/formed/formed/plugins/export/html.py: Dump the items
565              of radio groups and choices too.
566    
567    2007-08-24 Torsten Irlaender <[email protected]>
568    
569            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
570              by formular names to make the naming more database friendly.
571              Now only alphanumeric and underscore chars is allowed.
572    
573    2007-08-24 Sascha L. Teichmann <[email protected]>
574    
575            * tools/formed/formed/plugins/export/html.py: Tweaked
576              HTML table exporter a bit to be on par with the XSLT
577                    script. TODO: Dump items in radio and choice groups.
578    
579    2007-08-23 Sascha L. Teichmann <[email protected]>
580    
581            * tools/formed/formed/plugins/names/filter.py: Removed
582              HTML and SQL exporters.
583    
584            * tools/formed/formed/plugins/export,
585              tools/formed/formed/plugins/export/__init__.py,
586              tools/formed/formed/plugins/export/sql.py,
587              tools/formed/formed/plugins/export/html.py: New: Contain
588                    the HTML and the SQL exporters now.
589    
590            * tools/formed/formed/config.py: Use exporters from different
591              package now.
592    
593  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23 Torsten Irlaender <[email protected]>
594    
595          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an

Legend:
Removed from v.82  
changed lines
  Added in v.154

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26