1 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
53 |
|
|
54 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
97 |
|
|
98 |
|
* 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 |
|
|
103 |
|
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 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
110 |
|
for choices |
111 |
|
|
112 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
113 |
|
|
114 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
|
2007-08-07 Sascha L. Teichmann <[email protected]> |
171 |
|
|
172 |
|
* 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 |
|
* 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 |
|
* 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 |
|
2007-08-06 Sascha L. Teichmann <[email protected]> |
206 |
|
|
207 |
|
* 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]> |
2007-08-06 Sascha L. Teichmann <[email protected]> |
214 |
|
|
215 |
* tools/formed/formed/model/nodecomponents.py: Fixed path |
* tools/formed/formed/model/nodecomponents.py: Fixed path |