/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.29  
changed lines
  Added in v.69

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26