- Use routing table for request dispatch in DebuggerHttpRouter, for
handling choosing which debugger stack to use based on the http
upgrade request:
- DebuggerEscargot for the python debugger and VSCode
- DebuggerDevtools for connecting to Chrome Devtools
- Parse mesasges with 16bit message size
- Reply to the first few messages chrome sends
- Refactor Debugger:
- Rename DebuggerRemote to DebuggerEscargot
- DebuggerEscargot and DebuggerDevtools inherit from
DebuggerTcp which inherits from Debugger
- Add debugger info to README.md
Signed-off-by: Máté Tokodi <mate.tokodi@szteszoftver.hu>
* 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>
* schedule analysis actions to trigger on every monday, wednesday and friday
* add coverage result badge in README
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* Add cctest for Object, FunctionTemplates
* Fix one of EncodedValue <-> EncodedSmallValue conversion bug
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
* small-sized SmallScannerResult replaces origin ScannerResult in parsing process to reduce the memory pressure.
* ScannerResultVector in parseBinaryExpression is replaced by GC-independent SmallScannerResultVector to reduce the memory overhead (both the performance and memory usage)
* ParseFormalParametersResult holds SyntaxNodeVector instead of NodeVector because each parameter Node is re-generated when it is really necessary (parsing of function call) and we only needs the name and type of each parameter during the pre-parsing
* parser/scanner of parameter parsing is added
* clear up some unnecessary codes such as each friend class annotation in Nodes and NodeVectors
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* Rename ESCARGOT_OUTPUT=bin into shell and make shell_test for testing.
* Remove ESCARGOT_SHELL, -SCARGOT_STANDALONE and Rename ESCARGOT_ENABLE_VENDORTEST into ESCARGOT_ENABLE_TEST.
* Fix bug in PersistentRefHolder
* Add DebuggerStatementNode for preventing parsing error even if we cannot support
* Revise Platform layer for supporting es6 module
* Implmenent class constructor toString
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
ESCARGOT_LIBICU_SUPPORT build option have added:
If turned ON, then enable libicu. It turned ON by default.
In case of Linux host, libicu is only linked to Escargot on x86 and x64 architectures.
This patch helps to link libicu on ARM-Linux devices too, so linker problems can be avoided.
Signed-off-by: Csaba Repasi repasics@inf.u-szeged.hu
* Fix whitespace issues in cmake files
- Remove trailing spaces from lines.
- Replace tabs with spaces.
Signed-off-by: Akos Kiss <akiss@inf.u-szeged.hu>
* Rename ESCARGOT_LIBDIRS to ESCARGOT_INCDIRS in cmake files
It was a misnomer as the variable contained include paths.
Signed-off-by: Akos Kiss <akiss@inf.u-szeged.hu>
* Add support for Darwin (macOS)
- The `malloc.h` header is Linux-specific, `stdlib.h` is the
standard header to be used instead.
- The `librt.a` library contains the POSIX Advanced Realtime Option
functions. MacOS does not have the library (but does not seem to
need it either).
- The linker on MacOS does not support `--gc-sections`, an
alternative is `-dead_strip`.
Signed-off-by: Akos Kiss <akiss@inf.u-szeged.hu>
* Add Travis CI job to build-test on macOS
Signed-off-by: Akos Kiss <akiss@inf.u-szeged.hu>
* Add macOS build instructions to README
Signed-off-by: Akos Kiss <akiss@inf.u-szeged.hu>
This removes the redundancy in test execution approaches and keeps
Python-based approach only.
The commit also updates the Testing section in README accordingly.
Follow-up to #18
Signed-off-by: Akos Kiss <akiss@inf.u-szeged.hu>
Only install those packages, which are actually needed. This reduces
job startup/execution time (a bit).
Also update README to highlight which dependencies are mandatory and
which are optional.
Note: the libc++-dev dependency has been removed from Travis CI
config and README alike as it turned out not to be needed by any of
the builds.
Signed-off-by: Akos Kiss <akiss@inf.u-szeged.hu>
* now, build & test is executed by ninja
* make (Makefile) also can be used for build & test as before
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* switch to ninja based build to unify the build environment with browser
* fix spidermonkey driver to run correctly without unimplemented ES6 feature
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* Function parseFloat() with "+0" works correctly
* \8 and \9 is parsed well in the esprima_cpp parser
* Make additional range check in String.prototype.replace()
* Replace use of ES6 Reflect.apply() with ES5 Function.prototype.apply()
* Update spidermonkey test results
* Add information about project prerequisites to README.md
Signed-off-by: Saebom Kim sae-bom.kim@samsung.com