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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26