1 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
2 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
3 |
|
and bound in the the new added functions to create, edit, delete and |
4 |
|
show formdata. |
5 |
|
|
6 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
7 |
|
|
8 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
9 |
|
simple linear scan for dataset lookup now. |
10 |
|
|
11 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
12 |
|
of different sizes. |
13 |
|
|
14 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
15 |
|
|
16 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
17 |
|
fuction |
18 |
|
|
19 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
20 |
|
to the DataSet interface |
21 |
|
|
22 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
23 |
|
renderes for create, update, delete and show actions on formular data. |
24 |
|
|
25 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
26 |
|
|
27 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
28 |
|
to methods is now driven by regualar expressions and |
29 |
|
a dictionary. Response objects are now able to send |
30 |
|
error codes. |
31 |
|
|
32 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
33 |
|
when help in Formdata is None. Moved text for help into |
34 |
|
a top level '''...''' variable. |
35 |
|
|
36 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
37 |
|
|
38 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
39 |
|
|
40 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
41 |
|
table driven mapping of reguest handling. TODO: split the |
42 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
43 |
|
Smaller clean ups and better exception handling. |
44 |
|
|
45 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
46 |
|
and do not catch them. |
47 |
|
|
48 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
49 |
|
|
50 |
|
* tools/formed/formed/plugins/web/renderer.py, |
51 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
52 |
|
the HelpProvider and inserted help icons to the html output. |
53 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
54 |
|
within a <div> tag. |
55 |
|
Modified the error messages. |
56 |
|
|
57 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
58 |
|
|
59 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
60 |
|
the server-side caching more clean. Fixes a bug with |
61 |
|
serving static content. |
62 |
|
|
63 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
64 |
|
|
65 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
66 |
|
|
67 |
|
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
68 |
|
to "application/xhtml+xml" when serving help texts. |
69 |
|
|
70 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
71 |
|
|
72 |
|
* tools/formed/formed/plugins/export/diff.py: New. Exports |
73 |
|
pairwise differences between all modes. |
74 |
|
|
75 |
|
* tools/formed/formed/config.py: Use new export filter. |
76 |
|
|
77 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
78 |
|
|
79 |
|
* tools/formed/formed/plugins/web/help.py: New. Parses an |
80 |
|
XHTML document for id'ed divs and builds a help lookup. |
81 |
|
|
82 |
|
* tools/formed/formed/plugins/web/www/help.tmpl: Template for |
83 |
|
the help content frame. |
84 |
|
|
85 |
|
* tools/formed/formed/plugins/web/www/help.xhtml: Some simple |
86 |
|
help text index. |
87 |
|
|
88 |
|
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
89 |
|
texts now. |
90 |
|
|
91 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
92 |
|
|
93 |
|
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
94 |
|
elements will be rendered in the formular navigation. |
95 |
|
Formular pages in the navigation now have their own css-style |
96 |
|
attributes. |
97 |
|
|
98 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
99 |
|
|
100 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
101 |
|
errors in template |
102 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
103 |
|
pageerrors variable |
104 |
|
|
105 |
|
2007-09-03 Frank Koormann <[email protected]> |
106 |
|
|
107 |
|
* tools/formed/formed/plugins/export/html.py |
108 |
|
(RecursiveExporter): Added annotation to export |
109 |
|
(fillRow()): Renamed old fillNine to this more generic name. |
110 |
|
|
111 |
|
|
112 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
113 |
|
|
114 |
|
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
115 |
|
from model.misc now. |
116 |
|
|
117 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
118 |
|
|
119 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
120 |
|
'annotation' attribute to node components. This is to |
121 |
|
enable FormEd document authors to add comments to groups |
122 |
|
and fields. |
123 |
|
|
124 |
|
2007-09-03 Frank Koormann <[email protected]> |
125 |
|
|
126 |
|
* tools/formed/formed/model/nodecomponents.py |
127 |
|
(NodeComponent.getParent): New method to get node components parent. |
128 |
|
|
129 |
|
* tools/formed/formed/plugins/export/html.py: Export Choice option |
130 |
|
as simple list instead of collection of bools. |
131 |
|
|
132 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
133 |
|
|
134 |
|
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
135 |
|
from persistent storage details. |
136 |
|
|
137 |
|
* tools/formed/formed/model/memory.py: In core implementation |
138 |
|
of the persistent interfaces. |
139 |
|
|
140 |
|
* tools/formed/formed/main.py: Holds a memory data store now. |
141 |
|
|
142 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/export/sql.py, |
145 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
146 |
|
for FileDialogFilter sub classes. |
147 |
|
|
148 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
149 |
|
|
150 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
151 |
|
tree traversals is a common task. To ease this a decorator function |
152 |
|
checkMode in union with sub classing ModeChecker can be used. |
153 |
|
To make it work simply subclass from ModeChecker and add the decorator |
154 |
|
to the methods that need mode tracking. Before you start the recursion |
155 |
|
call self.prepareDescent(). |
156 |
|
|
157 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
158 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
159 |
|
too. |
160 |
|
|
161 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
162 |
|
|
163 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
164 |
|
|
165 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
166 |
|
uses new FileDialogFilter base class too. |
167 |
|
|
168 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
169 |
|
|
170 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
171 |
|
need a file dialog. Till now each of them pulled up its |
172 |
|
own. This was silly code replication. Now there is an abstract |
173 |
|
base class 'FileDialogFilter' which implements the common |
174 |
|
behavior. The file exporters should subclass it. |
175 |
|
|
176 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
177 |
|
exporters from the new base class. TODO: Subclass the HTML |
178 |
|
exporter too. |
179 |
|
|
180 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
181 |
|
|
182 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
183 |
|
work (again). |
184 |
|
|
185 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
186 |
|
|
187 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
188 |
|
exprt works now in a recursive way. This change was needed because |
189 |
|
the structure of the formedtree has changed to be able to render |
190 |
|
full hirachically document stuctures. (nested lists) |
191 |
|
TODO: Fix modechecking |
192 |
|
|
193 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
194 |
|
|
195 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
196 |
|
now in recursive way. This change was needed because the structure |
197 |
|
of the formedtree has changed to be able to render full hirachically |
198 |
|
document stuctures. (nested lists) |
199 |
|
|
200 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
201 |
|
|
202 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
203 |
|
instead of remove on sets. |
204 |
|
|
205 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
206 |
|
exporter for table views. |
207 |
|
|
208 |
|
* tools/formed/formed/config.py: Added the new exporter |
209 |
|
to the list of export filters. |
210 |
|
|
211 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
212 |
|
|
213 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
214 |
|
Page.allWidgets() |
215 |
|
|
216 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
217 |
|
for stored procudeures. |
218 |
|
|
219 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
220 |
|
|
221 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
222 |
|
|
223 |
|
* tools/formed/formed/plugins/web/plugin.py, |
224 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
225 |
|
to get the errors for a whole page in te formular. These errors can |
226 |
|
now be displayed on the top of the formular. |
227 |
|
|
228 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
229 |
|
|
230 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
231 |
|
of the getFromData interface and prepared the rederer for generating |
232 |
|
nice error messages |
233 |
|
|
234 |
|
2007-08-28 Frank Koormann <[email protected]> |
235 |
|
|
236 |
|
* tools/formed/formed/plugins/export/sql.py |
237 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
238 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
239 |
|
|
240 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
241 |
|
|
242 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
243 |
|
function to generated valid quotes within the sql statements |
244 |
|
|
245 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
246 |
|
|
247 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
248 |
|
for repeat tables. |
249 |
|
|
250 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
251 |
|
|
252 |
|
* tools/formed/formed/plugins/export/sql.py: When generating |
253 |
|
an extra table check in a table of same content exists. In |
254 |
|
this case reference the existing table. |
255 |
|
|
256 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
257 |
|
|
258 |
|
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
259 |
|
_real_ SQL and respect repeat groups. |
260 |
|
|
261 |
|
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
262 |
|
|
263 |
|
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
264 |
|
instead of expensive += string concat in some places. |
265 |
|
|
266 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
267 |
|
|
268 |
|
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
269 |
|
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
270 |
|
|
271 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
272 |
|
|
273 |
|
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
274 |
|
* tools/formed/model/data.py: Implements Formadata interface to |
275 |
|
textfields. Fieldset generated depends now on the "invisible" |
276 |
|
attribute of the groupnode. Field-label generation slightly changed. |
277 |
|
Added error indication to textfields |
278 |
|
|
279 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
280 |
|
|
281 |
|
* tools/formed/formed/model/data.py, |
282 |
|
tools/formed/formed/io/document.py: Removed support |
283 |
|
of logical groups. |
284 |
|
|
285 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
286 |
|
|
287 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
288 |
|
attributes. |
289 |
|
|
290 |
|
* tools/formed/test-data/simple.xml: Applied. |
291 |
|
|
292 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
293 |
|
|
294 |
|
* tools/formed/formed/model/data.py: Added 'repeat' and |
295 |
|
'invisible' attributes to group. TODO: remove logical group. |
296 |
|
|
297 |
|
2007-08-27 Torsten Irlaender <[email protected]> |
298 |
|
|
299 |
|
* tools/formed/plugins/web/plugin.py, |
300 |
|
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
301 |
|
depending tags in the html generation. |
302 |
|
|
303 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
304 |
|
|
305 |
|
* tools/formed/formed/model/data.py, |
306 |
|
tools/formed/formed/io/document.py: Added a logical group. |
307 |
|
It has an attribute 'repeat' to indicate that it might |
308 |
|
be worthy an external table in DB schema. |
309 |
|
|
310 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
311 |
|
|
312 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
313 |
|
serving of static content. |
314 |
|
|
315 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
316 |
|
old send code. |
317 |
|
|
318 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
319 |
|
|
320 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
321 |
|
Response object. Fix typo. |
322 |
|
|
323 |
|
* tools/formed/formed/plugins/web/server.py: support |
324 |
|
response object to serve different MIME types. |
325 |
|
|
326 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
327 |
|
|
328 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
329 |
|
to FORMED environment variable to specify the |
330 |
|
root of the static content. |
331 |
|
|
332 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
333 |
|
|
334 |
|
* tools/formed/formed/model/data.py, |
335 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
336 |
|
|
337 |
|
* tools/formed/formed/plugins/web/www, |
338 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
339 |
|
a template for the HTML output. |
340 |
|
|
341 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
342 |
|
mode issues. Introduces CSS support. Simplified the action |
343 |
|
handling. |
344 |
|
|
345 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
346 |
|
nagivation code. |
347 |
|
|
348 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
349 |
|
|
350 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
351 |
|
|
352 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
353 |
|
parameter to setAttribute() of RuleLeaf. |
354 |
|
|
355 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
356 |
|
HTTP server code out to separate module. |
357 |
|
|
358 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
359 |
|
needless -1 from pop() |
360 |
|
|
361 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
362 |
|
the HTTP server code now. |
363 |
|
|
364 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
365 |
|
|
366 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
367 |
|
|
368 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
369 |
|
expression evaluator. To avoid the problem of eval()ing |
370 |
|
arbitrary python expressions I've decided to use a very |
371 |
|
basic and limited stack machine to support rule checking. |
372 |
|
|
373 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
374 |
|
|
375 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
376 |
|
|
377 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
378 |
|
to find all items of a given type in document for a given |
379 |
|
mode. Usefull to find all rules in the tree. |
380 |
|
|
381 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
382 |
|
to attribute table to report exceptions when setting a value |
383 |
|
from GUI. Useful to report compilation errors when setting |
384 |
|
expr of rule leafs. |
385 |
|
|
386 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
387 |
|
from the attribute table and pop up dialogs if they occur. |
388 |
|
Added a counter of rule modifications in tree. Useful if you |
389 |
|
want build cached data structures like rule sets and you want |
390 |
|
to know if they are still valid. |
391 |
|
|
392 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
393 |
|
|
394 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
395 |
|
for checkbox values. (Syntax error). |
396 |
|
|
397 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
398 |
|
generation |
399 |
|
|
400 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
401 |
|
|
402 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
403 |
|
making the formularnames more database friendly. Added some more |
404 |
|
checks. |
405 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
406 |
|
separated class, and some fixes in sql generation. |
407 |
|
|
408 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
409 |
|
|
410 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
411 |
|
of external choice list. |
412 |
|
|
413 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
414 |
|
|
415 |
|
* tools/formed/formed/main.py: Little workaround for |
416 |
|
mode selection if someone adds an removes a mode. |
417 |
|
|
418 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
419 |
|
|
420 |
|
* tools/formed/test-data/simple.xml: Better test case for |
421 |
|
mode depended leaf items. |
422 |
|
|
423 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
424 |
|
to calculate the effective mode of an item. |
425 |
|
|
426 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
427 |
|
mode. TODO: the 'all' modus return false results sometimes. |
428 |
|
Cause: The modes are only cumulated over time. Removal is |
429 |
|
not done. |
430 |
|
|
431 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
432 |
|
|
433 |
|
* tools/formed/formed/plugins/export/html.py: Dump the items |
434 |
|
of radio groups and choices too. |
435 |
|
|
436 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
437 |
|
|
438 |
|
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
439 |
|
by formular names to make the naming more database friendly. |
440 |
|
Now only alphanumeric and underscore chars is allowed. |
441 |
|
|
442 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
443 |
|
|
444 |
|
* tools/formed/formed/plugins/export/html.py: Tweaked |
445 |
|
HTML table exporter a bit to be on par with the XSLT |
446 |
|
script. TODO: Dump items in radio and choice groups. |
447 |
|
|
448 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
449 |
|
|
450 |
|
* tools/formed/formed/plugins/names/filter.py: Removed |
451 |
|
HTML and SQL exporters. |
452 |
|
|
453 |
|
* tools/formed/formed/plugins/export, |
454 |
|
tools/formed/formed/plugins/export/__init__.py, |
455 |
|
tools/formed/formed/plugins/export/sql.py, |
456 |
|
tools/formed/formed/plugins/export/html.py: New: Contain |
457 |
|
the HTML and the SQL exporters now. |
458 |
|
|
459 |
|
* tools/formed/formed/config.py: Use exporters from different |
460 |
|
package now. |
461 |
|
|
462 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
463 |
|
|
464 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
465 |
|
pseudo SQL export filters. TODO: Move HTML and SQL filter |
466 |
|
in a new file (formed/plugins/export/htmlexport.py and |
467 |
|
sqlexport.py?) |
468 |
|
|
469 |
|
* tools/formed/formed/config.py: Install the new SQL filter. |
470 |
|
|
471 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
472 |
|
|
473 |
|
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
474 |
|
method to determine the depth of particular tree item. |
475 |
|
|
476 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
477 |
|
HTML export filters. TODO: needs more work. |
478 |
|
|
479 |
|
* tools/formed/formed/config.py: Install the new HTML filter. |
480 |
|
|
481 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
482 |
|
|
483 |
|
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
484 |
|
to extract fields and options in the XFA Data in teh PDF. This |
485 |
|
script might me handy to indicate changes between the different |
486 |
|
formular versions. |
487 |
|
|
488 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
489 |
|
|
490 |
|
* tools/formed/formed/main.py: Add an 'all' mode to |
491 |
|
select all modes. ;-) |
492 |
|
|
493 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
494 |
|
|
495 |
|
* tools/formed/test-data/simple.xml, |
496 |
|
tools/formed/formed/model/data.py, |
497 |
|
tools/formed/formed/plugins/web/plugin.py, |
498 |
|
tools/formed/formed/plugins/web/renderer.py, |
499 |
|
tools/formed/formed/io/document.py, |
500 |
|
tools/formed/formed/main.py: Removed support for switch nodes. |
501 |
|
BEWARE: This breaks compatibility with older documents! |
502 |
|
|
503 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
504 |
|
|
505 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the |
506 |
|
getSelectedMode() from main now. |
507 |
|
|
508 |
|
* tools/formed/formed/main.py: selected mode is now hold |
509 |
|
in main. |
510 |
|
|
511 |
|
* tools/formed/formed/config.py: removed selected mode from |
512 |
|
env configuration. |
513 |
|
|
514 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
515 |
|
|
516 |
|
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
517 |
|
table are now alphabetically sorted. |
518 |
|
|
519 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
520 |
|
|
521 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to |
522 |
|
establish the new 'modes' recursively. |
523 |
|
|
524 |
|
* tools/formed/formed/plugins/plugin.py: Pass main instead |
525 |
|
of cfg on plug-in start-up. |
526 |
|
|
527 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new |
528 |
|
'modes' attribute for rendering. |
529 |
|
|
530 |
|
* tools/formed/formed/plugins/web/renderer.py: Use decorators |
531 |
|
to check the new modes. |
532 |
|
|
533 |
|
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
534 |
|
|
535 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
536 |
|
|
537 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
538 |
|
attribute 'modes' to NodeComponents. |
539 |
|
|
540 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
541 |
|
|
542 |
|
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
543 |
|
|
544 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
545 |
|
|
546 |
|
* tools/formed/formed/plugins/web/renderer.py: Another fix |
547 |
|
for the hidden field. Argh! |
548 |
|
|
549 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
550 |
|
|
551 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
552 |
|
generation of hidden page field. |
553 |
|
|
554 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
555 |
|
|
556 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
557 |
|
checks for radio groups. |
558 |
|
|
559 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
560 |
|
|
561 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
562 |
|
checks for choices. |
563 |
|
|
564 |
|
2007-08-21 Frank Koormann <[email protected]> |
565 |
|
|
566 |
|
* contrib/convert-formedtree2html.xsl: Display switch nodes as |
567 |
|
alternatives. |
568 |
|
|
569 |
|
2007-08-21 Frank Koormann <[email protected]> |
570 |
|
|
571 |
|
* contrib/convert-formedtree2html.xsl: |
572 |
|
Replace technical types with readable descriptions |
573 |
|
|
574 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
575 |
|
|
576 |
|
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
577 |
|
issues. 'action' looks for all widgets on a page now, goes |
578 |
|
through all passed parameters, tries to match them with the |
579 |
|
widgets of the page and put them into the semantic box. |
580 |
|
Afterwards a list of untouched page parameters are left |
581 |
|
which will be deleted from the semantic box. |
582 |
|
|
583 |
|
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
584 |
|
The NodeComponent is passed as an argument now. |
585 |
|
|
586 |
|
* tools/formed/formed/plugins/web/renderer.py: Generate a |
587 |
|
hidden field to store the name of the page. |
588 |
|
|
589 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
590 |
|
|
591 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
592 |
|
issue with incoming UTF-8 data. |
593 |
|
|
594 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
595 |
|
|
596 |
|
* tools/formed/test-data/simple.xml: Improve test for widgets |
597 |
|
in switches. |
598 |
|
|
599 |
|
* tools/formed/formed/model/data.py: Added a method to find all |
600 |
|
widgets in a given page. Fixed a bug when walking in switch |
601 |
|
with a given mode. |
602 |
|
|
603 |
|
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
604 |
|
listing all widgets in page. |
605 |
|
|
606 |
|
2007-08-21 Torsten Irlaender <[email protected]> |
607 |
|
|
608 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
609 |
|
latin-1 |
610 |
|
|
611 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
612 |
|
|
613 |
|
* tools/formed/formed/model/data.py: Added mode parameter to |
614 |
|
walk. |
615 |
|
|
616 |
|
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
617 |
|
walk() with usage of the new mode parameter. Added a method to |
618 |
|
give children in a given mode. |
619 |
|
|
620 |
|
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
621 |
|
new Switch.childrenInMode() method. |
622 |
|
|
623 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
624 |
|
|
625 |
|
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
626 |
|
texts and text areas. |
627 |
|
|
628 |
|
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
629 |
|
to UTF-8 in generated form. |
630 |
|
|
631 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
632 |
|
|
633 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
634 |
|
tests for dates. |
635 |
|
|
636 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
637 |
|
|
638 |
|
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
639 |
|
range test. |
640 |
|
|
641 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
642 |
|
to find a tree item for a given name. |
643 |
|
|
644 |
|
* tools/formed/formed/plugins/web/semantic.py: New: Box for |
645 |
|
semantic checking. Has check for integers. |
646 |
|
|
647 |
|
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
648 |
|
check. |
649 |
|
|
650 |
|
2007-08-20 Torsten Irlaender <[email protected]> |
651 |
|
|
652 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
653 |
|
selection-field generation (Removed quote) |
654 |
|
|
655 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
656 |
|
|
657 |
|
* tools/formed/formed/plugins/web/plugin.py, |
658 |
|
tools/formed/formed/plugins/web/renderer.py: Added a |
659 |
|
simple cookie based session management to the HTML |
660 |
|
renderer. This submit parameters are stored in the |
661 |
|
session now. This will ease testing the constraint |
662 |
|
tests which need to be written soon. |
663 |
|
|
664 |
|
BEWARE: The session management is _not_ made for production! |
665 |
|
Denial of service attacks are too easy, and the |
666 |
|
cryptographical strength of the session id is doubtful. |
667 |
|
|
668 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
669 |
|
|
670 |
|
* tools/formed/formed/plugins/web/renderer.py: Escaping text |
671 |
|
coming from the document tree now when inserting it into the |
672 |
|
HTML output. |
673 |
|
|
674 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
675 |
|
|
676 |
|
* tools/formed/formed/plugins/plugin.py: Added a new kind |
677 |
|
of plug-in: Filter. They have a short and a long description |
678 |
|
and can be hooked automatically into the new 'Filters' |
679 |
|
sub menu under 'Extra'. They got called when the user |
680 |
|
selects their respective menu item. |
681 |
|
|
682 |
|
* tools/formed/formed/config.py: Contains the list of |
683 |
|
installed filters. |
684 |
|
|
685 |
|
* tools/formed/formed/main.py: Builds the Extra->Filters |
686 |
|
sub menu during gui initialization. The hard wired code |
687 |
|
for make unique and formular name/description -> name |
688 |
|
is removed because they are implemented as filters now. |
689 |
|
|
690 |
|
* tools/formed/formed/model/nodecomponents.py, |
691 |
|
tools/formed/formed/model/data.py: Removed the make |
692 |
|
unique and formular name/description -> name code. |
693 |
|
|
694 |
|
* tools/formed/formed/plugins/names, |
695 |
|
tools/formed/formed/plugins/names/__init__.py, |
696 |
|
tools/formed/formed/plugins/names/filter.py: Added. Contains |
697 |
|
the make unique and formular name/description -> name code |
698 |
|
in form of filters. |
699 |
|
|
700 |
|
* tools/formed/test-data/simple.xml: Modified to be a better |
701 |
|
test for the formular name/description -> name filter. |
702 |
|
|
703 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
704 |
|
|
705 |
|
* tools/formed/formed.py, tools/formed/formed/main.py: First |
706 |
|
command line argument is interpreted as filename of document |
707 |
|
to be loaded at program startup. |
708 |
|
|
709 |
|
2007-08-17 Frank Koormann <[email protected]> |
710 |
|
|
711 |
|
* contrib/convert-formedtree2html.xsl: |
712 |
|
Heading level depending on depth of group node. |
713 |
|
In case of radio/choice/check only list of options. |
714 |
|
|
715 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
716 |
|
|
717 |
|
* contrib/convert-formedtree2html.xsl: Output is now generated with |
718 |
|
HTML doc-string and charset information in the meta-header. |
719 |
|
|
720 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
721 |
|
|
722 |
|
* contrib/convert-formedtree2html.xsl: Added small script for |
723 |
|
exporting the formed tree to html |
724 |
|
|
725 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
726 |
|
|
727 |
|
* tools/formed/model/nodecomponents.py: Added function to rename |
728 |
|
the set the name of the node to the formularname. The formularname |
729 |
|
gets shorten to <=64 by removing vowels and is stored lowercase. |
730 |
|
If the name is not unique and additional id value is appended. |
731 |
|
|
732 |
|
* tools/formed/formed/model/data.py: Overwritten renaming-function for |
733 |
|
bool-leafs |
734 |
|
|
735 |
|
* tools/formed/formed/main.py: Added menuitem for renaming the names |
736 |
|
of the element |
737 |
|
|
738 |
|
2007-08-16 Sascha L. Teichmann <[email protected]> |
739 |
|
|
740 |
|
* tools/formed/formed/main.py: Swaped order of |
741 |
|
'Make names unique' and 'Selected mode...' in Extra |
742 |
|
menu and put a separator between them. |
743 |
|
|
744 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
745 |
|
|
746 |
|
* tools/formed/formed/model/data.py: SwitchNodes can add |
747 |
|
their modes to a given set now. |
748 |
|
|
749 |
|
* tools/formed/formed/plugins/plugin.py: Simplified |
750 |
|
the plug-in interface. Only the reference to the |
751 |
|
global configuration is passed at setup time. |
752 |
|
|
753 |
|
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
754 |
|
to new plug-in setup. The traveral mode is now taken |
755 |
|
from the global configuration each time a rendering |
756 |
|
is triggered. The FORMED parameter is now named |
757 |
|
'doc.mode' instead of 'web.mode'. The parameter |
758 |
|
is not needed any more because it can be configured |
759 |
|
at runtime. |
760 |
|
|
761 |
|
* tools/formed/formed/main.py: Adjusted to new plugin |
762 |
|
setup. Added a new menu item Extra->Select Mode... |
763 |
|
to select the traversal mode. It is stored in the |
764 |
|
global config. |
765 |
|
|
766 |
|
* tools/formed/formed/config.py: Simplified. Only uses |
767 |
|
one env dictionary to store global configuration parameters. |
768 |
|
|
769 |
|
* tools/formed/formed/ui/controls.py: Add a control to |
770 |
|
select one item from a list of given strings. |
771 |
|
|
772 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
773 |
|
|
774 |
|
* tools/formed/formed/plugins/web/plugin.py, |
775 |
|
tools/formed/formed/plugins/web/renderer.py: Added parameter |
776 |
|
print out in web plugin. |
777 |
|
|
778 |
|
2007-08-15 Torsten Irlaender <[email protected]> |
779 |
|
|
780 |
|
* contrib/convert-formedtree2csv.xsl: Added small script for |
781 |
|
exporting the formed tree to csv |
782 |
|
|
783 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
784 |
|
|
785 |
|
* tools/formed/formed/model/data.py, |
786 |
|
tools/formed/formed/model/nodecomponents.py, |
787 |
|
tools/formed/formed/io/document.py: Added a 'switch' node. |
788 |
|
|
789 |
|
* tools/formed/formed/plugins/web/renderer.py:Render the |
790 |
|
new 'switch' node. |
791 |
|
|
792 |
|
* tools/formed/formed/plugins/web/plugin.py, |
793 |
|
tools/formed/formed/config.py: Added a 'web.mode' parameter |
794 |
|
to FORMED environment variable. |
795 |
|
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
796 |
|
Defaults to 'default'. |
797 |
|
|
798 |
|
* tools/formed/test-data/simple.xml: Added test for switch. |
799 |
|
|
800 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
801 |
|
|
802 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
803 |
|
attribute 'formularname' to base class of node components. |
804 |
|
|
805 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
806 |
|
|
807 |
|
* tools/formed/formed/io/document.py, |
808 |
|
tools/formed/formed/model/data.py, |
809 |
|
tools/formed/formed/model/nodecomponents.py: Added an item |
810 |
|
to model external item lists. |
811 |
|
|
812 |
|
* tools/formed/formed/plugins/web/renderer.py: Render new item |
813 |
|
list. |
814 |
|
* tools/formed/formed/main.py: Added a forgotten 'self.' |
815 |
|
|
816 |
|
* contrib/extract-xfa-items.sh: Modified to generate |
817 |
|
documents to be loadable from new item lists |
818 |
|
|
819 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
820 |
|
|
821 |
|
* tools/formed/formed/main.py: Fixed typo |
822 |
|
|
823 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
824 |
|
|
825 |
|
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
826 |
|
choice item lists for a given field from XFA files. e.g. with |
827 |
|
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
828 |
|
|
829 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
830 |
|
|
831 |
|
* tools/formed/formed/model/data.py, |
832 |
|
tools/formed/formed/plugins/web/renderer.py, |
833 |
|
tools/formed/formed/io/document.py: Changed the structure |
834 |
|
of choice constructs. The idea to hold the different items |
835 |
|
of a particular choice in a semicolon separated list was bad. |
836 |
|
Now choices are groups and the option items are modelled as |
837 |
|
embedded bools. (mainly Torsten Irländer's idea). |
838 |
|
|
839 |
|
WARNING: this makes old document files containing choices incompatible!!! |
840 |
|
Use the following XSLT to reestablish compatibility. |
841 |
|
|
842 |
|
* contrib/itemize-choices.xsl: New converts old to new structure. |
843 |
|
Needs exslt.org's string extensions (which xsltproc includes) |
844 |
|
|
845 |
|
* tools/formed/test-data/simple.xml: Ajusted to new structure |
846 |
|
|
847 |
|
* tools/formed/formed/plugins/web/plugin.py: remove debug output |
848 |
|
|
849 |
|
* tools/formed/formed/model/nodecomponents.py: fixed a small bug in |
850 |
|
node finding code. It now uses the walk() generator, too. |
851 |
|
|
852 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
853 |
|
|
854 |
|
* tools/formed/formed/main.py: Added a clone item on the toolbar which |
855 |
|
copies the currently selected item and appends it after the selection. |
856 |
|
|
857 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
858 |
|
of the tree. |
859 |
|
|
860 |
|
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
861 |
|
|
862 |
|
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
863 |
|
forgot a 'self.' prefix. |
864 |
|
|
865 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
866 |
|
|
867 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method to append |
868 |
|
a second document to the current. |
869 |
|
|
870 |
|
* tools/formed/formed/main.py: Added an 'Import' file menu item to load |
871 |
|
a second document to be appended to the current. |
872 |
|
|
873 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
874 |
|
|
875 |
|
* tools/formed/formed/main.py: Added a 'New' item in file menu which creates |
876 |
|
a new document when triggered. |
877 |
|
|
878 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
879 |
|
|
880 |
|
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
881 |
|
items in the document tree. Added a method to eliminated duplicated names |
882 |
|
in document tree. |
883 |
|
|
884 |
|
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
885 |
|
after names collisions are eliminated. |
886 |
|
|
887 |
|
* tools/formed/formed/main.py: Added an 'Extra' menu with item |
888 |
|
'Make names unique'. |
889 |
|
|
890 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
891 |
|
|
892 |
|
* tools/formed/formed/model/data.py, |
893 |
|
tools/formed/formed/plugins/web/renderer.py: Removed support |
894 |
|
for 'text' attributes in bool items. They were never really |
895 |
|
used and the 'description' attributes fulfill the same |
896 |
|
purpose. |
897 |
|
|
898 |
|
* contrib/remove-bool-text.xsl: Transform to remove the |
899 |
|
'text' attributes from bool items. Apply with: |
900 |
|
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
901 |
|
|
902 |
|
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
903 |
|
from bool items. |
904 |
|
|
905 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
906 |
|
|
907 |
|
* contrib/convert-choices.xsl: Simpified. |
908 |
|
|
909 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
910 |
|
|
911 |
|
* tools/formed/formed/model/data.py: Removed 'options' attribute |
912 |
|
from ChoiceLeaf. Use 'value' instead, please! |
913 |
|
|
914 |
|
* tools/formed/formed/plugins/web/renderer.py: use 'value' attribute |
915 |
|
instead of 'options' to render choices. |
916 |
|
|
917 |
|
* contrib/convert-choices.xsl: Added to convert document files |
918 |
|
which use the choice 'option' attribute to usage of 'value'. |
919 |
|
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
920 |
|
|
921 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
922 |
|
|
923 |
|
* tools/formed/formed/plugins/web/renderer.py: radio buttons |
924 |
|
are selected by 'checked' and not by 'selected'. Fixed. |
925 |
|
|
926 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
927 |
|
|
928 |
|
* tools/formed/formed/model/data.py: ChoiceLeafs are now |
929 |
|
initialized with size = 1. |
930 |
|
|
931 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
932 |
|
|
933 |
|
* tools/formed/formed/model/data.py: TextLeafs are now |
934 |
|
initialized with size = 40, maxlength = 60 |
935 |
|
|
936 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
937 |
|
|
938 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed: choices |
939 |
|
are renderered with description now. |
940 |
|
|
941 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
942 |
|
|
943 |
|
* tools/formed/formed/plugins/web/renderer.py: Added rendering |
944 |
|
for date items. Added missing ids for texts and textareas. |
945 |
|
|
946 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
947 |
|
|
948 |
|
* tools/formed/formed/config.py: Evaluate the environment |
949 |
|
variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' |
950 |
|
|
951 |
|
* tools/formed/formed/plugins/plugin.py: Give a reference |
952 |
|
to the config at setup time. |
953 |
|
|
954 |
|
* tools/formed/formed/plugins/web/plugin.py: To determine |
955 |
|
the port look at FORMED dictionary first. Key is 'web.port'. |
956 |
|
e.g. FORMED='web.port:8888' |
957 |
|
|
958 |
|
* tools/formed/formed/main.py: Call the plugin setup with |
959 |
|
the reference to the config. |
960 |
|
|
961 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
962 |
|
|
963 |
|
* tools/formed/test-data/simple.xml: removed 'text' attributes from |
964 |
|
info tags. Use the 'value' attributes for same purpose now, please! |
965 |
|
|
966 |
|
* tools/formed/formed/model/data.py: removed text attributes from |
967 |
|
InfoLeaf. |
968 |
|
|
969 |
|
* tools/formed/formed/plugins/web/renderer.py: Rendering of info |
970 |
|
now uses the 'value' instead of the 'text' attributes. |
971 |
|
|
972 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
973 |
|
|
974 |
|
* tools/formed/formed/model/data.py: next/prevPage() are |
975 |
|
methods of PageNode now. |
976 |
|
|
977 |
|
* tools/formed/formed/model/nodecomponents.py: findByClassAndName() |
978 |
|
is method of Document now. |
979 |
|
|
980 |
|
* tools/formed/formed/plugins/web/plugin.py: Factored out |
981 |
|
the HTML renderer. |
982 |
|
|
983 |
|
* tools/formed/formed/plugins/web/renderer.py: New: contains |
984 |
|
the HTML renderer now. |
985 |
|
|
986 |
|
* tools/formed/test-data/simple.xml: Fixed typo |
987 |
|
|
988 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
989 |
|
|
990 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed a bug |
991 |
|
in calculation of width of bounded int fields. |
992 |
|
|
993 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
994 |
|
|
995 |
|
* tools/formed/test-data/simple.xml: Make demo Int fancier. |
996 |
|
|
997 |
|
* tools/formed/formed/model/data.py: Added attributes to IntLeaf |
998 |
|
|
999 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering for |
1000 |
|
Ints |
1001 |
|
|
1002 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
1003 |
|
|
1004 |
|
* tools/formed/test-data/simple.xml: Added demo textarea |
1005 |
|
|
1006 |
|
* tools/formed/formed/model/data.py: Added TextAreaLeaf |
1007 |
|
|
1008 |
|
* tools/formed/formed/io/document.py: register builder |
1009 |
|
for loading of textareas |
1010 |
|
|
1011 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
1012 |
|
for textareas. |
1013 |
|
|
1014 |
2007-08-09 Sascha L. Teichmann <[email protected]> |
2007-08-09 Sascha L. Teichmann <[email protected]> |
1015 |
|
|
1016 |
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
* tools/formed/test-data/simple.xml: Make demo choice fancier. |