/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 239 - (hide annotations)
Mon Feb 25 21:51:02 2008 UTC (17 years ago) by teichmann
File size: 67854 byte(s)
Fixed logic bug in CSV joiner.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26