/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 54 by teichmann, Sat Aug 18 11:36:49 2007 UTC revision 109 by teichmann, Wed Aug 29 14:34:56 2007 UTC
# Line 1  Line 1 
1    2007-08-29 Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
4              for repeat tables.
5              
6    2007-08-29 Sascha L. Teichmann <[email protected]>
7    
8            * tools/formed/formed/plugins/export/sql.py: When generating
9              an extra table check in a table of same content exists. In
10                    this case reference the existing table.
11    
12    2007-08-29 Sascha L. Teichmann <[email protected]>
13    
14            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
15              _real_ SQL and respect repeat groups.
16    
17            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
18    
19            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
20              instead of expensive += string concat in some places.
21    
22    2007-08-29 Sascha L. Teichmann <[email protected]>
23    
24            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
25              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
26    
27    2007-08-28 Torsten Irlaender <[email protected]>
28    
29            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
30            * tools/formed/model/data.py: Implements Formadata interface to
31              textfields. Fieldset generated depends now on the "invisible"
32              attribute of the groupnode. Field-label generation slightly changed.
33              Added error indication to textfields
34    
35    2007-08-28 Sascha L. Teichmann <[email protected]>
36    
37            * tools/formed/formed/model/data.py,
38              tools/formed/formed/io/document.py: Removed support
39                    of logical groups.
40    
41    2007-08-28 Sascha L. Teichmann <[email protected]>
42    
43            * tools/formed/formed/io/document.py: Avoid saving empty
44              attributes.
45    
46            * tools/formed/test-data/simple.xml: Applied.
47    
48    2007-08-28 Sascha L. Teichmann <[email protected]>
49    
50            * tools/formed/formed/model/data.py: Added 'repeat' and
51              'invisible' attributes to group. TODO: remove logical group.
52    
53    2007-08-27 Torsten Irlaender <[email protected]>
54    
55            * tools/formed/plugins/web/plugin.py,
56              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
57              depending tags in the html generation.
58    
59    2007-08-27 Sascha L. Teichmann <[email protected]>
60    
61            * tools/formed/formed/model/data.py,
62              tools/formed/formed/io/document.py: Added a logical group.
63                    It has an attribute 'repeat' to indicate that it might
64                    be worthy an external table in DB schema.
65    
66    2007-08-27 Sascha L. Teichmann <[email protected]>
67    
68            * tools/formed/formed/plugins/web/plugin.py: Support
69              serving of static content.
70    
71            * tools/formed/formed/plugins/web/server.py: Removed
72              old send code.
73    
74    2007-08-27 Sascha L. Teichmann <[email protected]>
75    
76            * tools/formed/formed/plugins/web/plugin.py: Use new
77              Response object. Fix typo.
78    
79            * tools/formed/formed/plugins/web/server.py: support
80              response object to serve different MIME types.
81    
82    2007-08-27 Sascha L. Teichmann <[email protected]>
83    
84            * tools/formed/formed/plugins/web/plugin.py: Add web.path
85              to FORMED environment  variable to specify the
86                    root of the static content.
87    
88    2007-08-26 Sascha L. Teichmann <[email protected]>
89    
90            * tools/formed/formed/model/data.py,
91              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
92    
93            * tools/formed/formed/plugins/web/www,
94              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
95                    a template for the HTML output.
96    
97            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
98              mode issues. Introduces CSS support. Simplified the action
99                    handling.
100    
101            * tools/formed/formed/plugins/web/renderer.py: Removed the
102              nagivation code.
103    
104            * tools/formed/formed/plugins/web/server.py: Added missing import.
105    
106    2007-08-26 Sascha L. Teichmann <[email protected]>
107    
108            * tools/formed/formed/model/data.py: Added missing broadcast
109              parameter to setAttribute() of RuleLeaf.
110    
111            * tools/formed/formed/plugins/web/plugin.py: Factorize
112              HTTP server code out to separate module.
113    
114            * tools/formed/formed/plugins/web/renderer.py: Removed
115              needless -1 from pop()
116    
117            * tools/formed/formed/plugins/web/server.py: New. Contains
118              the HTTP server code now.
119    
120    2007-08-26 Sascha L. Teichmann <[email protected]>
121    
122            * tools/formed/test-data/simple.xml: Modified to contain a rule.
123    
124            * tools/formed/formed/model/expr.py: Added. A simple RPN
125              expression evaluator. To avoid the problem of eval()ing
126                    arbitrary python expressions I've decided to use a very
127                    basic and limited stack machine to support rule checking.
128    
129            * tools/formed/formed/model/data.py: Added a RuleLeaf.
130    
131            * tools/formed/formed/io/document.py: Added factories for rules.
132    
133            * tools/formed/formed/model/nodecomponents.py: Add a method
134              to find all items of a given type in document for a given
135                    mode. Usefull to find all rules in the tree.
136    
137            * tools/formed/formed/ui/controls.py: Added a listener mechanism
138              to attribute table to report exceptions when setting a value
139                    from GUI. Useful to report compilation errors when setting
140                    expr of rule leafs.
141    
142            * tools/formed/formed/main.py: Added a method to track exceptions
143              from the attribute table and pop up dialogs if they occur.
144                    Added a counter of rule modifications in tree. Useful if you
145                    want build cached data structures like rule sets and you want
146                    to know if they are still valid.
147    
148    2007-08-24 Torsten Irlaender <[email protected]>
149    
150            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
151              for checkbox values. (Syntax error).
152    
153            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
154              generation  
155    
156    2007-08-24 Torsten Irlaender <[email protected]>
157    
158            * tools/formed/formed/plugins/names/filter.py: Separated Class for
159              making the formularnames more database friendly. Added some more
160              checks.
161            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
162              separated class, and some fixes in sql generation.
163    
164    2007-08-24 Sascha L. Teichmann <[email protected]>
165    
166            * tools/formed/formed/plugins/export/html.py: Print lengths
167              of external choice list.
168    
169    2007-08-24 Sascha L. Teichmann <[email protected]>
170    
171            * tools/formed/formed/main.py: Little workaround for
172              mode selection if someone adds an removes a mode.
173    
174    2007-08-24 Sascha L. Teichmann <[email protected]>
175    
176            * tools/formed/test-data/simple.xml: Better test case for
177              mode depended leaf items.
178    
179            * tools/formed/formed/model/nodecomponents.py: Added a method
180              to calculate the effective mode of an item.
181    
182            * tools/formed/formed/plugins/export/html.py: Use effective
183              mode. TODO: the 'all' modus return false results sometimes.
184                    Cause: The modes are only cumulated over time. Removal is
185                    not done.
186    
187    2007-08-24 Sascha L. Teichmann <[email protected]>
188    
189            * tools/formed/formed/plugins/export/html.py: Dump the items
190              of radio groups and choices too.
191    
192    2007-08-24 Torsten Irlaender <[email protected]>
193    
194            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
195              by formular names to make the naming more database friendly.
196              Now only alphanumeric and underscore chars is allowed.
197    
198    2007-08-24 Sascha L. Teichmann <[email protected]>
199    
200            * tools/formed/formed/plugins/export/html.py: Tweaked
201              HTML table exporter a bit to be on par with the XSLT
202                    script. TODO: Dump items in radio and choice groups.
203    
204    2007-08-23 Sascha L. Teichmann <[email protected]>
205    
206            * tools/formed/formed/plugins/names/filter.py: Removed
207              HTML and SQL exporters.
208    
209            * tools/formed/formed/plugins/export,
210              tools/formed/formed/plugins/export/__init__.py,
211              tools/formed/formed/plugins/export/sql.py,
212              tools/formed/formed/plugins/export/html.py: New: Contain
213                    the HTML and the SQL exporters now.
214    
215            * tools/formed/formed/config.py: Use exporters from different
216              package now.
217    
218    2007-08-23 Torsten Irlaender <[email protected]>
219    
220            * tools/formed/formed/plugins/names/filter.py: Added an
221              pseudo SQL export filters. TODO: Move HTML and SQL filter
222              in a new file (formed/plugins/export/htmlexport.py and
223              sqlexport.py?)
224    
225            * tools/formed/formed/config.py: Install the new SQL filter.
226    
227    2007-08-23 Sascha L. Teichmann <[email protected]>
228    
229            * tools/formed/formed/model/nodecomponents.py: Added a depth()
230              method to determine the depth of particular tree item.
231    
232            * tools/formed/formed/plugins/names/filter.py: Added an
233              HTML export filters. TODO: needs more work.
234    
235            * tools/formed/formed/config.py: Install the new HTML filter.
236    
237    2007-08-23 Torsten Irlaender <[email protected]>
238    
239            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
240              to extract fields and options in the XFA Data in teh PDF. This
241              script might me handy to indicate changes between the different
242              formular versions.
243            
244    2007-08-23 Sascha L. Teichmann <[email protected]>
245    
246            * tools/formed/formed/main.py: Add an 'all' mode to
247              select all modes. ;-)
248    
249    2007-08-22 Sascha L. Teichmann <[email protected]>
250    
251            * tools/formed/test-data/simple.xml,
252              tools/formed/formed/model/data.py,
253              tools/formed/formed/plugins/web/plugin.py,
254              tools/formed/formed/plugins/web/renderer.py,
255              tools/formed/formed/io/document.py,
256              tools/formed/formed/main.py: Removed support for switch nodes.
257              BEWARE: This breaks compatibility with older documents!
258    
259    2007-08-22 Sascha L. Teichmann <[email protected]>
260    
261            * tools/formed/formed/plugins/web/plugin.py: Uses the
262              getSelectedMode() from main now.
263    
264            * tools/formed/formed/main.py: selected mode is now hold
265              in main.
266    
267            * tools/formed/formed/config.py: removed selected mode from
268              env configuration.
269    
270    2007-08-22 Sascha L. Teichmann <[email protected]>
271    
272            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
273              table are now alphabetically sorted.
274    
275    2007-08-22 Sascha L. Teichmann <[email protected]>
276    
277            * tools/formed/formed/model/nodecomponents.py: Added code to
278              establish the new 'modes' recursively.
279    
280            * tools/formed/formed/plugins/plugin.py: Pass main instead
281              of cfg on plug-in start-up.
282    
283            * tools/formed/formed/plugins/web/plugin.py: Use the new
284              'modes' attribute for rendering.
285    
286            * tools/formed/formed/plugins/web/renderer.py: Use decorators
287              to check the new modes.
288    
289            * tools/formed/formed/main.py: Adjusted to new infrastructure.
290    
291    2007-08-22 Sascha L. Teichmann <[email protected]>
292    
293            * tools/formed/formed/model/nodecomponents.py: Added an
294              attribute 'modes' to NodeComponents.
295    
296    2007-08-22 Sascha L. Teichmann <[email protected]>
297    
298            * tools/formed/formed/model/data.py: Small cosmetic cleanups
299    
300    2007-08-21 Sascha L. Teichmann <[email protected]>
301    
302            * tools/formed/formed/plugins/web/renderer.py: Another fix
303              for the hidden field. Argh!
304    
305    2007-08-21 Sascha L. Teichmann <[email protected]>
306    
307            * tools/formed/formed/plugins/web/renderer.py: Fixed double
308              generation of hidden page field.
309    
310    2007-08-21 Sascha L. Teichmann <[email protected]>
311    
312            * tools/formed/formed/plugins/web/semantic.py: Added semantic
313              checks for radio groups.
314    
315    2007-08-21 Sascha L. Teichmann <[email protected]>
316    
317            * tools/formed/formed/plugins/web/semantic.py: Added semantic
318              checks for choices.
319    
320    2007-08-21      Frank Koormann <[email protected]>
321    
322            * contrib/convert-formedtree2html.xsl: Display switch nodes as
323            alternatives.
324            
325    2007-08-21      Frank Koormann <[email protected]>
326    
327            * contrib/convert-formedtree2html.xsl:
328            Replace technical types with readable descriptions
329    
330    2007-08-21 Sascha L. Teichmann <[email protected]>
331    
332            * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
333              issues. 'action' looks for all widgets on a page now, goes
334                    through all passed parameters, tries to match them with the
335                    widgets of the page and put them into the semantic box.
336                    Afterwards a list of untouched page parameters are left
337                    which will be deleted from the semantic box.
338    
339            * tools/formed/formed/plugins/web/semantic.py: Simplified.
340              The NodeComponent is passed as an argument now.
341    
342            * tools/formed/formed/plugins/web/renderer.py: Generate a
343              hidden field to store the name of the page.
344    
345    2007-08-21 Sascha L. Teichmann <[email protected]>
346    
347            * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
348              issue with incoming UTF-8 data.
349    
350    2007-08-21 Sascha L. Teichmann <[email protected]>
351    
352            * tools/formed/test-data/simple.xml: Improve test for widgets
353              in switches.
354    
355            * tools/formed/formed/model/data.py: Added a method to find all
356              widgets in a given page. Fixed a bug when walking in switch
357                    with a given mode.
358    
359            * tools/formed/formed/plugins/web/plugin.py: Simple test for
360              listing all widgets in page.
361    
362    2007-08-21 Torsten Irlaender <[email protected]>
363    
364            * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
365              latin-1
366    
367    2007-08-21 Sascha L. Teichmann <[email protected]>
368    
369            * tools/formed/formed/model/data.py: Added mode parameter to
370              walk.
371                    
372            * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
373              walk() with usage of the new mode parameter. Added a method to
374                    give children in a given mode.
375    
376            * tools/formed/formed/plugins/web/renderer.py: Simplified to use
377              new Switch.childrenInMode() method.
378    
379    2007-08-21 Sascha L. Teichmann <[email protected]>
380    
381            * tools/formed/formed/plugins/web/semantic.py: Add checks for
382              texts and text areas.
383    
384            * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
385              to UTF-8 in generated form.
386    
387    2007-08-20 Sascha L. Teichmann <[email protected]>
388    
389            * tools/formed/formed/plugins/web/semantic.py: Added semantic
390              tests for dates.
391    
392    2007-08-20 Sascha L. Teichmann <[email protected]>        
393    
394            * tools/formed/test-data/simple.xml: Tweak a bit for integer
395              range test.
396    
397            * tools/formed/formed/model/nodecomponents.py: Added a method
398              to find a tree item for a given name.
399    
400            * tools/formed/formed/plugins/web/semantic.py: New: Box for
401              semantic checking. Has check for integers.
402    
403            * tools/formed/formed/plugins/web/plugin.py: Use semantic
404              check.
405    
406    2007-08-20      Torsten Irlaender <[email protected]>
407    
408            * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
409              selection-field generation (Removed quote)
410    
411    2007-08-18      Sascha L. Teichmann <[email protected]>
412    
413            * tools/formed/formed/plugins/web/plugin.py,
414              tools/formed/formed/plugins/web/renderer.py: Added a
415              simple cookie based session management to the HTML
416              renderer. This submit parameters are stored in the
417              session now. This will ease testing the constraint
418              tests which need to be written soon.
419                    
420              BEWARE: The session management is _not_ made for production!
421              Denial of service attacks are too easy, and the
422              cryptographical strength of the session id is doubtful.
423    
424    2007-08-18      Sascha L. Teichmann <[email protected]>
425    
426            * tools/formed/formed/plugins/web/renderer.py: Escaping text
427              coming from the document tree now when inserting it into the
428              HTML output.
429    
430    2007-08-18      Sascha L. Teichmann <[email protected]>
431    
432            * tools/formed/formed/plugins/plugin.py: Added a new kind
433              of plug-in: Filter. They have a short and a long description
434              and can be hooked automatically into the new 'Filters'
435              sub menu under 'Extra'. They got called when the user
436              selects their respective menu item.
437                    
438            * tools/formed/formed/config.py: Contains the list of
439              installed filters.
440    
441            * tools/formed/formed/main.py: Builds the Extra->Filters
442              sub menu during gui initialization. The hard wired code
443              for make unique and formular name/description -> name
444              is removed because they are implemented as filters now.
445    
446            * tools/formed/formed/model/nodecomponents.py,
447              tools/formed/formed/model/data.py: Removed the make
448              unique and formular name/description -> name code.
449    
450            * tools/formed/formed/plugins/names,
451              tools/formed/formed/plugins/names/__init__.py,
452              tools/formed/formed/plugins/names/filter.py: Added. Contains
453              the make unique and formular name/description -> name code
454              in form of filters.
455    
456            * tools/formed/test-data/simple.xml: Modified to be a better
457              test for the formular name/description -> name filter.
458    
459  2007-08-18      Sascha L. Teichmann <[email protected]>  2007-08-18      Sascha L. Teichmann <[email protected]>
460    
461          * tools/formed/formed.py, tools/formed/formed/main.py: First          * tools/formed/formed.py, tools/formed/formed/main.py: First
462            command line argument is interpreted as filename of document            command line argument is interpreted as filename of document
463                  to be loaded at program startup.            to be loaded at program startup.
464    
465  2007-08-17      Frank Koormann <[email protected]>  2007-08-17      Frank Koormann <[email protected]>
466    
# Line 10  Line 468 
468          Heading level depending on depth of group node.          Heading level depending on depth of group node.
469          In case of radio/choice/check only list of options.          In case of radio/choice/check only list of options.
470    
471  2007-08-1/      Torsten Irlaender <[email protected]>  2007-08-17      Torsten Irlaender <[email protected]>
472    
473          * contrib/convert-formedtree2html.xsl: Output is now generated with          * contrib/convert-formedtree2html.xsl: Output is now generated with
474            HTML doc-string and charset information in the meta-header.            HTML doc-string and charset information in the meta-header.
475    
476  2007-08-1/      Torsten Irlaender <[email protected]>  2007-08-17      Torsten Irlaender <[email protected]>
477    
478          * contrib/convert-formedtree2html.xsl: Added small script for          * contrib/convert-formedtree2html.xsl: Added small script for
479            exporting the formed tree to html            exporting the formed tree to html

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26