/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.53  
changed lines
  Added in v.94

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26