/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 28 by teichmann, Fri Aug 10 11:01:17 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]>  2007-08-10      Sascha L. Teichmann <[email protected]>
435    
436          * tools/formed/formed/model/data.py: ChoiceLeafs are now          * tools/formed/formed/model/data.py: ChoiceLeafs are now

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26