/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26