/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.7  
changed lines
  Added in v.78

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26