/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.52  
changed lines
  Added in v.98

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26