/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.18  
changed lines
  Added in v.79

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26