Commit Graph
100 Commits
Author SHA1 Message Date
László Langó 5f4a220a65 Added literal list loading feature to the snapshot tool. (#2422)
It is needed to load literals and register them as magic strings
to be able to generate static snapshots. Also modified the list
format saving feature to save all of the literals not only the
identifiers.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-07-16 15:13:18 +09:00
László Langó 7f56756e11 Improve sonarqube analysis to cover more code path. (#2381)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-06-20 10:34:49 +09:00
László Langó f32c183137 Fixed assertion in 're_insert_into_group'. (#2388)
Assertion 'qmin <= qmax' failed in 're_insert_into_group', but
it should throw a SyntaxError. Fixes #2384.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-06-11 16:25:53 +09:00
László Langó be59d0a224 Remove the indentation of preprocessor directives. (#2379)
Indenting preprocessor directives reduces the code readability, because it make preprocessor directives harder to spot.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-06-08 15:35:23 +09:00
László Langó b4b0b7d572 Merged conditions of if statements where possible. (#2380)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-06-06 15:08:17 +09:00
László Langó 117ea1f899 Removed unused macro definitions. (#2369)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-06-01 10:00:10 +02:00
László Langó 64b16bf190 Update Doxygen config file and fix Doxygen warnings (#2324)
A lot of warnings remained hibben because 'EXTRACT_ALL' was previously set to YES.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-05-18 15:43:17 +09:00
László Langó 0e131da4f7 Add SonarQube badge to 'README.md' and update '.travis.yml' to fix a warning. (#2325)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-05-12 14:20:51 +09:00
László Langó c829b307e5 Followup fix for SonarQube setup (#2322)
Fix the condition whether Travis should run the SonarQube analysis

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-05-11 09:11:20 +02:00
László Langó b0120423da Setup SonarQube analysis in Travis CI (#2321)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-05-10 10:42:40 +02:00
László Langó a1f71f8937 Update the 'README.md' of the JerryScript profiles. (#2309)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-05-08 17:14:41 +09:00
László Langó 2bfd3b75b7 Put 'Zephyr/Arduino 101 Build Test' to allowed failures temporarily. (#2279)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-04-13 14:28:46 +09:00
László Langó 94760b1213 Improve builtin instantiation (#2226)
* Resolve linker errors with -O0 in some compilers
 * Reduce the stack usage

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-03-02 14:37:03 +01:00
László Langó e10f6d6adf Modified ecma string to utf8 string conversion to reduce binary size. (#2214)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-02-27 14:52:30 +01:00
László Langó 72b51accc8 Reduce the memory footprint of 'ecma_instantiate_builtin' (#2218)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-02-27 10:16:23 +01:00
László Langó fbc53f78b7 Eliminate the pylint warnings and update the pylint configuration (#2210)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-02-27 10:14:48 +01:00
László Langó 88f7baa192 Fix build failure of NuttX tools (#2225)
The CI is broken after 'https://bitbucket.org/nuttx/tools/commits/164450f982b404fdc2b3233db51dc3eaa1f08b7f',
because it cannot find 'aclocal-1.15'.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-02-27 10:12:05 +01:00
László Langó fbf5c32747 Removed 'is_static' parameter from 'BUILTIN' macro, because was never used. (#2216)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-02-22 09:14:56 +09:00
László Langó 6fce323fa5 Fix assertion in 're_insert_simple_iterator' (#2209)
It is a followup fix after #2169. It also fixes a memory leak.
This fixes #2198 and fixes #2204

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-02-19 16:57:45 +09:00
László Langó c4b61db57a Fix '--cmake-param' option of the build script. (#2208)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2018-02-19 11:29:58 +09:00
László Langó 623fabd6e6 Put 'Mbed/K64F Build Test' to allowed failures temporarily. (#2151)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-12-18 12:14:02 +01:00
László Langó 1007b63024 Fix clearing of error reference (#2131)
'ecma_clear_error_reference' must increase the reference of the returned
ecma value referenced by the error if there are more than one reference.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-12-06 14:47:40 +01:00
László Langó 1027eb0c32 Updated the Doxyfile input directories. (#2024)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-10-02 11:57:28 +02:00
László Langó a54427e255 Followup changes in JerryScript debugger after #1910.
* Remove 'jerry_debugger_cleaup'. Do it automatically in 'jerry_cleanup'.
* Updated the documentations.
* Updated the NuttX and Artik053 targets.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-09-07 17:26:03 +09:00
László Langó ce1d555288 Fix regression after #1927
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-07-20 16:58:08 +09:00
László Langó 0ef9b8e027 Fix RegExp character class compilation on unicode ranges.
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-07-19 10:26:23 +09:00
László Langó 631e9f9f80 Update the API examples to use print from extensions (#1846)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-05-30 09:59:49 +02:00
László Langó 7770b6237a Fix parsing of UTF-8 RegExp literals (#1840)
Fixes #1831

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-05-23 12:04:11 +02:00
László Langó a504fd0333 Fix character escape in character class parsing of RegExp objects. (#1834)
Fixes #1830

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-05-22 13:01:22 +02:00
László Langó fa5d5febcc Fix several pylint warnings. (#1659)
Fixed all of the remaining warnings in 'build.py', 'run-tests.py' and 'check-license.py'.

Related issue: #1600

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-03-22 15:37:55 +01:00
László Langó 202a88bbeb Temporarily disable a few test262 tests in automatic testing. (#1662)
Those tests are related the actual daylight saving adjustment.
Related issue: #1661

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-03-14 15:26:56 +01:00
László Langó 57ea06782b Fix several pylint warnings. (#1644)
Fixed
 * 'unused-wildcard-import'
 * 'bad-whitespace'
 * 'bad-continuation'
 * 'wrong-import-order'
in 'build.py', 'run-tests.py' and 'check-license.py'.

Related issue: #1600

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-03-13 11:18:49 +01:00
László Langó 92f74f3cf5 Fix pylint install on Travis CI (#1608)
Followup fix after #1602

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-03-02 10:36:21 +01:00
László Langó 5ef305dfee Avoid using global statement (#1606)
Related issue: #1600

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-02-22 09:12:57 +01:00
László Langó 92eaea2a8e Add pylint checker to the project (#1602)
* Added 'pylint' to dependencies
 * Added pylint config file
 * Added to travis CI as an allow failure job
   (until all of the warnings are fixed)
 * Added to 'run-test.py'

Related issue: #1600

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-02-21 12:40:33 +01:00
László Langó 799726aa42 Add new input validator API functions (#1576)
Fixes #1549

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-02-16 18:31:04 +01:00
László Langó 32674ff379 Documentation update (#1573)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-02-10 11:05:26 +01:00
László Langó 638b753135 Fix CMakeLists.txt in jerry-main. (#1571)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-02-09 15:41:14 +01:00
László Langó a976b0c061 Improve performance of GC sweep (#1568)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-02-08 14:58:54 +01:00
László Langó 348894e41f Enable 32bit compressed pointers on 64bit systems. (#1567)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-02-08 14:58:37 +01:00
László Langó 107c058bb1 Add doxygen checker (#1540)
* Fixed Doxygen issues
 * Updated Doxygen config
 * Added new script to test whether doxygen generation was successful or not
 * Added to Travis CI

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-01-31 12:27:59 +01:00
László Langó 623975d19f Add testing of 'JERRY_CPOINTER_32BIT' option to Travis CI. (#1544)
Added a new 'buildoptions' option to tools/run-tests.py to add
a comma separated list of extra build options to each test.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-01-30 15:44:26 +01:00
László Langó 7b59c80e18 Use default system allocator on 32bit systems, if JERRY_SYSTEM_ALLOCATOR is defined. (#1541)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-01-30 11:04:25 +01:00
László Langó 976c8aee80 Organize public and internal parts of memory management (#1539)
* Introduced new 'jmem.h' for public part.
 * Removed obsolete headers

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-01-24 12:36:53 +01:00
László Langó 6c708102d3 Minor fix in API reference (#1536)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-01-19 11:31:30 +01:00
László Langó 471ad284f6 Remove 'OBJECT_ID' from builtin headers. (#1529)
After 378d7f7 it is not used in the codebase and can be eliminated.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2017-01-17 08:58:46 +01:00
László Langó cf7b7a1090 Test 'test262' test suite on Travis CI (#1440)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-11-22 14:02:25 +01:00
László Langó 2622e938d8 Add missing error messages to 'ecma/builtin-objects' (#1443)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-11-22 14:01:59 +01:00
László Langó 4a0f78bc4b Fix fopen call on non-existing files. (#1442)
The main implementation of unix platform hangs, if the engine was
built with jerry-libc. Open system call returns with a negative
error code if cannot open the file, but fopen must return NULL
when error happens.

Fixes #1437.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-11-21 11:28:07 +01:00
László Langó b2fec888d4 Fix handling of return value of 'jerry_set_property call' in main-unix. (#1435)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-11-17 10:49:45 +01:00
László Langó 503ca7e54a Remove unused test file. (#1433)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-11-17 10:49:34 +01:00
László Langó a30b89c536 Improve Js2C converter (#1408)
* Rename 'jerry_targetjs.h' to 'jerry-targetjs.h',
   because we use dashes in filen ames instead of underscores.
 * Made destination and js souce directory configurable.
 * Updated esp8266 target to the recent changes.
 * Updated mbed and mbedos5 target to the recent changes.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-10-27 09:54:01 +02:00
László Langó dc1e26933f Print source code with a given context when a parse error happens (#1403)
Example source:
  var s = "hello";
  if (s)
    a[,] = s;

Output:
  var s = "hello";
  if (s)
    a[,] = s;
  ~~~~^
  Script Error: SyntaxError: Primary expression expected. [line: 3, column: 5]

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-10-25 13:13:20 +02:00
László Langó 3e0d3e588f Add error messages to VM. (#1405)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-10-21 18:55:08 +09:00
László Langó 28b4d3cb58 Remove trash from main-unix (#1400)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-10-20 15:48:56 +09:00
László Langó a130059c8b Add error messages to ecam/operations. (#1396)
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-10-19 09:37:51 +09:00
László Langó 5c330d7f8e Improve error messages
* Print location on parser errors.
 * Do not print messages on parse error if FEATURE_ERROR_MESSAGES is not set.
 * Minor style fixes

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-09-08 10:20:13 +02:00
László Langó cf94a25753 Change JERRY_ASSERT to TEST_ASSERT in unittests
JERRY_ASSERT does not check the condition in release builds.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-09-08 08:16:16 +02:00
László Langó 2a354b25a8 Add documentation to port API
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-09-01 14:32:31 +02:00
László Langó 37f9b475c0 Fix API examples after the IO Port update
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-08-01 09:27:41 +02:00
László Langó 1cdc66060f Fix RIOT port after API update
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-07-20 13:00:47 +02:00
László Langó a004375e1d Remove printf calls from jerry core
Related issue: #964

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-07-20 12:43:14 +02:00
László Langó f0fd939d87 Move log level to default port
Setting the log level should be specified by the actual port.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-07-15 09:13:16 +02:00
László Langó fa94c67ee7 Implement IO port API
Related issue: #964

Implemented the IO API of Jerry ports. Removed log file from API level.
The port implementation should define the destination of log messages.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-07-14 13:15:30 +02:00
László Langó 1e4531c7b5 Minor fixes in API reference
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-07-14 09:01:27 +02:00
László Langó b4bba2ef70 Update API reference to the new API
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-07-12 14:08:59 +02:00
László Langó 9bce5b09a9 Update Jerry API
* Removed jerry_string_t and jerry_object_t
* Updated function names
* Updated return values
* Updated function descriptions
* Added new functions
* Added new unittests

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-07-11 09:01:29 +02:00
László Langó c3541c3ab7 Check error values in API functions
Internal functions cannot handle error values, so it must be avoided to
pass error values to the engine.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-29 14:26:55 +02:00
László Langó 388b442d10 Update API reference
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-24 13:54:23 +02:00
László Langó cfa0c94697 Add new API function
Implemented 'jerry_is_array' and 'jerry_get_array_length' API functions.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-24 10:08:17 +02:00
László Langó 7f153c799a Improve empty checks of ecma strings
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-21 13:40:12 +02:00
László Langó 87b6df21c6 Update API examples
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-21 11:21:39 +02:00
László Langó 65542549af Add conversion API functions
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-16 14:13:06 +02:00
László Langó 8e8504244b Update jerry API
* Fix error handling (related issue: #1141)
 * Move output paramters to the end of the arguments lists

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-16 13:43:33 +02:00
László Langó 8453a9ade8 Change return value of 'ecma_ref_ecma_string' to void
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-16 12:44:27 +02:00
László Langó 0daeb2f942 Remove string copy
Changed 'ecma_copy_or_ref_ecma_string' to 'ecma_ref_ecma_string'. It does
not copy the string if the maximum number of reference counter is reached,
but bails out with an error like the 'ecma_ref_object' function does.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-16 12:44:27 +02:00
László Langó a816ab8bb0 Use 'ecma_value_t' in API too
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-14 14:44:02 +02:00
László Langó b5efa2ea03 Updated API examples, after API changes
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-08 12:48:47 +02:00
László Langó 824d39c2a2 Update API functions
* Rename 'jerry_api_' prefix to 'jerry_'
 * Fix minor style issues
 * Group the API functions and add comment to each group
 * Move engine behaviour related funtions to 'jerry.h'

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-08 12:48:47 +02:00
László Langó ed08518bd7 Code simplification
Move the enclosed condition forward and combine the two if statements.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-06-01 09:58:29 +02:00
László Langó 92bb551d45 Change 'mem' namspace to 'jmem'
The 'mem_' prefix is too general, so it might clash with
symbols in other libraries. Renamed the directory, file,
funtion and type names.

Related issue: #1052

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-05-20 16:01:33 +02:00
László Langó e1c8a2ec96 Run JS regression tests in snapshot mode too
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-05-18 17:05:13 +02:00
László Langó 07dabff1ab Update API reference
* Fixed code style issues
 * Updated the documentation of 'jerry_parse' and 'jerry_run'
 * Fixed broken anchor formats
 * Fixed 'jerry_api_value_t' usage
 * Updated fuction parameters

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-05-18 11:22:29 +02:00
László Langó 0ff35311ca Add new API examples
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-05-17 16:22:33 +02:00
László Langó 1938415b0d Remove 'test-js-precommit' target from Makefile
When performing `make precommit`, instead of running only a subset of
the Jerry Test Suite on full profile builds, run the whole suite, and
also run the compact subset of the suite on compact builds. Also, make
CI perform the same tests.

Related issue: #879
Related PR: #912

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-05-17 15:42:27 +02:00
László Langó 2d7f1d1070 Warning fixes for jerry-libm
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-05-13 15:52:56 +02:00
László Langó 953e45f266 Remove 'ecma_assert_object_type_is_valid' from release
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-05-13 15:29:49 +02:00
László Langó 210ba6dc85 Update API-EXAMPLE.md
Fix Jerry style and update to the current API.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-05-10 12:44:18 +02:00
László Langó fe3c269e99 Fix return value of 'jerry_api_get_object_field_value'
Fixed the return value to return false when the field does
not exist as the documentation says.

Related issue: #1041

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-05-06 21:07:19 +02:00
László Langó 2a5468a2ac Improve double to string conversion
Added errol implementation. Fixed '3d-raytrace.js', because
the new algorithm has better precision and also reduce the
code size.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-05-06 14:53:50 +02:00
László Langó 80bfb61b13 Remove unnecessary error bit negation
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-04-21 09:36:42 +02:00
László Langó c98cb65373 Use 'const' in string iterations.
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-04-12 12:52:59 +02:00
László Langó 9dad7dbfba Introduce ECMA_STRING_TO_UTF8_STRING and ECMA_FINALIZE_UTF8_STRING
Benefits:
 * Better readability and maintenance
 * Better heap consumption on 'date-format-xparb.js' test of SunSpider

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-04-12 12:52:59 +02:00
László Langó b78f5a55bb Fix assertion on unhandled exceptions
Follow up fix after #815 ('a187e6d'). Fixed the following
assertion on unhandled exceptions:
  * ICE: Assertion 'ecma_get_value_type_field (value) == ECMA_TYPE_OBJECT'
    failed at ecma-helpers-value.c(ecma_get_object_from_value):375.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-04-11 10:53:15 +02:00
László Langó 2027caeda5 Performance optimizations
* inline some hot function
 * add 'ecma_copy_value_if_not_object' similer to 'ecma_value_free_if_not_object'
 * remove unnecessary helpers
 * improve 'do_number_bitwise_logic'

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-03-22 08:05:00 +01:00
László Langó e1f20ad474 Use code unit instead of code point
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-03-18 09:59:04 +01:00
László Langó 6f536c7942 Few improvements for RegExp
Added eviction mechanism to RegExp cache and small
refactoring. Fixed a bug when logging is enabled.

Related issue: #927

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-03-10 13:09:08 +01:00
László Langó 21e2951a44 Use '-Werror' instead of '-Werror=...' for Jerry libc
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-03-09 15:39:56 +01:00
László Langó ab26d57841 Don't use messages for errors by default
Use empty string for message property of builtin error objects
by default. Add ERROR_MESSAGES build option.

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-03-09 11:44:32 +01:00
László Langó 9bf1ecc677 Disable date object related system calls by default
Use DATE_SYS_CALLS=ON for make target to enable the
date related system calls. Also fix some minor issues.
Related issue: #923

JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2016-03-08 12:13:55 +01:00