/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.4  
changed lines
  Added in v.45

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26