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