/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.38  
changed lines
  Added in v.97

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26