/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 212 - (hide annotations)
Sun Oct 21 10:01:36 2007 UTC (17 years, 4 months ago) by frank
File size: 62797 byte(s)
2007-10-21	Frank Koormann <frank@intevation.de>
	* tools/formed/formed/plugins/export/sql.py: Grant statements for
	descriptive tables added.
	(Table.getName): new

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26