/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.26  
changed lines
  Added in v.222

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26