/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.25  
changed lines
  Added in v.147

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26