/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.39  
changed lines
  Added in v.106

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26