/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 110 by torsten, Wed Aug 29 16:40:50 2007 UTC revision 191 by torsten, Tue Sep 25 17:00:50 2007 UTC
# Line 1  Line 1 
1  2007-08-28 Torsten Irlaender <[email protected]>  2007-09-25      Torsten Irlaender <[email protected]>
2            * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
3              cleanup of the form generation code.
4    
5    2007-09-21      Sascha L. Teichmann <[email protected]>
6    
7            * tools/formed/formed/plugins/export/sql.py: Added generation time
8              and DROP TABLE statements to schema export.
9    
10    2007-09-20      Sascha L. Teichmann <[email protected]>
11    
12            * tools/formed/formed/plugins/export/sql.py: The tables are generated
13              in correct topolocial order now.
14    
15    2007-09-20      Sascha L. Teichmann <[email protected]>
16    
17            * tools/formed/formed/plugins/export/mode.py: New. Filter to export
18              a document with items that are in given mode.
19    
20            * tools/formed/formed/model/nodecomponents.py: Added methods to clone
21              trees depending on selected modes.
22    
23            * tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py:
24              Fixed clone issue with RuleNodes.
25    
26            * tools/formed/formed/config.py: Use new plug-in.
27    
28    2007-09-17      Sascha L. Teichmann <[email protected]>
29    
30            * tools/formed/formed/plugins/web/view_renderer.py: Make the
31              view renderer a real view renderer. It takes a list of
32              items now and not only a single page.
33    
34            * tools/formed/formed/plugins/web/renderer.py: Feed a list
35              of items to the view renderer.
36    
37    2007-09-17      Torsten Irlaender <[email protected]>
38    
39            * tools/formed/formed/plugins/web/view_renderer.py:
40              Small tweaks in rendering bools.
41              RadioNodes (with all its children) can now be placed in a container.
42              The radiobools will not get a surrounding <div> anymore.
43              I am not sure if the new way results in the wanted behaivor, but the
44              rendering results are much better now :)
45              Maybe we need a similar approach for checkboxes?
46              Rendering groups is still broken in some way.
47    
48    2007-09-17      Sascha L. Teichmann <[email protected]>
49    
50            * tools/formed/formed/plugins/web/view_renderer.py: Fixed
51              a few bugs: Do not render empty containers, do not
52              generate misplaced <br class="newline"> in choices.
53              Add a nameless container to catch the items that are
54              nor explicitly assigned to a target. Removed FormData.
55    
56            * tools/formed/formed/plugins/web/renderer.py: Removed
57              a needless import
58    
59    2007-09-17      Sascha L. Teichmann <[email protected]>
60    
61            * tools/formed/formed/plugins/web/view_renderer.py: Implemented
62              usage of 'containers' and 'target' attributes.
63    
64            * tools/formed/formed/plugins/web/controllers.py: Modified import.
65    
66            * tools/formed/formed/plugins/web/renderer.py: Use
67              new ViewRenderer.
68    
69    2007-09-17      Sascha L. Teichmann <[email protected]>
70    
71            * tools/formed/formed/model/nodecomponents.py: Added attributes
72              'target' to NodeComponent and 'containers' to Node.
73    
74            * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
75              to be a replacement for form_renderer. Not ready yet!
76    
77            * ChangeLog: Fixed some indention glitches.
78    
79    2007-09-13      Torsten Irlaender <[email protected]>
80    
81            * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
82              renaming algorithm.
83    
84    2007-09-12      Torsten Irlaender <[email protected]>
85    
86            * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
87              from formular navigation to "Fallakte Inhalt"
88    
89    2007-09-12      Torsten Irlaender <[email protected]>
90    
91            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
92              values (dates)  were not pretty printed.
93    
94            * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
95              label rendering for choicelists.
96    
97    2007-09-12      Torsten Irlaender <[email protected]>
98    
99            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
100              choicelist did not get selected when the value is set to "0"
101    
102    2007-09-12      Torsten Irlaender <[email protected]>
103    
104            * tools/formed/formed/plugins/web/form_renderer.py: Added
105              "getPrintableData" method, for the formdata Class which will return
106              the description rather than the value of element in the ID. This is
107              need for displaying the choises in a right way.
108            
109            * tools/formed/formed/plugins/web/renderer.py: Changed string
110              "Fallnummer" into "Kundennummer" in the templates. Added
111              Kundennummer to the dataset digest output. Bound in the new
112              "getPrintableData" call for the digest.
113    
114    2007-10-11      Sascha L. Teichmann <[email protected]>
115    
116            * tools/formed/formed/plugins/export/data.py: The import/export
117              of data is now implemented with filters (the most consequent
118              way in terms of design of FormEd). The support of the 'persistent'
119              FORMED env-variable support has been removed.
120    
121            * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
122              filter file dialog to double as import dialog.
123    
124            * tools/formed/formed/main.py: Removed the the FORMED-var support
125              for persistence.
126            
127            * tools/formed/formed/config.py: Add the two new filters to the filters
128              list.
129    
130    2007-10-11      Sascha L. Teichmann <[email protected]>
131    
132            * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
133              Removed pickle/unpickle stuff.
134    
135            * tools/formed/formed/main.py: Uses the new XML persistence.
136    
137            * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
138              not converted to int indices.
139    
140    2007-09-11      Sascha L. Teichmann <[email protected]>
141    
142            * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
143              with pickle/unpickle.
144    
145            * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
146              Set to a file name it is tried to unpickle a MemoryDataStore from
147              that file. When exiting the program this file is used to store the
148              current MemoryDataStore state. The storing only works if you exit
149              the program through the Menu File->Exit.
150              usage: FORMED=persistent:test.db ./formed.sh
151    
152    2007-09-11      Torsten Irlaender <[email protected]>
153    
154            * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
155              application on the welcome page from "Formed" to "WASKA"
156    
157    2007-09-11      Torsten Irlaender <[email protected]>
158    
159            * tools/formed/formed/plugins/web/plugin.py,
160            * tools/formed/formed/plugins/web/controllers.py,
161            * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
162              The infopage provides information on all project participants.
163    
164    2007-09-11      Sascha L. Teichmann <[email protected]>
165    
166            * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
167              issues with error messages (once again).
168    
169    2007-09-11      Torsten Irlaender <[email protected]>
170    
171            * tools/formed/formed/plugins/web/form_renderer.py,
172            * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
173              icons in error and confirmation dialogs.
174    
175    2007-09-11      Sascha L. Teichmann <[email protected]>
176    
177            * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
178              generation for ints, texts and textareas. Fixed h depths of infos.
179    
180    2007-09-11      Sascha L. Teichmann <[email protected]>
181    
182            * tools/formed/formed/plugins/web/form_renderer.py: Removed
183              debug output for help.
184    
185            * tools/formed/formed/plugins/web/semantic.py: Added forgotten
186              check for bools.
187    
188            * tools/formed/formed/plugins/web/controllers.py:  Added correct
189              HTML output of data for bools.
190    
191    2007-09-11      Torsten Irlaender <[email protected]>
192    
193            * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
194              textfields for int values. Changed Label for submitbuttons to
195              "Speichern"
196    
197            * tools/formed/formed/plugins/web/plugin.py,
198              tools/formed/formed/plugins/web/controllers.py: Added new
199              NotImplementedHandler to show up a dummysite for not implemented
200              functions.
201    
202            * tools/formed/formed/plugins/web/renderer.py: Added
203              NotImplementedRenderer. Various small fixes. Mostly renaming the
204              labels of some context menus. Error messages are now generated
205              dynamically depending on num errors. Formular navigation has now
206              colored indication for errors.
207    
208    2007-09-11      Torsten Irlaender <[email protected]>
209    
210            * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
211              algorithm for the formular navigation to get rid of the problem
212              that some of the items within the navigation are not linked.  Now
213              structural group elements are linked with the next page found in the
214              formular structure.
215    
216    2007-09-10      Torsten Irlaender <[email protected]>
217            * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
218              div and formtag.
219    
220            * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
221              menu in the conformation dialog when creating a new dataset.
222    
223            * tools/formed/formed/plugins/web/renderer.py: Fixed error when
224              rendering the default welcome page. Changed rendering of the
225              overview and the digest table of the datasets. Added icon for
226              confirmation dialog, moved the icon in the <h1> tags.  
227    
228    2007-09-10      Torsten Irlaender <[email protected]>
229    
230            * tools/formed/formed/plugins/web/form_renderer.py: Some html
231              generation cleanup. Added error icons to formelements
232    
233            * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
234              of ErrorStatus. Fixed generated of the help tags in the formular
235    
236            * tools/formed/formed/plugins/web/renderer.py: Added error icon for
237              pageerrors. An "!" now indicates errors on pages in the formular
238              navigation. Added new <div> "content" around confirmation dialogss.
239              Links in confimation dialogs are now rendered as buttons. Removed
240              old obsolete OverviewRenderer.
241    
242    2007-09-10      Sascha L. Teichmann <[email protected]>
243    
244            * tools/formed/formed/plugins/web/renderer.py: Highlight selected
245              page in page navigation.
246    
247    2007-09-10      Torsten Irlaender <[email protected]>
248    
249            * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
250              displaying formdata when changing datasets. Loading the right
251              formdata was not handled in a correct way. Hope it is all fixed now.
252              Left some commented code because not all sideeffects of the changes
253              are tested yet.
254    
255            * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
256              now uses the correct data out of the formdata.
257    
258    2007-09-10      Sascha L. Teichmann <[email protected]>
259    
260            * tools/formed/formed/plugins/web/controllers.py: Pretty
261              print format data (dates e.g)
262    
263    2007-09-10      Sascha L. Teichmann <[email protected]>
264    
265            * tools/formed/formed/plugins/web/controllers.py: Modified
266              ErrorStats a bit to avoid mysterious extra error on page.
267              No clue why this works.
268    
269    2007-09-10      Sascha L. Teichmann <[email protected]>
270    
271            * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
272              problem with radio groups, too.
273    
274    2007-09-10      Torsten Irlaender <[email protected]>
275            * tools/formed/formed/plugins/web/controllers.py: Sessions are now
276              really removed when deleting a dataset.
277            
278    2007-09-10      Torsten Irlaender <[email protected]>
279    
280            * tools/formed/formed/plugins/web/controllers.py: Added new Class
281              ErrorStats which provides Information on remaining errors per page.
282    
283            * tools/formed/formed/plugins/web/renderers.py: Finished movement of
284              the renderer methods from controllers.py to renderers.py.
285    
286            * tools/formed/formed/plugins/web/plugin.py: Removed render_session
287              handlers
288    
289    2007-09-10      Sascha L. Teichmann <[email protected]>
290    
291            * tools/formed/formed/plugins/web/form_renderer.py: values for
292              choices are generated from the document tree now. This brings
293              the state storage of select boxes in HTML to live.
294    
295    2007-09-09      Sascha L. Teichmann <[email protected]>
296    
297            * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
298              range checking of integers.
299    
300            * tools/formed/formed/plugins/web/controllers.py: Added class
301              ErrorItem to track errors. They are stored in the session.
302    
303    2007-09-09      Sascha L. Teichmann <[email protected]>
304    
305            * tools/formed/formed/model/nodecomponents.py: Fixed returning
306              wrong index in Document.indexOfcomponentByClassAndName.
307    
308            * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
309              written 'errot' in renderer for textareas.
310    
311            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
312    
313    2007-09-09      Sascha L. Teichmann <[email protected]>
314    
315            * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
316              method. Could be cheaper for some implementations of help.
317    
318            * tools/formed/formed/plugins/web/form_renderer.py: Modified
319              FormData to have distinct getData(), getHelp() and getError()
320              methods. Various bug fixes.
321    
322            * tools/formed/formed/plugins/web/controllers.py: Implements the
323              new FormData (trivial by now).
324    
325            * tools/formed/formed/plugins/web/renderer.py: New FormData and
326              some bug fixes.
327    
328    2007-09-09      Sascha L. Teichmann <[email protected]>
329    
330            * tools/formed/formed/model/memory.py,
331              tools/formed/formed/model/persistent.py: Add a getValue() method
332              to dataset abstraction. This is a bit of a workaround to bring
333              global access across pages for rule checking to work.
334    
335            * tools/formed/formed/model/data.py: Fixed: When setting a new expression
336              the compiled version was not stored in the RuleLeaf.
337    
338            * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
339              convert the expression string to ascii for compilation.
340    
341            * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
342              valid data is stored to the dataset immediately now. Fixed a bug
343              with integer handler.
344    
345            * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
346              stuff. When a submit is done extract the rules from the tree document
347              that are effected by the modified variables and check them.
348    
349            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
350              when dealing with templates.
351    
352    2007-09-07      Torsten Irlaender <[email protected]>
353            * tools/formed/formed/plugins/web/controllers.py,
354              tools/formed/formed/plugins/web/renderer.py: Moved more render
355              functions into renderer.py. New render classes are:
356              DataSetDigestRenderer, DataSetNavigationRenderer,
357              DataSetFormularRenderer, ConfirmationDialogRenderer
358    
359              Note: The new methods are only called from selected handlers. Other
360              handlers call the renderes in the old way.
361    
362    2007-09-07      Torsten Irlaender <[email protected]>
363            * tools/formed/formed/plugins/web/form_renderer.py: Renamed
364              renderer.py to form_renderer.py. This file will contain formular
365              specfic render methods in the future.
366            * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
367              which will contain general render methods.
368            * tools/formed/formed/plugins/web/controllers.py: Began to move all
369              rendering into renderer.py or form_renderer.py. This file will only
370              contain teh handlers in the future.
371    
372    2007-09-07      Torsten Irlaender <[email protected]>
373            * tools/formed/formed/plugins/web/renderer.py,
374              tools/formed/formed/plugins/web/controller.py:
375              Renderes now get an instance of the formdata object to provide
376              access the data needed to render various infoboxes etc. Handler
377              instanciate the formdata.
378            
379    2007-09-06      Torsten Irlaender <[email protected]>
380            * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
381              getFormData interface to work. Added two small semantic fixes, but
382              did not manage to get it up. Need to exime this a little bit more
383            * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
384              around the menus on the right side to be able to assign different
385              styles. Added dataset actions while editing a dataset.
386            
387    2007-09-05      Torsten Irlaender <[email protected]>
388            * tools/formed/formed/model/memory.py: Fixed deleting datasets by
389              removing unwanted del method
390            * tools/formed/formed/plugins/web/controllers.py: Implemented
391              confiration dialogs for create, delete, and select aof datasets. Started to use
392              templates as well for larger information units like the dataset summary.
393            
394    2007-09-05      Sascha L. Teichmann <[email protected]>
395    
396            * tools/formed/formed/model/nodecomponents.py: Added a
397              method to document to find index of page.
398    
399            * tools/formed/formed/plugins/web/semantic.py: Added getValue()
400              to fetch data from semantic box.
401    
402            * tools/formed/formed/plugins/web/controllers.py: Added new
403              FormData implementation to support DB and semantic box.
404    
405    2007-09-05      Sascha L. Teichmann <[email protected]>
406    
407            * tools/formed/formed/plugins/web/renderer.py: escaped
408              error message.
409    
410            * tools/formed/formed/plugins/web/controllers.py: Don't fetch
411              dataset from backend each time a page is up to edit.
412    
413    2007-09-05      Sascha L. Teichmann <[email protected]>
414    
415            * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
416              returns "Page not found" if given page is None.
417    
418            * tools/formed/formed/plugins/web/controllers.py: Added checks
419              to avoid crashing when ask for a non-existent page.
420    
421    2007-09-05      Sascha L. Teichmann <[email protected]>
422    
423            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
424    
425    2007-09-05      Sascha L. Teichmann <[email protected]>
426    
427            * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
428              and renderers.
429    
430            * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
431              and renderers now. TODO: Move renderers to renderer.py
432    
433    2007-09-05      Torsten Irlaender <[email protected]>
434    
435            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
436              and bound in the the new added functions to create, edit, delete and
437              show formdata.
438            
439    2007-09-05      Sascha L. Teichmann <[email protected]>
440    
441            * tools/formed/formed/model/memory.py: Removed bisect and use a
442              simple linear scan for dataset lookup now.
443    
444            * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
445              of different sizes.
446    
447    2007-09-05      Torsten Irlaender <[email protected]>
448    
449            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
450              fuction
451              
452            * tools/formed/formed/plugins/web/persistent.py: Added store() method
453              to the DataSet interface
454    
455            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
456              renderes for create, update, delete and show actions on formular data.
457    
458    2007-09-04      Sascha L. Teichmann <[email protected]>
459    
460            * tools/formed/formed/plugins/web/server.py: The mapping
461              to methods is now driven by regualar expressions and
462              a dictionary. Response objects are now able to send
463              error codes.
464    
465            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
466              when help in Formdata is None. Moved text for help into
467              a top level '''...''' variable.
468    
469            * tools/formed/test-data/simple.xml: Added test for help.
470    
471            * tools/formed/formed/plugins/web/help.py: extra None check.
472    
473            * tools/formed/formed/plugins/web/plugin.py: Uses the new
474              table driven mapping of reguest handling. TODO: split the
475              WebPlugIn.pageHandler() method further to smaller handlers.
476              Smaller clean ups and better exception handling.
477    
478            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
479              and do not catch them.
480    
481    2007-09-04      Torsten Irlaender <[email protected]>
482    
483            * tools/formed/formed/plugins/web/renderer.py,
484            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
485              the HelpProvider and inserted help icons to the html output.
486              Added decorator for Formelemnts, so textfields, choices etc. are now
487              within a <div> tag.
488              Modified the error messages.
489    
490    2007-09-04      Sascha L. Teichmann <[email protected]>
491    
492            * tools/formed/formed/plugins/web/cache.py: New. Implements
493              the server-side caching more clean. Fixes a bug with
494              serving static content.
495    
496            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
497    
498    2007-09-04      Sascha L. Teichmann <[email protected]>
499    
500            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
501              to "application/xhtml+xml" when serving help texts.
502    
503    2007-09-03      Sascha L. Teichmann <[email protected]>
504    
505            * tools/formed/formed/plugins/export/diff.py: New. Exports
506              pairwise differences between all modes.
507    
508            * tools/formed/formed/config.py: Use new export filter.
509    
510    2007-09-03      Sascha L. Teichmann <[email protected]>
511    
512            * tools/formed/formed/plugins/web/help.py: New. Parses an
513              XHTML document for id'ed divs and builds a help lookup.
514    
515            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
516              the help content frame.
517    
518            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
519              help text index.
520    
521            * tools/formed/formed/plugins/web/plugin.py: Serves the help
522              texts now.
523    
524    2007-09-03      Torsten Irlaender <[email protected]>
525    
526            * tools/formed/formed/plugins/web/plugin.py: Only visible group
527              elements will be rendered in the formular navigation.
528              Formular pages in the navigation now have their own css-style
529              attributes.
530    
531    2007-09-03      Torsten Irlaender <[email protected]>
532    
533            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
534              errors in template
535            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
536              pageerrors variable
537    
538    2007-09-03      Frank Koormann <[email protected]>
539    
540            * tools/formed/formed/plugins/export/html.py
541            (RecursiveExporter): Added annotation to export
542            (fillRow()): Renamed old fillNine to this more generic name.
543            
544    
545    2007-09-03      Sascha L. Teichmann <[email protected]>
546    
547            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
548              from model.misc now.
549    
550    2007-09-03      Sascha L. Teichmann <[email protected]>
551    
552            * tools/formed/formed/model/nodecomponents.py: Added an
553              'annotation' attribute to node components. This is to
554              enable FormEd document authors to add comments to groups
555              and fields.
556    
557    2007-09-03      Frank Koormann <[email protected]>
558    
559            * tools/formed/formed/model/nodecomponents.py
560            (NodeComponent.getParent): New method to get node components parent.
561    
562            * tools/formed/formed/plugins/export/html.py: Export Choice option
563            as simple list instead of collection of bools.
564    
565    2007-09-02      Sascha L. Teichmann <[email protected]>
566    
567            * tools/formed/formed/model/persistent.py: Interfaces to abstract
568              from persistent storage details.
569    
570            * tools/formed/formed/model/memory.py: In core implementation
571              of the persistent interfaces.
572    
573            * tools/formed/formed/main.py: Holds a memory data store now.
574    
575    2007-09-02      Sascha L. Teichmann <[email protected]>
576    
577            * tools/formed/formed/plugins/export/sql.py,
578              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
579              for FileDialogFilter sub classes.
580    
581    2007-09-02      Sascha L. Teichmann <[email protected]>
582    
583            * tools/formed/formed/model/misc.py: Checking the mode in recursive
584              tree traversals is a common task. To ease this a decorator function
585              checkMode in union with sub classing ModeChecker can be used.
586              To make it work simply subclass from ModeChecker and add the decorator
587              to the methods that need mode tracking. Before you start the recursion
588              call self.prepareDescent().
589    
590            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
591              now which replace the old. TODO: Make the web renderer use the new scheme
592              too.
593    
594    2007-09-02      Sascha L. Teichmann <[email protected]>
595    
596            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
597    
598            * tools/formed/formed/plugins/export/html.py: HTML table exporter
599              uses new FileDialogFilter base class too.
600    
601    2007-09-02      Sascha L. Teichmann <[email protected]>
602    
603            * tools/formed/formed/plugins/ui/*: New. All file exporters
604              need a file dialog. Till now each of them pulled up its
605              own. This was silly code replication. Now there is an abstract
606              base class 'FileDialogFilter' which implements the common
607              behavior. The file exporters should subclass it.
608    
609            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
610              exporters from the new base class. TODO: Subclass the HTML
611              exporter too.
612    
613    2007-08-31      Sascha L. Teichmann <[email protected]>
614    
615            * tools/formed/formed/plugins/export/html.py: Make mode check
616              work (again).
617    
618    2007-08-31      Torsten Irlaender <[email protected]>
619    
620            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
621              exprt works now in a recursive way. This change was needed because
622              the structure of the formedtree has changed to be able to render
623              full hirachically document stuctures. (nested lists)
624              TODO: Fix modechecking
625    
626    2007-08-31      Torsten Irlaender <[email protected]>
627    
628            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
629              now in recursive way. This change was needed because the structure
630              of the formedtree has changed to be able to render full hirachically
631              document stuctures. (nested lists)
632    
633    2007-08-31      Sascha L. Teichmann <[email protected]>
634    
635            * tools/formed/formed/model/nodecomponents.py: use discard()
636              instead of remove on sets.
637    
638            * tools/formed/formed/plugins/export/sql.py: Added an
639              exporter for table views.
640    
641            * tools/formed/formed/config.py: Added the new exporter
642              to the list of export filters.
643    
644    2007-08-30      Sascha L. Teichmann <[email protected]>
645    
646            * tools/formed/formed/model/data.py: Fixed a bug in
647              Page.allWidgets()
648    
649            * tools/formed/formed/plugins/export/sql.py: Added an exporter
650              for stored procudeures.
651    
652            * tools/formed/formed/config.py: Add the new SP exporter.
653    
654    2007-08-29      Torsten Irlaender <[email protected]>
655    
656            * tools/formed/formed/plugins/web/plugin.py,
657              tools/formed/formed/plugins/web/error_renderer.py: Added interface
658              to get the errors for a whole page in te formular. These errors can
659              now be displayed on the top of the formular.
660    
661    2007-08-29      Torsten Irlaender <[email protected]>
662    
663            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
664              of the getFromData interface and prepared the rederer for generating
665              nice error messages
666    
667    2007-08-28      Frank Koormann <[email protected]>
668    
669            * tools/formed/formed/plugins/export/sql.py
670            (SchemaCreator.createSchema, SchemaCreator._createGroup):
671            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
672    
673    2007-08-28      Torsten Irlaender <[email protected]>
674    
675          * tools/formed/formed/plugins/export/sql.py: Added small helper          * tools/formed/formed/plugins/export/sql.py: Added small helper
676            function to generated valid quotes within the sql statements            function to generated valid quotes within the sql statements
677    
678  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
679    
680          * tools/formed/formed/plugins/export/sql.py: Added foreign keys          * tools/formed/formed/plugins/export/sql.py: Added foreign keys
681            for repeat tables.            for repeat tables.
682                        
683  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
684    
685          * tools/formed/formed/plugins/export/sql.py: When generating          * tools/formed/formed/plugins/export/sql.py: When generating
686            an extra table check in a table of same content exists. In            an extra table check in a table of same content exists. In
687                  this case reference the existing table.            this case reference the existing table.
688    
689  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
690    
691          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
692            _real_ SQL and respect repeat groups.            _real_ SQL and respect repeat groups.
# Line 24  Line 696 
696          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
697            instead of expensive += string concat in some places.            instead of expensive += string concat in some places.
698    
699  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
700    
701          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
702            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
703    
704  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
705    
706          * tools/formed/plugins/web/renderer.py: Added Formdata interface.          * tools/formed/plugins/web/renderer.py: Added Formdata interface.
707          * tools/formed/model/data.py: Implements Formadata interface to          * tools/formed/model/data.py: Implements Formadata interface to
# Line 37  Line 709 
709            attribute of the groupnode. Field-label generation slightly changed.            attribute of the groupnode. Field-label generation slightly changed.
710            Added error indication to textfields            Added error indication to textfields
711    
712  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
713    
714          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
715            tools/formed/formed/io/document.py: Removed support            tools/formed/formed/io/document.py: Removed support
716                  of logical groups.            of logical groups.
717    
718  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
719    
720          * tools/formed/formed/io/document.py: Avoid saving empty          * tools/formed/formed/io/document.py: Avoid saving empty
721            attributes.            attributes.
722    
723          * tools/formed/test-data/simple.xml: Applied.          * tools/formed/test-data/simple.xml: Applied.
724    
725  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
726    
727          * tools/formed/formed/model/data.py: Added 'repeat' and          * tools/formed/formed/model/data.py: Added 'repeat' and
728            'invisible' attributes to group. TODO: remove logical group.            'invisible' attributes to group. TODO: remove logical group.
729    
730  2007-08-27 Torsten Irlaender <[email protected]>  2007-08-27      Torsten Irlaender <[email protected]>
731    
732          * tools/formed/plugins/web/plugin.py,          * tools/formed/plugins/web/plugin.py,
733            tools/formed/plugins/web/renderer.py: Started to  include stylesheet            tools/formed/plugins/web/renderer.py: Started to  include stylesheet
734            depending tags in the html generation.            depending tags in the html generation.
735    
736  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
737    
738          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
739            tools/formed/formed/io/document.py: Added a logical group.            tools/formed/formed/io/document.py: Added a logical group.
740                  It has an attribute 'repeat' to indicate that it might            It has an attribute 'repeat' to indicate that it might
741                  be worthy an external table in DB schema.            be worthy an external table in DB schema.
742    
743  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
744    
745          * tools/formed/formed/plugins/web/plugin.py: Support          * tools/formed/formed/plugins/web/plugin.py: Support
746            serving of static content.            serving of static content.
# Line 76  Line 748 
748          * tools/formed/formed/plugins/web/server.py: Removed          * tools/formed/formed/plugins/web/server.py: Removed
749            old send code.            old send code.
750    
751  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
752    
753          * tools/formed/formed/plugins/web/plugin.py: Use new          * tools/formed/formed/plugins/web/plugin.py: Use new
754            Response object. Fix typo.            Response object. Fix typo.
# Line 84  Line 756 
756          * tools/formed/formed/plugins/web/server.py: support          * tools/formed/formed/plugins/web/server.py: support
757            response object to serve different MIME types.            response object to serve different MIME types.
758    
759  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
760    
761          * tools/formed/formed/plugins/web/plugin.py: Add web.path          * tools/formed/formed/plugins/web/plugin.py: Add web.path
762            to FORMED environment  variable to specify the            to FORMED environment  variable to specify the
763                  root of the static content.            root of the static content.
764    
765  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
766    
767          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
768            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
769    
770          * tools/formed/formed/plugins/web/www,          * tools/formed/formed/plugins/web/www,
771            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
772                  a template for the HTML output.            a template for the HTML output.
773    
774          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
775            mode issues. Introduces CSS support. Simplified the action            mode issues. Introduces CSS support. Simplified the action
776                  handling.            handling.
777    
778          * tools/formed/formed/plugins/web/renderer.py: Removed the          * tools/formed/formed/plugins/web/renderer.py: Removed the
779            nagivation code.            nagivation code.
780    
781          * tools/formed/formed/plugins/web/server.py: Added missing import.          * tools/formed/formed/plugins/web/server.py: Added missing import.
782    
783  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
784    
785          * tools/formed/formed/model/data.py: Added missing broadcast          * tools/formed/formed/model/data.py: Added missing broadcast
786            parameter to setAttribute() of RuleLeaf.            parameter to setAttribute() of RuleLeaf.
# Line 122  Line 794 
794          * tools/formed/formed/plugins/web/server.py: New. Contains          * tools/formed/formed/plugins/web/server.py: New. Contains
795            the HTTP server code now.            the HTTP server code now.
796    
797  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
798    
799          * tools/formed/test-data/simple.xml: Modified to contain a rule.          * tools/formed/test-data/simple.xml: Modified to contain a rule.
800    
801          * tools/formed/formed/model/expr.py: Added. A simple RPN          * tools/formed/formed/model/expr.py: Added. A simple RPN
802            expression evaluator. To avoid the problem of eval()ing            expression evaluator. To avoid the problem of eval()ing
803                  arbitrary python expressions I've decided to use a very            arbitrary python expressions I've decided to use a very
804                  basic and limited stack machine to support rule checking.            basic and limited stack machine to support rule checking.
805    
806          * tools/formed/formed/model/data.py: Added a RuleLeaf.          * tools/formed/formed/model/data.py: Added a RuleLeaf.
807    
# Line 137  Line 809 
809    
810          * tools/formed/formed/model/nodecomponents.py: Add a method          * tools/formed/formed/model/nodecomponents.py: Add a method
811            to find all items of a given type in document for a given            to find all items of a given type in document for a given
812                  mode. Usefull to find all rules in the tree.            mode. Usefull to find all rules in the tree.
813    
814          * tools/formed/formed/ui/controls.py: Added a listener mechanism          * tools/formed/formed/ui/controls.py: Added a listener mechanism
815            to attribute table to report exceptions when setting a value            to attribute table to report exceptions when setting a value
816                  from GUI. Useful to report compilation errors when setting            from GUI. Useful to report compilation errors when setting
817                  expr of rule leafs.            expr of rule leafs.
818    
819          * tools/formed/formed/main.py: Added a method to track exceptions          * tools/formed/formed/main.py: Added a method to track exceptions
820            from the attribute table and pop up dialogs if they occur.            from the attribute table and pop up dialogs if they occur.
821                  Added a counter of rule modifications in tree. Useful if you            Added a counter of rule modifications in tree. Useful if you
822                  want build cached data structures like rule sets and you want            want build cached data structures like rule sets and you want
823                  to know if they are still valid.            to know if they are still valid.
824    
825  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
826    
827          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
828            for checkbox values. (Syntax error).            for checkbox values. (Syntax error).
# Line 158  Line 830 
830          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
831            generation              generation  
832    
833  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
834    
835          * tools/formed/formed/plugins/names/filter.py: Separated Class for          * tools/formed/formed/plugins/names/filter.py: Separated Class for
836            making the formularnames more database friendly. Added some more            making the formularnames more database friendly. Added some more
# Line 166  Line 838 
838          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
839            separated class, and some fixes in sql generation.            separated class, and some fixes in sql generation.
840    
841  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
842    
843          * tools/formed/formed/plugins/export/html.py: Print lengths          * tools/formed/formed/plugins/export/html.py: Print lengths
844            of external choice list.            of external choice list.
845    
846  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
847    
848          * tools/formed/formed/main.py: Little workaround for          * tools/formed/formed/main.py: Little workaround for
849            mode selection if someone adds an removes a mode.            mode selection if someone adds an removes a mode.
850    
851  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
852    
853          * tools/formed/test-data/simple.xml: Better test case for          * tools/formed/test-data/simple.xml: Better test case for
854            mode depended leaf items.            mode depended leaf items.
# Line 186  Line 858 
858    
859          * tools/formed/formed/plugins/export/html.py: Use effective          * tools/formed/formed/plugins/export/html.py: Use effective
860            mode. TODO: the 'all' modus return false results sometimes.            mode. TODO: the 'all' modus return false results sometimes.
861                  Cause: The modes are only cumulated over time. Removal is            Cause: The modes are only cumulated over time. Removal is
862                  not done.            not done.
863    
864  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
865    
866          * tools/formed/formed/plugins/export/html.py: Dump the items          * tools/formed/formed/plugins/export/html.py: Dump the items
867            of radio groups and choices too.            of radio groups and choices too.
868    
869  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
870    
871          * tools/formed/formed/plugins/names/filter.py: Modified the renaming          * tools/formed/formed/plugins/names/filter.py: Modified the renaming
872            by formular names to make the naming more database friendly.            by formular names to make the naming more database friendly.
873            Now only alphanumeric and underscore chars is allowed.            Now only alphanumeric and underscore chars is allowed.
874    
875  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
876    
877          * tools/formed/formed/plugins/export/html.py: Tweaked          * tools/formed/formed/plugins/export/html.py: Tweaked
878            HTML table exporter a bit to be on par with the XSLT            HTML table exporter a bit to be on par with the XSLT
879                  script. TODO: Dump items in radio and choice groups.            script. TODO: Dump items in radio and choice groups.
880    
881  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
882    
883          * tools/formed/formed/plugins/names/filter.py: Removed          * tools/formed/formed/plugins/names/filter.py: Removed
884            HTML and SQL exporters.            HTML and SQL exporters.
# Line 215  Line 887 
887            tools/formed/formed/plugins/export/__init__.py,            tools/formed/formed/plugins/export/__init__.py,
888            tools/formed/formed/plugins/export/sql.py,            tools/formed/formed/plugins/export/sql.py,
889            tools/formed/formed/plugins/export/html.py: New: Contain            tools/formed/formed/plugins/export/html.py: New: Contain
890                  the HTML and the SQL exporters now.            the HTML and the SQL exporters now.
891    
892          * tools/formed/formed/config.py: Use exporters from different          * tools/formed/formed/config.py: Use exporters from different
893            package now.            package now.
894    
895  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
896    
897          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an
898            pseudo SQL export filters. TODO: Move HTML and SQL filter            pseudo SQL export filters. TODO: Move HTML and SQL filter
# Line 229  Line 901 
901    
902          * tools/formed/formed/config.py: Install the new SQL filter.          * tools/formed/formed/config.py: Install the new SQL filter.
903    
904  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
905    
906          * tools/formed/formed/model/nodecomponents.py: Added a depth()          * tools/formed/formed/model/nodecomponents.py: Added a depth()
907            method to determine the depth of particular tree item.            method to determine the depth of particular tree item.
# Line 239  Line 911 
911    
912          * tools/formed/formed/config.py: Install the new HTML filter.          * tools/formed/formed/config.py: Install the new HTML filter.
913    
914  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
915    
916          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
917            to extract fields and options in the XFA Data in teh PDF. This            to extract fields and options in the XFA Data in teh PDF. This
918            script might me handy to indicate changes between the different            script might me handy to indicate changes between the different
919            formular versions.            formular versions.
920                    
921  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
922    
923          * tools/formed/formed/main.py: Add an 'all' mode to          * tools/formed/formed/main.py: Add an 'all' mode to
924            select all modes. ;-)            select all modes. ;-)
925    
926  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
927    
928          * tools/formed/test-data/simple.xml,          * tools/formed/test-data/simple.xml,
929            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
# Line 261  Line 933 
933            tools/formed/formed/main.py: Removed support for switch nodes.            tools/formed/formed/main.py: Removed support for switch nodes.
934            BEWARE: This breaks compatibility with older documents!            BEWARE: This breaks compatibility with older documents!
935    
936  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
937    
938          * tools/formed/formed/plugins/web/plugin.py: Uses the          * tools/formed/formed/plugins/web/plugin.py: Uses the
939            getSelectedMode() from main now.            getSelectedMode() from main now.
# Line 272  Line 944 
944          * tools/formed/formed/config.py: removed selected mode from          * tools/formed/formed/config.py: removed selected mode from
945            env configuration.            env configuration.
946    
947  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
948    
949          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
950            table are now alphabetically sorted.            table are now alphabetically sorted.
951    
952  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
953    
954          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
955            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 293  Line 965 
965    
966          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
967    
968  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
969    
970          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
971            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
972    
973  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
974    
975          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
976    
977  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
978    
979          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
980            for the hidden field. Argh!            for the hidden field. Argh!
981    
982  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
983    
984          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
985            generation of hidden page field.            generation of hidden page field.
986    
987  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
988    
989          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
990            checks for radio groups.            checks for radio groups.
991    
992  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
993    
994          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
995            checks for choices.            checks for choices.
# Line 332  Line 1004 
1004          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
1005          Replace technical types with readable descriptions          Replace technical types with readable descriptions
1006    
1007  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1008    
1009          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
1010            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
1011                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
1012                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
1013                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
1014                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
1015    
1016          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
1017            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 347  Line 1019 
1019          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
1020            hidden field to store the name of the page.            hidden field to store the name of the page.
1021    
1022  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1023    
1024          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
1025            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
1026    
1027  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1028    
1029          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
1030            in switches.            in switches.
1031    
1032          * tools/formed/formed/model/data.py: Added a method to find all          * tools/formed/formed/model/data.py: Added a method to find all
1033            widgets in a given page. Fixed a bug when walking in switch            widgets in a given page. Fixed a bug when walking in switch
1034                  with a given mode.            with a given mode.
1035    
1036          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
1037            listing all widgets in page.            listing all widgets in page.
1038    
1039  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
1040    
1041          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
1042            latin-1            latin-1
1043    
1044  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1045    
1046          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
1047            walk.            walk.
1048                              
1049          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1050            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
1051                  give children in a given mode.            give children in a given mode.
1052    
1053          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1054            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
1055    
1056  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1057    
1058          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
1059            texts and text areas.            texts and text areas.
# Line 389  Line 1061 
1061          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1062            to UTF-8 in generated form.            to UTF-8 in generated form.
1063    
1064  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
1065    
1066          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1067            tests for dates.            tests for dates.
1068    
1069  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
1070    
1071          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
1072            range test.            range test.
# Line 408  Line 1080 
1080          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
1081            check.            check.
1082    
1083  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
1084    
1085          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1086            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 421  Line 1093 
1093            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
1094            session now. This will ease testing the constraint            session now. This will ease testing the constraint
1095            tests which need to be written soon.            tests which need to be written soon.
1096                              
1097            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
1098            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
1099            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 439  Line 1111 
1111            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
1112            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
1113            selects their respective menu item.            selects their respective menu item.
1114                              
1115          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
1116            installed filters.            installed filters.
1117    
# Line 500  Line 1172 
1172    
1173          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
1174            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
1175                  menu and put a separator between them.            menu and put a separator between them.
1176    
1177  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
1178    
# Line 509  Line 1181 
1181    
1182          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
1183            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
1184                  global configuration is passed at setup time.            global configuration is passed at setup time.
1185    
1186          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
1187            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
1188                  from the global configuration each time a rendering            from the global configuration each time a rendering
1189                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
1190                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
1191                  is not needed any more because it can be configured            is not needed any more because it can be configured
1192                  at runtime.            at runtime.
1193    
1194          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
1195            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
1196                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
1197                  global config.            global config.
1198    
1199          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
1200            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 534  Line 1206 
1206    
1207          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1208            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
1209                  print out in web plugin.            print out in web plugin.
1210    
1211  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
1212    
# Line 552  Line 1224 
1224    
1225          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1226            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
1227                  to FORMED environment variable.            to FORMED environment variable.
1228                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1229                  Defaults to 'default'.            Defaults to 'default'.
1230    
1231          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
1232    
# Line 568  Line 1240 
1240          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
1241            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
1242            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
1243                  to model external item lists.            to model external item lists.
1244    
1245          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
1246            list.            list.
# Line 585  Line 1257 
1257    
1258          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * contrib/extract-xfa-items.sh: New. Can be used to extract longer
1259            choice item lists for a given field from XFA files. e.g. with            choice item lists for a given field from XFA files. e.g. with
1260                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1261    
1262  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
1263    
1264          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1265            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
1266                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
1267                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
1268                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
1269                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
1270                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
1271    
1272                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
1273                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
1274                              
1275          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
1276            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
1277    
# Line 617  Line 1289 
1289    
1290          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1291            of the tree.            of the tree.
1292                              
1293          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
1294    
1295          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 640  Line 1312 
1312    
1313          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1314            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
1315                  in document tree.            in document tree.
1316    
1317          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1318            after names collisions are eliminated.            after names collisions are eliminated.
# Line 652  Line 1324 
1324    
1325          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1326            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
1327                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
1328                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
1329                  purpose.            purpose.
1330    
1331          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
1332            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
1333                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1334    
1335          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
1336            from bool items.            from bool items.
# Line 677  Line 1349 
1349    
1350          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
1351            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
1352                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1353    
1354  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
1355    
# Line 714  Line 1386 
1386    
1387          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
1388            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
1389                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
1390    
1391          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
1392            the reference to the config.            the reference to the config.
# Line 794  Line 1466 
1466    
1467          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1468            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
1469                  attributes.            attributes.
1470    
1471          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
1472            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 823  Line 1495 
1495    
1496          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
1497            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
1498                  tree.            tree.
1499    
1500  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
1501    
# Line 852  Line 1524 
1524    
1525          * tools/formed/formed/main.py: Added event route document ->          * tools/formed/formed/main.py: Added event route document ->
1526            attribute table to get informed when selected item is delete            attribute table to get informed when selected item is delete
1527                  or an attribute is changed from the outside.            or an attribute is changed from the outside.
1528    
1529          * tools/formed/formed/ui/controls.py: Fixed. In older versions of          * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1530            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1531                  of 3 argument. Uses icons+tooltips for tree navigation now.            of 3 argument. Uses icons+tooltips for tree navigation now.
1532    
1533  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
1534    
# Line 904  Line 1576 
1576    
1577          * tools/formed/formed/ui/controls.py: Establish sort order          * tools/formed/formed/ui/controls.py: Establish sort order
1578            by indices of children in parent instead of alphanum.            by indices of children in parent instead of alphanum.
1579                  Code to move items up and down the document tree.            Code to move items up and down the document tree.
1580    
1581          * tools/formed/formed/io/document.py: Added missing imports.          * tools/formed/formed/io/document.py: Added missing imports.
1582    
# Line 917  Line 1589 
1589    
1590          * tools/formed/formed/main.py,          * tools/formed/formed/main.py,
1591            tools/formed/formed/ui/controls.py: Added control to            tools/formed/formed/ui/controls.py: Added control to
1592                  move items around in tree. Has no effect by now.            move items around in tree. Has no effect by now.
1593    
1594  2007-08-05      Sascha L. Teichmann <[email protected]>  2007-08-05      Sascha L. Teichmann <[email protected]>
1595    
# Line 933  Line 1605 
1605    
1606          * tools/formed/*: initial check-in of the Formular Editor.          * tools/formed/*: initial check-in of the Formular Editor.
1607            Not working yet. Only can load, view and store formular XML files.            Not working yet. Only can load, view and store formular XML files.
1608                  Start it with 'tools/formed/formed.sh'.            Start it with 'tools/formed/formed.sh'.

Legend:
Removed from v.110  
changed lines
  Added in v.191

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26