/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 56 by teichmann, Sun Aug 19 12:28:42 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]>  2007-08-18      Sascha L. Teichmann <[email protected]>
306    
307          * tools/formed/formed/plugins/web/renderer.py: Escaping text          * tools/formed/formed/plugins/web/renderer.py: Escaping text
308            coming from the document tree now when inserting it into the            coming from the document tree now when inserting it into the
309                  HTML output.            HTML output.
310    
311  2007-08-18      Sascha L. Teichmann <[email protected]>  2007-08-18      Sascha L. Teichmann <[email protected]>
312    
313          * tools/formed/formed/plugins/plugin.py: Added a new kind          * tools/formed/formed/plugins/plugin.py: Added a new kind
314            of plug-in: Filter. They have a short and a long description            of plug-in: Filter. They have a short and a long description
315                  and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
316                  sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
317                  selects their respective menu item.            selects their respective menu item.
318                                    
319          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
320            installed filters.            installed filters.
321    
322          * tools/formed/formed/main.py: Builds the Extra->Filters          * tools/formed/formed/main.py: Builds the Extra->Filters
323            sub menu during gui initialization. The hard wired code            sub menu during gui initialization. The hard wired code
324                  for make unique and formular name/description -> name            for make unique and formular name/description -> name
325                  is removed because they are implemented as filters now.            is removed because they are implemented as filters now.
326    
327          * tools/formed/formed/model/nodecomponents.py,          * tools/formed/formed/model/nodecomponents.py,
328            tools/formed/formed/model/data.py: Removed the make            tools/formed/formed/model/data.py: Removed the make
329                  unique and formular name/description -> name code.            unique and formular name/description -> name code.
330    
331          * tools/formed/formed/plugins/names,          * tools/formed/formed/plugins/names,
332            tools/formed/formed/plugins/names/__init__.py,            tools/formed/formed/plugins/names/__init__.py,
333                  tools/formed/formed/plugins/names/filter.py: Added. Contains            tools/formed/formed/plugins/names/filter.py: Added. Contains
334                  the make unique and formular name/description -> name code            the make unique and formular name/description -> name code
335                  in form of filters.            in form of filters.
336    
337          * tools/formed/test-data/simple.xml: Modified to be a better          * tools/formed/test-data/simple.xml: Modified to be a better
338            test for the formular name/description -> name filter.            test for the formular name/description -> name filter.
# Line 37  Line 341 
341    
342          * tools/formed/formed.py, tools/formed/formed/main.py: First          * tools/formed/formed.py, tools/formed/formed/main.py: First
343            command line argument is interpreted as filename of document            command line argument is interpreted as filename of document
344                  to be loaded at program startup.            to be loaded at program startup.
345    
346  2007-08-17      Frank Koormann <[email protected]>  2007-08-17      Frank Koormann <[email protected]>
347    
# Line 45  Line 349 
349          Heading level depending on depth of group node.          Heading level depending on depth of group node.
350          In case of radio/choice/check only list of options.          In case of radio/choice/check only list of options.
351    
352  2007-08-1/      Torsten Irlaender <[email protected]>  2007-08-17      Torsten Irlaender <[email protected]>
353    
354          * contrib/convert-formedtree2html.xsl: Output is now generated with          * contrib/convert-formedtree2html.xsl: Output is now generated with
355            HTML doc-string and charset information in the meta-header.            HTML doc-string and charset information in the meta-header.
356    
357  2007-08-1/      Torsten Irlaender <[email protected]>  2007-08-17      Torsten Irlaender <[email protected]>
358    
359          * contrib/convert-formedtree2html.xsl: Added small script for          * contrib/convert-formedtree2html.xsl: Added small script for
360            exporting the formed tree to html            exporting the formed tree to html

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26