/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.80  
changed lines
  Added in v.137

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26