/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26