/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26