/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.12  
changed lines
  Added in v.76

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26