/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 67 by frank, Tue Aug 21 13:15:51 2007 UTC revision 142 by teichmann, Thu Sep 6 08:40:18 2007 UTC
# Line 1  Line 1 
1  2007-08-17      Frank Koormann <[email protected]>  2007-09-05 Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
4    
5    2007-09-05 Sascha L. Teichmann <[email protected]>
6    
7            * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
8              and renderers.
9    
10            * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
11              and renderers now. TODO: Move renderers to renderer.py
12    
13    2007-09-05 Torsten Irlaender <[email protected]>
14    
15            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
16              and bound in the the new added functions to create, edit, delete and
17              show formdata.
18            
19    2007-09-05 Sascha L. Teichmann <[email protected]>
20    
21            * tools/formed/formed/model/memory.py: Removed bisect and use a
22              simple linear scan for dataset lookup now.
23    
24            * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
25              of different sizes.
26    
27    2007-09-05 Torsten Irlaender <[email protected]>
28    
29            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
30              fuction
31                    
32            * tools/formed/formed/plugins/web/persistent.py: Added store() method
33              to the DataSet interface
34    
35            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
36              renderes for create, update, delete and show actions on formular data.
37    
38    2007-09-04 Sascha L. Teichmann <[email protected]>
39    
40            * tools/formed/formed/plugins/web/server.py: The mapping
41              to methods is now driven by regualar expressions and
42                    a dictionary. Response objects are now able to send
43                    error codes.
44    
45            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
46              when help in Formdata is None. Moved text for help into
47                    a top level '''...''' variable.
48    
49            * tools/formed/test-data/simple.xml: Added test for help.
50    
51            * tools/formed/formed/plugins/web/help.py: extra None check.
52    
53            * tools/formed/formed/plugins/web/plugin.py: Uses the new
54              table driven mapping of reguest handling. TODO: split the
55                    WebPlugIn.pageHandler() method further to smaller handlers.
56                    Smaller clean ups and better exception handling.
57    
58            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
59              and do not catch them.
60    
61    2007-09-04 Torsten Irlaender <[email protected]>
62    
63            * tools/formed/formed/plugins/web/renderer.py,
64            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
65              the HelpProvider and inserted help icons to the html output.
66              Added decorator for Formelemnts, so textfields, choices etc. are now
67              within a <div> tag.
68              Modified the error messages.
69    
70    2007-09-04 Sascha L. Teichmann <[email protected]>
71    
72            * tools/formed/formed/plugins/web/cache.py: New. Implements
73              the server-side caching more clean. Fixes a bug with
74                    serving static content.
75    
76            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
77    
78    2007-09-04 Sascha L. Teichmann <[email protected]>
79    
80            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
81              to "application/xhtml+xml" when serving help texts.
82    
83    2007-09-03 Sascha L. Teichmann <[email protected]>
84    
85            * tools/formed/formed/plugins/export/diff.py: New. Exports
86              pairwise differences between all modes.
87    
88            * tools/formed/formed/config.py: Use new export filter.
89    
90    2007-09-03 Sascha L. Teichmann <[email protected]>
91    
92            * tools/formed/formed/plugins/web/help.py: New. Parses an
93              XHTML document for id'ed divs and builds a help lookup.
94    
95            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
96              the help content frame.
97    
98            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
99              help text index.
100    
101            * tools/formed/formed/plugins/web/plugin.py: Serves the help
102              texts now.
103    
104    2007-09-03 Torsten Irlaender <[email protected]>
105    
106            * tools/formed/formed/plugins/web/plugin.py: Only visible group
107              elements will be rendered in the formular navigation.
108              Formular pages in the navigation now have their own css-style
109              attributes.
110    
111    2007-09-03 Torsten Irlaender <[email protected]>
112    
113            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
114              errors in template
115            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
116              pageerrors variable
117    
118    2007-09-03 Frank Koormann <[email protected]>
119    
120            * tools/formed/formed/plugins/export/html.py
121            (RecursiveExporter): Added annotation to export
122            (fillRow()): Renamed old fillNine to this more generic name.
123            
124    
125    2007-09-03 Sascha L. Teichmann <[email protected]>
126    
127            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
128              from model.misc now.
129    
130    2007-09-03 Sascha L. Teichmann <[email protected]>
131    
132            * tools/formed/formed/model/nodecomponents.py: Added an
133              'annotation' attribute to node components. This is to
134                    enable FormEd document authors to add comments to groups
135                    and fields.
136    
137    2007-09-03 Frank Koormann <[email protected]>
138    
139            * tools/formed/formed/model/nodecomponents.py
140            (NodeComponent.getParent): New method to get node components parent.
141    
142            * tools/formed/formed/plugins/export/html.py: Export Choice option
143            as simple list instead of collection of bools.
144    
145    2007-09-02 Sascha L. Teichmann <[email protected]>
146    
147            * tools/formed/formed/model/persistent.py: Interfaces to abstract
148              from persistent storage details.
149    
150            * tools/formed/formed/model/memory.py: In core implementation
151              of the persistent interfaces.
152    
153            * tools/formed/formed/main.py: Holds a memory data store now.
154    
155    2007-09-02 Sascha L. Teichmann <[email protected]>
156    
157            * tools/formed/formed/plugins/export/sql.py,
158              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
159                    for FileDialogFilter sub classes.
160    
161    2007-09-02 Sascha L. Teichmann <[email protected]>
162    
163            * tools/formed/formed/model/misc.py: Checking the mode in recursive
164              tree traversals is a common task. To ease this a decorator function
165                    checkMode in union with sub classing ModeChecker can be used.
166                    To make it work simply subclass from ModeChecker and add the decorator
167                    to the methods that need mode tracking. Before you start the recursion
168                    call self.prepareDescent().
169    
170            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
171              now which replace the old. TODO: Make the web renderer use the new scheme
172                    too.
173    
174    2007-09-02 Sascha L. Teichmann <[email protected]>
175    
176            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
177    
178            * tools/formed/formed/plugins/export/html.py: HTML table exporter
179              uses new FileDialogFilter base class too.
180    
181    2007-09-02 Sascha L. Teichmann <[email protected]>
182    
183            * tools/formed/formed/plugins/ui/*: New. All file exporters
184              need a file dialog. Till now each of them pulled up its
185                    own. This was silly code replication. Now there is an abstract
186                    base class 'FileDialogFilter' which implements the common
187                    behavior. The file exporters should subclass it.
188    
189            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
190              exporters from the new base class. TODO: Subclass the HTML
191                    exporter too.
192    
193    2007-08-31 Sascha L. Teichmann <[email protected]>
194    
195            * tools/formed/formed/plugins/export/html.py: Make mode check
196              work (again).
197    
198    2007-08-31 Torsten Irlaender <[email protected]>
199    
200            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
201              exprt works now in a recursive way. This change was needed because
202              the structure of the formedtree has changed to be able to render
203              full hirachically document stuctures. (nested lists)
204              TODO: Fix modechecking
205    
206    2007-08-31 Torsten Irlaender <[email protected]>
207    
208            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
209              now in recursive way. This change was needed because the structure
210              of the formedtree has changed to be able to render full hirachically
211              document stuctures. (nested lists)
212    
213    2007-08-31 Sascha L. Teichmann <[email protected]>
214    
215            * tools/formed/formed/model/nodecomponents.py: use discard()
216              instead of remove on sets.
217    
218            * tools/formed/formed/plugins/export/sql.py: Added an
219              exporter for table views.
220    
221            * tools/formed/formed/config.py: Added the new exporter
222              to the list of export filters.
223    
224    2007-08-30 Sascha L. Teichmann <[email protected]>
225    
226            * tools/formed/formed/model/data.py: Fixed a bug in
227              Page.allWidgets()
228    
229            * tools/formed/formed/plugins/export/sql.py: Added an exporter
230              for stored procudeures.
231    
232            * tools/formed/formed/config.py: Add the new SP exporter.
233    
234    2007-08-29 Torsten Irlaender <[email protected]>
235    
236            * tools/formed/formed/plugins/web/plugin.py,
237              tools/formed/formed/plugins/web/error_renderer.py: Added interface
238              to get the errors for a whole page in te formular. These errors can
239              now be displayed on the top of the formular.
240    
241    2007-08-29 Torsten Irlaender <[email protected]>
242    
243            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
244              of the getFromData interface and prepared the rederer for generating
245              nice error messages
246    
247    2007-08-28 Frank Koormann <[email protected]>
248    
249            * tools/formed/formed/plugins/export/sql.py
250            (SchemaCreator.createSchema, SchemaCreator._createGroup):
251            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
252    
253    2007-08-28 Torsten Irlaender <[email protected]>
254    
255            * tools/formed/formed/plugins/export/sql.py: Added small helper
256              function to generated valid quotes within the sql statements
257    
258    2007-08-29 Sascha L. Teichmann <[email protected]>
259    
260            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
261              for repeat tables.
262              
263    2007-08-29 Sascha L. Teichmann <[email protected]>
264    
265            * tools/formed/formed/plugins/export/sql.py: When generating
266              an extra table check in a table of same content exists. In
267                    this case reference the existing table.
268    
269    2007-08-29 Sascha L. Teichmann <[email protected]>
270    
271            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
272              _real_ SQL and respect repeat groups.
273    
274            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
275    
276            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
277              instead of expensive += string concat in some places.
278    
279    2007-08-29 Sascha L. Teichmann <[email protected]>
280    
281            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
282              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
283    
284    2007-08-28 Torsten Irlaender <[email protected]>
285    
286            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
287            * tools/formed/model/data.py: Implements Formadata interface to
288              textfields. Fieldset generated depends now on the "invisible"
289              attribute of the groupnode. Field-label generation slightly changed.
290              Added error indication to textfields
291    
292    2007-08-28 Sascha L. Teichmann <[email protected]>
293    
294            * tools/formed/formed/model/data.py,
295              tools/formed/formed/io/document.py: Removed support
296                    of logical groups.
297    
298    2007-08-28 Sascha L. Teichmann <[email protected]>
299    
300            * tools/formed/formed/io/document.py: Avoid saving empty
301              attributes.
302    
303            * tools/formed/test-data/simple.xml: Applied.
304    
305    2007-08-28 Sascha L. Teichmann <[email protected]>
306    
307            * tools/formed/formed/model/data.py: Added 'repeat' and
308              'invisible' attributes to group. TODO: remove logical group.
309    
310    2007-08-27 Torsten Irlaender <[email protected]>
311    
312            * tools/formed/plugins/web/plugin.py,
313              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
314              depending tags in the html generation.
315    
316    2007-08-27 Sascha L. Teichmann <[email protected]>
317    
318            * tools/formed/formed/model/data.py,
319              tools/formed/formed/io/document.py: Added a logical group.
320                    It has an attribute 'repeat' to indicate that it might
321                    be worthy an external table in DB schema.
322    
323    2007-08-27 Sascha L. Teichmann <[email protected]>
324    
325            * tools/formed/formed/plugins/web/plugin.py: Support
326              serving of static content.
327    
328            * tools/formed/formed/plugins/web/server.py: Removed
329              old send code.
330    
331    2007-08-27 Sascha L. Teichmann <[email protected]>
332    
333            * tools/formed/formed/plugins/web/plugin.py: Use new
334              Response object. Fix typo.
335    
336            * tools/formed/formed/plugins/web/server.py: support
337              response object to serve different MIME types.
338    
339    2007-08-27 Sascha L. Teichmann <[email protected]>
340    
341            * tools/formed/formed/plugins/web/plugin.py: Add web.path
342              to FORMED environment  variable to specify the
343                    root of the static content.
344    
345    2007-08-26 Sascha L. Teichmann <[email protected]>
346    
347            * tools/formed/formed/model/data.py,
348              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
349    
350            * tools/formed/formed/plugins/web/www,
351              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
352                    a template for the HTML output.
353    
354            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
355              mode issues. Introduces CSS support. Simplified the action
356                    handling.
357    
358            * tools/formed/formed/plugins/web/renderer.py: Removed the
359              nagivation code.
360    
361            * tools/formed/formed/plugins/web/server.py: Added missing import.
362    
363    2007-08-26 Sascha L. Teichmann <[email protected]>
364    
365            * tools/formed/formed/model/data.py: Added missing broadcast
366              parameter to setAttribute() of RuleLeaf.
367    
368            * tools/formed/formed/plugins/web/plugin.py: Factorize
369              HTTP server code out to separate module.
370    
371            * tools/formed/formed/plugins/web/renderer.py: Removed
372              needless -1 from pop()
373    
374            * tools/formed/formed/plugins/web/server.py: New. Contains
375              the HTTP server code now.
376    
377    2007-08-26 Sascha L. Teichmann <[email protected]>
378    
379            * tools/formed/test-data/simple.xml: Modified to contain a rule.
380    
381            * tools/formed/formed/model/expr.py: Added. A simple RPN
382              expression evaluator. To avoid the problem of eval()ing
383                    arbitrary python expressions I've decided to use a very
384                    basic and limited stack machine to support rule checking.
385    
386            * tools/formed/formed/model/data.py: Added a RuleLeaf.
387    
388            * tools/formed/formed/io/document.py: Added factories for rules.
389    
390            * tools/formed/formed/model/nodecomponents.py: Add a method
391              to find all items of a given type in document for a given
392                    mode. Usefull to find all rules in the tree.
393    
394            * tools/formed/formed/ui/controls.py: Added a listener mechanism
395              to attribute table to report exceptions when setting a value
396                    from GUI. Useful to report compilation errors when setting
397                    expr of rule leafs.
398    
399            * tools/formed/formed/main.py: Added a method to track exceptions
400              from the attribute table and pop up dialogs if they occur.
401                    Added a counter of rule modifications in tree. Useful if you
402                    want build cached data structures like rule sets and you want
403                    to know if they are still valid.
404    
405    2007-08-24 Torsten Irlaender <[email protected]>
406    
407            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
408              for checkbox values. (Syntax error).
409    
410            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
411              generation  
412    
413    2007-08-24 Torsten Irlaender <[email protected]>
414    
415            * tools/formed/formed/plugins/names/filter.py: Separated Class for
416              making the formularnames more database friendly. Added some more
417              checks.
418            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
419              separated class, and some fixes in sql generation.
420    
421    2007-08-24 Sascha L. Teichmann <[email protected]>
422    
423            * tools/formed/formed/plugins/export/html.py: Print lengths
424              of external choice list.
425    
426    2007-08-24 Sascha L. Teichmann <[email protected]>
427    
428            * tools/formed/formed/main.py: Little workaround for
429              mode selection if someone adds an removes a mode.
430    
431    2007-08-24 Sascha L. Teichmann <[email protected]>
432    
433            * tools/formed/test-data/simple.xml: Better test case for
434              mode depended leaf items.
435    
436            * tools/formed/formed/model/nodecomponents.py: Added a method
437              to calculate the effective mode of an item.
438    
439            * tools/formed/formed/plugins/export/html.py: Use effective
440              mode. TODO: the 'all' modus return false results sometimes.
441                    Cause: The modes are only cumulated over time. Removal is
442                    not done.
443    
444    2007-08-24 Sascha L. Teichmann <[email protected]>
445    
446            * tools/formed/formed/plugins/export/html.py: Dump the items
447              of radio groups and choices too.
448    
449    2007-08-24 Torsten Irlaender <[email protected]>
450    
451            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
452              by formular names to make the naming more database friendly.
453              Now only alphanumeric and underscore chars is allowed.
454    
455    2007-08-24 Sascha L. Teichmann <[email protected]>
456    
457            * tools/formed/formed/plugins/export/html.py: Tweaked
458              HTML table exporter a bit to be on par with the XSLT
459                    script. TODO: Dump items in radio and choice groups.
460    
461    2007-08-23 Sascha L. Teichmann <[email protected]>
462    
463            * tools/formed/formed/plugins/names/filter.py: Removed
464              HTML and SQL exporters.
465    
466            * tools/formed/formed/plugins/export,
467              tools/formed/formed/plugins/export/__init__.py,
468              tools/formed/formed/plugins/export/sql.py,
469              tools/formed/formed/plugins/export/html.py: New: Contain
470                    the HTML and the SQL exporters now.
471    
472            * tools/formed/formed/config.py: Use exporters from different
473              package now.
474    
475    2007-08-23 Torsten Irlaender <[email protected]>
476    
477            * tools/formed/formed/plugins/names/filter.py: Added an
478              pseudo SQL export filters. TODO: Move HTML and SQL filter
479              in a new file (formed/plugins/export/htmlexport.py and
480              sqlexport.py?)
481    
482            * tools/formed/formed/config.py: Install the new SQL filter.
483    
484    2007-08-23 Sascha L. Teichmann <[email protected]>
485    
486            * tools/formed/formed/model/nodecomponents.py: Added a depth()
487              method to determine the depth of particular tree item.
488    
489            * tools/formed/formed/plugins/names/filter.py: Added an
490              HTML export filters. TODO: needs more work.
491    
492            * tools/formed/formed/config.py: Install the new HTML filter.
493    
494    2007-08-23 Torsten Irlaender <[email protected]>
495    
496            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
497              to extract fields and options in the XFA Data in teh PDF. This
498              script might me handy to indicate changes between the different
499              formular versions.
500            
501    2007-08-23 Sascha L. Teichmann <[email protected]>
502    
503            * tools/formed/formed/main.py: Add an 'all' mode to
504              select all modes. ;-)
505    
506    2007-08-22 Sascha L. Teichmann <[email protected]>
507    
508            * tools/formed/test-data/simple.xml,
509              tools/formed/formed/model/data.py,
510              tools/formed/formed/plugins/web/plugin.py,
511              tools/formed/formed/plugins/web/renderer.py,
512              tools/formed/formed/io/document.py,
513              tools/formed/formed/main.py: Removed support for switch nodes.
514              BEWARE: This breaks compatibility with older documents!
515    
516    2007-08-22 Sascha L. Teichmann <[email protected]>
517    
518            * tools/formed/formed/plugins/web/plugin.py: Uses the
519              getSelectedMode() from main now.
520    
521            * tools/formed/formed/main.py: selected mode is now hold
522              in main.
523    
524            * tools/formed/formed/config.py: removed selected mode from
525              env configuration.
526    
527    2007-08-22 Sascha L. Teichmann <[email protected]>
528    
529            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
530              table are now alphabetically sorted.
531    
532    2007-08-22 Sascha L. Teichmann <[email protected]>
533    
534            * tools/formed/formed/model/nodecomponents.py: Added code to
535              establish the new 'modes' recursively.
536    
537            * tools/formed/formed/plugins/plugin.py: Pass main instead
538              of cfg on plug-in start-up.
539    
540            * tools/formed/formed/plugins/web/plugin.py: Use the new
541              'modes' attribute for rendering.
542    
543            * tools/formed/formed/plugins/web/renderer.py: Use decorators
544              to check the new modes.
545    
546            * tools/formed/formed/main.py: Adjusted to new infrastructure.
547    
548    2007-08-22 Sascha L. Teichmann <[email protected]>
549    
550            * tools/formed/formed/model/nodecomponents.py: Added an
551              attribute 'modes' to NodeComponents.
552    
553    2007-08-22 Sascha L. Teichmann <[email protected]>
554    
555            * tools/formed/formed/model/data.py: Small cosmetic cleanups
556    
557    2007-08-21 Sascha L. Teichmann <[email protected]>
558    
559            * tools/formed/formed/plugins/web/renderer.py: Another fix
560              for the hidden field. Argh!
561    
562    2007-08-21 Sascha L. Teichmann <[email protected]>
563    
564            * tools/formed/formed/plugins/web/renderer.py: Fixed double
565              generation of hidden page field.
566    
567    2007-08-21 Sascha L. Teichmann <[email protected]>
568    
569            * tools/formed/formed/plugins/web/semantic.py: Added semantic
570              checks for radio groups.
571    
572    2007-08-21 Sascha L. Teichmann <[email protected]>
573    
574            * tools/formed/formed/plugins/web/semantic.py: Added semantic
575              checks for choices.
576    
577    2007-08-21      Frank Koormann <[email protected]>
578    
579            * contrib/convert-formedtree2html.xsl: Display switch nodes as
580            alternatives.
581            
582    2007-08-21      Frank Koormann <[email protected]>
583    
584          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
585          Replace technical types with readable descriptions          Replace technical types with readable descriptions

Legend:
Removed from v.67  
changed lines
  Added in v.142

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26