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