/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.21  
changed lines
  Added in v.67

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26