/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.42  
changed lines
  Added in v.93

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26