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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26