Commit Graph

45 Commits

Author SHA1 Message Date
kikito
87da56d764 renamed Invoker.invoke to Sender.send . Also, started using it on Beholder and Callbacks without breaking any tests! 2010-09-22 01:20:45 +02:00
kikito
d4a556996a added additional Invoker test 2010-09-20 23:42:27 +02:00
kikito
c43be70678 added Invoker mixin 2010-09-20 23:36:28 +02:00
kikito
4bd787b799 decided that __index metamethod is not a huge requirement on middleclass. Removing FIXME 2010-09-20 22:45:58 +02:00
kikito
097f416670 Cleaned up callbacks and added after_initialize special case 2010-09-20 22:43:43 +02:00
kikito
45a768b0c0 Callbacks finally passes preliminary tests 2010-09-16 22:52:52 +02:00
kikito
edef5b24f3 added NONWORKING Callbacks. Will continue after mid-september 2010-08-22 01:05:11 +02:00
kikito
2e1487884b added beholder with tests 2010-08-15 16:14:35 +02:00
kikito
1149d6506a added getterSetter mixin with tests 2010-08-15 01:03:25 +02:00
kikito
9bf6c75bf5 added final tests for MindState. Simplified state creation (removed state parameters) 2010-08-12 00:31:07 +02:00
kikito
68e1f779df added more tests for mindState and fixed minor issues 2010-08-11 00:59:48 +02:00
kikito
0cdd3bacbb added more tests. fixed some minor issues on MindState 2010-08-06 20:05:50 +02:00
kikito
8cc514f19d fixed some issues on MindState. Added more tests 2010-08-06 11:36:30 +02:00
kikito
6d874623cb more statefulObject tests 2010-08-05 19:26:19 +02:00
kikito
7cdf87ff65 updated Rakefile to new telescope. Started MindState tests 2010-08-05 01:41:30 +02:00
kikito
8dc1f163cd added tests for mixins. MiccleClass tests are now RC 1 2010-08-02 16:51:30 +02:00
kikito
11997fa732 all metamethods working except __len (which is not feasible on tables anyway) 2010-08-02 01:25:33 +02:00
kikito
a227c23fc7 all metamethods working except __pow and __len, for some reason 2010-07-31 05:24:48 +02:00
kikito
16ccfed92c added test README 2010-07-29 01:26:59 +02:00
kikito
d180d7a24f added more tests 2010-07-29 01:18:11 +02:00
kikito
0c5b65c1a2 moved files to src. updated testing rakefile and tests 2010-07-28 01:32:10 +02:00
kikito
0c611e6ae5 Added some tests. Still missing a lot of them 2010-07-23 00:56:40 +02:00
kikito
64f2d89281 removed getterSetters from main MiddleClass (use a mixin instead). Added destroy. Fixed bug with destroying stateful objects 2010-07-14 15:19:17 +02:00
kikito
bf24742c9c updated README 2010-04-22 00:09:24 +02:00
kikito
49dd4929a7 updated README 2010-04-22 00:08:02 +02:00
kikito
b8e1f538fb added README 2010-04-22 00:06:04 +02:00
kikito
940a2b47f8 Updated MiddleClass in order to comply with naming conventions.
Fixed several bugs on MindState
2010-03-23 23:18:32 +00:00
kikito
1d243b86de MiddleClass: (UNTESTED) fixed __call so it calls subclass' implementation of new instead of Object.new 2010-02-14 23:37:21 +00:00
kikito
e06b0c16d7 MindState: Untested attempt at adding stackable states 2010-02-14 23:37:10 +00:00
kikito
5b1a437780 MiddleClass: added parameters to includes/included 2010-02-14 18:52:47 +00:00
kikito
df05036c61 MiddleClass: fixed nonworking implicit instantiation (Object() instead of Object:new()) 2010-02-13 17:32:37 +00:00
kikito
b9248f5cc1 middleclass: changed super(self, ...) to super.method(self, ...) 2010-02-07 15:52:00 +00:00
kikito
46820474a8 mindstate: fixed error when gotoState(nil) 2010-02-06 19:50:17 +00:00
kikito
4ffe20574f Removed unnecessary do...end. local variables are visible only within their files. 2010-01-26 23:44:44 +00:00
kikito
5e1dc8a777 Simplified MiddleClass' internal capitalization function 2010-01-26 23:41:02 +00:00
kikito
b9eb2813a5 Added setterFor & getterFor methods 2010-01-15 23:42:20 +00:00
kikito
395e2d7498 Added initial version of MindState.lua 2009-12-27 22:16:41 +00:00
kikito
226121bb49 added getters/setters 2009-12-27 22:15:01 +00:00
kikito
fe77227db0 Changed init to initialize
Fixed bug on subclassOf
2009-12-06 16:08:58 +00:00
kikito
78afebdf79 changed init to initialize 2009-11-08 17:13:36 +00:00
kikito
08e64da93a bugfix: class's __index needed a bit more of complexity 2009-11-06 16:39:11 +00:00
kikito
27841298d6 Added __classDict in order to make the super() function work.
made has been renamed to instanceOf and made an external function
subclassOf has been made an external function
2009-11-06 16:09:35 +00:00
kikito
e81eed41c9 [non-working]removed unused functions 2009-11-03 09:04:11 +00:00
kikito
df19e255f9 [non-working] removed instanceMethods 2009-11-03 09:02:22 +00:00
kikito
d3667876f0 first version 2009-10-31 01:14:20 +00:00