kikito
|
88e84d13c2
|
made class non-global
|
2013-09-15 23:14:00 +02:00 |
|
kikito
|
491eb44628
|
if walks like a class and talks like a class, it is a class
|
2013-09-15 23:03:35 +02:00 |
|
kikito
|
f107a68a20
|
added header to middleclass, and returned it
|
2013-09-15 15:51:49 +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
|
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
|
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
|
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
|
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 |
|
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
|
5c361fe2df
|
made the _classes table properly weak. This fixes #3
|
2010-12-26 21:58:03 +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 |
|
Enrique García
|
9c86f11b94
|
renamed MiddleClass.lua to middleclass.lua
|
2010-11-23 01:00:17 +01:00 |
|