/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.55  
changed lines
  Added in v.108

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26