/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.50  
changed lines
  Added in v.111

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26