/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 69 by teichmann, Tue Aug 21 13:37:04 2007 UTC revision 169 by teichmann, Tue Sep 11 14:02:53 2007 UTC
# Line 1  Line 1 
1    2007-09-11 Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
4              generation for ints, texts and textareas. Fixed h depths of infos.
5    
6    2007-09-11 Sascha L. Teichmann <[email protected]>
7    
8            * tools/formed/formed/plugins/web/form_renderer.py: Removed
9              debug output for help.
10    
11            * tools/formed/formed/plugins/web/semantic.py: Added forgotten
12              check for bools.
13    
14            * tools/formed/formed/plugins/web/controllers.py:  Added correct
15              HTML output of data for bools.
16    
17    2007-09-11 Torsten Irlaender <[email protected]>
18    
19            * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
20              textfields for int values. Changed Label for submitbuttons to
21              "Speichern"
22    
23            * tools/formed/formed/plugins/web/plugin.py,
24              tools/formed/formed/plugins/web/controllers.py: Added new
25              NotImplementedHandler to show up a dummysite for not implemented
26              functions.
27    
28            * tools/formed/formed/plugins/web/renderer.py: Added
29              NotImplementedRenderer. Various small fixes. Mostly renaming the
30              labels of some context menus. Error messages are now generated
31              dynamically depending on num errors. Formular navigation has now
32              colored indication for errors.
33    
34    2007-09-11 Torsten Irlaender <[email protected]>
35    
36            * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
37              algorithm for the formular navigation to get rid of the problem
38              that some of the items within the navigation are not linked.  Now
39              structural group elements are linked with the next page found in the
40              formular structure.
41    
42    2007-09-10 Torsten Irlaender <[email protected]>
43            * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
44              div and formtag.
45    
46            * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
47              menu in the conformation dialog when creating a new dataset.
48    
49            * tools/formed/formed/plugins/web/renderer.py: Fixed error when
50              rendering the default welcome page. Changed rendering of the
51              overview and the digest table of the datasets. Added icon for
52              confirmation dialog, moved the icon in the <h1> tags.  
53    
54    2007-09-10 Torsten Irlaender <[email protected]>
55    
56            * tools/formed/formed/plugins/web/form_renderer.py: Some html
57              generation cleanup. Added error icons to formelements
58    
59            * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
60              of ErrorStatus. Fixed generated of the help tags in the formular
61    
62            * tools/formed/formed/plugins/web/renderer.py: Added error icon for
63              pageerrors. An "!" now indicates errors on pages in the formular
64              navigation. Added new <div> "content" around confirmation dialogss.
65              Links in confimation dialogs are now rendered as buttons. Removed
66              old obsolete OverviewRenderer.
67    
68    2007-09-10 Sascha L. Teichmann <[email protected]>
69    
70            * tools/formed/formed/plugins/web/renderer.py: Highlight selected
71              page in page navigation.
72    
73    2007-09-10 Torsten Irlaender <[email protected]>
74    
75            * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
76              displaying formdata when changing datasets. Loading the right
77              formdata was not handled in a correct way. Hope it is all fixed now.
78              Left some commented code because not all sideeffects of the changes
79              are tested yet.
80    
81            * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
82              now uses the correct data out of the formdata.
83    
84    2007-09-10 Sascha L. Teichmann <[email protected]>
85    
86            * tools/formed/formed/plugins/web/controllers.py: Pretty
87              print format data (dates e.g)
88    
89    2007-09-10 Sascha L. Teichmann <[email protected]>
90    
91            * tools/formed/formed/plugins/web/controllers.py: Modified
92              ErrorStats a bit to avoid mysterious extra error on page.
93                    No clue why this works.
94    
95    2007-09-10 Sascha L. Teichmann <[email protected]>
96    
97            * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
98              problem with radio groups, too.
99    
100    2007-09-10 Torsten Irlaender <[email protected]>
101            * tools/formed/formed/plugins/web/controllers.py: Sessions are now
102              really removed when deleting a dataset.
103            
104    2007-09-10 Torsten Irlaender <[email protected]>
105    
106            * tools/formed/formed/plugins/web/controllers.py: Added new Class
107              ErrorStats which provides Information on remaining errors per page.
108    
109            * tools/formed/formed/plugins/web/renderers.py: Finished movement of
110              the renderer methods from controllers.py to renderers.py.
111    
112            * tools/formed/formed/plugins/web/plugin.py: Removed render_session
113              handlers
114    
115    2007-09-10 Sascha L. Teichmann <[email protected]>
116    
117            * tools/formed/formed/plugins/web/form_renderer.py: values for
118              choices are generated from the document tree now. This brings
119                    the state storage of select boxes in HTML to live.
120    
121    2007-09-09 Sascha L. Teichmann <[email protected]>
122    
123            * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
124              range checking of integers.
125    
126            * tools/formed/formed/plugins/web/controllers.py: Added class
127              ErrorItem to track errors. They are stored in the session.
128    
129    2007-09-09 Sascha L. Teichmann <[email protected]>
130    
131            * tools/formed/formed/model/nodecomponents.py: Fixed returning
132              wrong index in Document.indexOfcomponentByClassAndName.
133    
134            * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
135              written 'errot' in renderer for textareas.
136    
137            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
138    
139    2007-09-09 Sascha L. Teichmann <[email protected]>
140    
141            * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
142              method. Could be cheaper for some implementations of help.
143    
144            * tools/formed/formed/plugins/web/form_renderer.py: Modified
145              FormData to have distinct getData(), getHelp() and getError()
146                    methods. Various bug fixes.
147    
148            * tools/formed/formed/plugins/web/controllers.py: Implements the
149              new FormData (trivial by now).
150    
151            * tools/formed/formed/plugins/web/renderer.py: New FormData and
152              some bug fixes.
153    
154    2007-09-09 Sascha L. Teichmann <[email protected]>
155    
156            * tools/formed/formed/model/memory.py,
157              tools/formed/formed/model/persistent.py: Add a getValue() method
158                    to dataset abstraction. This is a bit of a workaround to bring
159                    global access across pages for rule checking to work.
160    
161            * tools/formed/formed/model/data.py: Fixed: When setting a new expression
162              the compiled version was not stored in the RuleLeaf.
163    
164            * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
165              convert the expression string to ascii for compilation.
166    
167            * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
168              valid data is stored to the dataset immediately now. Fixed a bug
169                    with integer handler.
170    
171            * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
172              stuff. When a submit is done extract the rules from the tree document
173                    that are effected by the modified variables and check them.
174    
175            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
176              when dealing with templates.
177    
178    2007-09-07 Torsten Irlaender <[email protected]>
179            * tools/formed/formed/plugins/web/controllers.py,
180              tools/formed/formed/plugins/web/renderer.py: Moved more render
181              functions into renderer.py. New render classes are:
182              DataSetDigestRenderer, DataSetNavigationRenderer,
183              DataSetFormularRenderer, ConfirmationDialogRenderer
184    
185              Note: The new methods are only called from selected handlers. Other
186              handlers call the renderes in the old way.
187    
188    2007-09-07 Torsten Irlaender <[email protected]>
189            * tools/formed/formed/plugins/web/form_renderer.py: Renamed
190              renderer.py to form_renderer.py. This file will contain formular
191              specfic render methods in the future.
192            * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
193              which will contain general render methods.
194            * tools/formed/formed/plugins/web/controllers.py: Began to move all
195              rendering into renderer.py or form_renderer.py. This file will only
196              contain teh handlers in the future.
197    
198    2007-09-07 Torsten Irlaender <[email protected]>
199            * tools/formed/formed/plugins/web/renderer.py,
200              tools/formed/formed/plugins/web/controller.py:
201              Renderes now get an instance of the formdata object to provide
202              access the data needed to render various infoboxes etc. Handler
203              instanciate the formdata.
204            
205    2007-09-06 Torsten Irlaender <[email protected]>
206            * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
207              getFormData interface to work. Added two small semantic fixes, but
208              did not manage to get it up. Need to exime this a little bit more
209            * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
210              around the menus on the right side to be able to assign different
211              styles. Added dataset actions while editing a dataset.
212            
213    2007-09-05 Torsten Irlaender <[email protected]>
214            * tools/formed/formed/model/memory.py: Fixed deleting datasets by
215              removing unwanted del method
216            * tools/formed/formed/plugins/web/controllers.py: Implemented
217              confiration dialogs for create, delete, and select aof datasets. Started to use
218              templates as well for larger information units like the dataset summary.
219            
220    2007-09-05 Sascha L. Teichmann <[email protected]>
221    
222            * tools/formed/formed/model/nodecomponents.py: Added a
223              method to document to find index of page.
224    
225            * tools/formed/formed/plugins/web/semantic.py: Added getValue()
226              to fetch data from semantic box.
227    
228            * tools/formed/formed/plugins/web/controllers.py: Added new
229              FormData implementation to support DB and semantic box.
230    
231    2007-09-05 Sascha L. Teichmann <[email protected]>
232    
233            * tools/formed/formed/plugins/web/renderer.py: escaped
234              error message.
235    
236            * tools/formed/formed/plugins/web/controllers.py: Don't fetch
237              dataset from backend each time a page is up to edit.
238    
239    2007-09-05 Sascha L. Teichmann <[email protected]>
240    
241            * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
242              returns "Page not found" if given page is None.
243    
244            * tools/formed/formed/plugins/web/controllers.py: Added checks
245              to avoid crashing when ask for a non-existent page.
246    
247    2007-09-05 Sascha L. Teichmann <[email protected]>
248    
249            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
250    
251    2007-09-05 Sascha L. Teichmann <[email protected]>
252    
253            * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
254              and renderers.
255    
256            * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
257              and renderers now. TODO: Move renderers to renderer.py
258    
259    2007-09-05 Torsten Irlaender <[email protected]>
260    
261            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
262              and bound in the the new added functions to create, edit, delete and
263              show formdata.
264            
265    2007-09-05 Sascha L. Teichmann <[email protected]>
266    
267            * tools/formed/formed/model/memory.py: Removed bisect and use a
268              simple linear scan for dataset lookup now.
269    
270            * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
271              of different sizes.
272    
273    2007-09-05 Torsten Irlaender <[email protected]>
274    
275            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
276              fuction
277                    
278            * tools/formed/formed/plugins/web/persistent.py: Added store() method
279              to the DataSet interface
280    
281            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
282              renderes for create, update, delete and show actions on formular data.
283    
284    2007-09-04 Sascha L. Teichmann <[email protected]>
285    
286            * tools/formed/formed/plugins/web/server.py: The mapping
287              to methods is now driven by regualar expressions and
288                    a dictionary. Response objects are now able to send
289                    error codes.
290    
291            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
292              when help in Formdata is None. Moved text for help into
293                    a top level '''...''' variable.
294    
295            * tools/formed/test-data/simple.xml: Added test for help.
296    
297            * tools/formed/formed/plugins/web/help.py: extra None check.
298    
299            * tools/formed/formed/plugins/web/plugin.py: Uses the new
300              table driven mapping of reguest handling. TODO: split the
301                    WebPlugIn.pageHandler() method further to smaller handlers.
302                    Smaller clean ups and better exception handling.
303    
304            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
305              and do not catch them.
306    
307    2007-09-04 Torsten Irlaender <[email protected]>
308    
309            * tools/formed/formed/plugins/web/renderer.py,
310            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
311              the HelpProvider and inserted help icons to the html output.
312              Added decorator for Formelemnts, so textfields, choices etc. are now
313              within a <div> tag.
314              Modified the error messages.
315    
316    2007-09-04 Sascha L. Teichmann <[email protected]>
317    
318            * tools/formed/formed/plugins/web/cache.py: New. Implements
319              the server-side caching more clean. Fixes a bug with
320                    serving static content.
321    
322            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
323    
324    2007-09-04 Sascha L. Teichmann <[email protected]>
325    
326            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
327              to "application/xhtml+xml" when serving help texts.
328    
329    2007-09-03 Sascha L. Teichmann <[email protected]>
330    
331            * tools/formed/formed/plugins/export/diff.py: New. Exports
332              pairwise differences between all modes.
333    
334            * tools/formed/formed/config.py: Use new export filter.
335    
336    2007-09-03 Sascha L. Teichmann <[email protected]>
337    
338            * tools/formed/formed/plugins/web/help.py: New. Parses an
339              XHTML document for id'ed divs and builds a help lookup.
340    
341            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
342              the help content frame.
343    
344            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
345              help text index.
346    
347            * tools/formed/formed/plugins/web/plugin.py: Serves the help
348              texts now.
349    
350    2007-09-03 Torsten Irlaender <[email protected]>
351    
352            * tools/formed/formed/plugins/web/plugin.py: Only visible group
353              elements will be rendered in the formular navigation.
354              Formular pages in the navigation now have their own css-style
355              attributes.
356    
357    2007-09-03 Torsten Irlaender <[email protected]>
358    
359            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
360              errors in template
361            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
362              pageerrors variable
363    
364    2007-09-03 Frank Koormann <[email protected]>
365    
366            * tools/formed/formed/plugins/export/html.py
367            (RecursiveExporter): Added annotation to export
368            (fillRow()): Renamed old fillNine to this more generic name.
369            
370    
371    2007-09-03 Sascha L. Teichmann <[email protected]>
372    
373            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
374              from model.misc now.
375    
376    2007-09-03 Sascha L. Teichmann <[email protected]>
377    
378            * tools/formed/formed/model/nodecomponents.py: Added an
379              'annotation' attribute to node components. This is to
380                    enable FormEd document authors to add comments to groups
381                    and fields.
382    
383    2007-09-03 Frank Koormann <[email protected]>
384    
385            * tools/formed/formed/model/nodecomponents.py
386            (NodeComponent.getParent): New method to get node components parent.
387    
388            * tools/formed/formed/plugins/export/html.py: Export Choice option
389            as simple list instead of collection of bools.
390    
391    2007-09-02 Sascha L. Teichmann <[email protected]>
392    
393            * tools/formed/formed/model/persistent.py: Interfaces to abstract
394              from persistent storage details.
395    
396            * tools/formed/formed/model/memory.py: In core implementation
397              of the persistent interfaces.
398    
399            * tools/formed/formed/main.py: Holds a memory data store now.
400    
401    2007-09-02 Sascha L. Teichmann <[email protected]>
402    
403            * tools/formed/formed/plugins/export/sql.py,
404              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
405                    for FileDialogFilter sub classes.
406    
407    2007-09-02 Sascha L. Teichmann <[email protected]>
408    
409            * tools/formed/formed/model/misc.py: Checking the mode in recursive
410              tree traversals is a common task. To ease this a decorator function
411                    checkMode in union with sub classing ModeChecker can be used.
412                    To make it work simply subclass from ModeChecker and add the decorator
413                    to the methods that need mode tracking. Before you start the recursion
414                    call self.prepareDescent().
415    
416            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
417              now which replace the old. TODO: Make the web renderer use the new scheme
418                    too.
419    
420    2007-09-02 Sascha L. Teichmann <[email protected]>
421    
422            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
423    
424            * tools/formed/formed/plugins/export/html.py: HTML table exporter
425              uses new FileDialogFilter base class too.
426    
427    2007-09-02 Sascha L. Teichmann <[email protected]>
428    
429            * tools/formed/formed/plugins/ui/*: New. All file exporters
430              need a file dialog. Till now each of them pulled up its
431                    own. This was silly code replication. Now there is an abstract
432                    base class 'FileDialogFilter' which implements the common
433                    behavior. The file exporters should subclass it.
434    
435            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
436              exporters from the new base class. TODO: Subclass the HTML
437                    exporter too.
438    
439    2007-08-31 Sascha L. Teichmann <[email protected]>
440    
441            * tools/formed/formed/plugins/export/html.py: Make mode check
442              work (again).
443    
444    2007-08-31 Torsten Irlaender <[email protected]>
445    
446            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
447              exprt works now in a recursive way. This change was needed because
448              the structure of the formedtree has changed to be able to render
449              full hirachically document stuctures. (nested lists)
450              TODO: Fix modechecking
451    
452    2007-08-31 Torsten Irlaender <[email protected]>
453    
454            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
455              now in recursive way. This change was needed because the structure
456              of the formedtree has changed to be able to render full hirachically
457              document stuctures. (nested lists)
458    
459    2007-08-31 Sascha L. Teichmann <[email protected]>
460    
461            * tools/formed/formed/model/nodecomponents.py: use discard()
462              instead of remove on sets.
463    
464            * tools/formed/formed/plugins/export/sql.py: Added an
465              exporter for table views.
466    
467            * tools/formed/formed/config.py: Added the new exporter
468              to the list of export filters.
469    
470    2007-08-30 Sascha L. Teichmann <[email protected]>
471    
472            * tools/formed/formed/model/data.py: Fixed a bug in
473              Page.allWidgets()
474    
475            * tools/formed/formed/plugins/export/sql.py: Added an exporter
476              for stored procudeures.
477    
478            * tools/formed/formed/config.py: Add the new SP exporter.
479    
480    2007-08-29 Torsten Irlaender <[email protected]>
481    
482            * tools/formed/formed/plugins/web/plugin.py,
483              tools/formed/formed/plugins/web/error_renderer.py: Added interface
484              to get the errors for a whole page in te formular. These errors can
485              now be displayed on the top of the formular.
486    
487    2007-08-29 Torsten Irlaender <[email protected]>
488    
489            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
490              of the getFromData interface and prepared the rederer for generating
491              nice error messages
492    
493    2007-08-28 Frank Koormann <[email protected]>
494    
495            * tools/formed/formed/plugins/export/sql.py
496            (SchemaCreator.createSchema, SchemaCreator._createGroup):
497            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
498    
499    2007-08-28 Torsten Irlaender <[email protected]>
500    
501            * tools/formed/formed/plugins/export/sql.py: Added small helper
502              function to generated valid quotes within the sql statements
503    
504    2007-08-29 Sascha L. Teichmann <[email protected]>
505    
506            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
507              for repeat tables.
508              
509    2007-08-29 Sascha L. Teichmann <[email protected]>
510    
511            * tools/formed/formed/plugins/export/sql.py: When generating
512              an extra table check in a table of same content exists. In
513                    this case reference the existing table.
514    
515    2007-08-29 Sascha L. Teichmann <[email protected]>
516    
517            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
518              _real_ SQL and respect repeat groups.
519    
520            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
521    
522            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
523              instead of expensive += string concat in some places.
524    
525    2007-08-29 Sascha L. Teichmann <[email protected]>
526    
527            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
528              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
529    
530    2007-08-28 Torsten Irlaender <[email protected]>
531    
532            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
533            * tools/formed/model/data.py: Implements Formadata interface to
534              textfields. Fieldset generated depends now on the "invisible"
535              attribute of the groupnode. Field-label generation slightly changed.
536              Added error indication to textfields
537    
538    2007-08-28 Sascha L. Teichmann <[email protected]>
539    
540            * tools/formed/formed/model/data.py,
541              tools/formed/formed/io/document.py: Removed support
542                    of logical groups.
543    
544    2007-08-28 Sascha L. Teichmann <[email protected]>
545    
546            * tools/formed/formed/io/document.py: Avoid saving empty
547              attributes.
548    
549            * tools/formed/test-data/simple.xml: Applied.
550    
551    2007-08-28 Sascha L. Teichmann <[email protected]>
552    
553            * tools/formed/formed/model/data.py: Added 'repeat' and
554              'invisible' attributes to group. TODO: remove logical group.
555    
556    2007-08-27 Torsten Irlaender <[email protected]>
557    
558            * tools/formed/plugins/web/plugin.py,
559              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
560              depending tags in the html generation.
561    
562    2007-08-27 Sascha L. Teichmann <[email protected]>
563    
564            * tools/formed/formed/model/data.py,
565              tools/formed/formed/io/document.py: Added a logical group.
566                    It has an attribute 'repeat' to indicate that it might
567                    be worthy an external table in DB schema.
568    
569    2007-08-27 Sascha L. Teichmann <[email protected]>
570    
571            * tools/formed/formed/plugins/web/plugin.py: Support
572              serving of static content.
573    
574            * tools/formed/formed/plugins/web/server.py: Removed
575              old send code.
576    
577    2007-08-27 Sascha L. Teichmann <[email protected]>
578    
579            * tools/formed/formed/plugins/web/plugin.py: Use new
580              Response object. Fix typo.
581    
582            * tools/formed/formed/plugins/web/server.py: support
583              response object to serve different MIME types.
584    
585    2007-08-27 Sascha L. Teichmann <[email protected]>
586    
587            * tools/formed/formed/plugins/web/plugin.py: Add web.path
588              to FORMED environment  variable to specify the
589                    root of the static content.
590    
591    2007-08-26 Sascha L. Teichmann <[email protected]>
592    
593            * tools/formed/formed/model/data.py,
594              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
595    
596            * tools/formed/formed/plugins/web/www,
597              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
598                    a template for the HTML output.
599    
600            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
601              mode issues. Introduces CSS support. Simplified the action
602                    handling.
603    
604            * tools/formed/formed/plugins/web/renderer.py: Removed the
605              nagivation code.
606    
607            * tools/formed/formed/plugins/web/server.py: Added missing import.
608    
609    2007-08-26 Sascha L. Teichmann <[email protected]>
610    
611            * tools/formed/formed/model/data.py: Added missing broadcast
612              parameter to setAttribute() of RuleLeaf.
613    
614            * tools/formed/formed/plugins/web/plugin.py: Factorize
615              HTTP server code out to separate module.
616    
617            * tools/formed/formed/plugins/web/renderer.py: Removed
618              needless -1 from pop()
619    
620            * tools/formed/formed/plugins/web/server.py: New. Contains
621              the HTTP server code now.
622    
623    2007-08-26 Sascha L. Teichmann <[email protected]>
624    
625            * tools/formed/test-data/simple.xml: Modified to contain a rule.
626    
627            * tools/formed/formed/model/expr.py: Added. A simple RPN
628              expression evaluator. To avoid the problem of eval()ing
629                    arbitrary python expressions I've decided to use a very
630                    basic and limited stack machine to support rule checking.
631    
632            * tools/formed/formed/model/data.py: Added a RuleLeaf.
633    
634            * tools/formed/formed/io/document.py: Added factories for rules.
635    
636            * tools/formed/formed/model/nodecomponents.py: Add a method
637              to find all items of a given type in document for a given
638                    mode. Usefull to find all rules in the tree.
639    
640            * tools/formed/formed/ui/controls.py: Added a listener mechanism
641              to attribute table to report exceptions when setting a value
642                    from GUI. Useful to report compilation errors when setting
643                    expr of rule leafs.
644    
645            * tools/formed/formed/main.py: Added a method to track exceptions
646              from the attribute table and pop up dialogs if they occur.
647                    Added a counter of rule modifications in tree. Useful if you
648                    want build cached data structures like rule sets and you want
649                    to know if they are still valid.
650    
651    2007-08-24 Torsten Irlaender <[email protected]>
652    
653            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
654              for checkbox values. (Syntax error).
655    
656            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
657              generation  
658    
659    2007-08-24 Torsten Irlaender <[email protected]>
660    
661            * tools/formed/formed/plugins/names/filter.py: Separated Class for
662              making the formularnames more database friendly. Added some more
663              checks.
664            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
665              separated class, and some fixes in sql generation.
666    
667    2007-08-24 Sascha L. Teichmann <[email protected]>
668    
669            * tools/formed/formed/plugins/export/html.py: Print lengths
670              of external choice list.
671    
672    2007-08-24 Sascha L. Teichmann <[email protected]>
673    
674            * tools/formed/formed/main.py: Little workaround for
675              mode selection if someone adds an removes a mode.
676    
677    2007-08-24 Sascha L. Teichmann <[email protected]>
678    
679            * tools/formed/test-data/simple.xml: Better test case for
680              mode depended leaf items.
681    
682            * tools/formed/formed/model/nodecomponents.py: Added a method
683              to calculate the effective mode of an item.
684    
685            * tools/formed/formed/plugins/export/html.py: Use effective
686              mode. TODO: the 'all' modus return false results sometimes.
687                    Cause: The modes are only cumulated over time. Removal is
688                    not done.
689    
690    2007-08-24 Sascha L. Teichmann <[email protected]>
691    
692            * tools/formed/formed/plugins/export/html.py: Dump the items
693              of radio groups and choices too.
694    
695    2007-08-24 Torsten Irlaender <[email protected]>
696    
697            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
698              by formular names to make the naming more database friendly.
699              Now only alphanumeric and underscore chars is allowed.
700    
701    2007-08-24 Sascha L. Teichmann <[email protected]>
702    
703            * tools/formed/formed/plugins/export/html.py: Tweaked
704              HTML table exporter a bit to be on par with the XSLT
705                    script. TODO: Dump items in radio and choice groups.
706    
707    2007-08-23 Sascha L. Teichmann <[email protected]>
708    
709            * tools/formed/formed/plugins/names/filter.py: Removed
710              HTML and SQL exporters.
711    
712            * tools/formed/formed/plugins/export,
713              tools/formed/formed/plugins/export/__init__.py,
714              tools/formed/formed/plugins/export/sql.py,
715              tools/formed/formed/plugins/export/html.py: New: Contain
716                    the HTML and the SQL exporters now.
717    
718            * tools/formed/formed/config.py: Use exporters from different
719              package now.
720    
721    2007-08-23 Torsten Irlaender <[email protected]>
722    
723            * tools/formed/formed/plugins/names/filter.py: Added an
724              pseudo SQL export filters. TODO: Move HTML and SQL filter
725              in a new file (formed/plugins/export/htmlexport.py and
726              sqlexport.py?)
727    
728            * tools/formed/formed/config.py: Install the new SQL filter.
729    
730    2007-08-23 Sascha L. Teichmann <[email protected]>
731    
732            * tools/formed/formed/model/nodecomponents.py: Added a depth()
733              method to determine the depth of particular tree item.
734    
735            * tools/formed/formed/plugins/names/filter.py: Added an
736              HTML export filters. TODO: needs more work.
737    
738            * tools/formed/formed/config.py: Install the new HTML filter.
739    
740    2007-08-23 Torsten Irlaender <[email protected]>
741    
742            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
743              to extract fields and options in the XFA Data in teh PDF. This
744              script might me handy to indicate changes between the different
745              formular versions.
746            
747    2007-08-23 Sascha L. Teichmann <[email protected]>
748    
749            * tools/formed/formed/main.py: Add an 'all' mode to
750              select all modes. ;-)
751    
752    2007-08-22 Sascha L. Teichmann <[email protected]>
753    
754            * tools/formed/test-data/simple.xml,
755              tools/formed/formed/model/data.py,
756              tools/formed/formed/plugins/web/plugin.py,
757              tools/formed/formed/plugins/web/renderer.py,
758              tools/formed/formed/io/document.py,
759              tools/formed/formed/main.py: Removed support for switch nodes.
760              BEWARE: This breaks compatibility with older documents!
761    
762    2007-08-22 Sascha L. Teichmann <[email protected]>
763    
764            * tools/formed/formed/plugins/web/plugin.py: Uses the
765              getSelectedMode() from main now.
766    
767            * tools/formed/formed/main.py: selected mode is now hold
768              in main.
769    
770            * tools/formed/formed/config.py: removed selected mode from
771              env configuration.
772    
773    2007-08-22 Sascha L. Teichmann <[email protected]>
774    
775            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
776              table are now alphabetically sorted.
777    
778    2007-08-22 Sascha L. Teichmann <[email protected]>
779    
780            * tools/formed/formed/model/nodecomponents.py: Added code to
781              establish the new 'modes' recursively.
782    
783            * tools/formed/formed/plugins/plugin.py: Pass main instead
784              of cfg on plug-in start-up.
785    
786            * tools/formed/formed/plugins/web/plugin.py: Use the new
787              'modes' attribute for rendering.
788    
789            * tools/formed/formed/plugins/web/renderer.py: Use decorators
790              to check the new modes.
791    
792            * tools/formed/formed/main.py: Adjusted to new infrastructure.
793    
794    2007-08-22 Sascha L. Teichmann <[email protected]>
795    
796            * tools/formed/formed/model/nodecomponents.py: Added an
797              attribute 'modes' to NodeComponents.
798    
799    2007-08-22 Sascha L. Teichmann <[email protected]>
800    
801            * tools/formed/formed/model/data.py: Small cosmetic cleanups
802    
803    2007-08-21 Sascha L. Teichmann <[email protected]>
804    
805            * tools/formed/formed/plugins/web/renderer.py: Another fix
806              for the hidden field. Argh!
807    
808    2007-08-21 Sascha L. Teichmann <[email protected]>
809    
810            * tools/formed/formed/plugins/web/renderer.py: Fixed double
811              generation of hidden page field.
812    
813    2007-08-21 Sascha L. Teichmann <[email protected]>
814    
815            * tools/formed/formed/plugins/web/semantic.py: Added semantic
816              checks for radio groups.
817    
818  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21 Sascha L. Teichmann <[email protected]>
819    
820          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic

Legend:
Removed from v.69  
changed lines
  Added in v.169

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26