/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 64 by teichmann, Tue Aug 21 09:11:58 2007 UTC revision 177 by teichmann, Tue Sep 11 23:12:02 2007 UTC
# Line 1  Line 1 
1    2007-10-11 Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/plugins/export/data.py: The import/export
4              of data is now implemented with filters (the most consequent
5                    way in terms of design of FormEd). The support of the 'persistent'
6                    FORMED env-variable support has been removed.
7                    
8            * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
9              filter file dialog to double as import dialog.
10    
11            * tools/formed/formed/main.py: Removed the the FORMED-var support
12              for persistence.
13            
14            * tools/formed/formed/config.py: Add the two new filters to the filters
15              list.
16    
17    2007-10-11 Sascha L. Teichmann <[email protected]>
18    
19            * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
20              Removed pickle/unpickle stuff.
21    
22            * tools/formed/formed/main.py: Uses the new XML persistence.
23    
24            * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
25              not converted to int indices.
26    
27    2007-09-11 Sascha L. Teichmann <[email protected]>
28    
29            * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
30              with pickle/unpickle.
31    
32            * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
33              Set to a file name it is tried to unpickle a MemoryDataStore from
34                    that file. When exiting the program this file is used to store the
35                    current MemoryDataStore state. The storing only works if you exit
36                    the program through the Menu File->Exit.
37                    usage: FORMED=persistent:test.db ./formed.sh
38    
39    2007-09-11 Torsten Irlaender <[email protected]>
40    
41            * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
42              application on the welcome page from "Formed" to "WASKA"
43    
44    2007-09-11 Torsten Irlaender <[email protected]>
45    
46            * tools/formed/formed/plugins/web/plugin.py,
47            * tools/formed/formed/plugins/web/controllers.py,
48            * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
49              The infopage provides information on all project participants.
50    
51    2007-09-11 Sascha L. Teichmann <[email protected]>
52    
53            * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
54              issues with error messages (once again).
55    
56    2007-09-11 Torsten Irlaender <[email protected]>
57    
58            * tools/formed/formed/plugins/web/form_renderer.py,
59            * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
60              icons in error and confirmation dialogs.
61    
62    2007-09-11 Sascha L. Teichmann <[email protected]>
63    
64            * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
65              generation for ints, texts and textareas. Fixed h depths of infos.
66    
67    2007-09-11 Sascha L. Teichmann <[email protected]>
68    
69            * tools/formed/formed/plugins/web/form_renderer.py: Removed
70              debug output for help.
71    
72            * tools/formed/formed/plugins/web/semantic.py: Added forgotten
73              check for bools.
74    
75            * tools/formed/formed/plugins/web/controllers.py:  Added correct
76              HTML output of data for bools.
77    
78    2007-09-11 Torsten Irlaender <[email protected]>
79    
80            * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
81              textfields for int values. Changed Label for submitbuttons to
82              "Speichern"
83    
84            * tools/formed/formed/plugins/web/plugin.py,
85              tools/formed/formed/plugins/web/controllers.py: Added new
86              NotImplementedHandler to show up a dummysite for not implemented
87              functions.
88    
89            * tools/formed/formed/plugins/web/renderer.py: Added
90              NotImplementedRenderer. Various small fixes. Mostly renaming the
91              labels of some context menus. Error messages are now generated
92              dynamically depending on num errors. Formular navigation has now
93              colored indication for errors.
94    
95    2007-09-11 Torsten Irlaender <[email protected]>
96    
97            * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
98              algorithm for the formular navigation to get rid of the problem
99              that some of the items within the navigation are not linked.  Now
100              structural group elements are linked with the next page found in the
101              formular structure.
102    
103    2007-09-10 Torsten Irlaender <[email protected]>
104            * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
105              div and formtag.
106    
107            * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
108              menu in the conformation dialog when creating a new dataset.
109    
110            * tools/formed/formed/plugins/web/renderer.py: Fixed error when
111              rendering the default welcome page. Changed rendering of the
112              overview and the digest table of the datasets. Added icon for
113              confirmation dialog, moved the icon in the <h1> tags.  
114    
115    2007-09-10 Torsten Irlaender <[email protected]>
116    
117            * tools/formed/formed/plugins/web/form_renderer.py: Some html
118              generation cleanup. Added error icons to formelements
119    
120            * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
121              of ErrorStatus. Fixed generated of the help tags in the formular
122    
123            * tools/formed/formed/plugins/web/renderer.py: Added error icon for
124              pageerrors. An "!" now indicates errors on pages in the formular
125              navigation. Added new <div> "content" around confirmation dialogss.
126              Links in confimation dialogs are now rendered as buttons. Removed
127              old obsolete OverviewRenderer.
128    
129    2007-09-10 Sascha L. Teichmann <[email protected]>
130    
131            * tools/formed/formed/plugins/web/renderer.py: Highlight selected
132              page in page navigation.
133    
134    2007-09-10 Torsten Irlaender <[email protected]>
135    
136            * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
137              displaying formdata when changing datasets. Loading the right
138              formdata was not handled in a correct way. Hope it is all fixed now.
139              Left some commented code because not all sideeffects of the changes
140              are tested yet.
141    
142            * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
143              now uses the correct data out of the formdata.
144    
145    2007-09-10 Sascha L. Teichmann <[email protected]>
146    
147            * tools/formed/formed/plugins/web/controllers.py: Pretty
148              print format data (dates e.g)
149    
150    2007-09-10 Sascha L. Teichmann <[email protected]>
151    
152            * tools/formed/formed/plugins/web/controllers.py: Modified
153              ErrorStats a bit to avoid mysterious extra error on page.
154                    No clue why this works.
155    
156    2007-09-10 Sascha L. Teichmann <[email protected]>
157    
158            * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
159              problem with radio groups, too.
160    
161    2007-09-10 Torsten Irlaender <[email protected]>
162            * tools/formed/formed/plugins/web/controllers.py: Sessions are now
163              really removed when deleting a dataset.
164            
165    2007-09-10 Torsten Irlaender <[email protected]>
166    
167            * tools/formed/formed/plugins/web/controllers.py: Added new Class
168              ErrorStats which provides Information on remaining errors per page.
169    
170            * tools/formed/formed/plugins/web/renderers.py: Finished movement of
171              the renderer methods from controllers.py to renderers.py.
172    
173            * tools/formed/formed/plugins/web/plugin.py: Removed render_session
174              handlers
175    
176    2007-09-10 Sascha L. Teichmann <[email protected]>
177    
178            * tools/formed/formed/plugins/web/form_renderer.py: values for
179              choices are generated from the document tree now. This brings
180                    the state storage of select boxes in HTML to live.
181    
182    2007-09-09 Sascha L. Teichmann <[email protected]>
183    
184            * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
185              range checking of integers.
186    
187            * tools/formed/formed/plugins/web/controllers.py: Added class
188              ErrorItem to track errors. They are stored in the session.
189    
190    2007-09-09 Sascha L. Teichmann <[email protected]>
191    
192            * tools/formed/formed/model/nodecomponents.py: Fixed returning
193              wrong index in Document.indexOfcomponentByClassAndName.
194    
195            * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
196              written 'errot' in renderer for textareas.
197    
198            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
199    
200    2007-09-09 Sascha L. Teichmann <[email protected]>
201    
202            * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
203              method. Could be cheaper for some implementations of help.
204    
205            * tools/formed/formed/plugins/web/form_renderer.py: Modified
206              FormData to have distinct getData(), getHelp() and getError()
207                    methods. Various bug fixes.
208    
209            * tools/formed/formed/plugins/web/controllers.py: Implements the
210              new FormData (trivial by now).
211    
212            * tools/formed/formed/plugins/web/renderer.py: New FormData and
213              some bug fixes.
214    
215    2007-09-09 Sascha L. Teichmann <[email protected]>
216    
217            * tools/formed/formed/model/memory.py,
218              tools/formed/formed/model/persistent.py: Add a getValue() method
219                    to dataset abstraction. This is a bit of a workaround to bring
220                    global access across pages for rule checking to work.
221    
222            * tools/formed/formed/model/data.py: Fixed: When setting a new expression
223              the compiled version was not stored in the RuleLeaf.
224    
225            * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
226              convert the expression string to ascii for compilation.
227    
228            * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
229              valid data is stored to the dataset immediately now. Fixed a bug
230                    with integer handler.
231    
232            * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
233              stuff. When a submit is done extract the rules from the tree document
234                    that are effected by the modified variables and check them.
235    
236            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
237              when dealing with templates.
238    
239    2007-09-07 Torsten Irlaender <[email protected]>
240            * tools/formed/formed/plugins/web/controllers.py,
241              tools/formed/formed/plugins/web/renderer.py: Moved more render
242              functions into renderer.py. New render classes are:
243              DataSetDigestRenderer, DataSetNavigationRenderer,
244              DataSetFormularRenderer, ConfirmationDialogRenderer
245    
246              Note: The new methods are only called from selected handlers. Other
247              handlers call the renderes in the old way.
248    
249    2007-09-07 Torsten Irlaender <[email protected]>
250            * tools/formed/formed/plugins/web/form_renderer.py: Renamed
251              renderer.py to form_renderer.py. This file will contain formular
252              specfic render methods in the future.
253            * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
254              which will contain general render methods.
255            * tools/formed/formed/plugins/web/controllers.py: Began to move all
256              rendering into renderer.py or form_renderer.py. This file will only
257              contain teh handlers in the future.
258    
259    2007-09-07 Torsten Irlaender <[email protected]>
260            * tools/formed/formed/plugins/web/renderer.py,
261              tools/formed/formed/plugins/web/controller.py:
262              Renderes now get an instance of the formdata object to provide
263              access the data needed to render various infoboxes etc. Handler
264              instanciate the formdata.
265            
266    2007-09-06 Torsten Irlaender <[email protected]>
267            * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
268              getFormData interface to work. Added two small semantic fixes, but
269              did not manage to get it up. Need to exime this a little bit more
270            * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
271              around the menus on the right side to be able to assign different
272              styles. Added dataset actions while editing a dataset.
273            
274    2007-09-05 Torsten Irlaender <[email protected]>
275            * tools/formed/formed/model/memory.py: Fixed deleting datasets by
276              removing unwanted del method
277            * tools/formed/formed/plugins/web/controllers.py: Implemented
278              confiration dialogs for create, delete, and select aof datasets. Started to use
279              templates as well for larger information units like the dataset summary.
280            
281    2007-09-05 Sascha L. Teichmann <[email protected]>
282    
283            * tools/formed/formed/model/nodecomponents.py: Added a
284              method to document to find index of page.
285    
286            * tools/formed/formed/plugins/web/semantic.py: Added getValue()
287              to fetch data from semantic box.
288    
289            * tools/formed/formed/plugins/web/controllers.py: Added new
290              FormData implementation to support DB and semantic box.
291    
292    2007-09-05 Sascha L. Teichmann <[email protected]>
293    
294            * tools/formed/formed/plugins/web/renderer.py: escaped
295              error message.
296    
297            * tools/formed/formed/plugins/web/controllers.py: Don't fetch
298              dataset from backend each time a page is up to edit.
299    
300    2007-09-05 Sascha L. Teichmann <[email protected]>
301    
302            * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
303              returns "Page not found" if given page is None.
304    
305            * tools/formed/formed/plugins/web/controllers.py: Added checks
306              to avoid crashing when ask for a non-existent page.
307    
308    2007-09-05 Sascha L. Teichmann <[email protected]>
309    
310            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
311    
312    2007-09-05 Sascha L. Teichmann <[email protected]>
313    
314            * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
315              and renderers.
316    
317            * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
318              and renderers now. TODO: Move renderers to renderer.py
319    
320    2007-09-05 Torsten Irlaender <[email protected]>
321    
322            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
323              and bound in the the new added functions to create, edit, delete and
324              show formdata.
325            
326    2007-09-05 Sascha L. Teichmann <[email protected]>
327    
328            * tools/formed/formed/model/memory.py: Removed bisect and use a
329              simple linear scan for dataset lookup now.
330    
331            * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
332              of different sizes.
333    
334    2007-09-05 Torsten Irlaender <[email protected]>
335    
336            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
337              fuction
338                    
339            * tools/formed/formed/plugins/web/persistent.py: Added store() method
340              to the DataSet interface
341    
342            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
343              renderes for create, update, delete and show actions on formular data.
344    
345    2007-09-04 Sascha L. Teichmann <[email protected]>
346    
347            * tools/formed/formed/plugins/web/server.py: The mapping
348              to methods is now driven by regualar expressions and
349                    a dictionary. Response objects are now able to send
350                    error codes.
351    
352            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
353              when help in Formdata is None. Moved text for help into
354                    a top level '''...''' variable.
355    
356            * tools/formed/test-data/simple.xml: Added test for help.
357    
358            * tools/formed/formed/plugins/web/help.py: extra None check.
359    
360            * tools/formed/formed/plugins/web/plugin.py: Uses the new
361              table driven mapping of reguest handling. TODO: split the
362                    WebPlugIn.pageHandler() method further to smaller handlers.
363                    Smaller clean ups and better exception handling.
364    
365            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
366              and do not catch them.
367    
368    2007-09-04 Torsten Irlaender <[email protected]>
369    
370            * tools/formed/formed/plugins/web/renderer.py,
371            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
372              the HelpProvider and inserted help icons to the html output.
373              Added decorator for Formelemnts, so textfields, choices etc. are now
374              within a <div> tag.
375              Modified the error messages.
376    
377    2007-09-04 Sascha L. Teichmann <[email protected]>
378    
379            * tools/formed/formed/plugins/web/cache.py: New. Implements
380              the server-side caching more clean. Fixes a bug with
381                    serving static content.
382    
383            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
384    
385    2007-09-04 Sascha L. Teichmann <[email protected]>
386    
387            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
388              to "application/xhtml+xml" when serving help texts.
389    
390    2007-09-03 Sascha L. Teichmann <[email protected]>
391    
392            * tools/formed/formed/plugins/export/diff.py: New. Exports
393              pairwise differences between all modes.
394    
395            * tools/formed/formed/config.py: Use new export filter.
396    
397    2007-09-03 Sascha L. Teichmann <[email protected]>
398    
399            * tools/formed/formed/plugins/web/help.py: New. Parses an
400              XHTML document for id'ed divs and builds a help lookup.
401    
402            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
403              the help content frame.
404    
405            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
406              help text index.
407    
408            * tools/formed/formed/plugins/web/plugin.py: Serves the help
409              texts now.
410    
411    2007-09-03 Torsten Irlaender <[email protected]>
412    
413            * tools/formed/formed/plugins/web/plugin.py: Only visible group
414              elements will be rendered in the formular navigation.
415              Formular pages in the navigation now have their own css-style
416              attributes.
417    
418    2007-09-03 Torsten Irlaender <[email protected]>
419    
420            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
421              errors in template
422            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
423              pageerrors variable
424    
425    2007-09-03 Frank Koormann <[email protected]>
426    
427            * tools/formed/formed/plugins/export/html.py
428            (RecursiveExporter): Added annotation to export
429            (fillRow()): Renamed old fillNine to this more generic name.
430            
431    
432    2007-09-03 Sascha L. Teichmann <[email protected]>
433    
434            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
435              from model.misc now.
436    
437    2007-09-03 Sascha L. Teichmann <[email protected]>
438    
439            * tools/formed/formed/model/nodecomponents.py: Added an
440              'annotation' attribute to node components. This is to
441                    enable FormEd document authors to add comments to groups
442                    and fields.
443    
444    2007-09-03 Frank Koormann <[email protected]>
445    
446            * tools/formed/formed/model/nodecomponents.py
447            (NodeComponent.getParent): New method to get node components parent.
448    
449            * tools/formed/formed/plugins/export/html.py: Export Choice option
450            as simple list instead of collection of bools.
451    
452    2007-09-02 Sascha L. Teichmann <[email protected]>
453    
454            * tools/formed/formed/model/persistent.py: Interfaces to abstract
455              from persistent storage details.
456    
457            * tools/formed/formed/model/memory.py: In core implementation
458              of the persistent interfaces.
459    
460            * tools/formed/formed/main.py: Holds a memory data store now.
461    
462    2007-09-02 Sascha L. Teichmann <[email protected]>
463    
464            * tools/formed/formed/plugins/export/sql.py,
465              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
466                    for FileDialogFilter sub classes.
467    
468    2007-09-02 Sascha L. Teichmann <[email protected]>
469    
470            * tools/formed/formed/model/misc.py: Checking the mode in recursive
471              tree traversals is a common task. To ease this a decorator function
472                    checkMode in union with sub classing ModeChecker can be used.
473                    To make it work simply subclass from ModeChecker and add the decorator
474                    to the methods that need mode tracking. Before you start the recursion
475                    call self.prepareDescent().
476    
477            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
478              now which replace the old. TODO: Make the web renderer use the new scheme
479                    too.
480    
481    2007-09-02 Sascha L. Teichmann <[email protected]>
482    
483            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
484    
485            * tools/formed/formed/plugins/export/html.py: HTML table exporter
486              uses new FileDialogFilter base class too.
487    
488    2007-09-02 Sascha L. Teichmann <[email protected]>
489    
490            * tools/formed/formed/plugins/ui/*: New. All file exporters
491              need a file dialog. Till now each of them pulled up its
492                    own. This was silly code replication. Now there is an abstract
493                    base class 'FileDialogFilter' which implements the common
494                    behavior. The file exporters should subclass it.
495    
496            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
497              exporters from the new base class. TODO: Subclass the HTML
498                    exporter too.
499    
500    2007-08-31 Sascha L. Teichmann <[email protected]>
501    
502            * tools/formed/formed/plugins/export/html.py: Make mode check
503              work (again).
504    
505    2007-08-31 Torsten Irlaender <[email protected]>
506    
507            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
508              exprt works now in a recursive way. This change was needed because
509              the structure of the formedtree has changed to be able to render
510              full hirachically document stuctures. (nested lists)
511              TODO: Fix modechecking
512    
513    2007-08-31 Torsten Irlaender <[email protected]>
514    
515            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
516              now in recursive way. This change was needed because the structure
517              of the formedtree has changed to be able to render full hirachically
518              document stuctures. (nested lists)
519    
520    2007-08-31 Sascha L. Teichmann <[email protected]>
521    
522            * tools/formed/formed/model/nodecomponents.py: use discard()
523              instead of remove on sets.
524    
525            * tools/formed/formed/plugins/export/sql.py: Added an
526              exporter for table views.
527    
528            * tools/formed/formed/config.py: Added the new exporter
529              to the list of export filters.
530    
531    2007-08-30 Sascha L. Teichmann <[email protected]>
532    
533            * tools/formed/formed/model/data.py: Fixed a bug in
534              Page.allWidgets()
535    
536            * tools/formed/formed/plugins/export/sql.py: Added an exporter
537              for stored procudeures.
538    
539            * tools/formed/formed/config.py: Add the new SP exporter.
540    
541    2007-08-29 Torsten Irlaender <[email protected]>
542    
543            * tools/formed/formed/plugins/web/plugin.py,
544              tools/formed/formed/plugins/web/error_renderer.py: Added interface
545              to get the errors for a whole page in te formular. These errors can
546              now be displayed on the top of the formular.
547    
548    2007-08-29 Torsten Irlaender <[email protected]>
549    
550            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
551              of the getFromData interface and prepared the rederer for generating
552              nice error messages
553    
554    2007-08-28 Frank Koormann <[email protected]>
555    
556            * tools/formed/formed/plugins/export/sql.py
557            (SchemaCreator.createSchema, SchemaCreator._createGroup):
558            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
559    
560    2007-08-28 Torsten Irlaender <[email protected]>
561    
562            * tools/formed/formed/plugins/export/sql.py: Added small helper
563              function to generated valid quotes within the sql statements
564    
565    2007-08-29 Sascha L. Teichmann <[email protected]>
566    
567            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
568              for repeat tables.
569              
570    2007-08-29 Sascha L. Teichmann <[email protected]>
571    
572            * tools/formed/formed/plugins/export/sql.py: When generating
573              an extra table check in a table of same content exists. In
574                    this case reference the existing table.
575    
576    2007-08-29 Sascha L. Teichmann <[email protected]>
577    
578            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
579              _real_ SQL and respect repeat groups.
580    
581            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
582    
583            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
584              instead of expensive += string concat in some places.
585    
586    2007-08-29 Sascha L. Teichmann <[email protected]>
587    
588            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
589              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
590    
591    2007-08-28 Torsten Irlaender <[email protected]>
592    
593            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
594            * tools/formed/model/data.py: Implements Formadata interface to
595              textfields. Fieldset generated depends now on the "invisible"
596              attribute of the groupnode. Field-label generation slightly changed.
597              Added error indication to textfields
598    
599    2007-08-28 Sascha L. Teichmann <[email protected]>
600    
601            * tools/formed/formed/model/data.py,
602              tools/formed/formed/io/document.py: Removed support
603                    of logical groups.
604    
605    2007-08-28 Sascha L. Teichmann <[email protected]>
606    
607            * tools/formed/formed/io/document.py: Avoid saving empty
608              attributes.
609    
610            * tools/formed/test-data/simple.xml: Applied.
611    
612    2007-08-28 Sascha L. Teichmann <[email protected]>
613    
614            * tools/formed/formed/model/data.py: Added 'repeat' and
615              'invisible' attributes to group. TODO: remove logical group.
616    
617    2007-08-27 Torsten Irlaender <[email protected]>
618    
619            * tools/formed/plugins/web/plugin.py,
620              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
621              depending tags in the html generation.
622    
623    2007-08-27 Sascha L. Teichmann <[email protected]>
624    
625            * tools/formed/formed/model/data.py,
626              tools/formed/formed/io/document.py: Added a logical group.
627                    It has an attribute 'repeat' to indicate that it might
628                    be worthy an external table in DB schema.
629    
630    2007-08-27 Sascha L. Teichmann <[email protected]>
631    
632            * tools/formed/formed/plugins/web/plugin.py: Support
633              serving of static content.
634    
635            * tools/formed/formed/plugins/web/server.py: Removed
636              old send code.
637    
638    2007-08-27 Sascha L. Teichmann <[email protected]>
639    
640            * tools/formed/formed/plugins/web/plugin.py: Use new
641              Response object. Fix typo.
642    
643            * tools/formed/formed/plugins/web/server.py: support
644              response object to serve different MIME types.
645    
646    2007-08-27 Sascha L. Teichmann <[email protected]>
647    
648            * tools/formed/formed/plugins/web/plugin.py: Add web.path
649              to FORMED environment  variable to specify the
650                    root of the static content.
651    
652    2007-08-26 Sascha L. Teichmann <[email protected]>
653    
654            * tools/formed/formed/model/data.py,
655              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
656    
657            * tools/formed/formed/plugins/web/www,
658              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
659                    a template for the HTML output.
660    
661            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
662              mode issues. Introduces CSS support. Simplified the action
663                    handling.
664    
665            * tools/formed/formed/plugins/web/renderer.py: Removed the
666              nagivation code.
667    
668            * tools/formed/formed/plugins/web/server.py: Added missing import.
669    
670    2007-08-26 Sascha L. Teichmann <[email protected]>
671    
672            * tools/formed/formed/model/data.py: Added missing broadcast
673              parameter to setAttribute() of RuleLeaf.
674    
675            * tools/formed/formed/plugins/web/plugin.py: Factorize
676              HTTP server code out to separate module.
677    
678            * tools/formed/formed/plugins/web/renderer.py: Removed
679              needless -1 from pop()
680    
681            * tools/formed/formed/plugins/web/server.py: New. Contains
682              the HTTP server code now.
683    
684    2007-08-26 Sascha L. Teichmann <[email protected]>
685    
686            * tools/formed/test-data/simple.xml: Modified to contain a rule.
687    
688            * tools/formed/formed/model/expr.py: Added. A simple RPN
689              expression evaluator. To avoid the problem of eval()ing
690                    arbitrary python expressions I've decided to use a very
691                    basic and limited stack machine to support rule checking.
692    
693            * tools/formed/formed/model/data.py: Added a RuleLeaf.
694    
695            * tools/formed/formed/io/document.py: Added factories for rules.
696    
697            * tools/formed/formed/model/nodecomponents.py: Add a method
698              to find all items of a given type in document for a given
699                    mode. Usefull to find all rules in the tree.
700    
701            * tools/formed/formed/ui/controls.py: Added a listener mechanism
702              to attribute table to report exceptions when setting a value
703                    from GUI. Useful to report compilation errors when setting
704                    expr of rule leafs.
705    
706            * tools/formed/formed/main.py: Added a method to track exceptions
707              from the attribute table and pop up dialogs if they occur.
708                    Added a counter of rule modifications in tree. Useful if you
709                    want build cached data structures like rule sets and you want
710                    to know if they are still valid.
711    
712    2007-08-24 Torsten Irlaender <[email protected]>
713    
714            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
715              for checkbox values. (Syntax error).
716    
717            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
718              generation  
719    
720    2007-08-24 Torsten Irlaender <[email protected]>
721    
722            * tools/formed/formed/plugins/names/filter.py: Separated Class for
723              making the formularnames more database friendly. Added some more
724              checks.
725            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
726              separated class, and some fixes in sql generation.
727    
728    2007-08-24 Sascha L. Teichmann <[email protected]>
729    
730            * tools/formed/formed/plugins/export/html.py: Print lengths
731              of external choice list.
732    
733    2007-08-24 Sascha L. Teichmann <[email protected]>
734    
735            * tools/formed/formed/main.py: Little workaround for
736              mode selection if someone adds an removes a mode.
737    
738    2007-08-24 Sascha L. Teichmann <[email protected]>
739    
740            * tools/formed/test-data/simple.xml: Better test case for
741              mode depended leaf items.
742    
743            * tools/formed/formed/model/nodecomponents.py: Added a method
744              to calculate the effective mode of an item.
745    
746            * tools/formed/formed/plugins/export/html.py: Use effective
747              mode. TODO: the 'all' modus return false results sometimes.
748                    Cause: The modes are only cumulated over time. Removal is
749                    not done.
750    
751    2007-08-24 Sascha L. Teichmann <[email protected]>
752    
753            * tools/formed/formed/plugins/export/html.py: Dump the items
754              of radio groups and choices too.
755    
756    2007-08-24 Torsten Irlaender <[email protected]>
757    
758            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
759              by formular names to make the naming more database friendly.
760              Now only alphanumeric and underscore chars is allowed.
761    
762    2007-08-24 Sascha L. Teichmann <[email protected]>
763    
764            * tools/formed/formed/plugins/export/html.py: Tweaked
765              HTML table exporter a bit to be on par with the XSLT
766                    script. TODO: Dump items in radio and choice groups.
767    
768    2007-08-23 Sascha L. Teichmann <[email protected]>
769    
770            * tools/formed/formed/plugins/names/filter.py: Removed
771              HTML and SQL exporters.
772    
773            * tools/formed/formed/plugins/export,
774              tools/formed/formed/plugins/export/__init__.py,
775              tools/formed/formed/plugins/export/sql.py,
776              tools/formed/formed/plugins/export/html.py: New: Contain
777                    the HTML and the SQL exporters now.
778    
779            * tools/formed/formed/config.py: Use exporters from different
780              package now.
781    
782    2007-08-23 Torsten Irlaender <[email protected]>
783    
784            * tools/formed/formed/plugins/names/filter.py: Added an
785              pseudo SQL export filters. TODO: Move HTML and SQL filter
786              in a new file (formed/plugins/export/htmlexport.py and
787              sqlexport.py?)
788    
789            * tools/formed/formed/config.py: Install the new SQL filter.
790    
791    2007-08-23 Sascha L. Teichmann <[email protected]>
792    
793            * tools/formed/formed/model/nodecomponents.py: Added a depth()
794              method to determine the depth of particular tree item.
795    
796            * tools/formed/formed/plugins/names/filter.py: Added an
797              HTML export filters. TODO: needs more work.
798    
799            * tools/formed/formed/config.py: Install the new HTML filter.
800    
801    2007-08-23 Torsten Irlaender <[email protected]>
802    
803            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
804              to extract fields and options in the XFA Data in teh PDF. This
805              script might me handy to indicate changes between the different
806              formular versions.
807            
808    2007-08-23 Sascha L. Teichmann <[email protected]>
809    
810            * tools/formed/formed/main.py: Add an 'all' mode to
811              select all modes. ;-)
812    
813    2007-08-22 Sascha L. Teichmann <[email protected]>
814    
815            * tools/formed/test-data/simple.xml,
816              tools/formed/formed/model/data.py,
817              tools/formed/formed/plugins/web/plugin.py,
818              tools/formed/formed/plugins/web/renderer.py,
819              tools/formed/formed/io/document.py,
820              tools/formed/formed/main.py: Removed support for switch nodes.
821              BEWARE: This breaks compatibility with older documents!
822    
823    2007-08-22 Sascha L. Teichmann <[email protected]>
824    
825            * tools/formed/formed/plugins/web/plugin.py: Uses the
826              getSelectedMode() from main now.
827    
828            * tools/formed/formed/main.py: selected mode is now hold
829              in main.
830    
831            * tools/formed/formed/config.py: removed selected mode from
832              env configuration.
833    
834    2007-08-22 Sascha L. Teichmann <[email protected]>
835    
836            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
837              table are now alphabetically sorted.
838    
839    2007-08-22 Sascha L. Teichmann <[email protected]>
840    
841            * tools/formed/formed/model/nodecomponents.py: Added code to
842              establish the new 'modes' recursively.
843    
844            * tools/formed/formed/plugins/plugin.py: Pass main instead
845              of cfg on plug-in start-up.
846    
847            * tools/formed/formed/plugins/web/plugin.py: Use the new
848              'modes' attribute for rendering.
849    
850            * tools/formed/formed/plugins/web/renderer.py: Use decorators
851              to check the new modes.
852    
853            * tools/formed/formed/main.py: Adjusted to new infrastructure.
854    
855    2007-08-22 Sascha L. Teichmann <[email protected]>
856    
857            * tools/formed/formed/model/nodecomponents.py: Added an
858              attribute 'modes' to NodeComponents.
859    
860    2007-08-22 Sascha L. Teichmann <[email protected]>
861    
862            * tools/formed/formed/model/data.py: Small cosmetic cleanups
863    
864    2007-08-21 Sascha L. Teichmann <[email protected]>
865    
866            * tools/formed/formed/plugins/web/renderer.py: Another fix
867              for the hidden field. Argh!
868    
869    2007-08-21 Sascha L. Teichmann <[email protected]>
870    
871            * tools/formed/formed/plugins/web/renderer.py: Fixed double
872              generation of hidden page field.
873    
874    2007-08-21 Sascha L. Teichmann <[email protected]>
875    
876            * tools/formed/formed/plugins/web/semantic.py: Added semantic
877              checks for radio groups.
878    
879    2007-08-21 Sascha L. Teichmann <[email protected]>
880    
881            * tools/formed/formed/plugins/web/semantic.py: Added semantic
882              checks for choices.
883    
884    2007-08-21      Frank Koormann <[email protected]>
885    
886            * contrib/convert-formedtree2html.xsl: Display switch nodes as
887            alternatives.
888            
889    2007-08-21      Frank Koormann <[email protected]>
890    
891            * contrib/convert-formedtree2html.xsl:
892            Replace technical types with readable descriptions
893    
894    2007-08-21 Sascha L. Teichmann <[email protected]>
895    
896            * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
897              issues. 'action' looks for all widgets on a page now, goes
898                    through all passed parameters, tries to match them with the
899                    widgets of the page and put them into the semantic box.
900                    Afterwards a list of untouched page parameters are left
901                    which will be deleted from the semantic box.
902    
903            * tools/formed/formed/plugins/web/semantic.py: Simplified.
904              The NodeComponent is passed as an argument now.
905    
906            * tools/formed/formed/plugins/web/renderer.py: Generate a
907              hidden field to store the name of the page.
908    
909    2007-08-21 Sascha L. Teichmann <[email protected]>
910    
911            * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
912              issue with incoming UTF-8 data.
913    
914  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21 Sascha L. Teichmann <[email protected]>
915    
916          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets

Legend:
Removed from v.64  
changed lines
  Added in v.177

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26