2288 Commits

Author SHA1 Message Date
Ruben Ayrapetyan
18a5852914 Fix src/main.c for target MCU. 2014-07-14 20:53:06 +04:00
Ruben Ayrapetyan
7a2397f235 Introducing new make targets scheme: {dev,debug,release,debug_release}.{linux,stm32f{4}}[.{check,flash}]. 2014-07-14 20:10:46 +04:00
Ruben Ayrapetyan
d4b84f47a8 Fixing type conversion warnings in src/main.c and disabling warnings for third-party headers, included from that module. 2014-07-14 20:03:43 +04:00
Ruben Ayrapetyan
dfb9441e8c Removed typedefs for basic int types and bool, definition of NULL from globals.h. Included <stdint.h>, <stdbool.h>, <stddef.h> in that header. 2014-07-14 19:59:29 +04:00
Ruben Ayrapetyan
63547e9f2c Change bit fields' type from uint32_t to unsigned int (because uint32_t is defined as something other than unsigned int in arm-none-eabi stdint.h; using that type for bit-fields is GCC extension). 2014-07-14 19:56:17 +04:00
Ruben Ayrapetyan
c9e98171fd Remove inline attributes from src/libjsparser/lexer.c. 2014-07-14 19:53:41 +04:00
Ruben Ayrapetyan
4ca4c71c8b Fix warning about unused parameter 'opdata' in opfunc_call_1. 2014-07-14 19:51:11 +04:00
Ruben Ayrapetyan
0dd13021ae Remove usage of 'double' type. 2014-07-14 19:44:54 +04:00
Ruben Ayrapetyan
30b1a43e1e Adding memcpy, memset (for compiler usage). 2014-07-14 19:43:07 +04:00
Ruben Ayrapetyan
bc83f77abe Fixing warnings and removing call to vprintf in src/libruntime/target/stm32f4/*. 2014-07-14 19:39:22 +04:00
Ruben Ayrapetyan
97a2776996 Deleting tests/jerry/*.exp. 2014-07-14 19:36:05 +04:00
Ruben Ayrapetyan
25ad63c9be Adding forgotten jerry-libc.c for linux and stm32f4 targets. 2014-07-10 22:20:31 +04:00
Ruben Ayrapetyan
5b48cb1a37 Move src/libruntime/{linux,stm32f4} to src/libruntime/target. 2014-07-10 22:17:33 +04:00
Ruben Ayrapetyan
6a27068dbd Move fatal from lexer.c to parser.c, rename it to parser_fatal, replace calls from main.c to parser_fatal with calls to jerry_Exit. 2014-07-10 22:06:09 +04:00
Ruben Ayrapetyan
e6b3be5dfc jerry_Exit - exit function that under !JERRY_NDEBUG, in case status code is non-zero, prints exit status as string and calls handler of failed assertion. 2014-07-10 21:52:15 +04:00
Ruben Ayrapetyan
f9ee8960c7 Move fatal from parser.c to lexer.c. 2014-07-10 21:12:26 +04:00
Ruben Ayrapetyan
224c509ff3 Merge with master. 2014-07-10 21:02:48 +04:00
Ruben Ayrapetyan
c531c78b10 Setting non-zero error exit code to cppcheck and jerry_test.sh. 2014-07-10 19:46:24 +04:00
Ruben Ayrapetyan
b71daa172c Enable -flto. 2014-07-10 19:46:24 +04:00
Ruben Ayrapetyan
4cb5fb646e memmove, fprintf. 2014-07-10 19:46:24 +04:00
Ruben Ayrapetyan
76e579d4e1 Remove inclusion of std headers to our headers; move fatal from src/error.h to src/libjsparser/parser.c. 2014-07-10 19:46:24 +04:00
Ruben Ayrapetyan
c132f6aa3c Creating libruntime, moving jerry-libc and pretty-printer to libruntime, creating platform-dependent handlers of failed assertions. 2014-07-10 19:46:23 +04:00
Ruben Ayrapetyan
8641b79ed5 Fix type conversion warnings in unit tests for memory allocators. 2014-07-10 19:45:31 +04:00
Ilmir Usmanov
4e17a97dca Merge branch 'master' into geppetto 2014-07-10 18:09:25 +04:00
Ilmir Usmanov
1d6aac7839 Fixes in triple-address code parser, 1% tests passed 2014-07-10 18:08:52 +04:00
Ruben Ayrapetyan
74af82c983 Enable warning compilation options. 2014-07-10 14:45:40 +04:00
Ruben Ayrapetyan
fa63065412 Adding libecmaoperations module that implements ECMA-262 defined operations. 2014-07-10 14:28:01 +04:00
Ilmir Usmanov
7da95ecefa Merge branch 'master' into geppetto 2014-07-10 11:27:07 +04:00
Ilmir Usmanov
99464d6ca7 Quickfix 2014-07-10 11:26:52 +04:00
Ruben Ayrapetyan
c4d2c4c916 Moved definition of syntactic reference structure to ecma-refecence.h, removed ctx-reference.[ch] and ctx-manager.[ch]. 2014-07-10 11:16:23 +04:00
Ilmir Usmanov
2d4b325d24 Fix warnings 2014-07-10 11:01:40 +04:00
e.gavrin
a787f17a1b Add support of stm32 in Makefile (ugly one) 2014-07-10 01:01:22 +04:00
Ilmir Usmanov
74a0f470d2 Merge branch 'master' of git-server:jerry 2014-07-09 20:03:32 +04:00
Ilmir Usmanov
feddd33b00 Quickfix 2014-07-09 20:03:28 +04:00
e.gavrin
7c55a15002 uncomment assert (opcode <=4) 2014-07-09 19:58:28 +04:00
e.gavrin
80ee7731e3 Add TODO and FIXME macroses 2014-07-09 19:47:35 +04:00
Ruben Ayrapetyan
aaf2bc4f41 Fix mem-heap.c, mem-poolman.c and test_poolman.c compilation for '#ifndef MEM_STATS' case. 2014-07-09 19:43:50 +04:00
Ruben Ayrapetyan
4afd54d820 Remove JERRY_NDEBUG from DEBUG_OPTIONS. 2014-07-09 19:33:48 +04:00
Ruben Ayrapetyan
1f1190a346 Move mem_GetChunkSize to mem-poolman.c from mem-poolman.h. 2014-07-09 19:24:07 +04:00
Ruben Ayrapetyan
c54370bfec Remove inline from mem_GetChunkSize and mem-heap internal static functions. 2014-07-09 19:15:51 +04:00
Ruben Ayrapetyan
c5d72afa79 Remove '-m32' compilation flag. Enable warning compilation options. 2014-07-09 19:12:57 +04:00
Ruben Ayrapetyan
6dc72837ba Remove ';' from JERRY_STATIC_ASSERT. 2014-07-09 19:12:41 +04:00
Ruben Ayrapetyan
0163425208 Fix JERRY_STATIC_ASSERT: add __unused attribute to defined type. 2014-07-09 19:03:42 +04:00
Ilmir Usmanov
3f39a50cc8 Merge with master 2014-07-09 18:44:59 +04:00
Ilmir Usmanov
a2350cb88e Change parser to stack-only version 2014-07-09 18:05:19 +04:00
Ilmir Usmanov
f46d5b440c Merge line-by-line parser 2014-07-09 16:17:42 +04:00
Ruben Ayrapetyan
f31ee76c6e Compile options: -Wpedantic -> -pedantic. 2014-07-09 15:01:16 +04:00
Ruben Ayrapetyan
aaf3d76cae Memory usage statistics for heap and pools. 2014-07-09 14:59:27 +04:00
e.gavrin
d25d33cd58 fixes 2014-07-08 16:16:04 +04:00
e.gavrin
26f94aa6da fyxed typos 2014-07-08 16:14:27 +04:00