aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2011-01-04 21:31:17 +0100
committerBenoit Germain <bnt.germain@gmail.com>2011-01-04 21:31:17 +0100
commit79e46938c5d8daf164ab2d934f668fa27b32e4cf (patch)
tree407761f25bbdc3d5b2066a705dcbcf8711690242 /CHANGES
parented07b457b6b45ece85d367dc8b89bf3c040abd9a (diff)
downloadlanes-79e46938c5d8daf164ab2d934f668fa27b32e4cf.tar.gz
lanes-79e46938c5d8daf164ab2d934f668fa27b32e4cf.tar.bz2
lanes-79e46938c5d8daf164ab2d934f668fa27b32e4cf.zip
Take all code from Asko Kauppi's SVN server, and push it here so that the github repository becomes the official Lanes source codebase.
Note that Asko's SVN server holds version 2.0.9, whereas this is version 2.0.10, but I don't see any real need to update SVN if it is to become deprecated. Next steps: - upgrade the rockspec to the latest version - make the html help available online somewhere Signed-off-by: Benoit Germain <bnt.germain@gmail.com>
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES74
1 files changed, 57 insertions, 17 deletions
diff --git a/CHANGES b/CHANGES
index ae4da3c..c41e36d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,11 +3,51 @@ CHANGES:
3 3
4CHANGE X: 4CHANGE X:
5 5
6CHANGE 21 (bugfixes) BGe 3-Jan-2011:
7 Several fixes by Martin Krpan:
8 - linda_send was waiting on the wrong signal
9 - buildfix when using i586-mingw32msvc-gcc cross compiler
10 - lanes_h:cancel() returns a boolean as it should
11 - timers could get blocked sometimes because they were initialized with negative values
12 - prepare_timeout could generate an illegal setting
13
14CHANGE 20 BGe 3-Dec-2010:
15 Enable to specify a string as lane code instead of a function so that we dont use lua_dump, which
16 isn't supported by LuaJIT.
17
18CHANGE 19 BGe 2-Dec-2010:
19 No longer rely on global function 'tostring' to generate unique identifiers when caching data being transfered through la linda. Should fix a compatilibity issue with LuaJIT2.
20
21CHANGE 18 BGe 6-Oct-2010:
22 Fixed 'memory leak' in some situations where a free running lane is collected before application shutdown
23 A bit of code cleanup
24
25CHANGE 17 BGe 21-Sept-2010:
26 Fixed stupid compilation errors.
27
28CHANGE 16 PLM 24-Aug-2010:
29 Releasing memory at gc / atexit.
30 Finalizers actually get error strings.
31 Fixed missing argument propagation in lane:cancel
32 Added variable threadName sent trough globals-table. Set in s_lane, and in debuggers on windows.
33 Added argument checking for linda-objects, where missing them caused crashes.
34
35CHANGE 15 (minor) BGe 27-Jul-2010:
36 Version bump for a true upgrade release (2.0.4 package was only a renamed 2.0.3)
37
38CHANGE 14 (bug fix) BGe 09-Jul-2010:
39 Fixed lane status to be correctly returned as "waiting" when it should.
40
41CHANGE 13 (fix for multithreaded host apps) AKa 24-Jun-2009:
42 <borisusun-at-gmail> mentioned Lanes expects the host application to be singlethreaded,
43 and there are troubles if Lanes is used from multiple threads, opened by the host
44 (before requiring Lanes). This is true, and fix should now be in place.
45
6CHANGE 12 (bug fix on Windows, 2.0.3) AKa 25-Jan-2009: 46CHANGE 12 (bug fix on Windows, 2.0.3) AKa 25-Jan-2009:
7 Did CHANGE 9 the way it should be done. 47 Did CHANGE 9 the way it should be done.
8 48
9CHANGE 11 (new feature, 2.0.3) AKa 23-Jan-2009: 49CHANGE 11 (new feature, 2.0.3) AKa 23-Jan-2009:
10 Finalizers ('set_finalizer()') for being able to do cleanup of a lane's 50 Finalizers ('set_finalizer()') for being able to do cleanup of a lane's
11 resources, whether it returned succesfully or via an error. 51 resources, whether it returned succesfully or via an error.
12 52
13CHANGE 10 (new feature, 2.0.3) AKa 23-Jan-2009: 53CHANGE 10 (new feature, 2.0.3) AKa 23-Jan-2009:
@@ -18,12 +58,12 @@ CHANGE 10 (new feature, 2.0.3) AKa 23-Jan-2009:
18CHANGE 9 (bug fix on Windows) AKa 10-Dec-2008 (> 2.0.2): 58CHANGE 9 (bug fix on Windows) AKa 10-Dec-2008 (> 2.0.2):
19 Applied patch from Kriss Daniels to avoid issues on 'now_time()' in Win32 59 Applied patch from Kriss Daniels to avoid issues on 'now_time()' in Win32
20 (http://luaforge.net/forum/forum.php?thread_id=22704&forum_id=1781). 60 (http://luaforge.net/forum/forum.php?thread_id=22704&forum_id=1781).
21 61
22CHANGE 8 (bug fix) AKa 26-Oct-2008: 62CHANGE 8 (bug fix) AKa 26-Oct-2008:
23 Avoids occasional segfault at process exit (on multicore CPUs). Does this 63 Avoids occasional segfault at process exit (on multicore CPUs). Does this
24 by keeping track of "free running" threads (s.a. the time thread) and 64 by keeping track of "free running" threads (s.a. the time thread) and
25 cancelling them at process exit. 65 cancelling them at process exit.
26 66
27 Tested (2.0.2) on Linux 64,x86, OS X, WinXP. 67 Tested (2.0.2) on Linux 64,x86, OS X, WinXP.
28 68
29CHANGE 7 (bug fix) AKa 15-Oct-2008: 69CHANGE 7 (bug fix) AKa 15-Oct-2008:
@@ -34,15 +74,15 @@ CHANGE 6 (bug fix) AKa 15-Oct-2008:
34 Added local caches of the following to src/lanes.lua (was otherwise getting 74 Added local caches of the following to src/lanes.lua (was otherwise getting
35 errors at least in 'tests/irayo_recursive.lua'). 75 errors at least in 'tests/irayo_recursive.lua').
36 76
37 local assert= assert 77 local assert= assert
38 local string_gmatch= assert( string.gmatch ) 78 local string_gmatch= assert( string.gmatch )
39 local select= assert( select ) 79 local select= assert( select )
40 local type= assert( type ) 80 local type= assert( type )
41 local pairs= assert( pairs ) 81 local pairs= assert( pairs )
42 local tostring= assert( tostring ) 82 local tostring= assert( tostring )
43 local error= assert( error ) 83 local error= assert( error )
44 local setmetatable= assert( setmetatable ) 84 local setmetatable= assert( setmetatable )
45 local rawget= assert( rawget ) 85 local rawget= assert( rawget )
46 86
47 Thanks to Irayo for detecting and reporting this. 87 Thanks to Irayo for detecting and reporting this.
48 88
@@ -55,17 +95,17 @@ CHANGE 4 (new feature):
55CHANGE 3 (bug fix) AKa 5-Aug-2008: 95CHANGE 3 (bug fix) AKa 5-Aug-2008:
56 The '__gc' method was not tied to thread userdata, at all. Caused memory 96 The '__gc' method was not tied to thread userdata, at all. Caused memory
57 lifespan problems at least on OS X when threads were cancelled (EINVAL). 97 lifespan problems at least on OS X when threads were cancelled (EINVAL).
58 98
59CHANGE 2 (bug fix) AKa 5-Aug-2008: 99CHANGE 2 (bug fix) AKa 5-Aug-2008:
60 Better calculation of timeouts, always making them absolute (even in Win32) 100 Better calculation of timeouts, always making them absolute (even in Win32)
61 to allow for events that wake the lane up but don't read/write the Linda 101 to allow for events that wake the lane up but don't read/write the Linda
62 key that it was observing. 102 key that it was observing.
63 103
64CHANGE 1 (bug fix) AKa 4-Aug-2008: 104CHANGE 1 (bug fix) AKa 4-Aug-2008:
65 Signalling woke up only one waiting thread, not all. This caused i.e. 105 Signalling woke up only one waiting thread, not all. This caused i.e.
66 receive to not wake up if there was another thread waiting on the same 106 receive to not wake up if there was another thread waiting on the same
67 Linda object. 107 Linda object.
68 108
69 PThread fix: using 'pthread_cond_broadcast()' instead of 'pthread_cond_signal()' 109 PThread fix: using 'pthread_cond_broadcast()' instead of 'pthread_cond_signal()'
70 Win32 fix: using manual events and 'PulseEvent()' 110 Win32 fix: using manual events and 'PulseEvent()'
71 111