/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26