1 |
|
2007-10-05 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
4 |
|
method. Could be cheaper for some implementations of help. |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
7 |
|
FormData to have distinct getData(), getHelp() and getError() |
8 |
|
methods. Various bug fixes. |
9 |
|
|
10 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
11 |
|
new FormData (trivial by now). |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
14 |
|
some bug fixes. |
15 |
|
|
16 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
17 |
|
|
18 |
|
* tools/formed/formed/model/memory.py, |
19 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
20 |
|
to dataset abstraction. This is a bit of a workaround to bring |
21 |
|
global access across pages for rule checking to work. |
22 |
|
|
23 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
24 |
|
the compiled version was not stored in the RuleLeaf. |
25 |
|
|
26 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
27 |
|
convert the expression string to ascii for compilation. |
28 |
|
|
29 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
30 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
31 |
|
with integer handler. |
32 |
|
|
33 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
34 |
|
stuff. When a submit is done extract the rules from the tree document |
35 |
|
that are effected by the modified variables and check them. |
36 |
|
|
37 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
38 |
|
when dealing with templates. |
39 |
|
|
40 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
41 |
|
* tools/formed/formed/plugins/web/controllers.py, |
42 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
43 |
|
functions into renderer.py. New render classes are: |
44 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
45 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
46 |
|
|
47 |
|
Note: The new methods are only called from selected handlers. Other |
48 |
|
handlers call the renderes in the old way. |
49 |
|
|
50 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
51 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
52 |
|
renderer.py to form_renderer.py. This file will contain formular |
53 |
|
specfic render methods in the future. |
54 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
55 |
|
which will contain general render methods. |
56 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
57 |
|
rendering into renderer.py or form_renderer.py. This file will only |
58 |
|
contain teh handlers in the future. |
59 |
|
|
60 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
61 |
|
* tools/formed/formed/plugins/web/renderer.py, |
62 |
|
tools/formed/formed/plugins/web/controller.py: |
63 |
|
Renderes now get an instance of the formdata object to provide |
64 |
|
access the data needed to render various infoboxes etc. Handler |
65 |
|
instanciate the formdata. |
66 |
|
|
67 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
68 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
69 |
|
getFormData interface to work. Added two small semantic fixes, but |
70 |
|
did not manage to get it up. Need to exime this a little bit more |
71 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
72 |
|
around the menus on the right side to be able to assign different |
73 |
|
styles. Added dataset actions while editing a dataset. |
74 |
|
|
75 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
76 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
77 |
|
removing unwanted del method |
78 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
79 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
80 |
|
templates as well for larger information units like the dataset summary. |
81 |
|
|
82 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
83 |
|
|
84 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
85 |
|
method to document to find index of page. |
86 |
|
|
87 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
88 |
|
to fetch data from semantic box. |
89 |
|
|
90 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
91 |
|
FormData implementation to support DB and semantic box. |
92 |
|
|
93 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
94 |
|
|
95 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
96 |
|
error message. |
97 |
|
|
98 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
99 |
|
dataset from backend each time a page is up to edit. |
100 |
|
|
101 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
102 |
|
|
103 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
104 |
|
returns "Page not found" if given page is None. |
105 |
|
|
106 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
107 |
|
to avoid crashing when ask for a non-existent page. |
108 |
|
|
109 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
110 |
|
|
111 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
112 |
|
|
113 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
114 |
|
|
115 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
116 |
|
and renderers. |
117 |
|
|
118 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
119 |
|
and renderers now. TODO: Move renderers to renderer.py |
120 |
|
|
121 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
122 |
|
|
123 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
124 |
|
and bound in the the new added functions to create, edit, delete and |
125 |
|
show formdata. |
126 |
|
|
127 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
128 |
|
|
129 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
130 |
|
simple linear scan for dataset lookup now. |
131 |
|
|
132 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
133 |
|
of different sizes. |
134 |
|
|
135 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
136 |
|
|
137 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
138 |
|
fuction |
139 |
|
|
140 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
141 |
|
to the DataSet interface |
142 |
|
|
143 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
144 |
|
renderes for create, update, delete and show actions on formular data. |
145 |
|
|
146 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
147 |
|
|
148 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
149 |
|
to methods is now driven by regualar expressions and |
150 |
|
a dictionary. Response objects are now able to send |
151 |
|
error codes. |
152 |
|
|
153 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
154 |
|
when help in Formdata is None. Moved text for help into |
155 |
|
a top level '''...''' variable. |
156 |
|
|
157 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
158 |
|
|
159 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
160 |
|
|
161 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
162 |
|
table driven mapping of reguest handling. TODO: split the |
163 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
164 |
|
Smaller clean ups and better exception handling. |
165 |
|
|
166 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
167 |
|
and do not catch them. |
168 |
|
|
169 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
170 |
|
|
171 |
|
* tools/formed/formed/plugins/web/renderer.py, |
172 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
173 |
|
the HelpProvider and inserted help icons to the html output. |
174 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
175 |
|
within a <div> tag. |
176 |
|
Modified the error messages. |
177 |
|
|
178 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
179 |
|
|
180 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
181 |
|
the server-side caching more clean. Fixes a bug with |
182 |
|
serving static content. |
183 |
|
|
184 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
185 |
|
|
186 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
187 |
|
|
188 |
|
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
189 |
|
to "application/xhtml+xml" when serving help texts. |
190 |
|
|
191 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
192 |
|
|
193 |
|
* tools/formed/formed/plugins/export/diff.py: New. Exports |
194 |
|
pairwise differences between all modes. |
195 |
|
|
196 |
|
* tools/formed/formed/config.py: Use new export filter. |
197 |
|
|
198 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
199 |
|
|
200 |
|
* tools/formed/formed/plugins/web/help.py: New. Parses an |
201 |
|
XHTML document for id'ed divs and builds a help lookup. |
202 |
|
|
203 |
|
* tools/formed/formed/plugins/web/www/help.tmpl: Template for |
204 |
|
the help content frame. |
205 |
|
|
206 |
|
* tools/formed/formed/plugins/web/www/help.xhtml: Some simple |
207 |
|
help text index. |
208 |
|
|
209 |
|
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
210 |
|
texts now. |
211 |
|
|
212 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
213 |
|
|
214 |
|
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
215 |
|
elements will be rendered in the formular navigation. |
216 |
|
Formular pages in the navigation now have their own css-style |
217 |
|
attributes. |
218 |
|
|
219 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
220 |
|
|
221 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
222 |
|
errors in template |
223 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
224 |
|
pageerrors variable |
225 |
|
|
226 |
|
2007-09-03 Frank Koormann <[email protected]> |
227 |
|
|
228 |
|
* tools/formed/formed/plugins/export/html.py |
229 |
|
(RecursiveExporter): Added annotation to export |
230 |
|
(fillRow()): Renamed old fillNine to this more generic name. |
231 |
|
|
232 |
|
|
233 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
234 |
|
|
235 |
|
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
236 |
|
from model.misc now. |
237 |
|
|
238 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
239 |
|
|
240 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
241 |
|
'annotation' attribute to node components. This is to |
242 |
|
enable FormEd document authors to add comments to groups |
243 |
|
and fields. |
244 |
|
|
245 |
|
2007-09-03 Frank Koormann <[email protected]> |
246 |
|
|
247 |
|
* tools/formed/formed/model/nodecomponents.py |
248 |
|
(NodeComponent.getParent): New method to get node components parent. |
249 |
|
|
250 |
|
* tools/formed/formed/plugins/export/html.py: Export Choice option |
251 |
|
as simple list instead of collection of bools. |
252 |
|
|
253 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
254 |
|
|
255 |
|
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
256 |
|
from persistent storage details. |
257 |
|
|
258 |
|
* tools/formed/formed/model/memory.py: In core implementation |
259 |
|
of the persistent interfaces. |
260 |
|
|
261 |
|
* tools/formed/formed/main.py: Holds a memory data store now. |
262 |
|
|
263 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
264 |
|
|
265 |
|
* tools/formed/formed/plugins/export/sql.py, |
266 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
267 |
|
for FileDialogFilter sub classes. |
268 |
|
|
269 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
270 |
|
|
271 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
272 |
|
tree traversals is a common task. To ease this a decorator function |
273 |
|
checkMode in union with sub classing ModeChecker can be used. |
274 |
|
To make it work simply subclass from ModeChecker and add the decorator |
275 |
|
to the methods that need mode tracking. Before you start the recursion |
276 |
|
call self.prepareDescent(). |
277 |
|
|
278 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
279 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
280 |
|
too. |
281 |
|
|
282 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
283 |
|
|
284 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
285 |
|
|
286 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
287 |
|
uses new FileDialogFilter base class too. |
288 |
|
|
289 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
290 |
|
|
291 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
292 |
|
need a file dialog. Till now each of them pulled up its |
293 |
|
own. This was silly code replication. Now there is an abstract |
294 |
|
base class 'FileDialogFilter' which implements the common |
295 |
|
behavior. The file exporters should subclass it. |
296 |
|
|
297 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
298 |
|
exporters from the new base class. TODO: Subclass the HTML |
299 |
|
exporter too. |
300 |
|
|
301 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
302 |
|
|
303 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
304 |
|
work (again). |
305 |
|
|
306 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
307 |
|
|
308 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
309 |
|
exprt works now in a recursive way. This change was needed because |
310 |
|
the structure of the formedtree has changed to be able to render |
311 |
|
full hirachically document stuctures. (nested lists) |
312 |
|
TODO: Fix modechecking |
313 |
|
|
314 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
315 |
|
|
316 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
317 |
|
now in recursive way. This change was needed because the structure |
318 |
|
of the formedtree has changed to be able to render full hirachically |
319 |
|
document stuctures. (nested lists) |
320 |
|
|
321 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
322 |
|
|
323 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
324 |
|
instead of remove on sets. |
325 |
|
|
326 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
327 |
|
exporter for table views. |
328 |
|
|
329 |
|
* tools/formed/formed/config.py: Added the new exporter |
330 |
|
to the list of export filters. |
331 |
|
|
332 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
333 |
|
|
334 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
335 |
|
Page.allWidgets() |
336 |
|
|
337 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
338 |
|
for stored procudeures. |
339 |
|
|
340 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
341 |
|
|
342 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
343 |
|
|
344 |
|
* tools/formed/formed/plugins/web/plugin.py, |
345 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
346 |
|
to get the errors for a whole page in te formular. These errors can |
347 |
|
now be displayed on the top of the formular. |
348 |
|
|
349 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
350 |
|
|
351 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
352 |
|
of the getFromData interface and prepared the rederer for generating |
353 |
|
nice error messages |
354 |
|
|
355 |
|
2007-08-28 Frank Koormann <[email protected]> |
356 |
|
|
357 |
|
* tools/formed/formed/plugins/export/sql.py |
358 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
359 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
360 |
|
|
361 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
362 |
|
|
363 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
364 |
|
function to generated valid quotes within the sql statements |
365 |
|
|
366 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
367 |
|
|
368 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
369 |
|
for repeat tables. |
370 |
|
|
371 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
372 |
|
|
373 |
|
* tools/formed/formed/plugins/export/sql.py: When generating |
374 |
|
an extra table check in a table of same content exists. In |
375 |
|
this case reference the existing table. |
376 |
|
|
377 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
378 |
|
|
379 |
|
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
380 |
|
_real_ SQL and respect repeat groups. |
381 |
|
|
382 |
|
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
383 |
|
|
384 |
|
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
385 |
|
instead of expensive += string concat in some places. |
386 |
|
|
387 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
388 |
|
|
389 |
|
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
390 |
|
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
391 |
|
|
392 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
393 |
|
|
394 |
|
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
395 |
|
* tools/formed/model/data.py: Implements Formadata interface to |
396 |
|
textfields. Fieldset generated depends now on the "invisible" |
397 |
|
attribute of the groupnode. Field-label generation slightly changed. |
398 |
|
Added error indication to textfields |
399 |
|
|
400 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
401 |
|
|
402 |
|
* tools/formed/formed/model/data.py, |
403 |
|
tools/formed/formed/io/document.py: Removed support |
404 |
|
of logical groups. |
405 |
|
|
406 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
407 |
|
|
408 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
409 |
|
attributes. |
410 |
|
|
411 |
|
* tools/formed/test-data/simple.xml: Applied. |
412 |
|
|
413 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
414 |
|
|
415 |
|
* tools/formed/formed/model/data.py: Added 'repeat' and |
416 |
|
'invisible' attributes to group. TODO: remove logical group. |
417 |
|
|
418 |
|
2007-08-27 Torsten Irlaender <[email protected]> |
419 |
|
|
420 |
|
* tools/formed/plugins/web/plugin.py, |
421 |
|
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
422 |
|
depending tags in the html generation. |
423 |
|
|
424 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
425 |
|
|
426 |
|
* tools/formed/formed/model/data.py, |
427 |
|
tools/formed/formed/io/document.py: Added a logical group. |
428 |
|
It has an attribute 'repeat' to indicate that it might |
429 |
|
be worthy an external table in DB schema. |
430 |
|
|
431 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
432 |
|
|
433 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
434 |
|
serving of static content. |
435 |
|
|
436 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
437 |
|
old send code. |
438 |
|
|
439 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
440 |
|
|
441 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
442 |
|
Response object. Fix typo. |
443 |
|
|
444 |
|
* tools/formed/formed/plugins/web/server.py: support |
445 |
|
response object to serve different MIME types. |
446 |
|
|
447 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
448 |
|
|
449 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
450 |
|
to FORMED environment variable to specify the |
451 |
|
root of the static content. |
452 |
|
|
453 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
454 |
|
|
455 |
|
* tools/formed/formed/model/data.py, |
456 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
457 |
|
|
458 |
|
* tools/formed/formed/plugins/web/www, |
459 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
460 |
|
a template for the HTML output. |
461 |
|
|
462 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
463 |
|
mode issues. Introduces CSS support. Simplified the action |
464 |
|
handling. |
465 |
|
|
466 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
467 |
|
nagivation code. |
468 |
|
|
469 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
470 |
|
|
471 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
472 |
|
|
473 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
474 |
|
parameter to setAttribute() of RuleLeaf. |
475 |
|
|
476 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
477 |
|
HTTP server code out to separate module. |
478 |
|
|
479 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
480 |
|
needless -1 from pop() |
481 |
|
|
482 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
483 |
|
the HTTP server code now. |
484 |
|
|
485 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
486 |
|
|
487 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
488 |
|
|
489 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
490 |
|
expression evaluator. To avoid the problem of eval()ing |
491 |
|
arbitrary python expressions I've decided to use a very |
492 |
|
basic and limited stack machine to support rule checking. |
493 |
|
|
494 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
495 |
|
|
496 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
497 |
|
|
498 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
499 |
|
to find all items of a given type in document for a given |
500 |
|
mode. Usefull to find all rules in the tree. |
501 |
|
|
502 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
503 |
|
to attribute table to report exceptions when setting a value |
504 |
|
from GUI. Useful to report compilation errors when setting |
505 |
|
expr of rule leafs. |
506 |
|
|
507 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
508 |
|
from the attribute table and pop up dialogs if they occur. |
509 |
|
Added a counter of rule modifications in tree. Useful if you |
510 |
|
want build cached data structures like rule sets and you want |
511 |
|
to know if they are still valid. |
512 |
|
|
513 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
514 |
|
|
515 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
516 |
|
for checkbox values. (Syntax error). |
517 |
|
|
518 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
519 |
|
generation |
520 |
|
|
521 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
522 |
|
|
523 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
524 |
|
making the formularnames more database friendly. Added some more |
525 |
|
checks. |
526 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
527 |
|
separated class, and some fixes in sql generation. |
528 |
|
|
529 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
530 |
|
|
531 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
532 |
|
of external choice list. |
533 |
|
|
534 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
535 |
|
|
536 |
|
* tools/formed/formed/main.py: Little workaround for |
537 |
|
mode selection if someone adds an removes a mode. |
538 |
|
|
539 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
540 |
|
|
541 |
|
* tools/formed/test-data/simple.xml: Better test case for |
542 |
|
mode depended leaf items. |
543 |
|
|
544 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
545 |
|
to calculate the effective mode of an item. |
546 |
|
|
547 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
548 |
|
mode. TODO: the 'all' modus return false results sometimes. |
549 |
|
Cause: The modes are only cumulated over time. Removal is |
550 |
|
not done. |
551 |
|
|
552 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
553 |
|
|
554 |
|
* tools/formed/formed/plugins/export/html.py: Dump the items |
555 |
|
of radio groups and choices too. |
556 |
|
|
557 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
558 |
|
|
559 |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |