/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26