/[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 138 by torsten, Wed Sep 5 15:05:41 2007 UTC
# Line 1  Line 1 
1    2007-09-05 Torsten Irlaender <[email protected]>
2    
3            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
4              fuction
5            * tools/formed/formed/plugins/web/persistent.py: Added store() method
6              to the DataSet interface
7            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
8              renderes for create, update, delete and show actions on formular data.
9    
10    2007-09-04 Sascha L. Teichmann <[email protected]>
11    
12            * tools/formed/formed/plugins/web/server.py: The mapping
13              to methods is now driven by regualar expressions and
14                    a dictionary. Response objects are now able to send
15                    error codes.
16    
17            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
18              when help in Formdata is None. Moved text for help into
19                    a top level '''...''' variable.
20    
21            * tools/formed/test-data/simple.xml: Added test for help.
22    
23            * tools/formed/formed/plugins/web/help.py: extra None check.
24    
25            * tools/formed/formed/plugins/web/plugin.py: Uses the new
26              table driven mapping of reguest handling. TODO: split the
27                    WebPlugIn.pageHandler() method further to smaller handlers.
28                    Smaller clean ups and better exception handling.
29    
30            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
31              and do not catch them.
32    
33    2007-09-04 Torsten Irlaender <[email protected]>
34    
35            * tools/formed/formed/plugins/web/renderer.py,
36            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
37              the HelpProvider and inserted help icons to the html output.
38              Added decorator for Formelemnts, so textfields, choices etc. are now
39              within a <div> tag.
40              Modified the error messages.
41    
42    2007-09-04 Sascha L. Teichmann <[email protected]>
43    
44            * tools/formed/formed/plugins/web/cache.py: New. Implements
45              the server-side caching more clean. Fixes a bug with
46                    serving static content.
47    
48            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
49    
50    2007-09-04 Sascha L. Teichmann <[email protected]>
51    
52            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
53              to "application/xhtml+xml" when serving help texts.
54    
55    2007-09-03 Sascha L. Teichmann <[email protected]>
56    
57            * tools/formed/formed/plugins/export/diff.py: New. Exports
58              pairwise differences between all modes.
59    
60            * tools/formed/formed/config.py: Use new export filter.
61    
62    2007-09-03 Sascha L. Teichmann <[email protected]>
63    
64            * tools/formed/formed/plugins/web/help.py: New. Parses an
65              XHTML document for id'ed divs and builds a help lookup.
66    
67            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
68              the help content frame.
69    
70            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
71              help text index.
72    
73            * tools/formed/formed/plugins/web/plugin.py: Serves the help
74              texts now.
75    
76    2007-09-03 Torsten Irlaender <[email protected]>
77    
78            * tools/formed/formed/plugins/web/plugin.py: Only visible group
79              elements will be rendered in the formular navigation.
80              Formular pages in the navigation now have their own css-style
81              attributes.
82    
83    2007-09-03 Torsten Irlaender <[email protected]>
84    
85            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
86              errors in template
87            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
88              pageerrors variable
89    
90    2007-09-03 Frank Koormann <[email protected]>
91    
92            * tools/formed/formed/plugins/export/html.py
93            (RecursiveExporter): Added annotation to export
94            (fillRow()): Renamed old fillNine to this more generic name.
95            
96    
97    2007-09-03 Sascha L. Teichmann <[email protected]>
98    
99            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
100              from model.misc now.
101    
102    2007-09-03 Sascha L. Teichmann <[email protected]>
103    
104            * tools/formed/formed/model/nodecomponents.py: Added an
105              'annotation' attribute to node components. This is to
106                    enable FormEd document authors to add comments to groups
107                    and fields.
108    
109    2007-09-03 Frank Koormann <[email protected]>
110    
111            * tools/formed/formed/model/nodecomponents.py
112            (NodeComponent.getParent): New method to get node components parent.
113    
114            * tools/formed/formed/plugins/export/html.py: Export Choice option
115            as simple list instead of collection of bools.
116    
117    2007-09-02 Sascha L. Teichmann <[email protected]>
118    
119            * tools/formed/formed/model/persistent.py: Interfaces to abstract
120              from persistent storage details.
121    
122            * tools/formed/formed/model/memory.py: In core implementation
123              of the persistent interfaces.
124    
125            * tools/formed/formed/main.py: Holds a memory data store now.
126    
127    2007-09-02 Sascha L. Teichmann <[email protected]>
128    
129            * tools/formed/formed/plugins/export/sql.py,
130              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
131                    for FileDialogFilter sub classes.
132    
133    2007-09-02 Sascha L. Teichmann <[email protected]>
134    
135            * tools/formed/formed/model/misc.py: Checking the mode in recursive
136              tree traversals is a common task. To ease this a decorator function
137                    checkMode in union with sub classing ModeChecker can be used.
138                    To make it work simply subclass from ModeChecker and add the decorator
139                    to the methods that need mode tracking. Before you start the recursion
140                    call self.prepareDescent().
141    
142            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
143              now which replace the old. TODO: Make the web renderer use the new scheme
144                    too.
145    
146    2007-09-02 Sascha L. Teichmann <[email protected]>
147    
148            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
149    
150            * tools/formed/formed/plugins/export/html.py: HTML table exporter
151              uses new FileDialogFilter base class too.
152    
153    2007-09-02 Sascha L. Teichmann <[email protected]>
154    
155            * tools/formed/formed/plugins/ui/*: New. All file exporters
156              need a file dialog. Till now each of them pulled up its
157                    own. This was silly code replication. Now there is an abstract
158                    base class 'FileDialogFilter' which implements the common
159                    behavior. The file exporters should subclass it.
160    
161            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
162              exporters from the new base class. TODO: Subclass the HTML
163                    exporter too.
164    
165    2007-08-31 Sascha L. Teichmann <[email protected]>
166    
167            * tools/formed/formed/plugins/export/html.py: Make mode check
168              work (again).
169    
170    2007-08-31 Torsten Irlaender <[email protected]>
171    
172            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
173              exprt works now in a recursive way. This change was needed because
174              the structure of the formedtree has changed to be able to render
175              full hirachically document stuctures. (nested lists)
176              TODO: Fix modechecking
177    
178    2007-08-31 Torsten Irlaender <[email protected]>
179    
180            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
181              now in recursive way. This change was needed because the structure
182              of the formedtree has changed to be able to render full hirachically
183              document stuctures. (nested lists)
184    
185    2007-08-31 Sascha L. Teichmann <[email protected]>
186    
187            * tools/formed/formed/model/nodecomponents.py: use discard()
188              instead of remove on sets.
189    
190            * tools/formed/formed/plugins/export/sql.py: Added an
191              exporter for table views.
192    
193            * tools/formed/formed/config.py: Added the new exporter
194              to the list of export filters.
195    
196    2007-08-30 Sascha L. Teichmann <[email protected]>
197    
198            * tools/formed/formed/model/data.py: Fixed a bug in
199              Page.allWidgets()
200    
201            * tools/formed/formed/plugins/export/sql.py: Added an exporter
202              for stored procudeures.
203    
204            * tools/formed/formed/config.py: Add the new SP exporter.
205    
206    2007-08-29 Torsten Irlaender <[email protected]>
207    
208            * tools/formed/formed/plugins/web/plugin.py,
209              tools/formed/formed/plugins/web/error_renderer.py: Added interface
210              to get the errors for a whole page in te formular. These errors can
211              now be displayed on the top of the formular.
212    
213    2007-08-29 Torsten Irlaender <[email protected]>
214    
215            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
216              of the getFromData interface and prepared the rederer for generating
217              nice error messages
218    
219    2007-08-28 Frank Koormann <[email protected]>
220    
221            * tools/formed/formed/plugins/export/sql.py
222            (SchemaCreator.createSchema, SchemaCreator._createGroup):
223            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
224    
225    2007-08-28 Torsten Irlaender <[email protected]>
226    
227            * tools/formed/formed/plugins/export/sql.py: Added small helper
228              function to generated valid quotes within the sql statements
229    
230    2007-08-29 Sascha L. Teichmann <[email protected]>
231    
232            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
233              for repeat tables.
234              
235    2007-08-29 Sascha L. Teichmann <[email protected]>
236    
237            * tools/formed/formed/plugins/export/sql.py: When generating
238              an extra table check in a table of same content exists. In
239                    this case reference the existing table.
240    
241    2007-08-29 Sascha L. Teichmann <[email protected]>
242    
243            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
244              _real_ SQL and respect repeat groups.
245    
246            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
247    
248            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
249              instead of expensive += string concat in some places.
250    
251    2007-08-29 Sascha L. Teichmann <[email protected]>
252    
253            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
254              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
255    
256    2007-08-28 Torsten Irlaender <[email protected]>
257    
258            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
259            * tools/formed/model/data.py: Implements Formadata interface to
260              textfields. Fieldset generated depends now on the "invisible"
261              attribute of the groupnode. Field-label generation slightly changed.
262              Added error indication to textfields
263    
264    2007-08-28 Sascha L. Teichmann <[email protected]>
265    
266            * tools/formed/formed/model/data.py,
267              tools/formed/formed/io/document.py: Removed support
268                    of logical groups.
269    
270    2007-08-28 Sascha L. Teichmann <[email protected]>
271    
272            * tools/formed/formed/io/document.py: Avoid saving empty
273              attributes.
274    
275            * tools/formed/test-data/simple.xml: Applied.
276    
277    2007-08-28 Sascha L. Teichmann <[email protected]>
278    
279            * tools/formed/formed/model/data.py: Added 'repeat' and
280              'invisible' attributes to group. TODO: remove logical group.
281    
282    2007-08-27 Torsten Irlaender <[email protected]>
283    
284            * tools/formed/plugins/web/plugin.py,
285              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
286              depending tags in the html generation.
287    
288    2007-08-27 Sascha L. Teichmann <[email protected]>
289    
290            * tools/formed/formed/model/data.py,
291              tools/formed/formed/io/document.py: Added a logical group.
292                    It has an attribute 'repeat' to indicate that it might
293                    be worthy an external table in DB schema.
294    
295    2007-08-27 Sascha L. Teichmann <[email protected]>
296    
297            * tools/formed/formed/plugins/web/plugin.py: Support
298              serving of static content.
299    
300            * tools/formed/formed/plugins/web/server.py: Removed
301              old send code.
302    
303    2007-08-27 Sascha L. Teichmann <[email protected]>
304    
305            * tools/formed/formed/plugins/web/plugin.py: Use new
306              Response object. Fix typo.
307    
308            * tools/formed/formed/plugins/web/server.py: support
309              response object to serve different MIME types.
310    
311    2007-08-27 Sascha L. Teichmann <[email protected]>
312    
313            * tools/formed/formed/plugins/web/plugin.py: Add web.path
314              to FORMED environment  variable to specify the
315                    root of the static content.
316    
317    2007-08-26 Sascha L. Teichmann <[email protected]>
318    
319            * tools/formed/formed/model/data.py,
320              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
321    
322            * tools/formed/formed/plugins/web/www,
323              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
324                    a template for the HTML output.
325    
326            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
327              mode issues. Introduces CSS support. Simplified the action
328                    handling.
329    
330            * tools/formed/formed/plugins/web/renderer.py: Removed the
331              nagivation code.
332    
333            * tools/formed/formed/plugins/web/server.py: Added missing import.
334    
335    2007-08-26 Sascha L. Teichmann <[email protected]>
336    
337            * tools/formed/formed/model/data.py: Added missing broadcast
338              parameter to setAttribute() of RuleLeaf.
339    
340            * tools/formed/formed/plugins/web/plugin.py: Factorize
341              HTTP server code out to separate module.
342    
343            * tools/formed/formed/plugins/web/renderer.py: Removed
344              needless -1 from pop()
345    
346            * tools/formed/formed/plugins/web/server.py: New. Contains
347              the HTTP server code now.
348    
349    2007-08-26 Sascha L. Teichmann <[email protected]>
350    
351            * tools/formed/test-data/simple.xml: Modified to contain a rule.
352    
353            * tools/formed/formed/model/expr.py: Added. A simple RPN
354              expression evaluator. To avoid the problem of eval()ing
355                    arbitrary python expressions I've decided to use a very
356                    basic and limited stack machine to support rule checking.
357    
358            * tools/formed/formed/model/data.py: Added a RuleLeaf.
359    
360            * tools/formed/formed/io/document.py: Added factories for rules.
361    
362            * tools/formed/formed/model/nodecomponents.py: Add a method
363              to find all items of a given type in document for a given
364                    mode. Usefull to find all rules in the tree.
365    
366            * tools/formed/formed/ui/controls.py: Added a listener mechanism
367              to attribute table to report exceptions when setting a value
368                    from GUI. Useful to report compilation errors when setting
369                    expr of rule leafs.
370    
371            * tools/formed/formed/main.py: Added a method to track exceptions
372              from the attribute table and pop up dialogs if they occur.
373                    Added a counter of rule modifications in tree. Useful if you
374                    want build cached data structures like rule sets and you want
375                    to know if they are still valid.
376    
377    2007-08-24 Torsten Irlaender <[email protected]>
378    
379            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
380              for checkbox values. (Syntax error).
381    
382            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
383              generation  
384    
385    2007-08-24 Torsten Irlaender <[email protected]>
386    
387            * tools/formed/formed/plugins/names/filter.py: Separated Class for
388              making the formularnames more database friendly. Added some more
389              checks.
390            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
391              separated class, and some fixes in sql generation.
392    
393    2007-08-24 Sascha L. Teichmann <[email protected]>
394    
395            * tools/formed/formed/plugins/export/html.py: Print lengths
396              of external choice list.
397    
398    2007-08-24 Sascha L. Teichmann <[email protected]>
399    
400            * tools/formed/formed/main.py: Little workaround for
401              mode selection if someone adds an removes a mode.
402    
403    2007-08-24 Sascha L. Teichmann <[email protected]>
404    
405            * tools/formed/test-data/simple.xml: Better test case for
406              mode depended leaf items.
407    
408            * tools/formed/formed/model/nodecomponents.py: Added a method
409              to calculate the effective mode of an item.
410    
411            * tools/formed/formed/plugins/export/html.py: Use effective
412              mode. TODO: the 'all' modus return false results sometimes.
413                    Cause: The modes are only cumulated over time. Removal is
414                    not done.
415    
416    2007-08-24 Sascha L. Teichmann <[email protected]>
417    
418            * tools/formed/formed/plugins/export/html.py: Dump the items
419              of radio groups and choices too.
420    
421    2007-08-24 Torsten Irlaender <[email protected]>
422    
423            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
424              by formular names to make the naming more database friendly.
425              Now only alphanumeric and underscore chars is allowed.
426    
427    2007-08-24 Sascha L. Teichmann <[email protected]>
428    
429            * tools/formed/formed/plugins/export/html.py: Tweaked
430              HTML table exporter a bit to be on par with the XSLT
431                    script. TODO: Dump items in radio and choice groups.
432    
433    2007-08-23 Sascha L. Teichmann <[email protected]>
434    
435            * tools/formed/formed/plugins/names/filter.py: Removed
436              HTML and SQL exporters.
437    
438            * tools/formed/formed/plugins/export,
439              tools/formed/formed/plugins/export/__init__.py,
440              tools/formed/formed/plugins/export/sql.py,
441              tools/formed/formed/plugins/export/html.py: New: Contain
442                    the HTML and the SQL exporters now.
443    
444            * tools/formed/formed/config.py: Use exporters from different
445              package now.
446    
447  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23 Torsten Irlaender <[email protected]>
448    
449          * 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.138

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26