Masaki Muranaka
|
0436596ba3
|
Remove as err is already unused since applied 54bc7e0721
|
2012-06-14 11:00:18 +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 |
|
Yukihiro Matsumoto
|
2ded555a91
|
could not print 0xffffffff as an negative fixnum
|
2012-06-13 17:59:37 +09:00 |
|
Yukihiro Matsumoto
|
261e4d3fa0
|
handle number literal overflow
|
2012-06-13 17:48:03 +09:00 |
|
Yukihiro Matsumoto
|
38d2b7f84c
|
float representation simplified
|
2012-06-13 15:51:28 +09:00 |
|
Yukihiro Matsumoto
|
db3d72a471
|
move RSHIFT from numeric.h to numeric.c
|
2012-06-13 15:40:41 +09:00 |
|
Yukihiro Matsumoto
|
6a5019d37f
|
optimized OP_{ADD,SUB,MUL,DIV} to use numeric function for fixnums to handle overflow
|
2012-06-13 15:38:18 +09:00 |
|
Yukihiro Matsumoto
|
3894177233
|
generate optimized OP_DIV instruction
|
2012-06-13 15:37:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b692b39d2e
|
Merge pull request #266 from monaka/pr-assert-should-handle-all-exceptions
Assert should handle all exceptions.
|
2012-06-12 22:25:07 -07:00 |
|
Masaki Muranaka
|
bddbf20785
|
Assert should handle all exceptions.
|
2012-06-13 09:41:30 +09:00 |
|
Yukihiro Matsumoto
|
3b1b9b050b
|
optimize Array#unshift using shared body object
|
2012-06-13 02:29:13 +09:00 |
|
Yukihiro Matsumoto
|
d39a355af3
|
wrong ary->capa size was set in ary_modify()
|
2012-06-13 02:27:51 +09:00 |
|
Yukihiro Matsumoto
|
c5536326a1
|
replace * and == by optimization instructions OP_MUL and OP_EQ respectively; close #264
|
2012-06-12 23:47:23 +09:00 |
|
Yukihiro Matsumoto
|
a74ab0c2da
|
Kernel.eval to raise NotImplementedError
|
2012-06-12 23:39:54 +09:00 |
|
Yukihiro Matsumoto
|
8bc506e258
|
a bug in contant reference from modules
|
2012-06-12 23:39:27 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
db1244cef5
|
Merge pull request #263 from monaka/pr-make-sprintf-optional
Make sprintf/format optional.
|
2012-06-12 03:10:37 -07:00 |
|
Yukihiro Matsumoto
|
f537e2bb96
|
block_given? should work; close #262
|
2012-06-12 19:09:11 +09:00 |
|
Yukihiro Matsumoto
|
4348639e1c
|
raise error if string arg is given to Kernel#instance_eval
|
2012-06-12 18:33:17 +09:00 |
|
Yukihiro Matsumoto
|
b5ffbea4c2
|
remove Ruby version of Kernel#instance_eval
|
2012-06-12 18:32:42 +09:00 |
|
Yukihiro Matsumoto
|
216a846bd9
|
mrb_get_args should honor optinal arguments
|
2012-06-12 18:32:05 +09:00 |
|
Yukihiro Matsumoto
|
324de1a002
|
remove Kernel#eval from the core; close #261
|
2012-06-12 18:05:36 +09:00 |
|
Masaki Muranaka
|
e1e4ceb3e4
|
Make sprintf/format optional.
|
2012-06-12 17:46:38 +09:00 |
|
Yukihiro Matsumoto
|
30a062c165
|
String#split("") should split per character (byte for now)
|
2012-06-12 12:58:49 +09:00 |
|
Yukihiro Matsumoto
|
ff4925b804
|
corrupted String#inspect on backslash escapes
|
2012-06-12 12:56:21 +09:00 |
|