/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26