/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26