/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26