From: Florent R. <f.r...@fr...> - 2013-10-02 13:05:51
|
Hello, pythondialog 2.14.1 has been released. A summary of the changes can be found at: http://pythondialog.sourceforge.net/#news-2.14 A more detailed version, reproduced here for your convenience, can be found in the ChangeLog: 2013-10-01 Florent Rougon Fixes for the programbox demo * demo.py (programbox_demo): the programbox demo (only run in --test-suite mode) uses subprocess.DEVNULL, which was added in Python 3.3. Provide an alternate method when this feature is not available. * demo.py (programbox_demo): close the pipe used to communicate with dialog when it is not needed anymore (otherwise, running the demo with warnings enabled [python3 -Wd demo.py 2>/path/to/file] shows a ResourceWarning). 2013-10-01 Florent Rougon Better reporting of dialog errors * dialog.py: when dialog exits with status DIALOG_ERROR, write its output as part of the DialogError exception that is raised. This should make it much easier to understand the cause of errors. This requires reading the dialog output before wait()ing for it to exit, which is a good thing in any case, as big amounts of output could cause a kind of deadlock, since dialog would be blocked with its output pipe full while we would be wait()ing for it to exit. 2013-09-30 Florent Rougon Easier management of the ChangeLog file * Rename ChangeLog to ChangeLog.init and modify setup.py to automatically generate, when invoked, an up-to-date ChangeLog file with the oldest entries from ChangeLog.init and the newest ones from the Git log. * README.distributors: new file explaining this mechanism and how to prepare a package (or new release) from the Git repository. 2013-09-26 Florent Rougon Decorate Dialog.form with the 'widget' decorator * dialog.py: in commit cfcf412d86c5d8daebcf004d4e9fe02ecbb881b3, it was forgotten to use the 'widget' decorator on Dialog.form. This commit fixes this bug. 2013-09-20 Florent Rougon Clarify the rules concerning the 'widget' decorator * dialog.py: be more precise about the interface that must be offered by methods decorated with the 'widget' decorator (and therefore having the 'is_widget' attribute). Also, don't use the "widget-producing" expression to qualify methods that are not eligible for this decorator (such as Dialog.gauge_update()). * demo.py: similar precisions. -- Florent |