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