/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26