Author: dmeyer
Date: Wed Feb 13 13:29:55 2008
New Revision: 3067
Log:
add/change version info
Modified:
trunk/base/API_CHANGES.txt
trunk/base/NEWS
trunk/base/setup.py
Modified: trunk/base/API_CHANGES.txt
==============================================================================
--- trunk/base/API_CHANGES.txt (original)
+++ trunk/base/API_CHANGES.txt Wed Feb 13 13:29:55 2008
@@ -1,3 +1,11 @@
+The API for kaa.notifier has changed in releases 0.3.0 and 0.4.0. We
+think the API is now stable again. You need to check your code to
+adjust to the new API.
+
+
+Changes for 0.3.0
+-----------------
+
1. Rename kaa.notifier mainloop control:
kaa.notifier.init() is kaa.main.select_notifier()
kaa.notifier.loop() and kaa.main() is now kaa.main.run()
@@ -9,9 +17,6 @@
kaa.main can be accessed by importing kaa, you can NOT import
kaa.main directly.
- NOTE: as of 0.4.0 (svn r3057) these functions under kaa.notifier
- have been completely removed.
-
2. Move kaa.notifier classes and functions into the kaa namespace.
E.g. kaa.notifier.Timer is now kaa.Timer. No part of the code
should use anything from kaa.notifier.
@@ -43,20 +48,21 @@
finished object will return without waiting. For Python 2.5 the
yield also returns the value or can raise an exception.
-9. MainThreadCallback.set_async() is deprecated. Calling a
- MainThreadCallback will return an InProgress object, and the
- correct approach now is to wait() on this InProgress.
- NOTE: as of 0.4.0 (svn r3057), set_async() has been removed. Calling
- it will raise an Exception instead of logging a warning.
+Changes for 0.4.0
+-----------------
+
+1. MainThreadCallback.set_async() is removed. Calling a
+ MainThreadCallback will return an InProgress object, and the
+ new approach now is to wait() on this InProgress.
-10. Several decorators renamed:
+2. Several decorators renamed:
@kaa.execute_in_timer --> @kaa.timed
@kaa.execute_in_thread --> @kaa.threaded
@kaa.execute_in_mainloop --> @kaa.threaded(kaa.MAINTHREAD)
@kaa.yield_execution --> @kaa.coroutine
- Currently the old names are still functional but a warning will be
- logged if they are used. @kaa.timed also changed the parameter
- order and name. It is now interval, timer (default Timer) and
- policy (default POLICY_RESTART).
+ Currently the old names are still functional but a warning will be
+ logged if they are used. @kaa.timed also changed the parameter
+ order and name. It is now interval, timer (default Timer) and
+ policy (default POLICY_RESTART).
Modified: trunk/base/NEWS
==============================================================================
--- trunk/base/NEWS (original)
+++ trunk/base/NEWS Wed Feb 13 13:29:55 2008
@@ -1,5 +1,11 @@
Release Notes, see ChangeLog for a detailed list of changes.
+0.4.0, 2008-xx-xx
+
+* Again some API changes for kaa.notifier. Please read
+ API_CHANGES.txt for details. The API should be stable now.
+
+
0.3.0, 2008-02-04
* API changes for kaa.notifier. Please read API_CHANGES.txt for
Modified: trunk/base/setup.py
==============================================================================
--- trunk/base/setup.py (original)
+++ trunk/base/setup.py Wed Feb 13 13:29:55 2008
@@ -85,7 +85,7 @@
# call setup
setup(
module = 'base',
- version = '0.3.0',
+ version = '0.4.0',
license = 'LGPL',
summary = 'Base module for all Kaa modules.',
rpminfo = {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog