/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 213 - (hide annotations)
Tue Oct 23 14:39:20 2007 UTC (17 years, 4 months ago) by frank
File size: 62941 byte(s)
* tools/formed/formed/plugins/export/sql.py: 
	Set default value (-1) for choices and bools.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26