198 Commits

Author SHA1 Message Date
Ruben Ayrapetyan
52495b2cc1 Generating version info without header file. 2014-07-30 15:08:02 +04:00
e.gavrin
c6baf89035 Merge branch 'master' of git-server:jerry 2014-07-30 14:43:13 +04:00
e.gavrin
ab4e59700f add message on top main with info about branch/revision data 2014-07-30 14:43:02 +04:00
Ruben Ayrapetyan
c1d0a4dd13 Introducing interp_bytecode_idx type for opcode indexes. 2014-07-30 14:34:31 +04:00
Ruben Ayrapetyan
0dd67e4799 Introducing ecma_object_class_t type that describes ecma-defined object classes (value of ECMA_INTERNAL_PROPERTY_CLASS internal property); adding outer lexical environment's reference counter increment in ecma_create_lexical_environment; updating ecma_create_object to support object type field (that is not connected with ecma-defined object class, but is internal implementation defined type of an object). 2014-07-30 14:24:01 +04:00
Ruben Ayrapetyan
f8743a1375 Switching from 'echa_char_t*' to 'const ecma_char_t*' where appropriate. 2014-07-30 14:20:20 +04:00
Ruben Ayrapetyan
56daef38eb Fixing debug.stm32f4: uncommented memcpy and memset aliases, placed them under #ifndef LIBC_MUSL. 2014-07-30 13:57:40 +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
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
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
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
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
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
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
Ruben Ayrapetyan
b2ae827fbd Partially implementing ECMA 'Absract relational comparison' (11.8.5). 2014-07-24 20:31:57 +04:00
Ilmir Usmanov
1f3b5a4c29 Merge 2014-07-24 19:50:37 +04:00
e.gavrin
c2f82eefc0 add blink_toggle_once 2014-07-24 19:27:19 +04:00
Ruben Ayrapetyan
89834cd616 Printing of called function's name in 'call_1' opcode handler. 2014-07-24 18:30:49 +04:00
Ruben Ayrapetyan
63a757a5a7 Connecting try_get_str_by_idx with deserialize_string_by_id and get_number_by_idx with deserialize_num_by_id. 2014-07-24 18:28:46 +04:00
Ruben Ayrapetyan
b7a3a13bc9 Implementing register variables. 2014-07-24 18:13:32 +04:00
Ilmir Usmanov
c837c7d435 Optimize reg_var_decl memory usage 2014-07-24 16:54:59 +04:00
Ilmir Usmanov
1790739b93 Add 'reg_var_decl' opcode 2014-07-24 15:45:55 +04:00
Ilmir Usmanov
b4404578ca Lazy initialization in deserializer 2014-07-24 15:24:51 +04:00