Commit Graph

845 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 39f47c1915 remove LoadError 2012-06-15 13:55:27 +09:00
Yukihiro "Matz" Matsumoto 79e1625269 Merge pull request #286 from monaka/pr-simplify-error-c
Simplify error.c
2012-06-14 21:51:58 -07:00
Masaki Muranaka cfd5f5157d Move Subclasses of ScriptError to mrblib. 2012-06-15 13:06:43 +09:00
Masaki Muranaka ccec3da35b Use return value of vsnprintf() for the string length. It is redundant using strlen(). 2012-06-15 12:27:44 +09:00
Masaki Muranaka 9983e1d773 Remove unused funcions. 2012-06-15 12:26:17 +09:00
Yukihiro Matsumoto 93cabfc18b Merge branch 'master' of github.com:mruby/mruby 2012-06-15 08:36:24 +09:00
Yukihiro Matsumoto 040b57fae5 1 % 0 should return NaN; close #283 2012-06-15 08:36:07 +09:00
Yukihiro "Matz" Matsumoto f093ed69ae Merge pull request #282 from monaka/pr-remove-redundant-code
Remove some redundant code.
2012-06-14 13:56:30 -07:00
Masaki Muranaka 56103509c8 Remove as NotImplemenetedError is defined in mrblib/. 2012-06-15 02:36:51 +09:00
Masaki Muranaka f564ec7e82 Remove some redundant code. 2012-06-15 00:56:00 +09:00
Yukihiro Matsumoto c7b1622f40 remove get_errorinfo; close #275 2012-06-14 23:19:15 +09:00
Yukihiro "Matz" Matsumoto d118724872 Merge pull request #279 from monaka/pr-test-for-comparable
Tests for Comparable. Still not all path coverage.
2012-06-14 06:59:37 -07:00
Yukihiro "Matz" Matsumoto 268a1fd289 Merge pull request #273 from nurse/support-e-option-without-space
Support mruby -e'p 1'.
2012-06-14 06:59:01 -07:00
Yukihiro "Matz" Matsumoto 7cbe8cf7ac Merge pull request #274 from monaka/pr-remove-unused-variable
Remove unused variable.
2012-06-14 06:57:55 -07:00
Yukihiro "Matz" Matsumoto 49026832de Merge pull request #278 from monaka/pr-fix-parser-typo-around-leq
Fix typo in parser around tLEQ
2012-06-14 06:57:07 -07:00
Yukihiro "Matz" Matsumoto 81afee3a6f Merge pull request #280 from monaka/pr-remove-unused-functions-20110614
Remove unused functions.
2012-06-14 06:55:55 -07:00
Yukihiro "Matz" Matsumoto e2796b47dc Merge pull request #281 from monaka/pr-remove-redundant-declaration-warnings
Fix redundant declraration warnings by gcc.
2012-06-14 06:55:02 -07:00
Masaki Muranaka 3fb9408669 Fix redundant declraration warnings by gcc. 2012-06-14 18:28:05 +09:00
Masaki Muranaka b43e790b71 Remove unused functions. 2012-06-14 18:03:20 +09:00
Masaki Muranaka 587e0b0137 Tests for Comparable. Still not all path coverage. 2012-06-14 17:47:29 +09:00
Masaki Muranaka df55efd373 Fix typo in parser around tLEQ 2012-06-14 17:38:47 +09:00
Masaki Muranaka 0436596ba3 Remove as err is already unused since applied 54bc7e0721 2012-06-14 11:00:18 +09:00
NARUSE, Yui 03d32796b4 Support mruby -e'p 1'.
mruby supports already -e 'p 1' (-e, space, command), but hadn't
supported no space version.
2012-06-14 07:56:07 +09:00
Yukihiro Matsumoto 73d7000b8f remove .inspect from bs_block.rb tests 2012-06-14 05:15:08 +09:00
Yukihiro Matsumoto bd309f555a should not ignore variable-less rest parameter 2012-06-14 05:13:38 +09:00
Yukihiro Matsumoto 2eeaab4e81 do not offset jump from OP_ENTER if no optional argument given 2012-06-14 04:44:02 +09:00
Yukihiro Matsumoto 3fb20bc72a BLKPUSH (and super) need to detect surrounding method scope (not block) 2012-06-14 03:45:28 +09:00
Yukihiro Matsumoto 36a1c80d3c uvenv(): proc->env may be NULL be before uplevel 2012-06-14 03:44:45 +09:00
Yukihiro Matsumoto 30b1904859 need to adjust register pos after rescue 2012-06-14 03:26:36 +09:00
Yukihiro Matsumoto f1ec5f5d50 use MKOP_sBx for OP_JMP 2012-06-14 03:11:21 +09:00
Yukihiro Matsumoto 6adaf3b80f should invoke ensure clauses just before terminating mrb_sun; close #270 2012-06-14 01:47:31 +09:00
Yukihiro Matsumoto 3b2ff6145e != should call == inside; close #268 2012-06-14 01:22:18 +09:00
Yukihiro Matsumoto b775bc771e remove unused variable 2012-06-14 01:19:45 +09:00
Yukihiro Matsumoto 54bc7e0721 avoid accessing non-allocated memory; close #271 2012-06-14 01:19:19 +09:00
Yukihiro Matsumoto 1156b0cc32 update RDoc for #raise 2012-06-14 01:18:49 +09:00
Yukihiro Matsumoto df7be84dba add newline between functions 2012-06-14 01:18:07 +09:00
Yukihiro Matsumoto 6bdd257c42 inspect format for exception has changed 2012-06-14 01:17:44 +09:00
Yukihiro Matsumoto 90735a242f mrb_define_{singleton,class}_method should prepare singleton class for the obejct 2012-06-14 01:00:34 +09:00
Yukihiro Matsumoto b4be82ccc1 variable name typo fixed 2012-06-14 00:59:58 +09:00
Yukihiro Matsumoto 764a791f43 make Math module optional 2012-06-14 00:59:35 +09:00
Yukihiro Matsumoto 91a665905a Math.log to take optinal second argument 2012-06-14 00:41:33 +09:00
Yukihiro Matsumoto e2447d3530 add aspec for math.c methods 2012-06-14 00:41:14 +09:00
Yukihiro Matsumoto a6ebdc6580 error message from mrb_convert_type has been changed 2012-06-14 00:04:05 +09:00
Yukihiro Matsumoto 6f670785c5 mrb_get_args(i) should check range of float values 2012-06-14 00:03:36 +09:00
Yukihiro Matsumoto a58761787b mrb_f_send to use mrb_get_args(n) 2012-06-13 23:54:19 +09:00
Yukihiro Matsumoto 6bf6370781 new mrb_get_args specifier "n" to retrieve a symbol (stands for "name") 2012-06-13 23:53:57 +09:00
Yukihiro Matsumoto b3d83a79ea remove unused variable from mrb_f_block_given_p_m 2012-06-13 23:53:09 +09:00
Yukihiro Matsumoto 6919ca61ed stop using strtol (via readint) except in load.c; use custom readint_float 2012-06-13 23:16:53 +09:00
Yukihiro Matsumoto 8004168725 readint() returns long 2012-06-13 19:16:24 +09:00
Yukihiro Matsumoto 8e574a9e74 integer overflow in fixnum plus and minus 2012-06-13 19:05:33 +09:00