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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26