/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.29  
changed lines
  Added in v.89

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26