/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 226 - (hide annotations)
Wed Feb 13 16:22:13 2008 UTC (17 years ago) by teichmann
File size: 65721 byte(s)
SQL schema exporter:
    output id, master_id
    and uuid_id in anonymiziation views too.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26