/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.77  
changed lines
  Added in v.132

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26