/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26