1 |
|
2007-09-21 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/export/sql.py: Added generation time |
4 |
|
and DROP TABLE statements to schema export. |
5 |
|
|
6 |
|
2007-09-20 Sascha L. Teichmann <[email protected]> |
7 |
|
|
8 |
|
* tools/formed/formed/plugins/export/sql.py: The tables are generated |
9 |
|
in correct topolocial order now. |
10 |
|
|
11 |
|
2007-09-20 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/export/mode.py: New. Filter to export |
14 |
|
a document with items that are in given mode. |
15 |
|
|
16 |
|
* tools/formed/formed/model/nodecomponents.py: Added methods to clone |
17 |
|
trees depending on selected modes. |
18 |
|
|
19 |
|
* tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py: |
20 |
|
Fixed clone issue with RuleNodes. |
21 |
|
|
22 |
|
* tools/formed/formed/config.py: Use new plug-in. |
23 |
|
|
24 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
25 |
|
|
26 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Make the |
27 |
|
view renderer a real view renderer. It takes a list of |
28 |
|
items now and not only a single page. |
29 |
|
|
30 |
|
* tools/formed/formed/plugins/web/renderer.py: Feed a list |
31 |
|
of items to the view renderer. |
32 |
|
|
33 |
|
2007-09-17 Torsten Irlaender <[email protected]> |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/web/view_renderer.py: |
36 |
|
Small tweaks in rendering bools. |
37 |
|
RadioNodes (with all its children) can now be placed in a container. |
38 |
|
The radiobools will not get a surrounding <div> anymore. |
39 |
|
I am not sure if the new way results in the wanted behaivor, but the |
40 |
|
rendering results are much better now :) |
41 |
|
Maybe we need a similar approach for checkboxes? |
42 |
|
Rendering groups is still broken in some way. |
43 |
|
|
44 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
45 |
|
|
46 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Fixed |
47 |
|
a few bugs: Do not render empty containers, do not |
48 |
|
generate misplaced <br class="newline"> in choices. |
49 |
|
Add a nameless container to catch the items that are |
50 |
|
nor explicitly assigned to a target. Removed FormData. |
51 |
|
|
52 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
53 |
|
a needless import |
54 |
|
|
55 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
56 |
|
|
57 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Implemented |
58 |
|
usage of 'containers' and 'target' attributes. |
59 |
|
|
60 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified import. |
61 |
|
|
62 |
|
* tools/formed/formed/plugins/web/renderer.py: Use |
63 |
|
new ViewRenderer. |
64 |
|
|
65 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
66 |
|
|
67 |
|
* tools/formed/formed/model/nodecomponents.py: Added attributes |
68 |
|
'target' to NodeComponent and 'containers' to Node. |
69 |
|
|
70 |
|
* tools/formed/formed/plugins/web/view_renderer.py: New. Aimed |
71 |
|
to be a replacement for form_renderer. Not ready yet! |
72 |
|
|
73 |
|
* ChangeLog: Fixed some indention glitches. |
74 |
|
|
75 |
|
2007-09-13 Torsten Irlaender <[email protected]> |
76 |
|
|
77 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed bug in the |
78 |
|
renaming algorithm. |
79 |
|
|
80 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
81 |
|
|
82 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed header |
83 |
|
from formular navigation to "Fallakte Inhalt" |
84 |
|
|
85 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
86 |
|
|
87 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad |
88 |
|
values (dates) were not pretty printed. |
89 |
|
|
90 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to |
91 |
|
label rendering for choicelists. |
92 |
|
|
93 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
94 |
|
|
95 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that |
96 |
|
choicelist did not get selected when the value is set to "0" |
97 |
|
|
98 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
99 |
|
|
100 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added |
101 |
|
"getPrintableData" method, for the formdata Class which will return |
102 |
|
the description rather than the value of element in the ID. This is |
103 |
|
need for displaying the choises in a right way. |
104 |
|
|
105 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed string |
106 |
|
"Fallnummer" into "Kundennummer" in the templates. Added |
107 |
|
Kundennummer to the dataset digest output. Bound in the new |
108 |
|
"getPrintableData" call for the digest. |
109 |
|
|
110 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
111 |
|
|
112 |
|
* tools/formed/formed/plugins/export/data.py: The import/export |
113 |
|
of data is now implemented with filters (the most consequent |
114 |
|
way in terms of design of FormEd). The support of the 'persistent' |
115 |
|
FORMED env-variable support has been removed. |
116 |
|
|
117 |
|
* tools/formed/formed/plugins/ui/controls.py: Added a flag to the |
118 |
|
filter file dialog to double as import dialog. |
119 |
|
|
120 |
|
* tools/formed/formed/main.py: Removed the the FORMED-var support |
121 |
|
for persistence. |
122 |
|
|
123 |
|
* tools/formed/formed/config.py: Add the two new filters to the filters |
124 |
|
list. |
125 |
|
|
126 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
127 |
|
|
128 |
|
* tools/formed/formed/model/memory.py: Uses XML as persistence format now. |
129 |
|
Removed pickle/unpickle stuff. |
130 |
|
|
131 |
|
* tools/formed/formed/main.py: Uses the new XML persistence. |
132 |
|
|
133 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed: choices were |
134 |
|
not converted to int indices. |
135 |
|
|
136 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
137 |
|
|
138 |
|
* tools/formed/formed/model/memory.py: Making MemoryDataStore persistent |
139 |
|
with pickle/unpickle. |
140 |
|
|
141 |
|
* tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'. |
142 |
|
Set to a file name it is tried to unpickle a MemoryDataStore from |
143 |
|
that file. When exiting the program this file is used to store the |
144 |
|
current MemoryDataStore state. The storing only works if you exit |
145 |
|
the program through the Menu File->Exit. |
146 |
|
usage: FORMED=persistent:test.db ./formed.sh |
147 |
|
|
148 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
149 |
|
|
150 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed Name of the |
151 |
|
application on the welcome page from "Formed" to "WASKA" |
152 |
|
|
153 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/web/plugin.py, |
156 |
|
* tools/formed/formed/plugins/web/controllers.py, |
157 |
|
* tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler. |
158 |
|
The infopage provides information on all project participants. |
159 |
|
|
160 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
161 |
|
|
162 |
|
* tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion |
163 |
|
issues with error messages (once again). |
164 |
|
|
165 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
166 |
|
|
167 |
|
* tools/formed/formed/plugins/web/form_renderer.py, |
168 |
|
* tools/formed/formed/plugins/web/renderer.py: Added alt tag for |
169 |
|
icons in error and confirmation dialogs. |
170 |
|
|
171 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
172 |
|
|
173 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed label |
174 |
|
generation for ints, texts and textareas. Fixed h depths of infos. |
175 |
|
|
176 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
177 |
|
|
178 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Removed |
179 |
|
debug output for help. |
180 |
|
|
181 |
|
* tools/formed/formed/plugins/web/semantic.py: Added forgotten |
182 |
|
check for bools. |
183 |
|
|
184 |
|
* tools/formed/formed/plugins/web/controllers.py: Added correct |
185 |
|
HTML output of data for bools. |
186 |
|
|
187 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
188 |
|
|
189 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed size of |
190 |
|
textfields for int values. Changed Label for submitbuttons to |
191 |
|
"Speichern" |
192 |
|
|
193 |
|
* tools/formed/formed/plugins/web/plugin.py, |
194 |
|
tools/formed/formed/plugins/web/controllers.py: Added new |
195 |
|
NotImplementedHandler to show up a dummysite for not implemented |
196 |
|
functions. |
197 |
|
|
198 |
|
* tools/formed/formed/plugins/web/renderer.py: Added |
199 |
|
NotImplementedRenderer. Various small fixes. Mostly renaming the |
200 |
|
labels of some context menus. Error messages are now generated |
201 |
|
dynamically depending on num errors. Formular navigation has now |
202 |
|
colored indication for errors. |
203 |
|
|
204 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
205 |
|
|
206 |
|
* tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead" |
207 |
|
algorithm for the formular navigation to get rid of the problem |
208 |
|
that some of the items within the navigation are not linked. Now |
209 |
|
structural group elements are linked with the next page found in the |
210 |
|
formular structure. |
211 |
|
|
212 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
213 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed order of |
214 |
|
div and formtag. |
215 |
|
|
216 |
|
* tools/formed/formed/plugins/web/controllers.py: Added DataSet action |
217 |
|
menu in the conformation dialog when creating a new dataset. |
218 |
|
|
219 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed error when |
220 |
|
rendering the default welcome page. Changed rendering of the |
221 |
|
overview and the digest table of the datasets. Added icon for |
222 |
|
confirmation dialog, moved the icon in the <h1> tags. |
223 |
|
|
224 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
225 |
|
|
226 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
227 |
|
generation cleanup. Added error icons to formelements |
228 |
|
|
229 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed initialisation |
230 |
|
of ErrorStatus. Fixed generated of the help tags in the formular |
231 |
|
|
232 |
|
* tools/formed/formed/plugins/web/renderer.py: Added error icon for |
233 |
|
pageerrors. An "!" now indicates errors on pages in the formular |
234 |
|
navigation. Added new <div> "content" around confirmation dialogss. |
235 |
|
Links in confimation dialogs are now rendered as buttons. Removed |
236 |
|
old obsolete OverviewRenderer. |
237 |
|
|
238 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
239 |
|
|
240 |
|
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
241 |
|
page in page navigation. |
242 |
|
|
243 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
244 |
|
|
245 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
246 |
|
displaying formdata when changing datasets. Loading the right |
247 |
|
formdata was not handled in a correct way. Hope it is all fixed now. |
248 |
|
Left some commented code because not all sideeffects of the changes |
249 |
|
are tested yet. |
250 |
|
|
251 |
|
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
252 |
|
now uses the correct data out of the formdata. |
253 |
|
|
254 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
255 |
|
|
256 |
|
* tools/formed/formed/plugins/web/controllers.py: Pretty |
257 |
|
print format data (dates e.g) |
258 |
|
|
259 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
260 |
|
|
261 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified |
262 |
|
ErrorStats a bit to avoid mysterious extra error on page. |
263 |
|
No clue why this works. |
264 |
|
|
265 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
266 |
|
|
267 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
268 |
|
problem with radio groups, too. |
269 |
|
|
270 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
271 |
|
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
272 |
|
really removed when deleting a dataset. |
273 |
|
|
274 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
275 |
|
|
276 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
277 |
|
ErrorStats which provides Information on remaining errors per page. |
278 |
|
|
279 |
|
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
280 |
|
the renderer methods from controllers.py to renderers.py. |
281 |
|
|
282 |
|
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
283 |
|
handlers |
284 |
|
|
285 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
286 |
|
|
287 |
|
* tools/formed/formed/plugins/web/form_renderer.py: values for |
288 |
|
choices are generated from the document tree now. This brings |
289 |
|
the state storage of select boxes in HTML to live. |
290 |
|
|
291 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
292 |
|
|
293 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
294 |
|
range checking of integers. |
295 |
|
|
296 |
|
* tools/formed/formed/plugins/web/controllers.py: Added class |
297 |
|
ErrorItem to track errors. They are stored in the session. |
298 |
|
|
299 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
300 |
|
|
301 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
302 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
303 |
|
|
304 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
305 |
|
written 'errot' in renderer for textareas. |
306 |
|
|
307 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
308 |
|
|
309 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
310 |
|
|
311 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
312 |
|
method. Could be cheaper for some implementations of help. |
313 |
|
|
314 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
315 |
|
FormData to have distinct getData(), getHelp() and getError() |
316 |
|
methods. Various bug fixes. |
317 |
|
|
318 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
319 |
|
new FormData (trivial by now). |
320 |
|
|
321 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
322 |
|
some bug fixes. |
323 |
|
|
324 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
325 |
|
|
326 |
|
* tools/formed/formed/model/memory.py, |
327 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
328 |
|
to dataset abstraction. This is a bit of a workaround to bring |
329 |
|
global access across pages for rule checking to work. |
330 |
|
|
331 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
332 |
|
the compiled version was not stored in the RuleLeaf. |
333 |
|
|
334 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
335 |
|
convert the expression string to ascii for compilation. |
336 |
|
|
337 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
338 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
339 |
|
with integer handler. |
340 |
|
|
341 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
342 |
|
stuff. When a submit is done extract the rules from the tree document |
343 |
|
that are effected by the modified variables and check them. |
344 |
|
|
345 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
346 |
|
when dealing with templates. |
347 |
|
|
348 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
349 |
|
* tools/formed/formed/plugins/web/controllers.py, |
350 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
351 |
|
functions into renderer.py. New render classes are: |
352 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
353 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
354 |
|
|
355 |
|
Note: The new methods are only called from selected handlers. Other |
356 |
|
handlers call the renderes in the old way. |
357 |
|
|
358 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
359 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
360 |
|
renderer.py to form_renderer.py. This file will contain formular |
361 |
|
specfic render methods in the future. |
362 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
363 |
|
which will contain general render methods. |
364 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
365 |
|
rendering into renderer.py or form_renderer.py. This file will only |
366 |
|
contain teh handlers in the future. |
367 |
|
|
368 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
369 |
|
* tools/formed/formed/plugins/web/renderer.py, |
370 |
|
tools/formed/formed/plugins/web/controller.py: |
371 |
|
Renderes now get an instance of the formdata object to provide |
372 |
|
access the data needed to render various infoboxes etc. Handler |
373 |
|
instanciate the formdata. |
374 |
|
|
375 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
376 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
377 |
|
getFormData interface to work. Added two small semantic fixes, but |
378 |
|
did not manage to get it up. Need to exime this a little bit more |
379 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
380 |
|
around the menus on the right side to be able to assign different |
381 |
|
styles. Added dataset actions while editing a dataset. |
382 |
|
|
383 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
384 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
385 |
|
removing unwanted del method |
386 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
387 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
388 |
|
templates as well for larger information units like the dataset summary. |
389 |
|
|
390 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
391 |
|
|
392 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
393 |
|
method to document to find index of page. |
394 |
|
|
395 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
396 |
|
to fetch data from semantic box. |
397 |
|
|
398 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
399 |
|
FormData implementation to support DB and semantic box. |
400 |
|
|
401 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
402 |
|
|
403 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
404 |
|
error message. |
405 |
|
|
406 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
407 |
|
dataset from backend each time a page is up to edit. |
408 |
|
|
409 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
410 |
|
|
411 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
412 |
|
returns "Page not found" if given page is None. |
413 |
|
|
414 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
415 |
|
to avoid crashing when ask for a non-existent page. |
416 |
|
|
417 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
418 |
|
|
419 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
420 |
|
|
421 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
422 |
|
|
423 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
424 |
|
and renderers. |
425 |
|
|
426 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
427 |
|
and renderers now. TODO: Move renderers to renderer.py |
428 |
|
|
429 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
430 |
|
|
431 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
432 |
|
and bound in the the new added functions to create, edit, delete and |
433 |
|
show formdata. |
434 |
|
|
435 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
436 |
|
|
437 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
438 |
|
simple linear scan for dataset lookup now. |
439 |
|
|
440 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
441 |
|
of different sizes. |
442 |
|
|
443 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
444 |
|
|
445 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
446 |
|
fuction |
447 |
|
|
448 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
449 |
|
to the DataSet interface |
450 |
|
|
451 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
452 |
|
renderes for create, update, delete and show actions on formular data. |
453 |
|
|
454 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
455 |
|
|
456 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
457 |
|
to methods is now driven by regualar expressions and |
458 |
|
a dictionary. Response objects are now able to send |
459 |
|
error codes. |
460 |
|
|
461 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
462 |
|
when help in Formdata is None. Moved text for help into |
463 |
|
a top level '''...''' variable. |
464 |
|
|
465 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
466 |
|
|
467 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
468 |
|
|
469 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
470 |
|
table driven mapping of reguest handling. TODO: split the |
471 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
472 |
|
Smaller clean ups and better exception handling. |
473 |
|
|
474 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
475 |
|
and do not catch them. |
476 |
|
|
477 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
478 |
|
|
479 |
|
* tools/formed/formed/plugins/web/renderer.py, |
480 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
481 |
|
the HelpProvider and inserted help icons to the html output. |
482 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
483 |
|
within a <div> tag. |
484 |
|
Modified the error messages. |
485 |
|
|
486 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
487 |
|
|
488 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
489 |
|
the server-side caching more clean. Fixes a bug with |
490 |
|
serving static content. |
491 |
|
|
492 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
493 |
|
|
494 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
495 |
|
|
496 |
|
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
497 |
|
to "application/xhtml+xml" when serving help texts. |
498 |
|
|
499 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
500 |
|
|
501 |
|
* tools/formed/formed/plugins/export/diff.py: New. Exports |
502 |
|
pairwise differences between all modes. |
503 |
|
|
504 |
|
* tools/formed/formed/config.py: Use new export filter. |
505 |
|
|
506 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
507 |
|
|
508 |
|
* tools/formed/formed/plugins/web/help.py: New. Parses an |
509 |
|
XHTML document for id'ed divs and builds a help lookup. |
510 |
|
|
511 |
|
* tools/formed/formed/plugins/web/www/help.tmpl: Template for |
512 |
|
the help content frame. |
513 |
|
|
514 |
|
* tools/formed/formed/plugins/web/www/help.xhtml: Some simple |
515 |
|
help text index. |
516 |
|
|
517 |
|
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
518 |
|
texts now. |
519 |
|
|
520 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
521 |
|
|
522 |
|
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
523 |
|
elements will be rendered in the formular navigation. |
524 |
|
Formular pages in the navigation now have their own css-style |
525 |
|
attributes. |
526 |
|
|
527 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
528 |
|
|
529 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
530 |
|
errors in template |
531 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
532 |
|
pageerrors variable |
533 |
|
|
534 |
|
2007-09-03 Frank Koormann <[email protected]> |
535 |
|
|
536 |
|
* tools/formed/formed/plugins/export/html.py |
537 |
|
(RecursiveExporter): Added annotation to export |
538 |
|
(fillRow()): Renamed old fillNine to this more generic name. |
539 |
|
|
540 |
|
|
541 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
542 |
|
|
543 |
|
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
544 |
|
from model.misc now. |
545 |
|
|
546 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
547 |
|
|
548 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
549 |
|
'annotation' attribute to node components. This is to |
550 |
|
enable FormEd document authors to add comments to groups |
551 |
|
and fields. |
552 |
|
|
553 |
|
2007-09-03 Frank Koormann <[email protected]> |
554 |
|
|
555 |
|
* tools/formed/formed/model/nodecomponents.py |
556 |
|
(NodeComponent.getParent): New method to get node components parent. |
557 |
|
|
558 |
|
* tools/formed/formed/plugins/export/html.py: Export Choice option |
559 |
|
as simple list instead of collection of bools. |
560 |
|
|
561 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
562 |
|
|
563 |
|
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
564 |
|
from persistent storage details. |
565 |
|
|
566 |
|
* tools/formed/formed/model/memory.py: In core implementation |
567 |
|
of the persistent interfaces. |
568 |
|
|
569 |
|
* tools/formed/formed/main.py: Holds a memory data store now. |
570 |
|
|
571 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
572 |
|
|
573 |
|
* tools/formed/formed/plugins/export/sql.py, |
574 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
575 |
|
for FileDialogFilter sub classes. |
576 |
|
|
577 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
578 |
|
|
579 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
580 |
|
tree traversals is a common task. To ease this a decorator function |
581 |
|
checkMode in union with sub classing ModeChecker can be used. |
582 |
|
To make it work simply subclass from ModeChecker and add the decorator |
583 |
|
to the methods that need mode tracking. Before you start the recursion |
584 |
|
call self.prepareDescent(). |
585 |
|
|
586 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
587 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
588 |
|
too. |
589 |
|
|
590 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
591 |
|
|
592 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
593 |
|
|
594 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
595 |
|
uses new FileDialogFilter base class too. |
596 |
|
|
597 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
598 |
|
|
599 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
600 |
|
need a file dialog. Till now each of them pulled up its |
601 |
|
own. This was silly code replication. Now there is an abstract |
602 |
|
base class 'FileDialogFilter' which implements the common |
603 |
|
behavior. The file exporters should subclass it. |
604 |
|
|
605 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
606 |
|
exporters from the new base class. TODO: Subclass the HTML |
607 |
|
exporter too. |
608 |
|
|
609 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
610 |
|
|
611 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
612 |
|
work (again). |
613 |
|
|
614 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
615 |
|
|
616 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
617 |
|
exprt works now in a recursive way. This change was needed because |
618 |
|
the structure of the formedtree has changed to be able to render |
619 |
|
full hirachically document stuctures. (nested lists) |
620 |
|
TODO: Fix modechecking |
621 |
|
|
622 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
623 |
|
|
624 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
625 |
|
now in recursive way. This change was needed because the structure |
626 |
|
of the formedtree has changed to be able to render full hirachically |
627 |
|
document stuctures. (nested lists) |
628 |
|
|
629 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
630 |
|
|
631 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
632 |
|
instead of remove on sets. |
633 |
|
|
634 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
635 |
|
exporter for table views. |
636 |
|
|
637 |
|
* tools/formed/formed/config.py: Added the new exporter |
638 |
|
to the list of export filters. |
639 |
|
|
640 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
641 |
|
|
642 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
643 |
|
Page.allWidgets() |
644 |
|
|
645 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
646 |
|
for stored procudeures. |
647 |
|
|
648 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
649 |
|
|
650 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
651 |
|
|
652 |
|
* tools/formed/formed/plugins/web/plugin.py, |
653 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
654 |
|
to get the errors for a whole page in te formular. These errors can |
655 |
|
now be displayed on the top of the formular. |
656 |
|
|
657 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
658 |
|
|
659 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
660 |
|
of the getFromData interface and prepared the rederer for generating |
661 |
|
nice error messages |
662 |
|
|
663 |
|
2007-08-28 Frank Koormann <[email protected]> |
664 |
|
|
665 |
|
* tools/formed/formed/plugins/export/sql.py |
666 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
667 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
668 |
|
|
669 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
670 |
|
|
671 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
672 |
|
function to generated valid quotes within the sql statements |
673 |
|
|
674 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
675 |
|
|
676 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
677 |
|
for repeat tables. |
678 |
|
|
679 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
680 |
|
|
681 |
|
* tools/formed/formed/plugins/export/sql.py: When generating |
682 |
|
an extra table check in a table of same content exists. In |
683 |
|
this case reference the existing table. |
684 |
|
|
685 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
686 |
|
|
687 |
|
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
688 |
|
_real_ SQL and respect repeat groups. |
689 |
|
|
690 |
|
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
691 |
|
|
692 |
|
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
693 |
|
instead of expensive += string concat in some places. |
694 |
|
|
695 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
696 |
|
|
697 |
|
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
698 |
|
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
699 |
|
|
700 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
701 |
|
|
702 |
|
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
703 |
|
* tools/formed/model/data.py: Implements Formadata interface to |
704 |
|
textfields. Fieldset generated depends now on the "invisible" |
705 |
|
attribute of the groupnode. Field-label generation slightly changed. |
706 |
|
Added error indication to textfields |
707 |
|
|
708 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
709 |
|
|
710 |
|
* tools/formed/formed/model/data.py, |
711 |
|
tools/formed/formed/io/document.py: Removed support |
712 |
|
of logical groups. |
713 |
|
|
714 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
715 |
|
|
716 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
717 |
|
attributes. |
718 |
|
|
719 |
|
* tools/formed/test-data/simple.xml: Applied. |
720 |
|
|
721 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
722 |
|
|
723 |
|
* tools/formed/formed/model/data.py: Added 'repeat' and |
724 |
|
'invisible' attributes to group. TODO: remove logical group. |
725 |
|
|
726 |
|
2007-08-27 Torsten Irlaender <[email protected]> |
727 |
|
|
728 |
|
* tools/formed/plugins/web/plugin.py, |
729 |
|
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
730 |
|
depending tags in the html generation. |
731 |
|
|
732 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
733 |
|
|
734 |
|
* tools/formed/formed/model/data.py, |
735 |
|
tools/formed/formed/io/document.py: Added a logical group. |
736 |
|
It has an attribute 'repeat' to indicate that it might |
737 |
|
be worthy an external table in DB schema. |
738 |
|
|
739 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
740 |
|
|
741 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
742 |
|
serving of static content. |
743 |
|
|
744 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
745 |
|
old send code. |
746 |
|
|
747 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
748 |
|
|
749 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
750 |
|
Response object. Fix typo. |
751 |
|
|
752 |
|
* tools/formed/formed/plugins/web/server.py: support |
753 |
|
response object to serve different MIME types. |
754 |
|
|
755 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
756 |
|
|
757 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
758 |
|
to FORMED environment variable to specify the |
759 |
|
root of the static content. |
760 |
|
|
761 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
762 |
|
|
763 |
|
* tools/formed/formed/model/data.py, |
764 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
765 |
|
|
766 |
|
* tools/formed/formed/plugins/web/www, |
767 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
768 |
|
a template for the HTML output. |
769 |
|
|
770 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
771 |
|
mode issues. Introduces CSS support. Simplified the action |
772 |
|
handling. |
773 |
|
|
774 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
775 |
|
nagivation code. |
776 |
|
|
777 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
778 |
|
|
779 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
780 |
|
|
781 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
782 |
|
parameter to setAttribute() of RuleLeaf. |
783 |
|
|
784 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
785 |
|
HTTP server code out to separate module. |
786 |
|
|
787 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
788 |
|
needless -1 from pop() |
789 |
|
|
790 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
791 |
|
the HTTP server code now. |
792 |
|
|
793 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
794 |
|
|
795 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
796 |
|
|
797 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
798 |
|
expression evaluator. To avoid the problem of eval()ing |
799 |
|
arbitrary python expressions I've decided to use a very |
800 |
|
basic and limited stack machine to support rule checking. |
801 |
|
|
802 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
803 |
|
|
804 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
805 |
|
|
806 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
807 |
|
to find all items of a given type in document for a given |
808 |
|
mode. Usefull to find all rules in the tree. |
809 |
|
|
810 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
811 |
|
to attribute table to report exceptions when setting a value |
812 |
|
from GUI. Useful to report compilation errors when setting |
813 |
|
expr of rule leafs. |
814 |
|
|
815 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
816 |
|
from the attribute table and pop up dialogs if they occur. |
817 |
|
Added a counter of rule modifications in tree. Useful if you |
818 |
|
want build cached data structures like rule sets and you want |
819 |
|
to know if they are still valid. |
820 |
|
|
821 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
822 |
|
|
823 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
824 |
|
for checkbox values. (Syntax error). |
825 |
|
|
826 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
827 |
|
generation |
828 |
|
|
829 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
830 |
|
|
831 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
832 |
|
making the formularnames more database friendly. Added some more |
833 |
|
checks. |
834 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
835 |
|
separated class, and some fixes in sql generation. |
836 |
|
|
837 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
838 |
|
|
839 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
840 |
|
of external choice list. |
841 |
|
|
842 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
843 |
|
|
844 |
|
* tools/formed/formed/main.py: Little workaround for |
845 |
|
mode selection if someone adds an removes a mode. |
846 |
|
|
847 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
848 |
|
|
849 |
|
* tools/formed/test-data/simple.xml: Better test case for |
850 |
|
mode depended leaf items. |
851 |
|
|
852 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
853 |
|
to calculate the effective mode of an item. |
854 |
|
|
855 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
856 |
|
mode. TODO: the 'all' modus return false results sometimes. |
857 |
|
Cause: The modes are only cumulated over time. Removal is |
858 |
|
not done. |
859 |
|
|
860 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
861 |
|
|
862 |
|
* tools/formed/formed/plugins/export/html.py: Dump the items |
863 |
|
of radio groups and choices too. |
864 |
|
|
865 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
866 |
|
|
867 |
|
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
868 |
|
by formular names to make the naming more database friendly. |
869 |
|
Now only alphanumeric and underscore chars is allowed. |
870 |
|
|
871 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
872 |
|
|
873 |
|
* tools/formed/formed/plugins/export/html.py: Tweaked |
874 |
|
HTML table exporter a bit to be on par with the XSLT |
875 |
|
script. TODO: Dump items in radio and choice groups. |
876 |
|
|
877 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
878 |
|
|
879 |
|
* tools/formed/formed/plugins/names/filter.py: Removed |
880 |
|
HTML and SQL exporters. |
881 |
|
|
882 |
|
* tools/formed/formed/plugins/export, |
883 |
|
tools/formed/formed/plugins/export/__init__.py, |
884 |
|
tools/formed/formed/plugins/export/sql.py, |
885 |
|
tools/formed/formed/plugins/export/html.py: New: Contain |
886 |
|
the HTML and the SQL exporters now. |
887 |
|
|
888 |
|
* tools/formed/formed/config.py: Use exporters from different |
889 |
|
package now. |
890 |
|
|
891 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
892 |
|
|
893 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
894 |
|
pseudo SQL export filters. TODO: Move HTML and SQL filter |
895 |
|
in a new file (formed/plugins/export/htmlexport.py and |
896 |
|
sqlexport.py?) |
897 |
|
|
898 |
|
* tools/formed/formed/config.py: Install the new SQL filter. |
899 |
|
|
900 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
901 |
|
|
902 |
|
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
903 |
|
method to determine the depth of particular tree item. |
904 |
|
|
905 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
906 |
|
HTML export filters. TODO: needs more work. |
907 |
|
|
908 |
|
* tools/formed/formed/config.py: Install the new HTML filter. |
909 |
|
|
910 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
911 |
|
|
912 |
|
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
913 |
|
to extract fields and options in the XFA Data in teh PDF. This |
914 |
|
script might me handy to indicate changes between the different |
915 |
|
formular versions. |
916 |
|
|
917 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
918 |
|
|
919 |
|
* tools/formed/formed/main.py: Add an 'all' mode to |
920 |
|
select all modes. ;-) |
921 |
|
|
922 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
923 |
|
|
924 |
|
* tools/formed/test-data/simple.xml, |
925 |
|
tools/formed/formed/model/data.py, |
926 |
|
tools/formed/formed/plugins/web/plugin.py, |
927 |
|
tools/formed/formed/plugins/web/renderer.py, |
928 |
|
tools/formed/formed/io/document.py, |
929 |
|
tools/formed/formed/main.py: Removed support for switch nodes. |
930 |
|
BEWARE: This breaks compatibility with older documents! |
931 |
|
|
932 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
933 |
|
|
934 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the |
935 |
|
getSelectedMode() from main now. |
936 |
|
|
937 |
|
* tools/formed/formed/main.py: selected mode is now hold |
938 |
|
in main. |
939 |
|
|
940 |
|
* tools/formed/formed/config.py: removed selected mode from |
941 |
|
env configuration. |
942 |
|
|
943 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
944 |
|
|
945 |
|
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
946 |
|
table are now alphabetically sorted. |
947 |
|
|
948 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
949 |
|
|
950 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to |
951 |
|
establish the new 'modes' recursively. |
952 |
|
|
953 |
|
* tools/formed/formed/plugins/plugin.py: Pass main instead |
954 |
|
of cfg on plug-in start-up. |
955 |
|
|
956 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new |
957 |
|
'modes' attribute for rendering. |
958 |
|
|
959 |
|
* tools/formed/formed/plugins/web/renderer.py: Use decorators |
960 |
|
to check the new modes. |
961 |
|
|
962 |
|
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
963 |
|
|
964 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
965 |
|
|
966 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
967 |
|
attribute 'modes' to NodeComponents. |
968 |
|
|
969 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
970 |
|
|
971 |
|
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
972 |
|
|
973 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
974 |
|
|
975 |
|
* tools/formed/formed/plugins/web/renderer.py: Another fix |
976 |
|
for the hidden field. Argh! |
977 |
|
|
978 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
979 |
|
|
980 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
981 |
|
generation of hidden page field. |
982 |
|
|
983 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
984 |
|
|
985 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
986 |
|
checks for radio groups. |
987 |
|
|
988 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
989 |
|
|
990 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
991 |
|
checks for choices. |
992 |
|
|
993 |
|
2007-08-21 Frank Koormann <[email protected]> |
994 |
|
|
995 |
|
* contrib/convert-formedtree2html.xsl: Display switch nodes as |
996 |
|
alternatives. |
997 |
|
|
998 |
|
2007-08-21 Frank Koormann <[email protected]> |
999 |
|
|
1000 |
|
* contrib/convert-formedtree2html.xsl: |
1001 |
|
Replace technical types with readable descriptions |
1002 |
|
|
1003 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
1004 |
|
|
1005 |
|
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
1006 |
|
issues. 'action' looks for all widgets on a page now, goes |
1007 |
|
through all passed parameters, tries to match them with the |
1008 |
|
widgets of the page and put them into the semantic box. |
1009 |
|
Afterwards a list of untouched page parameters are left |
1010 |
|
which will be deleted from the semantic box. |
1011 |
|
|
1012 |
|
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
1013 |
|
The NodeComponent is passed as an argument now. |
1014 |
|
|
1015 |
|
* tools/formed/formed/plugins/web/renderer.py: Generate a |
1016 |
|
hidden field to store the name of the page. |
1017 |
|
|
1018 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
1019 |
|
|
1020 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
1021 |
|
issue with incoming UTF-8 data. |
1022 |
|
|
1023 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
1024 |
|
|
1025 |
|
* tools/formed/test-data/simple.xml: Improve test for widgets |
1026 |
|
in switches. |
1027 |
|
|
1028 |
|
* tools/formed/formed/model/data.py: Added a method to find all |
1029 |
|
widgets in a given page. Fixed a bug when walking in switch |
1030 |
|
with a given mode. |
1031 |
|
|
1032 |
|
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
1033 |
|
listing all widgets in page. |
1034 |
|
|
1035 |
|
2007-08-21 Torsten Irlaender <[email protected]> |
1036 |
|
|
1037 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
1038 |
|
latin-1 |
1039 |
|
|
1040 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
1041 |
|
|
1042 |
|
* tools/formed/formed/model/data.py: Added mode parameter to |
1043 |
|
walk. |
1044 |
|
|
1045 |
|
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
1046 |
|
walk() with usage of the new mode parameter. Added a method to |
1047 |
|
give children in a given mode. |
1048 |
|
|
1049 |
|
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
1050 |
|
new Switch.childrenInMode() method. |
1051 |
|
|
1052 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
1053 |
|
|
1054 |
|
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
1055 |
|
texts and text areas. |
1056 |
|
|
1057 |
|
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
1058 |
|
to UTF-8 in generated form. |
1059 |
|
|
1060 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
1061 |
|
|
1062 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
1063 |
|
tests for dates. |
1064 |
|
|
1065 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
1066 |
|
|
1067 |
|
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
1068 |
|
range test. |
1069 |
|
|
1070 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
1071 |
|
to find a tree item for a given name. |
1072 |
|
|
1073 |
|
* tools/formed/formed/plugins/web/semantic.py: New: Box for |
1074 |
|
semantic checking. Has check for integers. |
1075 |
|
|
1076 |
|
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
1077 |
|
check. |
1078 |
|
|
1079 |
|
2007-08-20 Torsten Irlaender <[email protected]> |
1080 |
|
|
1081 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
1082 |
|
selection-field generation (Removed quote) |
1083 |
|
|
1084 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
1085 |
|
|
1086 |
|
* tools/formed/formed/plugins/web/plugin.py, |
1087 |
|
tools/formed/formed/plugins/web/renderer.py: Added a |
1088 |
|
simple cookie based session management to the HTML |
1089 |
|
renderer. This submit parameters are stored in the |
1090 |
|
session now. This will ease testing the constraint |
1091 |
|
tests which need to be written soon. |
1092 |
|
|
1093 |
|
BEWARE: The session management is _not_ made for production! |
1094 |
|
Denial of service attacks are too easy, and the |
1095 |
|
cryptographical strength of the session id is doubtful. |
1096 |
|
|
1097 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
1098 |
|
|
1099 |
|
* tools/formed/formed/plugins/web/renderer.py: Escaping text |
1100 |
|
coming from the document tree now when inserting it into the |
1101 |
|
HTML output. |
1102 |
|
|
1103 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
1104 |
|
|
1105 |
|
* tools/formed/formed/plugins/plugin.py: Added a new kind |
1106 |
|
of plug-in: Filter. They have a short and a long description |
1107 |
|
and can be hooked automatically into the new 'Filters' |
1108 |
|
sub menu under 'Extra'. They got called when the user |
1109 |
|
selects their respective menu item. |
1110 |
|
|
1111 |
|
* tools/formed/formed/config.py: Contains the list of |
1112 |
|
installed filters. |
1113 |
|
|
1114 |
|
* tools/formed/formed/main.py: Builds the Extra->Filters |
1115 |
|
sub menu during gui initialization. The hard wired code |
1116 |
|
for make unique and formular name/description -> name |
1117 |
|
is removed because they are implemented as filters now. |
1118 |
|
|
1119 |
|
* tools/formed/formed/model/nodecomponents.py, |
1120 |
|
tools/formed/formed/model/data.py: Removed the make |
1121 |
|
unique and formular name/description -> name code. |
1122 |
|
|
1123 |
|
* tools/formed/formed/plugins/names, |
1124 |
|
tools/formed/formed/plugins/names/__init__.py, |
1125 |
|
tools/formed/formed/plugins/names/filter.py: Added. Contains |
1126 |
|
the make unique and formular name/description -> name code |
1127 |
|
in form of filters. |
1128 |
|
|
1129 |
|
* tools/formed/test-data/simple.xml: Modified to be a better |
1130 |
|
test for the formular name/description -> name filter. |
1131 |
|
|
1132 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
1133 |
|
|
1134 |
|
* tools/formed/formed.py, tools/formed/formed/main.py: First |
1135 |
|
command line argument is interpreted as filename of document |
1136 |
|
to be loaded at program startup. |
1137 |
|
|
1138 |
|
2007-08-17 Frank Koormann <[email protected]> |
1139 |
|
|
1140 |
|
* contrib/convert-formedtree2html.xsl: |
1141 |
|
Heading level depending on depth of group node. |
1142 |
|
In case of radio/choice/check only list of options. |
1143 |
|
|
1144 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
1145 |
|
|
1146 |
|
* contrib/convert-formedtree2html.xsl: Output is now generated with |
1147 |
|
HTML doc-string and charset information in the meta-header. |
1148 |
|
|
1149 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
1150 |
|
|
1151 |
|
* contrib/convert-formedtree2html.xsl: Added small script for |
1152 |
|
exporting the formed tree to html |
1153 |
|
|
1154 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
1155 |
|
|
1156 |
|
* tools/formed/model/nodecomponents.py: Added function to rename |
1157 |
|
the set the name of the node to the formularname. The formularname |
1158 |
|
gets shorten to <=64 by removing vowels and is stored lowercase. |
1159 |
|
If the name is not unique and additional id value is appended. |
1160 |
|
|
1161 |
|
* tools/formed/formed/model/data.py: Overwritten renaming-function for |
1162 |
|
bool-leafs |
1163 |
|
|
1164 |
|
* tools/formed/formed/main.py: Added menuitem for renaming the names |
1165 |
|
of the element |
1166 |
|
|
1167 |
|
2007-08-16 Sascha L. Teichmann <[email protected]> |
1168 |
|
|
1169 |
|
* tools/formed/formed/main.py: Swaped order of |
1170 |
|
'Make names unique' and 'Selected mode...' in Extra |
1171 |
|
menu and put a separator between them. |
1172 |
|
|
1173 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
1174 |
|
|
1175 |
|
* tools/formed/formed/model/data.py: SwitchNodes can add |
1176 |
|
their modes to a given set now. |
1177 |
|
|
1178 |
|
* tools/formed/formed/plugins/plugin.py: Simplified |
1179 |
|
the plug-in interface. Only the reference to the |
1180 |
|
global configuration is passed at setup time. |
1181 |
|
|
1182 |
|
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
1183 |
|
to new plug-in setup. The traveral mode is now taken |
1184 |
|
from the global configuration each time a rendering |
1185 |
|
is triggered. The FORMED parameter is now named |
1186 |
|
'doc.mode' instead of 'web.mode'. The parameter |
1187 |
|
is not needed any more because it can be configured |
1188 |
|
at runtime. |
1189 |
|
|
1190 |
|
* tools/formed/formed/main.py: Adjusted to new plugin |
1191 |
|
setup. Added a new menu item Extra->Select Mode... |
1192 |
|
to select the traversal mode. It is stored in the |
1193 |
|
global config. |
1194 |
|
|
1195 |
|
* tools/formed/formed/config.py: Simplified. Only uses |
1196 |
|
one env dictionary to store global configuration parameters. |
1197 |
|
|
1198 |
|
* tools/formed/formed/ui/controls.py: Add a control to |
1199 |
|
select one item from a list of given strings. |
1200 |
|
|
1201 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
1202 |
|
|
1203 |
|
* tools/formed/formed/plugins/web/plugin.py, |
1204 |
|
tools/formed/formed/plugins/web/renderer.py: Added parameter |
1205 |
|
print out in web plugin. |
1206 |
|
|
1207 |
|
2007-08-15 Torsten Irlaender <[email protected]> |
1208 |
|
|
1209 |
|
* contrib/convert-formedtree2csv.xsl: Added small script for |
1210 |
|
exporting the formed tree to csv |
1211 |
|
|
1212 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
1213 |
|
|
1214 |
|
* tools/formed/formed/model/data.py, |
1215 |
|
tools/formed/formed/model/nodecomponents.py, |
1216 |
|
tools/formed/formed/io/document.py: Added a 'switch' node. |
1217 |
|
|
1218 |
|
* tools/formed/formed/plugins/web/renderer.py:Render the |
1219 |
|
new 'switch' node. |
1220 |
|
|
1221 |
|
* tools/formed/formed/plugins/web/plugin.py, |
1222 |
|
tools/formed/formed/config.py: Added a 'web.mode' parameter |
1223 |
|
to FORMED environment variable. |
1224 |
|
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
1225 |
|
Defaults to 'default'. |
1226 |
|
|
1227 |
|
* tools/formed/test-data/simple.xml: Added test for switch. |
1228 |
|
|
1229 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
1230 |
|
|
1231 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
1232 |
|
attribute 'formularname' to base class of node components. |
1233 |
|
|
1234 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
1235 |
|
|
1236 |
|
* tools/formed/formed/io/document.py, |
1237 |
|
tools/formed/formed/model/data.py, |
1238 |
|
tools/formed/formed/model/nodecomponents.py: Added an item |
1239 |
|
to model external item lists. |
1240 |
|
|
1241 |
|
* tools/formed/formed/plugins/web/renderer.py: Render new item |
1242 |
|
list. |
1243 |
|
* tools/formed/formed/main.py: Added a forgotten 'self.' |
1244 |
|
|
1245 |
|
* contrib/extract-xfa-items.sh: Modified to generate |
1246 |
|
documents to be loadable from new item lists |
1247 |
|
|
1248 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
1249 |
|
|
1250 |
|
* tools/formed/formed/main.py: Fixed typo |
1251 |
|
|
1252 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
1253 |
|
|
1254 |
|
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
1255 |
|
choice item lists for a given field from XFA files. e.g. with |
1256 |
|
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
1257 |
|
|
1258 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
1259 |
|
|
1260 |
|
* tools/formed/formed/model/data.py, |
1261 |
|
tools/formed/formed/plugins/web/renderer.py, |
1262 |
|
tools/formed/formed/io/document.py: Changed the structure |
1263 |
|
of choice constructs. The idea to hold the different items |
1264 |
|
of a particular choice in a semicolon separated list was bad. |
1265 |
|
Now choices are groups and the option items are modelled as |
1266 |
|
embedded bools. (mainly Torsten Irländer's idea). |
1267 |
|
|
1268 |
|
WARNING: this makes old document files containing choices incompatible!!! |
1269 |
|
Use the following XSLT to reestablish compatibility. |
1270 |
|
|
1271 |
|
* contrib/itemize-choices.xsl: New converts old to new structure. |
1272 |
|
Needs exslt.org's string extensions (which xsltproc includes) |
1273 |
|
|
1274 |
|
* tools/formed/test-data/simple.xml: Ajusted to new structure |
1275 |
|
|
1276 |
|
* tools/formed/formed/plugins/web/plugin.py: remove debug output |
1277 |
|
|
1278 |
|
* tools/formed/formed/model/nodecomponents.py: fixed a small bug in |
1279 |
|
node finding code. It now uses the walk() generator, too. |
1280 |
|
|
1281 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
1282 |
|
|
1283 |
|
* tools/formed/formed/main.py: Added a clone item on the toolbar which |
1284 |
|
copies the currently selected item and appends it after the selection. |
1285 |
|
|
1286 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
1287 |
|
of the tree. |
1288 |
|
|
1289 |
|
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
1290 |
|
|
1291 |
|
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
1292 |
|
forgot a 'self.' prefix. |
1293 |
|
|
1294 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
1295 |
|
|
1296 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method to append |
1297 |
|
a second document to the current. |
1298 |
|
|
1299 |
|
* tools/formed/formed/main.py: Added an 'Import' file menu item to load |
1300 |
|
a second document to be appended to the current. |
1301 |
|
|
1302 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
1303 |
|
|
1304 |
|
* tools/formed/formed/main.py: Added a 'New' item in file menu which creates |
1305 |
|
a new document when triggered. |
1306 |
|
|
1307 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
1308 |
|
|
1309 |
|
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
1310 |
|
items in the document tree. Added a method to eliminated duplicated names |
1311 |
|
in document tree. |
1312 |
|
|
1313 |
|
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
1314 |
|
after names collisions are eliminated. |
1315 |
|
|
1316 |
|
* tools/formed/formed/main.py: Added an 'Extra' menu with item |
1317 |
|
'Make names unique'. |
1318 |
|
|
1319 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
1320 |
|
|
1321 |
|
* tools/formed/formed/model/data.py, |
1322 |
|
tools/formed/formed/plugins/web/renderer.py: Removed support |
1323 |
|
for 'text' attributes in bool items. They were never really |
1324 |
|
used and the 'description' attributes fulfill the same |
1325 |
|
purpose. |
1326 |
|
|
1327 |
|
* contrib/remove-bool-text.xsl: Transform to remove the |
1328 |
|
'text' attributes from bool items. Apply with: |
1329 |
|
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
1330 |
|
|
1331 |
|
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
1332 |
|
from bool items. |
1333 |
|
|
1334 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
1335 |
|
|
1336 |
|
* contrib/convert-choices.xsl: Simpified. |
1337 |
|
|
1338 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
1339 |
|
|
1340 |
|
* tools/formed/formed/model/data.py: Removed 'options' attribute |
1341 |
|
from ChoiceLeaf. Use 'value' instead, please! |
1342 |
|
|
1343 |
|
* tools/formed/formed/plugins/web/renderer.py: use 'value' attribute |
1344 |
|
instead of 'options' to render choices. |
1345 |
|
|
1346 |
|
* contrib/convert-choices.xsl: Added to convert document files |
1347 |
|
which use the choice 'option' attribute to usage of 'value'. |
1348 |
|
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
1349 |
|
|
1350 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
1351 |
|
|
1352 |
|
* tools/formed/formed/plugins/web/renderer.py: radio buttons |
1353 |
|
are selected by 'checked' and not by 'selected'. Fixed. |
1354 |
|
|
1355 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
1356 |
|
|
1357 |
|
* tools/formed/formed/model/data.py: ChoiceLeafs are now |
1358 |
|
initialized with size = 1. |
1359 |
|
|
1360 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
1361 |
|
|
1362 |
|
* tools/formed/formed/model/data.py: TextLeafs are now |
1363 |
|
initialized with size = 40, maxlength = 60 |
1364 |
|
|
1365 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
1366 |
|
|
1367 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed: choices |
1368 |
|
are renderered with description now. |
1369 |
|
|
1370 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
1371 |
|
|
1372 |
|
* tools/formed/formed/plugins/web/renderer.py: Added rendering |
1373 |
|
for date items. Added missing ids for texts and textareas. |
1374 |
|
|
1375 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
1376 |
|
|
1377 |
|
* tools/formed/formed/config.py: Evaluate the environment |
1378 |
|
variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' |
1379 |
|
|
1380 |
|
* tools/formed/formed/plugins/plugin.py: Give a reference |
1381 |
|
to the config at setup time. |
1382 |
|
|
1383 |
|
* tools/formed/formed/plugins/web/plugin.py: To determine |
1384 |
|
the port look at FORMED dictionary first. Key is 'web.port'. |
1385 |
|
e.g. FORMED='web.port:8888' |
1386 |
|
|
1387 |
|
* tools/formed/formed/main.py: Call the plugin setup with |
1388 |
|
the reference to the config. |
1389 |
|
|
1390 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
1391 |
|
|
1392 |
|
* tools/formed/test-data/simple.xml: removed 'text' attributes from |
1393 |
|
info tags. Use the 'value' attributes for same purpose now, please! |
1394 |
|
|
1395 |
|
* tools/formed/formed/model/data.py: removed text attributes from |
1396 |
|
InfoLeaf. |
1397 |
|
|
1398 |
|
* tools/formed/formed/plugins/web/renderer.py: Rendering of info |
1399 |
|
now uses the 'value' instead of the 'text' attributes. |
1400 |
|
|
1401 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
1402 |
|
|
1403 |
|
* tools/formed/formed/model/data.py: next/prevPage() are |
1404 |
|
methods of PageNode now. |
1405 |
|
|
1406 |
|
* tools/formed/formed/model/nodecomponents.py: findByClassAndName() |
1407 |
|
is method of Document now. |
1408 |
|
|
1409 |
|
* tools/formed/formed/plugins/web/plugin.py: Factored out |
1410 |
|
the HTML renderer. |
1411 |
|
|
1412 |
|
* tools/formed/formed/plugins/web/renderer.py: New: contains |
1413 |
|
the HTML renderer now. |
1414 |
|
|
1415 |
|
* tools/formed/test-data/simple.xml: Fixed typo |
1416 |
|
|
1417 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
1418 |
|
|
1419 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed a bug |
1420 |
|
in calculation of width of bounded int fields. |
1421 |
|
|
1422 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
1423 |
|
|
1424 |
|
* tools/formed/test-data/simple.xml: Make demo Int fancier. |
1425 |
|
|
1426 |
|
* tools/formed/formed/model/data.py: Added attributes to IntLeaf |
1427 |
|
|
1428 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering for |
1429 |
|
Ints |
1430 |
|
|
1431 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
1432 |
|
|
1433 |
|
* tools/formed/test-data/simple.xml: Added demo textarea |
1434 |
|
|
1435 |
|
* tools/formed/formed/model/data.py: Added TextAreaLeaf |
1436 |
|
|
1437 |
|
* tools/formed/formed/io/document.py: register builder |
1438 |
|
for loading of textareas |
1439 |
|
|
1440 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
1441 |
|
for textareas. |
1442 |
|
|
1443 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
1444 |
|
|
1445 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
1446 |
|
|
1447 |
|
* tools/formed/formed/model/data.py: Added attributes for texts |
1448 |
|
|
1449 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
1450 |
|
for texts |
1451 |
|
|
1452 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
1453 |
|
|
1454 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
1455 |
|
|
1456 |
|
* tools/formed/formed/model/data.py: Added attributes for choices. |
1457 |
|
|
1458 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
1459 |
|
for choices |
1460 |
|
|
1461 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
1462 |
|
|
1463 |
|
* tools/formed/formed/model/data.py, |
1464 |
|
tools/formed/formed/model/nodecomponents.py: Added new |
1465 |
|
attributes. |
1466 |
|
|
1467 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
1468 |
|
for checkboxes and radio buttons. |
1469 |
|
|
1470 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
1471 |
|
|
1472 |
|
* tools/formed/test-data/simple.xml: Added some descriptions |
1473 |
|
|
1474 |
|
* tools/formed/formed/model/data.py: set attributes in constructors |
1475 |
|
directly. |
1476 |
|
|
1477 |
|
* tools/formed/formed/model/nodecomponents.py: Added description |
1478 |
|
attribute in the NodeComponent base class. |
1479 |
|
|
1480 |
|
* tools/formed/formed/plugins/web/plugin.py: Render description |
1481 |
|
as legend in fieldset for GroupNodes. |
1482 |
|
|
1483 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
2007-08-08 Sascha L. Teichmann <[email protected]> |
1484 |
|
|
1485 |
* tools/formed/formed/plugins/web/plugin.py: make UTF-8 |
* tools/formed/formed/plugins/web/plugin.py: make UTF-8 |
1491 |
|
|
1492 |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
1493 |
version of a recursive HTML renderer based on the document |
version of a recursive HTML renderer based on the document |
1494 |
tree. |
tree. |
1495 |
|
|
1496 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
2007-08-08 Sascha L. Teichmann <[email protected]> |
1497 |
|
|
1520 |
|
|
1521 |
* tools/formed/formed/main.py: Added event route document -> |
* tools/formed/formed/main.py: Added event route document -> |
1522 |
attribute table to get informed when selected item is delete |
attribute table to get informed when selected item is delete |
1523 |
or an attribute is changed from the outside. |
or an attribute is changed from the outside. |
1524 |
|
|
1525 |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
1526 |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
1527 |
of 3 argument. Uses icons+tooltips for tree navigation now. |
of 3 argument. Uses icons+tooltips for tree navigation now. |
1528 |
|
|
1529 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
2007-08-07 Sascha L. Teichmann <[email protected]> |
1530 |
|
|
1572 |
|
|
1573 |
* tools/formed/formed/ui/controls.py: Establish sort order |
* tools/formed/formed/ui/controls.py: Establish sort order |
1574 |
by indices of children in parent instead of alphanum. |
by indices of children in parent instead of alphanum. |
1575 |
Code to move items up and down the document tree. |
Code to move items up and down the document tree. |
1576 |
|
|
1577 |
* tools/formed/formed/io/document.py: Added missing imports. |
* tools/formed/formed/io/document.py: Added missing imports. |
1578 |
|
|
1585 |
|
|
1586 |
* tools/formed/formed/main.py, |
* tools/formed/formed/main.py, |
1587 |
tools/formed/formed/ui/controls.py: Added control to |
tools/formed/formed/ui/controls.py: Added control to |
1588 |
move items around in tree. Has no effect by now. |
move items around in tree. Has no effect by now. |
1589 |
|
|
1590 |
2007-08-05 Sascha L. Teichmann <[email protected]> |
2007-08-05 Sascha L. Teichmann <[email protected]> |
1591 |
|
|
1601 |
|
|
1602 |
* tools/formed/*: initial check-in of the Formular Editor. |
* tools/formed/*: initial check-in of the Formular Editor. |
1603 |
Not working yet. Only can load, view and store formular XML files. |
Not working yet. Only can load, view and store formular XML files. |
1604 |
Start it with 'tools/formed/formed.sh'. |
Start it with 'tools/formed/formed.sh'. |