/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 109 by teichmann, Wed Aug 29 14:34:56 2007 UTC revision 155 by teichmann, Mon Sep 10 01:09:59 2007 UTC
# Line 1  Line 1 
1    2007-10-05 Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
4              range checking of integers.
5    
6            * tools/formed/formed/plugins/web/controllers.py: Added class
7              ErrorItem to track errors. They are stored in the session.
8    
9    2007-10-05 Sascha L. Teichmann <[email protected]>
10    
11            * tools/formed/formed/model/nodecomponents.py: Fixed returning
12              wrong index in Document.indexOfcomponentByClassAndName.
13    
14            * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
15              written 'errot' in renderer for textareas.
16    
17            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
18    
19    2007-10-05 Sascha L. Teichmann <[email protected]>
20    
21            * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
22              method. Could be cheaper for some implementations of help.
23    
24            * tools/formed/formed/plugins/web/form_renderer.py: Modified
25              FormData to have distinct getData(), getHelp() and getError()
26                    methods. Various bug fixes.
27    
28            * tools/formed/formed/plugins/web/controllers.py: Implements the
29              new FormData (trivial by now).
30    
31            * tools/formed/formed/plugins/web/renderer.py: New FormData and
32              some bug fixes.
33    
34    2007-09-05 Sascha L. Teichmann <[email protected]>
35    
36            * tools/formed/formed/model/memory.py,
37              tools/formed/formed/model/persistent.py: Add a getValue() method
38                    to dataset abstraction. This is a bit of a workaround to bring
39                    global access across pages for rule checking to work.
40    
41            * tools/formed/formed/model/data.py: Fixed: When setting a new expression
42              the compiled version was not stored in the RuleLeaf.
43    
44            * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
45              convert the expression string to ascii for compilation.
46    
47            * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
48              valid data is stored to the dataset immediately now. Fixed a bug
49                    with integer handler.
50    
51            * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
52              stuff. When a submit is done extract the rules from the tree document
53                    that are effected by the modified variables and check them.
54    
55            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
56              when dealing with templates.
57    
58    2007-09-07 Torsten Irlaender <[email protected]>
59            * tools/formed/formed/plugins/web/controllers.py,
60              tools/formed/formed/plugins/web/renderer.py: Moved more render
61              functions into renderer.py. New render classes are:
62              DataSetDigestRenderer, DataSetNavigationRenderer,
63              DataSetFormularRenderer, ConfirmationDialogRenderer
64    
65              Note: The new methods are only called from selected handlers. Other
66              handlers call the renderes in the old way.
67    
68    2007-09-07 Torsten Irlaender <[email protected]>
69            * tools/formed/formed/plugins/web/form_renderer.py: Renamed
70              renderer.py to form_renderer.py. This file will contain formular
71              specfic render methods in the future.
72            * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
73              which will contain general render methods.
74            * tools/formed/formed/plugins/web/controllers.py: Began to move all
75              rendering into renderer.py or form_renderer.py. This file will only
76              contain teh handlers in the future.
77    
78    2007-09-07 Torsten Irlaender <[email protected]>
79            * tools/formed/formed/plugins/web/renderer.py,
80              tools/formed/formed/plugins/web/controller.py:
81              Renderes now get an instance of the formdata object to provide
82              access the data needed to render various infoboxes etc. Handler
83              instanciate the formdata.
84            
85    2007-09-06 Torsten Irlaender <[email protected]>
86            * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
87              getFormData interface to work. Added two small semantic fixes, but
88              did not manage to get it up. Need to exime this a little bit more
89            * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
90              around the menus on the right side to be able to assign different
91              styles. Added dataset actions while editing a dataset.
92            
93    2007-09-05 Torsten Irlaender <[email protected]>
94            * tools/formed/formed/model/memory.py: Fixed deleting datasets by
95              removing unwanted del method
96            * tools/formed/formed/plugins/web/controllers.py: Implemented
97              confiration dialogs for create, delete, and select aof datasets. Started to use
98              templates as well for larger information units like the dataset summary.
99            
100    2007-09-05 Sascha L. Teichmann <[email protected]>
101    
102            * tools/formed/formed/model/nodecomponents.py: Added a
103              method to document to find index of page.
104    
105            * tools/formed/formed/plugins/web/semantic.py: Added getValue()
106              to fetch data from semantic box.
107    
108            * tools/formed/formed/plugins/web/controllers.py: Added new
109              FormData implementation to support DB and semantic box.
110    
111    2007-09-05 Sascha L. Teichmann <[email protected]>
112    
113            * tools/formed/formed/plugins/web/renderer.py: escaped
114              error message.
115    
116            * tools/formed/formed/plugins/web/controllers.py: Don't fetch
117              dataset from backend each time a page is up to edit.
118    
119    2007-09-05 Sascha L. Teichmann <[email protected]>
120    
121            * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
122              returns "Page not found" if given page is None.
123    
124            * tools/formed/formed/plugins/web/controllers.py: Added checks
125              to avoid crashing when ask for a non-existent page.
126    
127    2007-09-05 Sascha L. Teichmann <[email protected]>
128    
129            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
130    
131    2007-09-05 Sascha L. Teichmann <[email protected]>
132    
133            * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
134              and renderers.
135    
136            * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
137              and renderers now. TODO: Move renderers to renderer.py
138    
139    2007-09-05 Torsten Irlaender <[email protected]>
140    
141            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
142              and bound in the the new added functions to create, edit, delete and
143              show formdata.
144            
145    2007-09-05 Sascha L. Teichmann <[email protected]>
146    
147            * tools/formed/formed/model/memory.py: Removed bisect and use a
148              simple linear scan for dataset lookup now.
149    
150            * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
151              of different sizes.
152    
153    2007-09-05 Torsten Irlaender <[email protected]>
154    
155            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
156              fuction
157                    
158            * tools/formed/formed/plugins/web/persistent.py: Added store() method
159              to the DataSet interface
160    
161            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
162              renderes for create, update, delete and show actions on formular data.
163    
164    2007-09-04 Sascha L. Teichmann <[email protected]>
165    
166            * tools/formed/formed/plugins/web/server.py: The mapping
167              to methods is now driven by regualar expressions and
168                    a dictionary. Response objects are now able to send
169                    error codes.
170    
171            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
172              when help in Formdata is None. Moved text for help into
173                    a top level '''...''' variable.
174    
175            * tools/formed/test-data/simple.xml: Added test for help.
176    
177            * tools/formed/formed/plugins/web/help.py: extra None check.
178    
179            * tools/formed/formed/plugins/web/plugin.py: Uses the new
180              table driven mapping of reguest handling. TODO: split the
181                    WebPlugIn.pageHandler() method further to smaller handlers.
182                    Smaller clean ups and better exception handling.
183    
184            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
185              and do not catch them.
186    
187    2007-09-04 Torsten Irlaender <[email protected]>
188    
189            * tools/formed/formed/plugins/web/renderer.py,
190            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
191              the HelpProvider and inserted help icons to the html output.
192              Added decorator for Formelemnts, so textfields, choices etc. are now
193              within a <div> tag.
194              Modified the error messages.
195    
196    2007-09-04 Sascha L. Teichmann <[email protected]>
197    
198            * tools/formed/formed/plugins/web/cache.py: New. Implements
199              the server-side caching more clean. Fixes a bug with
200                    serving static content.
201    
202            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
203    
204    2007-09-04 Sascha L. Teichmann <[email protected]>
205    
206            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
207              to "application/xhtml+xml" when serving help texts.
208    
209    2007-09-03 Sascha L. Teichmann <[email protected]>
210    
211            * tools/formed/formed/plugins/export/diff.py: New. Exports
212              pairwise differences between all modes.
213    
214            * tools/formed/formed/config.py: Use new export filter.
215    
216    2007-09-03 Sascha L. Teichmann <[email protected]>
217    
218            * tools/formed/formed/plugins/web/help.py: New. Parses an
219              XHTML document for id'ed divs and builds a help lookup.
220    
221            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
222              the help content frame.
223    
224            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
225              help text index.
226    
227            * tools/formed/formed/plugins/web/plugin.py: Serves the help
228              texts now.
229    
230    2007-09-03 Torsten Irlaender <[email protected]>
231    
232            * tools/formed/formed/plugins/web/plugin.py: Only visible group
233              elements will be rendered in the formular navigation.
234              Formular pages in the navigation now have their own css-style
235              attributes.
236    
237    2007-09-03 Torsten Irlaender <[email protected]>
238    
239            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
240              errors in template
241            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
242              pageerrors variable
243    
244    2007-09-03 Frank Koormann <[email protected]>
245    
246            * tools/formed/formed/plugins/export/html.py
247            (RecursiveExporter): Added annotation to export
248            (fillRow()): Renamed old fillNine to this more generic name.
249            
250    
251    2007-09-03 Sascha L. Teichmann <[email protected]>
252    
253            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
254              from model.misc now.
255    
256    2007-09-03 Sascha L. Teichmann <[email protected]>
257    
258            * tools/formed/formed/model/nodecomponents.py: Added an
259              'annotation' attribute to node components. This is to
260                    enable FormEd document authors to add comments to groups
261                    and fields.
262    
263    2007-09-03 Frank Koormann <[email protected]>
264    
265            * tools/formed/formed/model/nodecomponents.py
266            (NodeComponent.getParent): New method to get node components parent.
267    
268            * tools/formed/formed/plugins/export/html.py: Export Choice option
269            as simple list instead of collection of bools.
270    
271    2007-09-02 Sascha L. Teichmann <[email protected]>
272    
273            * tools/formed/formed/model/persistent.py: Interfaces to abstract
274              from persistent storage details.
275    
276            * tools/formed/formed/model/memory.py: In core implementation
277              of the persistent interfaces.
278    
279            * tools/formed/formed/main.py: Holds a memory data store now.
280    
281    2007-09-02 Sascha L. Teichmann <[email protected]>
282    
283            * tools/formed/formed/plugins/export/sql.py,
284              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
285                    for FileDialogFilter sub classes.
286    
287    2007-09-02 Sascha L. Teichmann <[email protected]>
288    
289            * tools/formed/formed/model/misc.py: Checking the mode in recursive
290              tree traversals is a common task. To ease this a decorator function
291                    checkMode in union with sub classing ModeChecker can be used.
292                    To make it work simply subclass from ModeChecker and add the decorator
293                    to the methods that need mode tracking. Before you start the recursion
294                    call self.prepareDescent().
295    
296            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
297              now which replace the old. TODO: Make the web renderer use the new scheme
298                    too.
299    
300    2007-09-02 Sascha L. Teichmann <[email protected]>
301    
302            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
303    
304            * tools/formed/formed/plugins/export/html.py: HTML table exporter
305              uses new FileDialogFilter base class too.
306    
307    2007-09-02 Sascha L. Teichmann <[email protected]>
308    
309            * tools/formed/formed/plugins/ui/*: New. All file exporters
310              need a file dialog. Till now each of them pulled up its
311                    own. This was silly code replication. Now there is an abstract
312                    base class 'FileDialogFilter' which implements the common
313                    behavior. The file exporters should subclass it.
314    
315            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
316              exporters from the new base class. TODO: Subclass the HTML
317                    exporter too.
318    
319    2007-08-31 Sascha L. Teichmann <[email protected]>
320    
321            * tools/formed/formed/plugins/export/html.py: Make mode check
322              work (again).
323    
324    2007-08-31 Torsten Irlaender <[email protected]>
325    
326            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
327              exprt works now in a recursive way. This change was needed because
328              the structure of the formedtree has changed to be able to render
329              full hirachically document stuctures. (nested lists)
330              TODO: Fix modechecking
331    
332    2007-08-31 Torsten Irlaender <[email protected]>
333    
334            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
335              now in recursive way. This change was needed because the structure
336              of the formedtree has changed to be able to render full hirachically
337              document stuctures. (nested lists)
338    
339    2007-08-31 Sascha L. Teichmann <[email protected]>
340    
341            * tools/formed/formed/model/nodecomponents.py: use discard()
342              instead of remove on sets.
343    
344            * tools/formed/formed/plugins/export/sql.py: Added an
345              exporter for table views.
346    
347            * tools/formed/formed/config.py: Added the new exporter
348              to the list of export filters.
349    
350    2007-08-30 Sascha L. Teichmann <[email protected]>
351    
352            * tools/formed/formed/model/data.py: Fixed a bug in
353              Page.allWidgets()
354    
355            * tools/formed/formed/plugins/export/sql.py: Added an exporter
356              for stored procudeures.
357    
358            * tools/formed/formed/config.py: Add the new SP exporter.
359    
360    2007-08-29 Torsten Irlaender <[email protected]>
361    
362            * tools/formed/formed/plugins/web/plugin.py,
363              tools/formed/formed/plugins/web/error_renderer.py: Added interface
364              to get the errors for a whole page in te formular. These errors can
365              now be displayed on the top of the formular.
366    
367    2007-08-29 Torsten Irlaender <[email protected]>
368    
369            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
370              of the getFromData interface and prepared the rederer for generating
371              nice error messages
372    
373    2007-08-28 Frank Koormann <[email protected]>
374    
375            * tools/formed/formed/plugins/export/sql.py
376            (SchemaCreator.createSchema, SchemaCreator._createGroup):
377            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
378    
379    2007-08-28 Torsten Irlaender <[email protected]>
380    
381            * tools/formed/formed/plugins/export/sql.py: Added small helper
382              function to generated valid quotes within the sql statements
383    
384  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29 Sascha L. Teichmann <[email protected]>
385    
386          * tools/formed/formed/plugins/export/sql.py: Added foreign keys          * tools/formed/formed/plugins/export/sql.py: Added foreign keys

Legend:
Removed from v.109  
changed lines
  Added in v.155

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26