/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 31 by teichmann, Sat Aug 11 11:24:04 2007 UTC revision 92 by torsten, Fri Aug 24 16:51:35 2007 UTC
# Line 1  Line 1 
1    2007-08-24 Torsten Irlaender <[email protected]>
2    
3            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
4              for checkbox values. (Syntax error).
5    
6            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
7              generation  
8    
9    2007-08-24 Torsten Irlaender <[email protected]>
10    
11            * tools/formed/formed/plugins/names/filter.py: Separated Class for
12              making the formularnames more database friendly. Added some more
13              checks.
14            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
15              separated class, and some fixes in sql generation.
16    
17    2007-08-24 Sascha L. Teichmann <[email protected]>
18    
19            * tools/formed/formed/plugins/export/html.py: Print lengths
20              of external choice list.
21    
22    2007-08-24 Sascha L. Teichmann <[email protected]>
23    
24            * tools/formed/formed/main.py: Little workaround for
25              mode selection if someone adds an removes a mode.
26    
27    2007-08-24 Sascha L. Teichmann <[email protected]>
28    
29            * tools/formed/test-data/simple.xml: Better test case for
30              mode depended leaf items.
31    
32            * tools/formed/formed/model/nodecomponents.py: Added a method
33              to calculate the effective mode of an item.
34    
35            * tools/formed/formed/plugins/export/html.py: Use effective
36              mode. TODO: the 'all' modus return false results sometimes.
37                    Cause: The modes are only cumulated over time. Removal is
38                    not done.
39    
40    2007-08-24 Sascha L. Teichmann <[email protected]>
41    
42            * tools/formed/formed/plugins/export/html.py: Dump the items
43              of radio groups and choices too.
44    
45    2007-08-24 Torsten Irlaender <[email protected]>
46    
47            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
48              by formular names to make the naming more database friendly.
49              Now only alphanumeric and underscore chars is allowed.
50    
51    2007-08-24 Sascha L. Teichmann <[email protected]>
52    
53            * tools/formed/formed/plugins/export/html.py: Tweaked
54              HTML table exporter a bit to be on par with the XSLT
55                    script. TODO: Dump items in radio and choice groups.
56    
57    2007-08-23 Sascha L. Teichmann <[email protected]>
58    
59            * tools/formed/formed/plugins/names/filter.py: Removed
60              HTML and SQL exporters.
61    
62            * tools/formed/formed/plugins/export,
63              tools/formed/formed/plugins/export/__init__.py,
64              tools/formed/formed/plugins/export/sql.py,
65              tools/formed/formed/plugins/export/html.py: New: Contain
66                    the HTML and the SQL exporters now.
67    
68            * tools/formed/formed/config.py: Use exporters from different
69              package now.
70    
71    2007-08-23 Torsten Irlaender <[email protected]>
72    
73            * tools/formed/formed/plugins/names/filter.py: Added an
74              pseudo SQL export filters. TODO: Move HTML and SQL filter
75              in a new file (formed/plugins/export/htmlexport.py and
76              sqlexport.py?)
77    
78            * tools/formed/formed/config.py: Install the new SQL filter.
79    
80    2007-08-23 Sascha L. Teichmann <[email protected]>
81    
82            * tools/formed/formed/model/nodecomponents.py: Added a depth()
83              method to determine the depth of particular tree item.
84    
85            * tools/formed/formed/plugins/names/filter.py: Added an
86              HTML export filters. TODO: needs more work.
87    
88            * tools/formed/formed/config.py: Install the new HTML filter.
89    
90    2007-08-23 Torsten Irlaender <[email protected]>
91    
92            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
93              to extract fields and options in the XFA Data in teh PDF. This
94              script might me handy to indicate changes between the different
95              formular versions.
96            
97    2007-08-23 Sascha L. Teichmann <[email protected]>
98    
99            * tools/formed/formed/main.py: Add an 'all' mode to
100              select all modes. ;-)
101    
102    2007-08-22 Sascha L. Teichmann <[email protected]>
103    
104            * tools/formed/test-data/simple.xml,
105              tools/formed/formed/model/data.py,
106              tools/formed/formed/plugins/web/plugin.py,
107              tools/formed/formed/plugins/web/renderer.py,
108              tools/formed/formed/io/document.py,
109              tools/formed/formed/main.py: Removed support for switch nodes.
110              BEWARE: This breaks compatibility with older documents!
111    
112    2007-08-22 Sascha L. Teichmann <[email protected]>
113    
114            * tools/formed/formed/plugins/web/plugin.py: Uses the
115              getSelectedMode() from main now.
116    
117            * tools/formed/formed/main.py: selected mode is now hold
118              in main.
119    
120            * tools/formed/formed/config.py: removed selected mode from
121              env configuration.
122    
123    2007-08-22 Sascha L. Teichmann <[email protected]>
124    
125            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
126              table are now alphabetically sorted.
127    
128    2007-08-22 Sascha L. Teichmann <[email protected]>
129    
130            * tools/formed/formed/model/nodecomponents.py: Added code to
131              establish the new 'modes' recursively.
132    
133            * tools/formed/formed/plugins/plugin.py: Pass main instead
134              of cfg on plug-in start-up.
135    
136            * tools/formed/formed/plugins/web/plugin.py: Use the new
137              'modes' attribute for rendering.
138    
139            * tools/formed/formed/plugins/web/renderer.py: Use decorators
140              to check the new modes.
141    
142            * tools/formed/formed/main.py: Adjusted to new infrastructure.
143    
144    2007-08-22 Sascha L. Teichmann <[email protected]>
145    
146            * tools/formed/formed/model/nodecomponents.py: Added an
147              attribute 'modes' to NodeComponents.
148    
149    2007-08-22 Sascha L. Teichmann <[email protected]>
150    
151            * tools/formed/formed/model/data.py: Small cosmetic cleanups
152    
153    2007-08-21 Sascha L. Teichmann <[email protected]>
154    
155            * tools/formed/formed/plugins/web/renderer.py: Another fix
156              for the hidden field. Argh!
157    
158    2007-08-21 Sascha L. Teichmann <[email protected]>
159    
160            * tools/formed/formed/plugins/web/renderer.py: Fixed double
161              generation of hidden page field.
162    
163    2007-08-21 Sascha L. Teichmann <[email protected]>
164    
165            * tools/formed/formed/plugins/web/semantic.py: Added semantic
166              checks for radio groups.
167    
168    2007-08-21 Sascha L. Teichmann <[email protected]>
169    
170            * tools/formed/formed/plugins/web/semantic.py: Added semantic
171              checks for choices.
172    
173    2007-08-21      Frank Koormann <[email protected]>
174    
175            * contrib/convert-formedtree2html.xsl: Display switch nodes as
176            alternatives.
177            
178    2007-08-21      Frank Koormann <[email protected]>
179    
180            * contrib/convert-formedtree2html.xsl:
181            Replace technical types with readable descriptions
182    
183    2007-08-21 Sascha L. Teichmann <[email protected]>
184    
185            * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
186              issues. 'action' looks for all widgets on a page now, goes
187                    through all passed parameters, tries to match them with the
188                    widgets of the page and put them into the semantic box.
189                    Afterwards a list of untouched page parameters are left
190                    which will be deleted from the semantic box.
191    
192            * tools/formed/formed/plugins/web/semantic.py: Simplified.
193              The NodeComponent is passed as an argument now.
194    
195            * tools/formed/formed/plugins/web/renderer.py: Generate a
196              hidden field to store the name of the page.
197    
198    2007-08-21 Sascha L. Teichmann <[email protected]>
199    
200            * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
201              issue with incoming UTF-8 data.
202    
203    2007-08-21 Sascha L. Teichmann <[email protected]>
204    
205            * tools/formed/test-data/simple.xml: Improve test for widgets
206              in switches.
207    
208            * tools/formed/formed/model/data.py: Added a method to find all
209              widgets in a given page. Fixed a bug when walking in switch
210                    with a given mode.
211    
212            * tools/formed/formed/plugins/web/plugin.py: Simple test for
213              listing all widgets in page.
214    
215    2007-08-21 Torsten Irlaender <[email protected]>
216    
217            * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
218              latin-1
219    
220    2007-08-21 Sascha L. Teichmann <[email protected]>
221    
222            * tools/formed/formed/model/data.py: Added mode parameter to
223              walk.
224                    
225            * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
226              walk() with usage of the new mode parameter. Added a method to
227                    give children in a given mode.
228    
229            * tools/formed/formed/plugins/web/renderer.py: Simplified to use
230              new Switch.childrenInMode() method.
231    
232    2007-08-21 Sascha L. Teichmann <[email protected]>
233    
234            * tools/formed/formed/plugins/web/semantic.py: Add checks for
235              texts and text areas.
236    
237            * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
238              to UTF-8 in generated form.
239    
240    2007-08-20 Sascha L. Teichmann <[email protected]>
241    
242            * tools/formed/formed/plugins/web/semantic.py: Added semantic
243              tests for dates.
244    
245    2007-08-20 Sascha L. Teichmann <[email protected]>        
246    
247            * tools/formed/test-data/simple.xml: Tweak a bit for integer
248              range test.
249    
250            * tools/formed/formed/model/nodecomponents.py: Added a method
251              to find a tree item for a given name.
252    
253            * tools/formed/formed/plugins/web/semantic.py: New: Box for
254              semantic checking. Has check for integers.
255    
256            * tools/formed/formed/plugins/web/plugin.py: Use semantic
257              check.
258    
259    2007-08-20      Torsten Irlaender <[email protected]>
260    
261            * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
262              selection-field generation (Removed quote)
263    
264    2007-08-18      Sascha L. Teichmann <[email protected]>
265    
266            * tools/formed/formed/plugins/web/plugin.py,
267              tools/formed/formed/plugins/web/renderer.py: Added a
268              simple cookie based session management to the HTML
269              renderer. This submit parameters are stored in the
270              session now. This will ease testing the constraint
271              tests which need to be written soon.
272                    
273              BEWARE: The session management is _not_ made for production!
274              Denial of service attacks are too easy, and the
275              cryptographical strength of the session id is doubtful.
276    
277    2007-08-18      Sascha L. Teichmann <[email protected]>
278    
279            * tools/formed/formed/plugins/web/renderer.py: Escaping text
280              coming from the document tree now when inserting it into the
281              HTML output.
282    
283    2007-08-18      Sascha L. Teichmann <[email protected]>
284    
285            * tools/formed/formed/plugins/plugin.py: Added a new kind
286              of plug-in: Filter. They have a short and a long description
287              and can be hooked automatically into the new 'Filters'
288              sub menu under 'Extra'. They got called when the user
289              selects their respective menu item.
290                    
291            * tools/formed/formed/config.py: Contains the list of
292              installed filters.
293    
294            * tools/formed/formed/main.py: Builds the Extra->Filters
295              sub menu during gui initialization. The hard wired code
296              for make unique and formular name/description -> name
297              is removed because they are implemented as filters now.
298    
299            * tools/formed/formed/model/nodecomponents.py,
300              tools/formed/formed/model/data.py: Removed the make
301              unique and formular name/description -> name code.
302    
303            * tools/formed/formed/plugins/names,
304              tools/formed/formed/plugins/names/__init__.py,
305              tools/formed/formed/plugins/names/filter.py: Added. Contains
306              the make unique and formular name/description -> name code
307              in form of filters.
308    
309            * tools/formed/test-data/simple.xml: Modified to be a better
310              test for the formular name/description -> name filter.
311    
312    2007-08-18      Sascha L. Teichmann <[email protected]>
313    
314            * tools/formed/formed.py, tools/formed/formed/main.py: First
315              command line argument is interpreted as filename of document
316              to be loaded at program startup.
317    
318    2007-08-17      Frank Koormann <[email protected]>
319    
320            * contrib/convert-formedtree2html.xsl:
321            Heading level depending on depth of group node.
322            In case of radio/choice/check only list of options.
323    
324    2007-08-17      Torsten Irlaender <[email protected]>
325    
326            * contrib/convert-formedtree2html.xsl: Output is now generated with
327              HTML doc-string and charset information in the meta-header.
328    
329    2007-08-17      Torsten Irlaender <[email protected]>
330    
331            * contrib/convert-formedtree2html.xsl: Added small script for
332              exporting the formed tree to html
333    
334    2007-08-17      Torsten Irlaender <[email protected]>
335    
336            * tools/formed/model/nodecomponents.py: Added function to rename
337              the set the name of the node to the formularname. The formularname
338              gets shorten to <=64 by removing vowels and is stored lowercase.
339              If the name is not unique and additional id value is appended.
340            
341            * tools/formed/formed/model/data.py: Overwritten renaming-function for
342              bool-leafs
343    
344            * tools/formed/formed/main.py: Added menuitem for renaming the names
345              of the element
346    
347    2007-08-16      Sascha L. Teichmann <[email protected]>
348    
349            * tools/formed/formed/main.py: Swaped order of
350              'Make names unique' and 'Selected mode...' in Extra
351                    menu and put a separator between them.
352    
353    2007-08-15      Sascha L. Teichmann <[email protected]>
354    
355            * tools/formed/formed/model/data.py: SwitchNodes can add
356              their modes to a given set now.
357    
358            * tools/formed/formed/plugins/plugin.py: Simplified
359              the plug-in interface. Only the reference to the
360                    global configuration is passed at setup time.
361    
362            * tools/formed/formed/plugins/web/plugin.py: Adjusted
363              to new plug-in setup. The traveral mode is now taken
364                    from the global configuration each time a rendering
365                    is triggered. The FORMED parameter is now named
366                    'doc.mode' instead of 'web.mode'. The parameter
367                    is not needed any more because it can be configured
368                    at runtime.
369    
370            * tools/formed/formed/main.py: Adjusted to new plugin
371              setup. Added a new menu item Extra->Select Mode...
372                    to select the traversal mode. It is stored in the
373                    global config.
374    
375            * tools/formed/formed/config.py: Simplified. Only uses
376              one env dictionary to store global configuration parameters.
377    
378            * tools/formed/formed/ui/controls.py: Add a control to
379              select one item from a list of given strings.
380    
381    2007-08-15      Sascha L. Teichmann <[email protected]>
382    
383            * tools/formed/formed/plugins/web/plugin.py,
384              tools/formed/formed/plugins/web/renderer.py: Added parameter
385                    print out in web plugin.
386    
387    2007-08-15      Torsten Irlaender <[email protected]>
388    
389            * contrib/convert-formedtree2csv.xsl: Added small script for
390              exporting the formed tree to csv
391    
392    2007-08-14      Sascha L. Teichmann <[email protected]>
393    
394            * tools/formed/formed/model/data.py,
395              tools/formed/formed/model/nodecomponents.py,
396              tools/formed/formed/io/document.py: Added a 'switch' node.
397    
398            * tools/formed/formed/plugins/web/renderer.py:Render the
399              new 'switch' node.
400    
401            * tools/formed/formed/plugins/web/plugin.py,
402              tools/formed/formed/config.py: Added a 'web.mode' parameter
403                    to FORMED environment variable.
404                    e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
405                    Defaults to 'default'.
406    
407            * tools/formed/test-data/simple.xml: Added test for switch.
408    
409    2007-08-14      Sascha L. Teichmann <[email protected]>
410    
411            * tools/formed/formed/model/nodecomponents.py: Added an
412              attribute 'formularname' to base class of node components.
413    
414    2007-08-13      Sascha L. Teichmann <[email protected]>
415    
416            * tools/formed/formed/io/document.py,
417              tools/formed/formed/model/data.py,
418              tools/formed/formed/model/nodecomponents.py: Added an item
419                    to model external item lists.
420    
421            * tools/formed/formed/plugins/web/renderer.py: Render new item
422              list.
423            * tools/formed/formed/main.py: Added a forgotten 'self.'
424    
425            * contrib/extract-xfa-items.sh: Modified to generate
426              documents to be loadable from new item lists
427    
428    2007-08-13      Sascha L. Teichmann <[email protected]>
429    
430            * tools/formed/formed/main.py: Fixed typo
431    
432    2007-08-13      Sascha L. Teichmann <[email protected]>
433    
434            * contrib/extract-xfa-items.sh: New. Can be used to extract longer
435              choice item lists for a given field from XFA files. e.g. with
436                    './contrib/extract-xfa-items.sh Muttersprache alles.xml'
437    
438    2007-08-12      Sascha L. Teichmann <[email protected]>
439    
440            * tools/formed/formed/model/data.py,
441              tools/formed/formed/plugins/web/renderer.py,
442                    tools/formed/formed/io/document.py: Changed the structure
443                    of choice constructs. The idea to hold the different items
444                    of a particular choice in a semicolon separated list was bad.
445                    Now choices are groups and  the option items are modelled as
446                    embedded bools. (mainly Torsten Irländer's idea).
447    
448                    WARNING: this makes old document files containing choices incompatible!!!
449                    Use the following XSLT to reestablish compatibility.
450                    
451            * contrib/itemize-choices.xsl: New converts old to new structure.
452              Needs exslt.org's string extensions (which xsltproc includes)
453    
454            * tools/formed/test-data/simple.xml: Ajusted to new structure
455    
456            * tools/formed/formed/plugins/web/plugin.py: remove debug output
457    
458            * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
459              node finding code. It now uses the walk() generator, too.
460    
461    2007-08-12      Sascha L. Teichmann <[email protected]>
462    
463            * tools/formed/formed/main.py: Added a clone item on the toolbar which
464              copies the currently selected item and appends it after the selection.
465    
466            * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
467              of the tree.
468                    
469            * tools/formed/formed/ui/controls.py: Added a getSelected method.
470    
471            * tools/formed/formed/model/misc.py: Fixed a programming bug.
472              forgot a 'self.' prefix.
473    
474    2007-08-12      Sascha L. Teichmann <[email protected]>
475    
476            * tools/formed/formed/model/nodecomponents.py: Added a method to append
477              a second document to the current.
478    
479            * tools/formed/formed/main.py: Added an 'Import' file menu item to load
480              a second document to be appended to the current.
481    
482    2007-08-12      Sascha L. Teichmann <[email protected]>
483    
484            * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
485              a new document when triggered.
486    
487    2007-08-12      Sascha L. Teichmann <[email protected]>
488    
489            * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
490              items in the document tree. Added a method to eliminated duplicated names
491                    in document tree.
492    
493            * tools/formed/formed/model/misc.py: Added update mechanism for id generator
494              after names collisions are eliminated.
495    
496            * tools/formed/formed/main.py: Added an 'Extra' menu with item
497              'Make names   unique'.
498    
499    2007-08-11      Sascha L. Teichmann <[email protected]>
500    
501            * tools/formed/formed/model/data.py,
502              tools/formed/formed/plugins/web/renderer.py: Removed support
503                    for 'text' attributes in bool items. They were never really
504                    used and the 'description' attributes fulfill the same
505                    purpose.
506    
507            * contrib/remove-bool-text.xsl: Transform to remove the
508              'text' attributes from bool items. Apply with:
509                    'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
510    
511            * tools/formed/test-data/simple.xml: Removed 'text' attributes
512              from bool items.
513    
514  2007-08-11      Sascha L. Teichmann <[email protected]>  2007-08-11      Sascha L. Teichmann <[email protected]>
515    
516          * contrib/convert-choices.xsl: Simpified.          * contrib/convert-choices.xsl: Simpified.

Legend:
Removed from v.31  
changed lines
  Added in v.92

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26