1563 Commits

Author SHA1 Message Date
e.gavrin
d8c721f57a Fix not working ulimit while using musl=1. Add color flag, that enables -fdiagnostics-color=always if specified 2014-07-30 00:22:14 +04:00
e.gavrin
076af9e1d3 add musl support for host systems using musl=1 flag 2014-07-29 23:28:11 +04:00
Ilmir Usmanov
8c5309d131 Add jump after function declaration and function expression header 2014-07-29 20:22:12 +04:00
Ilmir Usmanov
7d20bb3361 Merge branch 'master' into geppetto 2014-07-29 17:49:23 +04:00
Ilmir Usmanov
e497875c06 Change strings offset size from 8 bits to 16 bits 2014-07-29 17:49:13 +04:00
Ruben Ayrapetyan
8d387cd32f Introducing make parameters todo, fixme and echo: todo/fixme enable printing of todo/fixme pragma messages if set to 1 (that are disabled by default after this commit); echo enables compilation/linking command line echoing if set to 1. 2014-07-29 14:52:42 +04:00
Ruben Ayrapetyan
299c94ee85 Implementation of general objects' [[GetOwnProperty]], [[GetProperty]], [[CanPut]], [[HasProperty]], [[Delete]]; partial implementation of general objects' [[Get]], [[Put]], [[DefineOwnProperty]]. 2014-07-29 14:32:01 +04:00
e.gavrin
5aaa853b9f Stable and tested demo ^^ 2014-07-29 12:23:04 +04:00
e.gavrin
f4cdf1d266 Stable demo 2014-07-29 12:21:30 +04:00
Ilmir Usmanov
ac22173ddd Merge branch 'master' of git-server:jerry 2014-07-29 11:55:37 +04:00
Ilmir Usmanov
bc9d80147a Reduce lexer's memory consumption 2014-07-29 11:55:16 +04:00
Ruben Ayrapetyan
4cefa6950e Fix ecma_op_define_own_property argument list: the routine now takes property descriptor as an argument instead of property. 2014-07-28 21:57:27 +04:00
Ruben Ayrapetyan
b073701da4 Introducing ECMA property descriptor (8.10) type and helpers for it: constructor and destructor. 2014-07-28 21:54:42 +04:00
Ruben Ayrapetyan
3ee0e8a8a5 Style fixes regarding 'empty' value: introducing ecma_is_empty_completion_value, reducing usage of the 'empty' value, listing possible usage cases of the 'empty' value in the comment to it's definition. 2014-07-28 21:21:31 +04:00
Ilmir Usmanov
177a2d1382 Merge branch 'geppetto' 2014-07-28 19:39:25 +04:00
Ilmir Usmanov
1b6638f073 Add ERR_MEMORY exit code to show that there was not enough memory; fix debug.stm build 2014-07-28 19:39:11 +04:00
Ruben Ayrapetyan
cae07c0832 Implementing stubs for ecma objects' common internal properties and methods (ECMA-262 v5, Table 8). 2014-07-28 18:16:05 +04:00
Ilmir Usmanov
d927d3e320 Fixes after review: simplification 2014-07-28 17:59:46 +04:00
Ilmir Usmanov
306f111a28 Add 'make testparser' option to test parser only 2014-07-28 17:28:18 +04:00
Ilmir Usmanov
24403c618e Merge branch 'geppetto' 2014-07-28 15:56:56 +04:00
Ilmir Usmanov
06473f0db2 Add Dolphin's .directory files to ignore 2014-07-28 15:56:28 +04:00
Ruben Ayrapetyan
7840a846e8 Fix: removing extra semi-colon after FIXME. 2014-07-28 15:46:12 +04:00
Ruben Ayrapetyan
7984c7e65f Fixing comment about an object's maximum reference counter. Adding runtime check for the counter's overflow. 2014-07-28 15:17:01 +04:00
Ruben Ayrapetyan
27f6d2b552 Fixing test_poolman that is failing after 6b050cc03719bfdb49b68eeb5deeed61bc51ff5a. 2014-07-25 20:23:34 +04:00
Ruben Ayrapetyan
f1a0e616b1 Resident set size measurement script. 2014-07-25 20:16:43 +04:00
Ruben Ayrapetyan
09c1f91bb3 Printing heap's block headers before beginning of unit test. 2014-07-25 20:00:59 +04:00
e.gavrin
43ad060aa0 add js fuzz 2014-07-25 19:44:00 +04:00
e.gavrin
65b4968a69 fix text 2014-07-25 19:24:19 +04:00
Ruben Ayrapetyan
e3c8af68f5 Enhancement of heap memory usage statistics output. 2014-07-25 19:16:52 +04:00
Ruben Ayrapetyan
5e4078095a Print heap memory usage statistics before exit (host version). 2014-07-25 19:09:10 +04:00
Ruben Ayrapetyan
d90dccde9a Reducing heap's chunk size to 64 bytes, heap size to 2.5K; RAM size to 8K in stm32f4 linker script. 2014-07-25 19:03:45 +04:00
e.gavrin
78f92d8377 fix generated with appropriate example, limit ram with 48KB 2014-07-25 18:34:13 +04:00
Ruben Ayrapetyan
222e9e680c Adding assertion checks in serializer_dump_opcode and serializer_rewrite_opcode to avoid buffer overrun. 2014-07-25 18:20:54 +04:00
Ruben Ayrapetyan
ff2609eb88 Implementing {pre,post}_{incr,decr} opcodes. 2014-07-25 18:07:18 +04:00
Ruben Ayrapetyan
cfdef23303 Adding compilation flag '-Wfatal-errors'. 2014-07-25 18:06:45 +04:00
e.gavrin
43a8bbd576 fixed led processing and wait 2014-07-25 17:47:09 +04:00
e.gavrin
5da1df37de add led_on, led_off, led_toggle, led_blink_one to lib 2014-07-25 16:29:12 +04:00
Ilmir Usmanov
8745c47192 Merge branch 'geppetto' 2014-07-25 14:16:52 +04:00
Ilmir Usmanov
40007126fa Fix memory corruptions in lexer, which occured while parsing cse.js; remove lexer.log and parser.log files 2014-07-25 14:16:29 +04:00
Ruben Ayrapetyan
361e5a6f38 Use -gdwarf-3 by default, -gdwarf-4 if dwarf4=1 option is passed to make. 2014-07-25 13:51:35 +04:00
e.gavrin
1d42426fa4 Merge branch 'master' of git-server:jerry 2014-07-25 13:18:44 +04:00
e.gavrin
8094de86d1 add wait for stm, move fake_exit to peripheraks 2014-07-25 13:18:31 +04:00
Ilmir Usmanov
c9c26251a4 Add savings bytecode in memory on target 2014-07-25 12:37:29 +04:00
Ilmir Usmanov
518ff9a864 Merge branch 'master' into geppetto 2014-07-24 21:51:17 +04:00
Ruben Ayrapetyan
7077e42c85 Improving performance of building unittests. 2014-07-24 21:41:04 +04:00
Ilmir Usmanov
8fadaf5277 Merge branch 'master' into geppetto 2014-07-24 21:40:59 +04:00
Ilmir Usmanov
c6c2abce0e Merge 2014-07-24 21:40:30 +04:00
Ruben Ayrapetyan
7f918612c1 Removing 'dev.*' targets. 2014-07-24 21:19:34 +04:00
Ruben Ayrapetyan
6301cba0c3 Implementing equal_value, not_equal_value, less_than, greater_than opcodes. 2014-07-24 21:09:02 +04:00
Ruben Ayrapetyan
20b04a5ed7 Adding ecma-try-catch-macro.h that should have been a part of previous commit. 2014-07-24 20:33:58 +04:00