/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.52  
changed lines
  Added in v.116

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26