Commit Graph

117 Commits

Author SHA1 Message Date
Enrique García
2afe04c1ce Create .travis.yml 2013-01-01 16:51:09 -08:00
Enrique García
e0736393c7 Merge pull request #16 from qaisjp/patch-1
Spelling mistakes
2012-10-17 10:48:29 -07:00
qaisjp
cb4de2ec63 Spelling mistakes
TEST SWEET.
> commant
2012-10-17 17:17:45 +02:00
Enrique García
7ac7ce299d small typo in README 2012-01-06 10:37:03 +01:00
Enrique García Cota
28e99e2e41 delete init.lua
fixes #13
2012-01-06 10:31:27 +01:00
Enrique García Cota
1a5d4c88fc Updated changelog 2011-09-19 00:37:53 +02:00
Enrique García Cota
1c3fceddde added changelog.txt 2011-09-19 00:35:33 +02:00
Enrique García Cota
ef4943d3d2 Updated README 2011-09-19 00:32:57 +02:00
Enrique García Cota
04ffc69a5e added license directly to middleclass.lua 2011-09-19 00:32:17 +02:00
Enrique García Cota
81f9c175a0 changed from BSD to MIT license 2011-09-19 00:24:00 +02:00
Enrique García Cota
3f9ae1d6e8 merged branch 2.0 2011-09-19 00:21:14 +02:00
Enrique García Cota
c2e4fce043 mixins now support static methods 2011-09-18 17:40:50 +02:00
Enrique García Cota
2271813323 added performance tests 2011-09-18 16:42:57 +02:00
Enrique García Cota
1df9ccf178 added list of subclasses per class 2011-08-14 18:39:57 +02:00
Enrique García Cota
252b63f8f6 removed mixin parameters. Added possibility of including several mixins simultaneously 2011-08-14 18:07:44 +02:00
Enrique García Cota
21735533d5 updated README, removed unused lines 2011-08-14 00:17:29 +02:00
Enrique García Cota
69d469b67a added subclassed hook method 2011-08-14 00:08:33 +02:00
Enrique García Cota
6c9f6a0074 added mixin support 2011-08-13 23:58:55 +02:00
Enrique García Cota
ce3be2d45b Class.superclass -> Class.super . YEAH 2011-08-13 03:38:31 +02:00
Enrique García Cota
af03b4f6d8 fixed error in Object_spec that made other tests fail in some cases. Added some minor optimizations & fixes 2011-08-13 03:12:21 +02:00
Enrique García Cota
da557bb207 split tests more. refactorized class creation. included metamethod support 2011-08-12 10:33:58 +02:00
Enrique García Cota
90bef60d86 fixed test with Object() 2011-08-11 11:36:23 +02:00
Enrique Garcia Cota
40e14838a2 added instanceOf and subclassOf, as well as splitted into more files. Having issues with Object() (call metamethod) 2011-08-10 21:45:15 +02:00
Enrique García Cota
02f5f05b6a class methods and attributes work. Object spec is nearly finished 2011-08-09 00:06:05 +02:00
Enrique García Cota
0e637ea8da separated into more files added instancemethods and attributes 2011-08-08 23:59:23 +02:00
Enrique García Cota
fc682e12dd initial implementation of allocate and new done 2011-08-08 23:18:15 +02:00
Enrique García Cota
7487c9ba79 added the initial subclass implementation. renamed Class.class to Class.static 2011-08-08 22:29:18 +02:00
Enrique García Cota
3461767eba discarded static() approach due to syntax error. Using Class.class for static variables 2011-08-08 07:38:11 +02:00
Enrique García Cota
25fcd5e030 bootstrapping and little else 2011-08-08 00:07:02 +02:00
Enrique García Cota
dfca999da4 initial commit 2011-08-07 00:56:13 +02:00
Enrique García Cota
268004682c renamed "module" to "mixin" 2011-08-07 00:48:13 +02:00
Enrique García Cota
30b6195435 made the __metamethods table part of Object, so it can be reused in mixins 2011-04-14 00:33:42 +02:00
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