/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.49  
changed lines
  Added in v.105

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26