/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.93  
changed lines
  Added in v.156

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26