Commit Graph

23 Commits

Author SHA1 Message Date
Ruben Ayrapetyan 3efdcfa2ea Implementing String built-in object. 2014-09-24 21:40:11 +04:00
Ruben Ayrapetyan 10ee3c4fb1 Implementing Math.pow built-in. 2014-09-24 18:49:41 +04:00
Ruben Ayrapetyan 44a2f7ba39 Implementing Math.log built-in. 2014-09-24 17:10:42 +04:00
Ruben Ayrapetyan 85a3a9a690 Implementing Math.exp built-in. 2014-09-24 16:01:57 +04:00
Ruben Ayrapetyan 25ec2bea17 Refactoring function call operations to return 'normal' completion values instead of 'return' completion values. Removing ECMA_FUNCTION_CALL macro. 2014-09-24 14:27:27 +04:00
Ruben Ayrapetyan 9b69ea4d6d Implementing Math.sqrt. 2014-09-23 21:56:44 +04:00
Ruben Ayrapetyan 34a5e00b7f Implementing Math.random. 2014-09-23 20:25:59 +04:00
Ruben Ayrapetyan 6c422fec2e Implementing Math.min and Math.max built-ins. 2014-09-23 18:44:27 +04:00
Ruben Ayrapetyan c5fd835931 Implementing Math.abs and Math.round built-ins. 2014-09-23 17:22:01 +04:00
Ruben Ayrapetyan f237a8d5e1 Adding stubs for Math object's routines. 2014-09-23 16:23:36 +04:00
Ruben Ayrapetyan 288478926e Implementing Math object's value properties. 2014-09-23 15:32:32 +04:00
Ruben Ayrapetyan ae244f0148 Common built-in object's constructor. 2014-09-23 15:29:08 +04:00
Ruben Ayrapetyan 1fed738217 Replacing ecma_builtin_is_*_object interfaces with ecma_builtin_is (object, builtin_id), and ecma_builtin_get_*_object with ecma_builtin_get (builtin_id). 2014-09-22 21:46:26 +04:00
Ruben Ayrapetyan 49486757ca Implementing 'Object.defineProperty' built-in routine. 2014-09-22 20:07:29 +04:00
Ruben Ayrapetyan a287406e1f Implementing 'new Object(...)' built-in constructor. 2014-09-22 18:19:34 +04:00
Ruben Ayrapetyan d7314a7300 Adding stubs for the Object object. 2014-09-22 15:56:50 +04:00
Ruben Ayrapetyan 94f7f710a6 Fixing attributes of several properties of the Global object. 2014-09-22 15:35:35 +04:00
Ruben Ayrapetyan f46853bdd8 Introducing interfaces for invoking built-in functions and constructors.
Implementing property instantiation routine dispatcher for Global object.
Adding instantiation for 'undefined', 'NaN', 'Infinity' and built-in routine
properties of the Global Object. Implementing isNaN and isFinite built-in routines.
2014-09-19 18:10:49 +04:00
Ruben Ayrapetyan 7fc3b178d8 Introducing ecma_is_string_magic, ecma_init and ecma_finalize interfaces, 'magic-string' container type for ecma-strings. Renaming ecma_is_magic_string to ecma_is_zt_string_magic. Moving magic-string related routines to ecma-helpers-string.c. 2014-09-19 12:08:19 +04:00
Ruben Ayrapetyan 9a667596de Implementing constructor of Function object for built-in routines. 2014-09-18 19:48:43 +04:00
Ruben Ayrapetyan 55d9b12176 Introducing built-in routines dispatcher and stubs for the Global object's routines. 2014-09-18 16:25:33 +04:00
Ruben Ayrapetyan f402e42d2f Moving Global object related routines to libecmabuiltins component. Introducing ecma_init_builtins and ecma_finalize_builtins routines. 2014-09-18 13:55:56 +04:00
Ruben Ayrapetyan 11cf22f06c Introducing 'ecmabuiltins' component and interface for instantiating built-in properties. 2014-09-17 21:12:05 +04:00