/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.67  
changed lines
  Added in v.130

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26