/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.73  
changed lines
  Added in v.123

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26