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