/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 58 by torsten, Mon Aug 20 13:03:22 2007 UTC revision 198 by teichmann, Thu Oct 4 15:38:40 2007 UTC
# Line 1  Line 1 
1  2007-08-20      Torsten Irlaender <[email protected]>  2007-10-04      Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/plugins/export/sql.py: Create schema inside transaction.
4              Various bug fixes.
5    
6    2007-10-04      Sascha L. Teichmann <[email protected]>
7    
8            * tools/formed/formed/model/data.py: Added GroupNode.allWidgets()
9              to extract fields from embedded repeat groups.
10    
11            * tools/formed/formed/plugins/export/sql.py: The SQL exporter exports
12              views per page too. Result not tested yet.
13    
14    2007-10-01      Sascha L. Teichmann <[email protected]>
15    
16            * tools/formed/formed/plugins/web/view_renderer.py: Ignore
17              in-page repeat groups while rendering pages.
18    
19    2007-10-01      Sascha L. Teichmann <[email protected]>
20    
21            * tools/formed/formed/model/nodecomponents.py: Added visitor
22              traversals for document trees.
23    
24            * tools/formed/formed/model/data.py: Rewrote the
25              Page.allWidgets() method to use new visitor for
26              tree traversal.
27    
28    2007-09-27      Torsten Irlaender <[email protected]>
29    
30            * tools/formed/formed/plugins/names/filter.py: Pages are now included
31              in the rename by formular name  algorithm
32    
33    2007-09-26      Sascha L. Teichmann <[email protected]>
34    
35            * tools/formed/formed/model/data.py: Removed old {next|prev}Page()
36              TODO: rewrite Page.allWidgets().
37    
38            * tools/formed/formed/model/nodecomponents.py: Added a method
39              Node.firstLevel(criterion) to walk a defined line in the tree.
40    
41            * tools/formed/formed/plugins/export/sql.py: Extract data suitable to
42              build views and respective joins.
43    
44    2007-09-26      Sascha L. Teichmann <[email protected]>
45    
46            * tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to
47              FORMED environment variable. If set to true tidylib is used to
48              filter HTML content to be W3C valid. To use this feature install
49              uTidylib.
50    
51            * tools/formed/formed/plugins/web/server.py: Check if MIME type is
52              text/html and filters content through tidy if requested.
53    
54    2007-09-25      Torsten Irlaender <[email protected]>
55    
56            * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
57              cleanup of the form generation code.
58    
59    2007-09-21      Sascha L. Teichmann <[email protected]>
60    
61            * tools/formed/formed/plugins/export/sql.py: Added generation time
62              and DROP TABLE statements to schema export.
63    
64    2007-09-20      Sascha L. Teichmann <[email protected]>
65    
66            * tools/formed/formed/plugins/export/sql.py: The tables are generated
67              in correct topolocial order now.
68    
69    2007-09-20      Sascha L. Teichmann <[email protected]>
70    
71            * tools/formed/formed/plugins/export/mode.py: New. Filter to export
72              a document with items that are in given mode.
73    
74            * tools/formed/formed/model/nodecomponents.py: Added methods to clone
75              trees depending on selected modes.
76    
77            * tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py:
78              Fixed clone issue with RuleNodes.
79    
80            * tools/formed/formed/config.py: Use new plug-in.
81    
82    2007-09-17      Sascha L. Teichmann <[email protected]>
83    
84            * tools/formed/formed/plugins/web/view_renderer.py: Make the
85              view renderer a real view renderer. It takes a list of
86              items now and not only a single page.
87    
88            * tools/formed/formed/plugins/web/renderer.py: Feed a list
89              of items to the view renderer.
90    
91    2007-09-17      Torsten Irlaender <[email protected]>
92    
93            * tools/formed/formed/plugins/web/view_renderer.py:
94              Small tweaks in rendering bools.
95              RadioNodes (with all its children) can now be placed in a container.
96              The radiobools will not get a surrounding <div> anymore.
97              I am not sure if the new way results in the wanted behaivor, but the
98              rendering results are much better now :)
99              Maybe we need a similar approach for checkboxes?
100              Rendering groups is still broken in some way.
101    
102    2007-09-17      Sascha L. Teichmann <[email protected]>
103    
104            * tools/formed/formed/plugins/web/view_renderer.py: Fixed
105              a few bugs: Do not render empty containers, do not
106              generate misplaced <br class="newline"> in choices.
107              Add a nameless container to catch the items that are
108              nor explicitly assigned to a target. Removed FormData.
109    
110            * tools/formed/formed/plugins/web/renderer.py: Removed
111              a needless import
112    
113    2007-09-17      Sascha L. Teichmann <[email protected]>
114    
115            * tools/formed/formed/plugins/web/view_renderer.py: Implemented
116              usage of 'containers' and 'target' attributes.
117    
118            * tools/formed/formed/plugins/web/controllers.py: Modified import.
119    
120            * tools/formed/formed/plugins/web/renderer.py: Use
121              new ViewRenderer.
122    
123    2007-09-17      Sascha L. Teichmann <[email protected]>
124    
125            * tools/formed/formed/model/nodecomponents.py: Added attributes
126              'target' to NodeComponent and 'containers' to Node.
127    
128            * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
129              to be a replacement for form_renderer. Not ready yet!
130    
131            * ChangeLog: Fixed some indention glitches.
132    
133    2007-09-13      Torsten Irlaender <[email protected]>
134    
135            * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
136              renaming algorithm.
137    
138    2007-09-12      Torsten Irlaender <[email protected]>
139    
140            * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
141              from formular navigation to "Fallakte Inhalt"
142    
143    2007-09-12      Torsten Irlaender <[email protected]>
144    
145            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
146              values (dates)  were not pretty printed.
147    
148            * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
149              label rendering for choicelists.
150    
151    2007-09-12      Torsten Irlaender <[email protected]>
152    
153            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
154              choicelist did not get selected when the value is set to "0"
155    
156    2007-09-12      Torsten Irlaender <[email protected]>
157    
158            * tools/formed/formed/plugins/web/form_renderer.py: Added
159              "getPrintableData" method, for the formdata Class which will return
160              the description rather than the value of element in the ID. This is
161              need for displaying the choises in a right way.
162            
163            * tools/formed/formed/plugins/web/renderer.py: Changed string
164              "Fallnummer" into "Kundennummer" in the templates. Added
165              Kundennummer to the dataset digest output. Bound in the new
166              "getPrintableData" call for the digest.
167    
168    2007-10-11      Sascha L. Teichmann <[email protected]>
169    
170            * tools/formed/formed/plugins/export/data.py: The import/export
171              of data is now implemented with filters (the most consequent
172              way in terms of design of FormEd). The support of the 'persistent'
173              FORMED env-variable support has been removed.
174    
175            * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
176              filter file dialog to double as import dialog.
177    
178            * tools/formed/formed/main.py: Removed the the FORMED-var support
179              for persistence.
180            
181            * tools/formed/formed/config.py: Add the two new filters to the filters
182              list.
183    
184    2007-10-11      Sascha L. Teichmann <[email protected]>
185    
186            * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
187              Removed pickle/unpickle stuff.
188    
189            * tools/formed/formed/main.py: Uses the new XML persistence.
190    
191            * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
192              not converted to int indices.
193    
194    2007-09-11      Sascha L. Teichmann <[email protected]>
195    
196            * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
197              with pickle/unpickle.
198    
199            * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
200              Set to a file name it is tried to unpickle a MemoryDataStore from
201              that file. When exiting the program this file is used to store the
202              current MemoryDataStore state. The storing only works if you exit
203              the program through the Menu File->Exit.
204              usage: FORMED=persistent:test.db ./formed.sh
205    
206    2007-09-11      Torsten Irlaender <[email protected]>
207    
208            * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
209              application on the welcome page from "Formed" to "WASKA"
210    
211    2007-09-11      Torsten Irlaender <[email protected]>
212    
213            * tools/formed/formed/plugins/web/plugin.py,
214            * tools/formed/formed/plugins/web/controllers.py,
215            * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
216              The infopage provides information on all project participants.
217    
218    2007-09-11      Sascha L. Teichmann <[email protected]>
219    
220            * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
221              issues with error messages (once again).
222    
223    2007-09-11      Torsten Irlaender <[email protected]>
224    
225            * tools/formed/formed/plugins/web/form_renderer.py,
226            * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
227              icons in error and confirmation dialogs.
228    
229    2007-09-11      Sascha L. Teichmann <[email protected]>
230    
231            * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
232              generation for ints, texts and textareas. Fixed h depths of infos.
233    
234    2007-09-11      Sascha L. Teichmann <[email protected]>
235    
236            * tools/formed/formed/plugins/web/form_renderer.py: Removed
237              debug output for help.
238    
239            * tools/formed/formed/plugins/web/semantic.py: Added forgotten
240              check for bools.
241    
242            * tools/formed/formed/plugins/web/controllers.py:  Added correct
243              HTML output of data for bools.
244    
245    2007-09-11      Torsten Irlaender <[email protected]>
246    
247            * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
248              textfields for int values. Changed Label for submitbuttons to
249              "Speichern"
250    
251            * tools/formed/formed/plugins/web/plugin.py,
252              tools/formed/formed/plugins/web/controllers.py: Added new
253              NotImplementedHandler to show up a dummysite for not implemented
254              functions.
255    
256            * tools/formed/formed/plugins/web/renderer.py: Added
257              NotImplementedRenderer. Various small fixes. Mostly renaming the
258              labels of some context menus. Error messages are now generated
259              dynamically depending on num errors. Formular navigation has now
260              colored indication for errors.
261    
262    2007-09-11      Torsten Irlaender <[email protected]>
263    
264            * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
265              algorithm for the formular navigation to get rid of the problem
266              that some of the items within the navigation are not linked.  Now
267              structural group elements are linked with the next page found in the
268              formular structure.
269    
270    2007-09-10      Torsten Irlaender <[email protected]>
271            * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
272              div and formtag.
273    
274            * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
275              menu in the conformation dialog when creating a new dataset.
276    
277            * tools/formed/formed/plugins/web/renderer.py: Fixed error when
278              rendering the default welcome page. Changed rendering of the
279              overview and the digest table of the datasets. Added icon for
280              confirmation dialog, moved the icon in the <h1> tags.  
281    
282    2007-09-10      Torsten Irlaender <[email protected]>
283    
284            * tools/formed/formed/plugins/web/form_renderer.py: Some html
285              generation cleanup. Added error icons to formelements
286    
287            * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
288              of ErrorStatus. Fixed generated of the help tags in the formular
289    
290            * tools/formed/formed/plugins/web/renderer.py: Added error icon for
291              pageerrors. An "!" now indicates errors on pages in the formular
292              navigation. Added new <div> "content" around confirmation dialogss.
293              Links in confimation dialogs are now rendered as buttons. Removed
294              old obsolete OverviewRenderer.
295    
296    2007-09-10      Sascha L. Teichmann <[email protected]>
297    
298            * tools/formed/formed/plugins/web/renderer.py: Highlight selected
299              page in page navigation.
300    
301    2007-09-10      Torsten Irlaender <[email protected]>
302    
303            * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
304              displaying formdata when changing datasets. Loading the right
305              formdata was not handled in a correct way. Hope it is all fixed now.
306              Left some commented code because not all sideeffects of the changes
307              are tested yet.
308    
309            * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
310              now uses the correct data out of the formdata.
311    
312    2007-09-10      Sascha L. Teichmann <[email protected]>
313    
314            * tools/formed/formed/plugins/web/controllers.py: Pretty
315              print format data (dates e.g)
316    
317    2007-09-10      Sascha L. Teichmann <[email protected]>
318    
319            * tools/formed/formed/plugins/web/controllers.py: Modified
320              ErrorStats a bit to avoid mysterious extra error on page.
321              No clue why this works.
322    
323    2007-09-10      Sascha L. Teichmann <[email protected]>
324    
325            * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
326              problem with radio groups, too.
327    
328    2007-09-10      Torsten Irlaender <[email protected]>
329            * tools/formed/formed/plugins/web/controllers.py: Sessions are now
330              really removed when deleting a dataset.
331            
332    2007-09-10      Torsten Irlaender <[email protected]>
333    
334            * tools/formed/formed/plugins/web/controllers.py: Added new Class
335              ErrorStats which provides Information on remaining errors per page.
336    
337            * tools/formed/formed/plugins/web/renderers.py: Finished movement of
338              the renderer methods from controllers.py to renderers.py.
339    
340            * tools/formed/formed/plugins/web/plugin.py: Removed render_session
341              handlers
342    
343    2007-09-10      Sascha L. Teichmann <[email protected]>
344    
345            * tools/formed/formed/plugins/web/form_renderer.py: values for
346              choices are generated from the document tree now. This brings
347              the state storage of select boxes in HTML to live.
348    
349    2007-09-09      Sascha L. Teichmann <[email protected]>
350    
351            * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
352              range checking of integers.
353    
354            * tools/formed/formed/plugins/web/controllers.py: Added class
355              ErrorItem to track errors. They are stored in the session.
356    
357    2007-09-09      Sascha L. Teichmann <[email protected]>
358    
359            * tools/formed/formed/model/nodecomponents.py: Fixed returning
360              wrong index in Document.indexOfcomponentByClassAndName.
361    
362            * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
363              written 'errot' in renderer for textareas.
364    
365            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
366    
367    2007-09-09      Sascha L. Teichmann <[email protected]>
368    
369            * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
370              method. Could be cheaper for some implementations of help.
371    
372            * tools/formed/formed/plugins/web/form_renderer.py: Modified
373              FormData to have distinct getData(), getHelp() and getError()
374              methods. Various bug fixes.
375    
376            * tools/formed/formed/plugins/web/controllers.py: Implements the
377              new FormData (trivial by now).
378    
379            * tools/formed/formed/plugins/web/renderer.py: New FormData and
380              some bug fixes.
381    
382    2007-09-09      Sascha L. Teichmann <[email protected]>
383    
384            * tools/formed/formed/model/memory.py,
385              tools/formed/formed/model/persistent.py: Add a getValue() method
386              to dataset abstraction. This is a bit of a workaround to bring
387              global access across pages for rule checking to work.
388    
389            * tools/formed/formed/model/data.py: Fixed: When setting a new expression
390              the compiled version was not stored in the RuleLeaf.
391    
392            * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
393              convert the expression string to ascii for compilation.
394    
395            * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
396              valid data is stored to the dataset immediately now. Fixed a bug
397              with integer handler.
398    
399            * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
400              stuff. When a submit is done extract the rules from the tree document
401              that are effected by the modified variables and check them.
402    
403            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
404              when dealing with templates.
405    
406    2007-09-07      Torsten Irlaender <[email protected]>
407            * tools/formed/formed/plugins/web/controllers.py,
408              tools/formed/formed/plugins/web/renderer.py: Moved more render
409              functions into renderer.py. New render classes are:
410              DataSetDigestRenderer, DataSetNavigationRenderer,
411              DataSetFormularRenderer, ConfirmationDialogRenderer
412    
413              Note: The new methods are only called from selected handlers. Other
414              handlers call the renderes in the old way.
415    
416    2007-09-07      Torsten Irlaender <[email protected]>
417            * tools/formed/formed/plugins/web/form_renderer.py: Renamed
418              renderer.py to form_renderer.py. This file will contain formular
419              specfic render methods in the future.
420            * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
421              which will contain general render methods.
422            * tools/formed/formed/plugins/web/controllers.py: Began to move all
423              rendering into renderer.py or form_renderer.py. This file will only
424              contain teh handlers in the future.
425    
426    2007-09-07      Torsten Irlaender <[email protected]>
427            * tools/formed/formed/plugins/web/renderer.py,
428              tools/formed/formed/plugins/web/controller.py:
429              Renderes now get an instance of the formdata object to provide
430              access the data needed to render various infoboxes etc. Handler
431              instanciate the formdata.
432            
433    2007-09-06      Torsten Irlaender <[email protected]>
434            * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
435              getFormData interface to work. Added two small semantic fixes, but
436              did not manage to get it up. Need to exime this a little bit more
437            * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
438              around the menus on the right side to be able to assign different
439              styles. Added dataset actions while editing a dataset.
440            
441    2007-09-05      Torsten Irlaender <[email protected]>
442            * tools/formed/formed/model/memory.py: Fixed deleting datasets by
443              removing unwanted del method
444            * tools/formed/formed/plugins/web/controllers.py: Implemented
445              confiration dialogs for create, delete, and select aof datasets. Started to use
446              templates as well for larger information units like the dataset summary.
447            
448    2007-09-05      Sascha L. Teichmann <[email protected]>
449    
450            * tools/formed/formed/model/nodecomponents.py: Added a
451              method to document to find index of page.
452    
453            * tools/formed/formed/plugins/web/semantic.py: Added getValue()
454              to fetch data from semantic box.
455    
456            * tools/formed/formed/plugins/web/controllers.py: Added new
457              FormData implementation to support DB and semantic box.
458    
459    2007-09-05      Sascha L. Teichmann <[email protected]>
460    
461            * tools/formed/formed/plugins/web/renderer.py: escaped
462              error message.
463    
464            * tools/formed/formed/plugins/web/controllers.py: Don't fetch
465              dataset from backend each time a page is up to edit.
466    
467    2007-09-05      Sascha L. Teichmann <[email protected]>
468    
469            * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
470              returns "Page not found" if given page is None.
471    
472            * tools/formed/formed/plugins/web/controllers.py: Added checks
473              to avoid crashing when ask for a non-existent page.
474    
475    2007-09-05      Sascha L. Teichmann <[email protected]>
476    
477            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
478    
479    2007-09-05      Sascha L. Teichmann <[email protected]>
480    
481            * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
482              and renderers.
483    
484            * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
485              and renderers now. TODO: Move renderers to renderer.py
486    
487    2007-09-05      Torsten Irlaender <[email protected]>
488    
489            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
490              and bound in the the new added functions to create, edit, delete and
491              show formdata.
492            
493    2007-09-05      Sascha L. Teichmann <[email protected]>
494    
495            * tools/formed/formed/model/memory.py: Removed bisect and use a
496              simple linear scan for dataset lookup now.
497    
498            * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
499              of different sizes.
500    
501    2007-09-05      Torsten Irlaender <[email protected]>
502    
503            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
504              fuction
505              
506            * tools/formed/formed/plugins/web/persistent.py: Added store() method
507              to the DataSet interface
508    
509            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
510              renderes for create, update, delete and show actions on formular data.
511    
512    2007-09-04      Sascha L. Teichmann <[email protected]>
513    
514            * tools/formed/formed/plugins/web/server.py: The mapping
515              to methods is now driven by regualar expressions and
516              a dictionary. Response objects are now able to send
517              error codes.
518    
519            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
520              when help in Formdata is None. Moved text for help into
521              a top level '''...''' variable.
522    
523            * tools/formed/test-data/simple.xml: Added test for help.
524    
525            * tools/formed/formed/plugins/web/help.py: extra None check.
526    
527            * tools/formed/formed/plugins/web/plugin.py: Uses the new
528              table driven mapping of reguest handling. TODO: split the
529              WebPlugIn.pageHandler() method further to smaller handlers.
530              Smaller clean ups and better exception handling.
531    
532            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
533              and do not catch them.
534    
535    2007-09-04      Torsten Irlaender <[email protected]>
536    
537            * tools/formed/formed/plugins/web/renderer.py,
538            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
539              the HelpProvider and inserted help icons to the html output.
540              Added decorator for Formelemnts, so textfields, choices etc. are now
541              within a <div> tag.
542              Modified the error messages.
543    
544    2007-09-04      Sascha L. Teichmann <[email protected]>
545    
546            * tools/formed/formed/plugins/web/cache.py: New. Implements
547              the server-side caching more clean. Fixes a bug with
548              serving static content.
549    
550            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
551    
552    2007-09-04      Sascha L. Teichmann <[email protected]>
553    
554            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
555              to "application/xhtml+xml" when serving help texts.
556    
557    2007-09-03      Sascha L. Teichmann <[email protected]>
558    
559            * tools/formed/formed/plugins/export/diff.py: New. Exports
560              pairwise differences between all modes.
561    
562            * tools/formed/formed/config.py: Use new export filter.
563    
564    2007-09-03      Sascha L. Teichmann <[email protected]>
565    
566            * tools/formed/formed/plugins/web/help.py: New. Parses an
567              XHTML document for id'ed divs and builds a help lookup.
568    
569            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
570              the help content frame.
571    
572            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
573              help text index.
574    
575            * tools/formed/formed/plugins/web/plugin.py: Serves the help
576              texts now.
577    
578    2007-09-03      Torsten Irlaender <[email protected]>
579    
580            * tools/formed/formed/plugins/web/plugin.py: Only visible group
581              elements will be rendered in the formular navigation.
582              Formular pages in the navigation now have their own css-style
583              attributes.
584    
585    2007-09-03      Torsten Irlaender <[email protected]>
586    
587            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
588              errors in template
589            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
590              pageerrors variable
591    
592    2007-09-03      Frank Koormann <[email protected]>
593    
594            * tools/formed/formed/plugins/export/html.py
595            (RecursiveExporter): Added annotation to export
596            (fillRow()): Renamed old fillNine to this more generic name.
597            
598    
599    2007-09-03      Sascha L. Teichmann <[email protected]>
600    
601            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
602              from model.misc now.
603    
604    2007-09-03      Sascha L. Teichmann <[email protected]>
605    
606            * tools/formed/formed/model/nodecomponents.py: Added an
607              'annotation' attribute to node components. This is to
608              enable FormEd document authors to add comments to groups
609              and fields.
610    
611    2007-09-03      Frank Koormann <[email protected]>
612    
613            * tools/formed/formed/model/nodecomponents.py
614            (NodeComponent.getParent): New method to get node components parent.
615    
616            * tools/formed/formed/plugins/export/html.py: Export Choice option
617            as simple list instead of collection of bools.
618    
619    2007-09-02      Sascha L. Teichmann <[email protected]>
620    
621            * tools/formed/formed/model/persistent.py: Interfaces to abstract
622              from persistent storage details.
623    
624            * tools/formed/formed/model/memory.py: In core implementation
625              of the persistent interfaces.
626    
627            * tools/formed/formed/main.py: Holds a memory data store now.
628    
629    2007-09-02      Sascha L. Teichmann <[email protected]>
630    
631            * tools/formed/formed/plugins/export/sql.py,
632              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
633              for FileDialogFilter sub classes.
634    
635    2007-09-02      Sascha L. Teichmann <[email protected]>
636    
637            * tools/formed/formed/model/misc.py: Checking the mode in recursive
638              tree traversals is a common task. To ease this a decorator function
639              checkMode in union with sub classing ModeChecker can be used.
640              To make it work simply subclass from ModeChecker and add the decorator
641              to the methods that need mode tracking. Before you start the recursion
642              call self.prepareDescent().
643    
644            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
645              now which replace the old. TODO: Make the web renderer use the new scheme
646              too.
647    
648    2007-09-02      Sascha L. Teichmann <[email protected]>
649    
650            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
651    
652            * tools/formed/formed/plugins/export/html.py: HTML table exporter
653              uses new FileDialogFilter base class too.
654    
655    2007-09-02      Sascha L. Teichmann <[email protected]>
656    
657            * tools/formed/formed/plugins/ui/*: New. All file exporters
658              need a file dialog. Till now each of them pulled up its
659              own. This was silly code replication. Now there is an abstract
660              base class 'FileDialogFilter' which implements the common
661              behavior. The file exporters should subclass it.
662    
663            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
664              exporters from the new base class. TODO: Subclass the HTML
665              exporter too.
666    
667    2007-08-31      Sascha L. Teichmann <[email protected]>
668    
669            * tools/formed/formed/plugins/export/html.py: Make mode check
670              work (again).
671    
672    2007-08-31      Torsten Irlaender <[email protected]>
673    
674            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
675              exprt works now in a recursive way. This change was needed because
676              the structure of the formedtree has changed to be able to render
677              full hirachically document stuctures. (nested lists)
678              TODO: Fix modechecking
679    
680    2007-08-31      Torsten Irlaender <[email protected]>
681    
682            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
683              now in recursive way. This change was needed because the structure
684              of the formedtree has changed to be able to render full hirachically
685              document stuctures. (nested lists)
686    
687    2007-08-31      Sascha L. Teichmann <[email protected]>
688    
689            * tools/formed/formed/model/nodecomponents.py: use discard()
690              instead of remove on sets.
691    
692            * tools/formed/formed/plugins/export/sql.py: Added an
693              exporter for table views.
694    
695            * tools/formed/formed/config.py: Added the new exporter
696              to the list of export filters.
697    
698    2007-08-30      Sascha L. Teichmann <[email protected]>
699    
700            * tools/formed/formed/model/data.py: Fixed a bug in
701              Page.allWidgets()
702    
703            * tools/formed/formed/plugins/export/sql.py: Added an exporter
704              for stored procudeures.
705    
706            * tools/formed/formed/config.py: Add the new SP exporter.
707    
708    2007-08-29      Torsten Irlaender <[email protected]>
709    
710            * tools/formed/formed/plugins/web/plugin.py,
711              tools/formed/formed/plugins/web/error_renderer.py: Added interface
712              to get the errors for a whole page in te formular. These errors can
713              now be displayed on the top of the formular.
714    
715    2007-08-29      Torsten Irlaender <[email protected]>
716    
717            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
718              of the getFromData interface and prepared the rederer for generating
719              nice error messages
720    
721    2007-08-28      Frank Koormann <[email protected]>
722    
723            * tools/formed/formed/plugins/export/sql.py
724            (SchemaCreator.createSchema, SchemaCreator._createGroup):
725            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
726    
727    2007-08-28      Torsten Irlaender <[email protected]>
728    
729            * tools/formed/formed/plugins/export/sql.py: Added small helper
730              function to generated valid quotes within the sql statements
731    
732    2007-08-29      Sascha L. Teichmann <[email protected]>
733    
734            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
735              for repeat tables.
736              
737    2007-08-29      Sascha L. Teichmann <[email protected]>
738    
739            * tools/formed/formed/plugins/export/sql.py: When generating
740              an extra table check in a table of same content exists. In
741              this case reference the existing table.
742    
743    2007-08-29      Sascha L. Teichmann <[email protected]>
744    
745            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
746              _real_ SQL and respect repeat groups.
747    
748            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
749    
750            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
751              instead of expensive += string concat in some places.
752    
753    2007-08-29      Sascha L. Teichmann <[email protected]>
754    
755            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
756              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
757    
758    2007-08-28      Torsten Irlaender <[email protected]>
759    
760            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
761            * tools/formed/model/data.py: Implements Formadata interface to
762              textfields. Fieldset generated depends now on the "invisible"
763              attribute of the groupnode. Field-label generation slightly changed.
764              Added error indication to textfields
765    
766    2007-08-28      Sascha L. Teichmann <[email protected]>
767    
768            * tools/formed/formed/model/data.py,
769              tools/formed/formed/io/document.py: Removed support
770              of logical groups.
771    
772    2007-08-28      Sascha L. Teichmann <[email protected]>
773    
774            * tools/formed/formed/io/document.py: Avoid saving empty
775              attributes.
776    
777            * tools/formed/test-data/simple.xml: Applied.
778    
779    2007-08-28      Sascha L. Teichmann <[email protected]>
780    
781            * tools/formed/formed/model/data.py: Added 'repeat' and
782              'invisible' attributes to group. TODO: remove logical group.
783    
784    2007-08-27      Torsten Irlaender <[email protected]>
785    
786            * tools/formed/plugins/web/plugin.py,
787              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
788              depending tags in the html generation.
789    
790    2007-08-27      Sascha L. Teichmann <[email protected]>
791    
792            * tools/formed/formed/model/data.py,
793              tools/formed/formed/io/document.py: Added a logical group.
794              It has an attribute 'repeat' to indicate that it might
795              be worthy an external table in DB schema.
796    
797    2007-08-27      Sascha L. Teichmann <[email protected]>
798    
799            * tools/formed/formed/plugins/web/plugin.py: Support
800              serving of static content.
801    
802            * tools/formed/formed/plugins/web/server.py: Removed
803              old send code.
804    
805    2007-08-27      Sascha L. Teichmann <[email protected]>
806    
807            * tools/formed/formed/plugins/web/plugin.py: Use new
808              Response object. Fix typo.
809    
810            * tools/formed/formed/plugins/web/server.py: support
811              response object to serve different MIME types.
812    
813    2007-08-27      Sascha L. Teichmann <[email protected]>
814    
815            * tools/formed/formed/plugins/web/plugin.py: Add web.path
816              to FORMED environment  variable to specify the
817              root of the static content.
818    
819    2007-08-26      Sascha L. Teichmann <[email protected]>
820    
821            * tools/formed/formed/model/data.py,
822              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
823    
824            * tools/formed/formed/plugins/web/www,
825              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
826              a template for the HTML output.
827    
828            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
829              mode issues. Introduces CSS support. Simplified the action
830              handling.
831    
832            * tools/formed/formed/plugins/web/renderer.py: Removed the
833              nagivation code.
834    
835            * tools/formed/formed/plugins/web/server.py: Added missing import.
836    
837    2007-08-26      Sascha L. Teichmann <[email protected]>
838    
839            * tools/formed/formed/model/data.py: Added missing broadcast
840              parameter to setAttribute() of RuleLeaf.
841    
842            * tools/formed/formed/plugins/web/plugin.py: Factorize
843              HTTP server code out to separate module.
844    
845            * tools/formed/formed/plugins/web/renderer.py: Removed
846              needless -1 from pop()
847    
848            * tools/formed/formed/plugins/web/server.py: New. Contains
849              the HTTP server code now.
850    
851    2007-08-26      Sascha L. Teichmann <[email protected]>
852    
853            * tools/formed/test-data/simple.xml: Modified to contain a rule.
854    
855            * tools/formed/formed/model/expr.py: Added. A simple RPN
856              expression evaluator. To avoid the problem of eval()ing
857              arbitrary python expressions I've decided to use a very
858              basic and limited stack machine to support rule checking.
859    
860            * tools/formed/formed/model/data.py: Added a RuleLeaf.
861    
862            * tools/formed/formed/io/document.py: Added factories for rules.
863    
864            * tools/formed/formed/model/nodecomponents.py: Add a method
865              to find all items of a given type in document for a given
866              mode. Usefull to find all rules in the tree.
867    
868            * tools/formed/formed/ui/controls.py: Added a listener mechanism
869              to attribute table to report exceptions when setting a value
870              from GUI. Useful to report compilation errors when setting
871              expr of rule leafs.
872    
873            * tools/formed/formed/main.py: Added a method to track exceptions
874              from the attribute table and pop up dialogs if they occur.
875              Added a counter of rule modifications in tree. Useful if you
876              want build cached data structures like rule sets and you want
877              to know if they are still valid.
878    
879    2007-08-24      Torsten Irlaender <[email protected]>
880    
881            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
882              for checkbox values. (Syntax error).
883    
884            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
885              generation  
886    
887    2007-08-24      Torsten Irlaender <[email protected]>
888    
889            * tools/formed/formed/plugins/names/filter.py: Separated Class for
890              making the formularnames more database friendly. Added some more
891              checks.
892            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
893              separated class, and some fixes in sql generation.
894    
895    2007-08-24      Sascha L. Teichmann <[email protected]>
896    
897            * tools/formed/formed/plugins/export/html.py: Print lengths
898              of external choice list.
899    
900    2007-08-24      Sascha L. Teichmann <[email protected]>
901    
902            * tools/formed/formed/main.py: Little workaround for
903              mode selection if someone adds an removes a mode.
904    
905    2007-08-24      Sascha L. Teichmann <[email protected]>
906    
907            * tools/formed/test-data/simple.xml: Better test case for
908              mode depended leaf items.
909    
910            * tools/formed/formed/model/nodecomponents.py: Added a method
911              to calculate the effective mode of an item.
912    
913            * tools/formed/formed/plugins/export/html.py: Use effective
914              mode. TODO: the 'all' modus return false results sometimes.
915              Cause: The modes are only cumulated over time. Removal is
916              not done.
917    
918    2007-08-24      Sascha L. Teichmann <[email protected]>
919    
920            * tools/formed/formed/plugins/export/html.py: Dump the items
921              of radio groups and choices too.
922    
923    2007-08-24      Torsten Irlaender <[email protected]>
924    
925            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
926              by formular names to make the naming more database friendly.
927              Now only alphanumeric and underscore chars is allowed.
928    
929    2007-08-24      Sascha L. Teichmann <[email protected]>
930    
931            * tools/formed/formed/plugins/export/html.py: Tweaked
932              HTML table exporter a bit to be on par with the XSLT
933              script. TODO: Dump items in radio and choice groups.
934    
935    2007-08-23      Sascha L. Teichmann <[email protected]>
936    
937            * tools/formed/formed/plugins/names/filter.py: Removed
938              HTML and SQL exporters.
939    
940            * tools/formed/formed/plugins/export,
941              tools/formed/formed/plugins/export/__init__.py,
942              tools/formed/formed/plugins/export/sql.py,
943              tools/formed/formed/plugins/export/html.py: New: Contain
944              the HTML and the SQL exporters now.
945    
946            * tools/formed/formed/config.py: Use exporters from different
947              package now.
948    
949    2007-08-23      Torsten Irlaender <[email protected]>
950    
951            * tools/formed/formed/plugins/names/filter.py: Added an
952              pseudo SQL export filters. TODO: Move HTML and SQL filter
953              in a new file (formed/plugins/export/htmlexport.py and
954              sqlexport.py?)
955    
956            * tools/formed/formed/config.py: Install the new SQL filter.
957    
958    2007-08-23      Sascha L. Teichmann <[email protected]>
959    
960            * tools/formed/formed/model/nodecomponents.py: Added a depth()
961              method to determine the depth of particular tree item.
962    
963            * tools/formed/formed/plugins/names/filter.py: Added an
964              HTML export filters. TODO: needs more work.
965    
966            * tools/formed/formed/config.py: Install the new HTML filter.
967    
968    2007-08-23      Torsten Irlaender <[email protected]>
969    
970            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
971              to extract fields and options in the XFA Data in teh PDF. This
972              script might me handy to indicate changes between the different
973              formular versions.
974            
975    2007-08-23      Sascha L. Teichmann <[email protected]>
976    
977            * tools/formed/formed/main.py: Add an 'all' mode to
978              select all modes. ;-)
979    
980    2007-08-22      Sascha L. Teichmann <[email protected]>
981    
982            * tools/formed/test-data/simple.xml,
983              tools/formed/formed/model/data.py,
984              tools/formed/formed/plugins/web/plugin.py,
985              tools/formed/formed/plugins/web/renderer.py,
986              tools/formed/formed/io/document.py,
987              tools/formed/formed/main.py: Removed support for switch nodes.
988              BEWARE: This breaks compatibility with older documents!
989    
990    2007-08-22      Sascha L. Teichmann <[email protected]>
991    
992            * tools/formed/formed/plugins/web/plugin.py: Uses the
993              getSelectedMode() from main now.
994    
995            * tools/formed/formed/main.py: selected mode is now hold
996              in main.
997    
998            * tools/formed/formed/config.py: removed selected mode from
999              env configuration.
1000    
1001    2007-08-22      Sascha L. Teichmann <[email protected]>
1002    
1003            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
1004              table are now alphabetically sorted.
1005    
1006    2007-08-22      Sascha L. Teichmann <[email protected]>
1007    
1008            * tools/formed/formed/model/nodecomponents.py: Added code to
1009              establish the new 'modes' recursively.
1010    
1011            * tools/formed/formed/plugins/plugin.py: Pass main instead
1012              of cfg on plug-in start-up.
1013    
1014            * tools/formed/formed/plugins/web/plugin.py: Use the new
1015              'modes' attribute for rendering.
1016    
1017            * tools/formed/formed/plugins/web/renderer.py: Use decorators
1018              to check the new modes.
1019    
1020            * tools/formed/formed/main.py: Adjusted to new infrastructure.
1021    
1022    2007-08-22      Sascha L. Teichmann <[email protected]>
1023    
1024            * tools/formed/formed/model/nodecomponents.py: Added an
1025              attribute 'modes' to NodeComponents.
1026    
1027    2007-08-22      Sascha L. Teichmann <[email protected]>
1028    
1029            * tools/formed/formed/model/data.py: Small cosmetic cleanups
1030    
1031    2007-08-21      Sascha L. Teichmann <[email protected]>
1032    
1033            * tools/formed/formed/plugins/web/renderer.py: Another fix
1034              for the hidden field. Argh!
1035    
1036    2007-08-21      Sascha L. Teichmann <[email protected]>
1037    
1038            * tools/formed/formed/plugins/web/renderer.py: Fixed double
1039              generation of hidden page field.
1040    
1041    2007-08-21      Sascha L. Teichmann <[email protected]>
1042    
1043            * tools/formed/formed/plugins/web/semantic.py: Added semantic
1044              checks for radio groups.
1045    
1046    2007-08-21      Sascha L. Teichmann <[email protected]>
1047    
1048            * tools/formed/formed/plugins/web/semantic.py: Added semantic
1049              checks for choices.
1050    
1051    2007-08-21      Frank Koormann <[email protected]>
1052    
1053            * contrib/convert-formedtree2html.xsl: Display switch nodes as
1054            alternatives.
1055            
1056    2007-08-21      Frank Koormann <[email protected]>
1057    
1058            * contrib/convert-formedtree2html.xsl:
1059            Replace technical types with readable descriptions
1060    
1061    2007-08-21      Sascha L. Teichmann <[email protected]>
1062    
1063            * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
1064              issues. 'action' looks for all widgets on a page now, goes
1065              through all passed parameters, tries to match them with the
1066              widgets of the page and put them into the semantic box.
1067              Afterwards a list of untouched page parameters are left
1068              which will be deleted from the semantic box.
1069    
1070            * tools/formed/formed/plugins/web/semantic.py: Simplified.
1071              The NodeComponent is passed as an argument now.
1072    
1073            * tools/formed/formed/plugins/web/renderer.py: Generate a
1074              hidden field to store the name of the page.
1075    
1076    2007-08-21      Sascha L. Teichmann <[email protected]>
1077    
1078            * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
1079              issue with incoming UTF-8 data.
1080    
1081    2007-08-21      Sascha L. Teichmann <[email protected]>
1082    
1083            * tools/formed/test-data/simple.xml: Improve test for widgets
1084              in switches.
1085    
1086            * tools/formed/formed/model/data.py: Added a method to find all
1087              widgets in a given page. Fixed a bug when walking in switch
1088              with a given mode.
1089    
1090            * tools/formed/formed/plugins/web/plugin.py: Simple test for
1091              listing all widgets in page.
1092    
1093    2007-08-21      Torsten Irlaender <[email protected]>
1094    
1095            * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
1096              latin-1
1097    
1098    2007-08-21      Sascha L. Teichmann <[email protected]>
1099    
1100            * tools/formed/formed/model/data.py: Added mode parameter to
1101              walk.
1102              
1103            * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1104              walk() with usage of the new mode parameter. Added a method to
1105              give children in a given mode.
1106    
1107            * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1108              new Switch.childrenInMode() method.
1109    
1110    2007-08-21      Sascha L. Teichmann <[email protected]>
1111    
1112            * tools/formed/formed/plugins/web/semantic.py: Add checks for
1113              texts and text areas.
1114    
1115            * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1116              to UTF-8 in generated form.
1117    
1118    2007-08-20      Sascha L. Teichmann <[email protected]>
1119    
1120            * tools/formed/formed/plugins/web/semantic.py: Added semantic
1121              tests for dates.
1122    
1123    2007-08-20      Sascha L. Teichmann <[email protected]>  
1124    
1125            * tools/formed/test-data/simple.xml: Tweak a bit for integer
1126              range test.
1127    
1128            * tools/formed/formed/model/nodecomponents.py: Added a method
1129              to find a tree item for a given name.
1130    
1131            * tools/formed/formed/plugins/web/semantic.py: New: Box for
1132              semantic checking. Has check for integers.
1133    
1134            * tools/formed/formed/plugins/web/plugin.py: Use semantic
1135              check.
1136    
1137    2007-08-20      Torsten Irlaender <[email protected]>
1138    
1139          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1140            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 11  Line 1147 
1147            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
1148            session now. This will ease testing the constraint            session now. This will ease testing the constraint
1149            tests which need to be written soon.            tests which need to be written soon.
1150                              
1151            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
1152            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
1153            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 29  Line 1165 
1165            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
1166            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
1167            selects their respective menu item.            selects their respective menu item.
1168                              
1169          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
1170            installed filters.            installed filters.
1171    
# Line 90  Line 1226 
1226    
1227          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
1228            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
1229                  menu and put a separator between them.            menu and put a separator between them.
1230    
1231  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
1232    
# Line 99  Line 1235 
1235    
1236          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
1237            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
1238                  global configuration is passed at setup time.            global configuration is passed at setup time.
1239    
1240          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
1241            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
1242                  from the global configuration each time a rendering            from the global configuration each time a rendering
1243                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
1244                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
1245                  is not needed any more because it can be configured            is not needed any more because it can be configured
1246                  at runtime.            at runtime.
1247    
1248          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
1249            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
1250                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
1251                  global config.            global config.
1252    
1253          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
1254            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 124  Line 1260 
1260    
1261          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1262            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
1263                  print out in web plugin.            print out in web plugin.
1264    
1265  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
1266    
# Line 142  Line 1278 
1278    
1279          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1280            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
1281                  to FORMED environment variable.            to FORMED environment variable.
1282                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1283                  Defaults to 'default'.            Defaults to 'default'.
1284    
1285          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
1286    
# Line 158  Line 1294 
1294          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
1295            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
1296            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
1297                  to model external item lists.            to model external item lists.
1298    
1299          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
1300            list.            list.
# Line 175  Line 1311 
1311    
1312          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * contrib/extract-xfa-items.sh: New. Can be used to extract longer
1313            choice item lists for a given field from XFA files. e.g. with            choice item lists for a given field from XFA files. e.g. with
1314                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1315    
1316  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
1317    
1318          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1319            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
1320                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
1321                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
1322                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
1323                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
1324                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
1325    
1326                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
1327                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
1328                              
1329          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
1330            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
1331    
# Line 207  Line 1343 
1343    
1344          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1345            of the tree.            of the tree.
1346                              
1347          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
1348    
1349          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 230  Line 1366 
1366    
1367          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1368            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
1369                  in document tree.            in document tree.
1370    
1371          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1372            after names collisions are eliminated.            after names collisions are eliminated.
# Line 242  Line 1378 
1378    
1379          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1380            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
1381                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
1382                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
1383                  purpose.            purpose.
1384    
1385          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
1386            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
1387                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1388    
1389          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
1390            from bool items.            from bool items.
# Line 267  Line 1403 
1403    
1404          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
1405            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
1406                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1407    
1408  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
1409    
# Line 304  Line 1440 
1440    
1441          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
1442            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
1443                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
1444    
1445          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
1446            the reference to the config.            the reference to the config.
# Line 384  Line 1520 
1520    
1521          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1522            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
1523                  attributes.            attributes.
1524    
1525          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
1526            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 413  Line 1549 
1549    
1550          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
1551            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
1552                  tree.            tree.
1553    
1554  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
1555    
# Line 442  Line 1578 
1578    
1579          * tools/formed/formed/main.py: Added event route document ->          * tools/formed/formed/main.py: Added event route document ->
1580            attribute table to get informed when selected item is delete            attribute table to get informed when selected item is delete
1581                  or an attribute is changed from the outside.            or an attribute is changed from the outside.
1582    
1583          * tools/formed/formed/ui/controls.py: Fixed. In older versions of          * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1584            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1585                  of 3 argument. Uses icons+tooltips for tree navigation now.            of 3 argument. Uses icons+tooltips for tree navigation now.
1586    
1587  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
1588    
# Line 494  Line 1630 
1630    
1631          * tools/formed/formed/ui/controls.py: Establish sort order          * tools/formed/formed/ui/controls.py: Establish sort order
1632            by indices of children in parent instead of alphanum.            by indices of children in parent instead of alphanum.
1633                  Code to move items up and down the document tree.            Code to move items up and down the document tree.
1634    
1635          * tools/formed/formed/io/document.py: Added missing imports.          * tools/formed/formed/io/document.py: Added missing imports.
1636    
# Line 507  Line 1643 
1643    
1644          * tools/formed/formed/main.py,          * tools/formed/formed/main.py,
1645            tools/formed/formed/ui/controls.py: Added control to            tools/formed/formed/ui/controls.py: Added control to
1646                  move items around in tree. Has no effect by now.            move items around in tree. Has no effect by now.
1647    
1648  2007-08-05      Sascha L. Teichmann <[email protected]>  2007-08-05      Sascha L. Teichmann <[email protected]>
1649    
# Line 523  Line 1659 
1659    
1660          * tools/formed/*: initial check-in of the Formular Editor.          * tools/formed/*: initial check-in of the Formular Editor.
1661            Not working yet. Only can load, view and store formular XML files.            Not working yet. Only can load, view and store formular XML files.
1662                  Start it with 'tools/formed/formed.sh'.            Start it with 'tools/formed/formed.sh'.

Legend:
Removed from v.58  
changed lines
  Added in v.198

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26