/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.54  
changed lines
  Added in v.155

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26