/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.30  
changed lines
  Added in v.164

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26