/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.33  
changed lines
  Added in v.175

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26