/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.15  
changed lines
  Added in v.65

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26