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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26