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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26