/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.14  
changed lines
  Added in v.70

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26