* using cmake instead of maintain another files for windows
* delete own ICU build files for windows
* Fix some bugs running on windows
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
* Add cctest for Object, FunctionTemplates
* Fix one of EncodedValue <-> EncodedSmallValue conversion bug
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
The runner clones down the files into test/kangax,
patches it with escargot, copies the runner into it,
and finally it runs and prints the results.
Signed-off-by: Bela Toth tbela@inf.u-szeged.hu
* Update yarr (webkitgtk-2.18.5) & import into repo
* Implement new RegExp ES6 error when unicode flag is on
* Fix ignorecase bug on RegExp
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
* Set ALWAYS_INLINE flag for SmallValue <-> Value convertor function
* Implement ScriptGeneratorFunctionObject for remove if-statement in FunctionCall
* Remove calling Object::call in CallFunction, CallFunctionWithReceiver opcode
* if function uses global variable only, we should not use heap env for the function
* Don't use bitfield for ExecutionState::m_inStrictMode because we have only one flag at there.
* Remove useless submodules (test262-master, test262-harness)
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
* Add Travis CI configuration
* Remove inaccessible test submodules
* Reactivate test submodules with old but public urls and hashes
* Fix out-of-source-tree build
Ensure that `tidy` target starts looking for the python scripts in
the tools/ subdirectory of the project root.
* Change Travis CI to cmake-based build system
* Make test262 pass on Travis CI
The build/test system is still a mix: there are already
test262-related targets in cmake files but the test jobs on Travis
CI still use the hand-written makefile in root. The reason is that
the targets that exist in cmake files only exist when the project
is configured. However, configuration is lost across CI jobs. So,
this is something that should be cleared up later. It just works
for now.
* Build x86 targets on Travis CI
* Suppress printing compiler invocations during CI build to reduce noise
* Remove explicit invocation of build_third_party.sh during CI build
Let cmake handle that.
* Ensure that libicuNN:i386 is installed when x86 tests are run on CI
* Suppress unused variable warnings during GC build
The build of the GC is full of "'GC_jmp_buf' defined but not used"
warnings. However, as it is a third-party component and is rather
left unchanged, all we can do is suppress those warnings to reduce
the noise.
* Heavy refactoring of .travis.yml
Integrate build and test jobs for each ARCH.MODE target.
This makes caching across jobs unnecessary, thus it makes parallel
CI builds safer.
This also makes the CI more efficient as the cost of setting up
a new virtual machine for every job is reduced (from 25 to 4).
* Fix custom test targets to work with out-of-source-tree builds
And make use of them in Travis CI, i.e., use cmake-generated
makefiles instead of the hand-written global makefile when testing.
* 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>
Now,
- GCutil has bdwgc and general GC Utilities (LeakChecker, allocator
wrapper)
- src/heap has Escargot-dependent functions (Custom Allocator,
LeakCheckerBridge for global function support)
* Remove USE_ES6_FEATURE flag
: Some comments added for this
* Add ESCARGOT_USE_PROMISE flag
: More feature-wise flags (like ESCARGOT_USE_TYPEDARRAY) will be added
* Add test/test262-master submodule
: Our goal includes both fully supporting es5 and following the latest spec
* Add some basic functionalities for implementing Promise object