/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 224 - (hide annotations)
Wed Feb 13 12:08:21 2008 UTC (17 years ago) by teichmann
File size: 65352 byte(s)
- Added attribute "function" in FormEd nodes
- Save XML attribiutes in alphabetical order.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26