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 |
|