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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26