/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.80  
changed lines
  Added in v.150

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26