/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.26  
changed lines
  Added in v.143

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26