/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26