Commit graph

24 commits

Author SHA1 Message Date
Eunji Jeong
c8840465d1 Pass tests in es5 test262 ch15.2.3.3 (except for URI-related features)
- Add every builtin function templates in es5
- Modification on Makefile target "check" should not trigger rebuild
- Add JSON object
- Implement some toString functions
- Initialize m_value properly in ObjectPropertyDescriptor constructor
2016-12-29 22:39:02 +09:00
seonghyun kim
d2a17f1be3 1. implement parseFloat
2. implement missing functions in Math
3. Fix delete expression bug
4. Fix Error Object bug
5. implement String.prototype.reverse

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-23 23:24:11 +09:00
Junyoung Cho
1447526e24 Implement Number/String.prototype.valueOf
Fix primitive type conversion bug in Date
Add constructor property to Built-in object functions
2016-12-23 15:50:58 +09:00
seonghyun kim
3d16ed27df 1. implement Object.preventExtensions, Object.getPrototypeOf, Object.prototype.valueOf
2. Fix bug in Object::set
3. Fix bug in Object::defineOwnProperty
4. implement function Number correctly
5. set prototype of String, Number object correctly

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-22 17:12:16 +09:00
seonghyun kim
ef08833f55 implement prototype of builtin Functions properly
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-22 11:20:29 +09:00
Junyoung Cho
ac9b7b10f5 rename:
ObjectPropertyDescriptor->ObjectStructurePropertyDescriptor
ObjectPropertyDescriptorForDefineProperty->ObjectPropertyDescriptor
2016-12-19 20:52:18 +09:00
seonghyun kim
e1c48390a7 1. implement String, Number proxy object
2. optimze Script Parser(esprima)

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-19 14:29:34 +09:00
Junyoung Cho
eff931b702 Fix bugs: updating hasASCIIContent in RopeString, using subString in concat 2016-12-15 18:55:47 +09:00
seonghyun kim
61eb45b0c7 1. optimize String buffer acquire functions
2. implment String.prototype.toLowerCase, toUpperCase
3. implment Array.prototype.sort
4. fix codeBlock bugs

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-15 11:37:25 +09:00
seonghyun kim
c22735e9b3 implement String.prototype.match, parseInt
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-14 18:55:05 +09:00
seonghyun kim
d9948bcded implement String.prototype.charAt
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-14 18:24:02 +09:00
Junyoung Cho
f374f035f3 String.prototype.slice 2016-12-14 16:58:14 +09:00
Junyoung Cho
76b0a9f3ca Implement String.prototype.concat 2016-12-14 16:56:42 +09:00
seonghyun kim
1dd949ab26 implement String.fromCharCode, data.charCodeAt
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-14 16:42:41 +09:00
seonghyun kim
64a56ae946 1. re-implement Object::defineOwnProperty
2. implement String.prototype.match, replace

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-14 16:17:11 +09:00
seonghyun kim
88a79914ae implement for-in statement
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-13 19:50:04 +09:00
seonghyun kim
a8b046f8de 1. implement StoreByName correctly
2. implement String.prototype.substring

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-13 15:21:43 +09:00
seonghyun kim
c95e2ee004 implement String.prototype.indexOf
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-13 13:54:43 +09:00
seonghyun kim
8acbfcfe52 1. split Vector into TightVector and Vector
2. implement basic of DateObject
3. implement continue statement

this patch passes 3d-raytrace.js

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-09 13:56:54 +09:00
seonghyun kim
c34e6da780 1. implement StringObject
2. implement Array.prototype.join, toString
3. implement Math.abs, Math.min....so on
4. implement Object::enumeration

this pass 3d-cube.js, 3d-morph.js

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-08 21:45:17 +09:00
Junyoung Cho
f7a22f54fc Apply clang-formatting 2016-12-08 14:53:01 +09:00
seonghyun kim
f2e8463092 1. redesign Object api
2. implement ObjectPropertyName type

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-07 22:10:23 +09:00
seonghyun kim
6a758afc72 1. implement new, this expression
2. implement Math.max
3. implement unary plus, minus
this patch pass access-binary-trees.js

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-07 18:44:47 +09:00
seonghyun kim
288b147659 1. implement tracing stack when got exception
2. binding function name
3. implement sandbox for isolate throw exception
4. implement object expression
5. implement get, set object operation
6. implement logical and, or operation

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-06 22:22:04 +09:00