/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.17  
changed lines
  Added in v.156

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26