/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26