/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.71  
changed lines
  Added in v.144

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26