* Implement RuntimeICUBinder
- ICU has verison name on its symbol name like u_tolower_XX.
but, we need to use escargot on various platform(without re-compile)
thus, I implement this library
* add ceil function on IEEE754
- there is an issue with -0 in builtin ceil function
* Use pypy instead of python for running test262(pypy is faster than python)
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
* Optimize ObjectStructurePropertyDescriptor
* Don't initialize inline storage of VectorWithInlineStorage
* Add Object::setPrototypeForIntrinsicObjectCreation for fast initialize
* Add ArrayObject::ArrayObject(ExecutionState& state, const uint64_t& size) for fast initialize
* Store stack-limit instead of stack-base
* Reduce size of ExecutionState
* Add fast version of Object::ownPropertyKeys for optimize Object.keys
* Add ValueVectorWithInlineStorage
* Remove some compiler warnings
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
* Fix some bugs related to Intl
* Use default timezone from VM instance
* The following functions should use Intl when the js engine supports Intl.
Number.prototype.toLocaleString ([ locales [ , options ]])
Date.prototype.toLocaleString ([ locales [ , options ]])
Date.prototype.toLocaleDateString ([ locales [ , options ]])
Date.prototype.toLocaleTimeString ([ locales [ , options ]])
* This patch fixes#251
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
* We can use try-catch with yield together now.
* Implement return, throw function in GeneratorObject correctly
* yield expression parsing in esprima 3.1.1 is wrong. so I get right version of yield parsing from newer version of esprima
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
* Pass more tests
* Replace the wrong test262 tests with internal tests.
* Use test result file at tools dir in chakracore test in run-test.py
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
- type-punned pointer error
use memory copy not casting
- rewrite string variable use for format in snprintf
Signed-off-by: DongHeon Jung <dheon.jung@samsung.com>
* add icu as submodule
* Fix some wrong implemations
* Remove functions defined on ctypes.h. its implemations slightly different on POSIX and Windows.
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
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
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
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
* 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
* 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