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