/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.25  
changed lines
  Added in v.71

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26