/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.4  
changed lines
  Added in v.219

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26