/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26