/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.105  
changed lines
  Added in v.206

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26