/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.8  
changed lines
  Added in v.55

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26