/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.27  
changed lines
  Added in v.64

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26