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