Commit Graph

210 Commits

Author SHA1 Message Date
Enrique García
37d76aea87 moved specs to a separate github project 2010-11-21 21:07:41 +01:00
Enrique García
6c155f65f5 made the __modules attribute public 2010-11-11 00:24:31 +01:00
Enrique García
96023e85ce removed __gc from the list of valid metamethods 2010-11-10 23:56:40 +01:00
Enrique García
e3c542ba67 made include return the class 2010-10-23 20:16:53 +02:00
Norman Clarke
463500b86c use source instead of short_src, since the last one is for display purposes only 2010-10-22 19:22:13 +02:00
Norman Clarke
1f5db8c397 removed rake dependency 2010-10-22 18:57:13 +02:00
Norman Clarke
407ef9788e removed rake dependency. Renamed spec folder to specs 2010-10-22 18:47:29 +02:00
Enrique García
1f3ba19723 removed __eq from the list of inherited metamethods. Bad things happen if we can not compare pointers freely... 2010-10-20 01:24:09 +02:00
Enrique García
61976509af removed unused line from test 2010-10-16 17:38:57 +02:00
Enrique García
1e2d31ae77 removed unused test 2010-10-16 17:38:11 +02:00
Enrique García
13800a3c4c added BSD license 2010-10-10 23:43:30 +02:00
Enrique García
e93ceba334 MindState moved to a new proyect. MiddleClass moved back to the root folder in order to be able to use the git repo as a submodule easily 2010-10-10 23:40:48 +02:00
kikito
9fd4ccee72 moved mixins out of middleclass, and into PÄSSION 2010-10-04 20:30:14 +02:00
kikito
3d4cc7b5b8 moved mixins out of middleclass, and into PÄSSION 2010-10-04 20:28:49 +02:00
kikito
b3792db41f Beholder re-done using a tree structure for tables (untested) 2010-10-04 20:17:41 +02:00
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