/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.10  
changed lines
  Added in v.46

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26