/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.64  
changed lines
  Added in v.133

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26