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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26