Commit Graph

185 Commits

Author SHA1 Message Date
Enrique García Cota
01f2248ce1 small fix on Object.include param check 2011-04-12 00:00:40 +02:00
Enrique García
f775d375e3 changed date on initial comment. fixes #10 2011-04-06 15:28:35 +02:00
Michael Ebens
120b34c073 Fixed a few things in the README. 2011-04-04 11:23:32 +10:00
Enrique García
08076c765d preparing v1.4 tag 2011-03-30 20:34:15 +02:00
Enrique García
060886ee90 made allocate overridable by subclasses and mixins 2011-03-30 20:28:56 +02:00
Enrique García
379a0d9b73 storing booleans instead of class references inside _classes, to make it faster and consume less memory 2011-03-30 20:07:04 +02:00
Michael Ebens
afb6b8ea8e Abbreviated allocate. 2011-03-30 21:47:13 +11:00
Michael Ebens
aba22f37fe Added allocate method, and modified new method. 2011-03-30 19:46:12 +11:00
Enrique García
e303af7fe9 removed super. changed the version to 1.3 2011-02-01 09:04:16 +01:00
Enrique García
39aebfc089 updated README 2011-01-01 16:47:19 +01:00
Enrique García
5c361fe2df made the _classes table properly weak. This fixes #3 2010-12-26 21:58:03 +01:00
Enrique García
cb94d95fd7 updated README 2010-12-07 23:57:06 +01:00
Enrique García
17f52a4731 updated README 2010-12-07 23:54:17 +01:00
Enrique García
51bfc607e8 corrected version. we are still on 1.2, not 1.3 2010-12-07 23:53:55 +01:00
Enrique García
fa0a87be79 added error when attempting to modify __index. Reaching 1.3 2010-12-07 23:46:35 +01:00
Enrique García
025944245f removed mentions from __index2 for now. Awaiting answers from SO regarding performance impact 2010-12-05 01:19:41 +01:00
Enrique García
7569bfe2d0 removed mentions from __index2 for now. Awaiting answers from SO regarding performance impact 2010-12-05 01:17:57 +01:00
Enrique García
1db31b3fd4 very near to achieving __index functionality. All previous tests pass. New tests dont yet 2010-12-04 02:43:09 +01:00
Linus Sjögren
dae9e17ea3 Updated init.lua. Fixes #1 2010-11-30 01:15:48 +01:00
Enrique García
7fc0e7167f updated README 2010-11-23 01:49:45 +01:00
Enrique García
b3c798bb0a modified init.lua 2010-11-23 01:06:42 +01:00
Enrique García
e7373e57e4 added init.lua 2010-11-23 01:00:43 +01:00
Enrique García
9c86f11b94 renamed MiddleClass.lua to middleclass.lua 2010-11-23 01:00:17 +01:00
Enrique García
015d905a14 another fix to the readme. I forgot to remove the specs dir, doing so now 2010-11-21 21:16:17 +01:00
Enrique García
10c330a161 updated README 2010-11-21 21:10:59 +01:00
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