/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.78  
changed lines
  Added in v.122

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26