/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 222 - (hide annotations)
Fri Feb 1 11:50:39 2008 UTC (17 years ago) by teichmann
File size: 64922 byte(s)
FormEd / SQL schema exporter:

Added a column 'uuid_id' to master table and repeat groups.
Also added unique constraints to these columns. 


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26