/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.24  
changed lines
  Added in v.148

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26