/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.22  
changed lines
  Added in v.153

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26