1 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed: choices |
4 |
|
are renderered with description now. |
5 |
|
|
6 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
7 |
|
|
8 |
|
* tools/formed/formed/plugins/web/renderer.py: Added rendering |
9 |
|
for date items. Added missing ids for texts and textareas. |
10 |
|
|
11 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/config.py: Evaluate the environment |
14 |
|
variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' |
15 |
|
|
16 |
|
* tools/formed/formed/plugins/plugin.py: Give a reference |
17 |
|
to the config at setup time. |
18 |
|
|
19 |
|
* tools/formed/formed/plugins/web/plugin.py: To determine |
20 |
|
the port look at FORMED dictionary first. Key is 'web.port'. |
21 |
|
e.g. FORMED='web.port:8888' |
22 |
|
|
23 |
|
* tools/formed/formed/main.py: Call the plugin setup with |
24 |
|
the reference to the config. |
25 |
|
|
26 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
27 |
|
|
28 |
|
* tools/formed/test-data/simple.xml: removed 'text' attributes from |
29 |
|
info tags. Use the 'value' attributes for same purpose now, please! |
30 |
|
|
31 |
|
* tools/formed/formed/model/data.py: removed text attributes from |
32 |
|
InfoLeaf. |
33 |
|
|
34 |
|
* tools/formed/formed/plugins/web/renderer.py: Rendering of info |
35 |
|
now uses the 'value' instead of the 'text' attributes. |
36 |
|
|
37 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
38 |
|
|
39 |
|
* tools/formed/formed/model/data.py: next/prevPage() are |
40 |
|
methods of PageNode now. |
41 |
|
|
42 |
|
* tools/formed/formed/model/nodecomponents.py: findByClassAndName() |
43 |
|
is method of Document now. |
44 |
|
|
45 |
|
* tools/formed/formed/plugins/web/plugin.py: Factored out |
46 |
|
the HTML renderer. |
47 |
|
|
48 |
|
* tools/formed/formed/plugins/web/renderer.py: New: contains |
49 |
|
the HTML renderer now. |
50 |
|
|
51 |
|
* tools/formed/test-data/simple.xml: Fixed typo |
52 |
|
|
53 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
54 |
|
|
55 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed a bug |
56 |
|
in calculation of width of bounded int fields. |
57 |
|
|
58 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
59 |
|
|
60 |
|
* tools/formed/test-data/simple.xml: Make demo Int fancier. |
61 |
|
|
62 |
|
* tools/formed/formed/model/data.py: Added attributes to IntLeaf |
63 |
|
|
64 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering for |
65 |
|
Ints |
66 |
|
|
67 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
68 |
|
|
69 |
|
* tools/formed/test-data/simple.xml: Added demo textarea |
70 |
|
|
71 |
|
* tools/formed/formed/model/data.py: Added TextAreaLeaf |
72 |
|
|
73 |
|
* tools/formed/formed/io/document.py: register builder |
74 |
|
for loading of textareas |
75 |
|
|
76 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
77 |
|
for textareas. |
78 |
|
|
79 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
80 |
|
|
81 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
82 |
|
|
83 |
|
* tools/formed/formed/model/data.py: Added attributes for texts |
84 |
|
|
85 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
86 |
|
for texts |
87 |
|
|
88 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
89 |
|
|
90 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
91 |
|
|
92 |
|
* tools/formed/formed/model/data.py: Added attributes for choices. |
93 |
|
|
94 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
95 |
|
for choices |
96 |
|
|
97 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
98 |
|
|
99 |
|
* tools/formed/formed/model/data.py, |
100 |
|
tools/formed/formed/model/nodecomponents.py: Added new |
101 |
|
attributes. |
102 |
|
|
103 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
104 |
|
for checkboxes and radio buttons. |
105 |
|
|
106 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
107 |
|
|
108 |
|
* tools/formed/test-data/simple.xml: Added some descriptions |
109 |
|
|
110 |
|
* tools/formed/formed/model/data.py: set attributes in constructors |
111 |
|
directly. |
112 |
|
|
113 |
|
* tools/formed/formed/model/nodecomponents.py: Added description |
114 |
|
attribute in the NodeComponent base class. |
115 |
|
|
116 |
|
* tools/formed/formed/plugins/web/plugin.py: Render description |
117 |
|
as legend in fieldset for GroupNodes. |
118 |
|
|
119 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
120 |
|
|
121 |
|
* tools/formed/formed/plugins/web/plugin.py: make UTF-8 |
122 |
|
output work. |
123 |
|
|
124 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
125 |
|
|
126 |
|
* tools/formed/formed/model/data.py: Added get/setText() method |
127 |
|
|
128 |
|
* tools/formed/formed/plugins/web/plugin.py: Added a first |
129 |
|
version of a recursive HTML renderer based on the document |
130 |
|
tree. |
131 |
|
|
132 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
133 |
|
|
134 |
|
* tools/formed/formed/plugins/*: New: plug-in infrastructure. |
135 |
|
|
136 |
|
* tools/formed/formed/plugins/web/*: new: A simple web server |
137 |
|
which is intended to serve pages of the current formular. |
138 |
|
|
139 |
|
* tools/formed/formed/main.py: start the plug-ins |
140 |
|
|
141 |
|
* tools/formed/formed/config.py: configuration class. Used |
142 |
|
for the plug-ins. |
143 |
|
|
144 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
145 |
|
|
146 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed broadcasting |
147 |
|
issue with zero length tree paths. |
148 |
|
|
149 |
|
* tools/formed/formed/model/misc.py: New: contains a class |
150 |
|
for generating unique ids. |
151 |
|
|
152 |
|
* tools/formed/formed/main.py: Added an instance of an |
153 |
|
unique id generator for naming of new made tree items. |
154 |
|
|
155 |
|
2007-08-07 Sascha L. Teichmann <[email protected]> |
156 |
|
|
157 |
|
* tools/formed/formed/main.py: Added event route document -> |
158 |
|
attribute table to get informed when selected item is delete |
159 |
|
or an attribute is changed from the outside. |
160 |
|
|
161 |
|
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
162 |
|
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
163 |
|
of 3 argument. Uses icons+tooltips for tree navigation now. |
164 |
|
|
165 |
|
2007-08-07 Sascha L. Teichmann <[email protected]> |
166 |
|
|
167 |
|
* tools/formed/formed/model/nodecomponents.py: Set name |
168 |
|
attribute in base class. |
169 |
|
|
170 |
|
* tools/formed/formed/io/document.py: Added a table |
171 |
|
names -> classes. |
172 |
|
|
173 |
|
* tools/formed/formed/main.py: Added a toolbar. Added code |
174 |
|
to create and delete tree items. |
175 |
|
|
176 |
|
* tools/formed/formed/ui/controls.py: Added code to |
177 |
|
insert and delete new tree items. |
178 |
|
|
179 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
2007-08-07 Sascha L. Teichmann <[email protected]> |
180 |
|
|
181 |
* tools/formed/formed/model/nodecomponents.py: Fixed event |
* tools/formed/formed/model/nodecomponents.py: Fixed event |