/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.5  
changed lines
  Added in v.54

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26