/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.55  
changed lines
  Added in v.205

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26