/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.62  
changed lines
  Added in v.202

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26