Commit graph

19 commits

Author SHA1 Message Date
이승수/Tizen Platform Lab(SR)/Senior Engineer/삼성전자
5fb97a9eb8 Modify license notice for each file (#55)
Signed-off-by: Seungsoo Lee <seungsoo47.lee@samsung.com>
2018-02-22 18:23:17 +09:00
김원용/Web Platform Lab(S/W센터)/Engineer/삼성전자
8ed0d55bca Fix setTimeValue bug at DateObject (#15)
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2017-08-10 08:37:33 +09:00
Saebom Kim
74869c1ec9 1. remove RELEASE_ASSERT_NOT_REACHED in ScriptParser
2. fix a floating point precision bug in DateObject
3. fix a bug in Math.round() which occured with big integer

Signed-off-by: Saebom Kim sae-bom.kim@samsung.com
2017-05-12 20:18:22 +09:00
Saebom Kim
e21444c38a Fix some bugs detected from chakracore TC & Add essential test environments
Signed-off-by: Saebom Kim sae-bom.kim@samsung.com
2017-05-11 13:03:57 +09:00
seonghyun kim
aa0b23d765 1. update android build flags
2. fix typeof bugs

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2017-04-11 13:12:31 +09:00
Saebom Kim
a7aa4ea929 1. Re-implement Date.prototype.toLocale* using icu library
2. Fix bug on Array.prototype.splice()
3. Add a member variable holding locale information into VMInstance

Signed-off-by: Saebom Kim sae-bom.kim@samsung.com
2017-04-10 14:08:20 +09:00
seonghyun kim
7e2dc69a0d 1. enable build for android
2. add ENABLE_ICU flag

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2017-04-07 14:09:00 +09:00
seonghyun kim
2d4b740d39 1. give correct error to unsupported ES6 syntax
2. parse trailing whitespace correctly in Date parsing

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2017-04-05 12:48:23 +09:00
Saebom Kim
ab00bdfdd2 1. Object derived from primitive value can't define its new property
2. Fix bug with floating point precision in Date.parse
3. Fix bug in Date.setYear()/setFullyear() occured with invalid date value

Signed-off-by: Saebom Kim sae-bom.kim@samsung.com
2017-03-30 20:51:56 +09:00
Youngil Choi
e02af7daf8 Add License Clauses
Signed-off-by: Youngil Choi <duddlf.choi@samsung.com>
2017-03-10 18:06:20 +09:00
Youngil Choi
38dbe94d8d 1. use snprintf for string
2. use ESCARGOT_LOG_INFO, ESCARGOT_LOG_ERROR
2017-02-22 19:28:26 +09:00
Saebom Kim
d2aae57751 Fix some bugs and reduce memory usage from DateObject
* Manage a corner case in computing node LOC from bytecode
  * Change the VM's timezoneID setting to be lazy (because of a memory usage)
  * Fix some bugs on DateObject operation

Signed-off-by: Saebom Kim sae-bom.kim@samsung.com
2017-02-13 10:36:25 +09:00
Saebom Kim
a4a468a9ce Refactor Date builtin & fix some bugs in it
* Reserved (1LL << 63) for representing NaN in DateObject
  - and removed most of double type variables
* Removed leftovers of 'struct tm'
* Set cachedUTC for quick UTC conversion
* Fixed bugs in
  - Date.prototype.setFullYear() with NaN value
  - Date.prototype.setUTCString()
  - Date.prototype.toTimeString() with 30-minute or 45-minute timezone

Signed-off-by: Saebom Kim sae-bom.kim@samsung.com
2017-02-03 18:46:23 +09:00
seonghyun kim
a8754aac97 Merge Object::m_rareData with Object::m_prototype
Object::m_rareData share space with Object::m_prototype
- ObjectRareData inherits PointerValue

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2017-02-02 12:17:04 +09:00
seonghyun kim
dbbbdf2374 allocate almost gc objects as typed gc object
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2017-01-18 20:28:45 +09:00
seonghyun kim
824e750e8a 1. argument order of FunctionObject::call is fixed
2. connect ExectionContext in GlobalObject::eval
3. remove ByteCodeBlock if needed

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2017-01-10 15:56:23 +09:00
Eunji Jeong
ff5be05310 Implement and refactor Date builtin 2017-01-03 20:16:45 +09:00
seonghyun kim
98aaf50356 1. implement many part of Date object
2. implement SwitchStatement
3. fix Script parsing bug

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-16 21:04:49 +09:00
seonghyun kim
52dc57eca5 add missing Date files
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-12 11:35:47 +09:00