diff options
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 74 |
1 files changed, 57 insertions, 17 deletions
@@ -3,11 +3,51 @@ CHANGES: | |||
3 | 3 | ||
4 | CHANGE X: | 4 | CHANGE X: |
5 | 5 | ||
6 | CHANGE 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 | |||
14 | CHANGE 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 | |||
18 | CHANGE 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 | |||
21 | CHANGE 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 | |||
25 | CHANGE 17 BGe 21-Sept-2010: | ||
26 | Fixed stupid compilation errors. | ||
27 | |||
28 | CHANGE 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 | |||
35 | CHANGE 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 | |||
38 | CHANGE 14 (bug fix) BGe 09-Jul-2010: | ||
39 | Fixed lane status to be correctly returned as "waiting" when it should. | ||
40 | |||
41 | CHANGE 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 | |||
6 | CHANGE 12 (bug fix on Windows, 2.0.3) AKa 25-Jan-2009: | 46 | CHANGE 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 | ||
9 | CHANGE 11 (new feature, 2.0.3) AKa 23-Jan-2009: | 49 | CHANGE 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 | ||
13 | CHANGE 10 (new feature, 2.0.3) AKa 23-Jan-2009: | 53 | CHANGE 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: | |||
18 | CHANGE 9 (bug fix on Windows) AKa 10-Dec-2008 (> 2.0.2): | 58 | CHANGE 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 | ||
22 | CHANGE 8 (bug fix) AKa 26-Oct-2008: | 62 | CHANGE 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 | ||
29 | CHANGE 7 (bug fix) AKa 15-Oct-2008: | 69 | CHANGE 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): | |||
55 | CHANGE 3 (bug fix) AKa 5-Aug-2008: | 95 | CHANGE 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 | ||
59 | CHANGE 2 (bug fix) AKa 5-Aug-2008: | 99 | CHANGE 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 | ||
64 | CHANGE 1 (bug fix) AKa 4-Aug-2008: | 104 | CHANGE 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 | ||