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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26