Yukihiro "Matz" Matsumoto
5bd3d9bc27
add cast to return from aget_index(); ref #2627
2014-10-30 10:27:05 +09:00
Yukihiro "Matz" Matsumoto
69beaea296
Merge pull request #2627 from mattn/fix-2626
...
Handle Array#[float, int] Close #2626
2014-10-30 10:25:57 +09:00
mattn
eaa0296fc5
Handle Array#[float, int] Close #2626
2014-10-29 19:27:20 +09:00
Yukihiro "Matz" Matsumoto
cbbf840440
use mrb_get_args to parse Integer() option; ref #2625
2014-10-29 13:22:04 +09:00
Yukihiro "Matz" Matsumoto
73593f7d19
Merge pull request #2625 from suzukaze/add-kernel.Integer
...
Add kernel#Integer
2014-10-29 13:17:50 +09:00
Jun Hiroe
28c804621a
Add Kernel.Integer
2014-10-29 01:30:30 +09:00
Jun Hiroe
5235e54137
Fix mrb_convert_to_integer.
2014-10-29 01:30:30 +09:00
Yukihiro "Matz" Matsumoto
aec12c30e2
Merge pull request #2624 from suzukaze/refactor-for_body
...
Refactor for_body func
2014-10-28 23:43:29 +09:00
Jun Hiroe
ad77ed8bf3
Refactor for_body func
2014-10-28 23:31:25 +09:00
Yukihiro "Matz" Matsumoto
f4260a851a
Merge pull request #2623 from suzukaze/fix-indent
...
Fix indent
2014-10-28 23:26:48 +09:00
Yukihiro "Matz" Matsumoto
5347fb923d
Merge pull request #2621 from suzukaze/fix-parse_string
...
Replace int with mrb_bool in parse_string func
2014-10-28 23:26:23 +09:00
Yukihiro "Matz" Matsumoto
5d25047344
Merge pull request #2622 from suzukaze/fix-local_var_p
...
Replace int with mrb_bool in local_var_p func
2014-10-28 23:25:38 +09:00
Jun Hiroe
ec7dbee4b1
Fix indent
2014-10-28 01:52:50 +09:00
Jun Hiroe
832b529679
Replace int with mrb_bool in parse_string func
2014-10-28 00:11:34 +09:00
Jun Hiroe
9ca1745833
Replace int with mrb_bool in local_var_p func
2014-10-28 00:11:16 +09:00
Yukihiro "Matz" Matsumoto
9d8be78f3a
Merge pull request #2620 from suzukaze/refactor-yylex
...
Refactor yylex func
2014-10-27 18:00:37 +09:00
Jun Hiroe
34175bf41f
Refactor yylex func
2014-10-27 01:27:00 +09:00
Yukihiro "Matz" Matsumoto
0e3b3bbc08
Merge pull request #2619 from suzukaze/refactor-mrbc_context_new
...
Refactor mrbc_context_new func
2014-10-27 00:47:25 +09:00
Jun Hiroe
7bd2a8508e
Refactor mrbc_context_new func
2014-10-27 00:29:00 +09:00
Yukihiro "Matz" Matsumoto
2ff67f8d47
Merge pull request #2618 from suzukaze/add-kernel.Float
...
Add Kernel#Float
2014-10-25 03:12:42 +09:00
Jun Hiroe
140e9bbf4b
Add Kernel.Float
2014-10-24 01:55:55 +09:00
Yukihiro "Matz" Matsumoto
d3c7e117ef
Merge pull request #2617 from suzukaze/add-kernel.Hash
...
Add Kernel#Hash
2014-10-23 23:42:34 +09:00
Jun Hiroe
9e05366451
Add Kernel.Hash
2014-10-21 23:48:44 +09:00
Yukihiro "Matz" Matsumoto
5616208e1a
Merge pull request #2616 from suzukaze/add-kernel.String
...
Add Kernel#String
2014-10-21 09:20:40 +09:00
Jun Hiroe
de04d3f080
Add Kernel.String
2014-10-20 22:35:58 +09:00
Yukihiro "Matz" Matsumoto
69ba4f0ed5
instance_methods etc should not include undef'ed method names; based on a patch from @cremno; fix #2613
2014-10-20 11:11:26 +09:00
Yukihiro "Matz" Matsumoto
cee3dc58d6
Merge pull request #2612 from suzukaze/refactor-mrb_f_array
...
Refactor mrb_f_array func
2014-10-20 09:15:25 +09:00
Jun Hiroe
9b1d9a7901
Refactor mrb_f_array func
2014-10-19 20:06:27 +09:00
Yukihiro "Matz" Matsumoto
4fd28deff9
refactoring C part of #2611
2014-10-19 19:39:02 +09:00
Yukihiro "Matz" Matsumoto
c6669a328d
Merge pull request #2611 from suzukaze/add-kernel.Array
...
Add Kernel.Array
2014-10-19 19:33:39 +09:00
Jun Hiroe
b6edf24a01
Add Kernel.Array
2014-10-19 19:25:31 +09:00
Yukihiro "Matz" Matsumoto
3f06307317
need addtional type check to avoid SEGV; ref #2609
2014-10-18 11:26:30 +09:00
Yukihiro "Matz" Matsumoto
3ff5081650
context proc may be cfunc; fix #2609
2014-10-17 15:48:58 +09:00
Yukihiro "Matz" Matsumoto
c5a23e6a0d
remove header prototype of mrb_exc_print; close #2607
2014-10-15 21:21:58 +09:00
Yukihiro "Matz" Matsumoto
3a94255495
Merge pull request #2608 from mrbrdo/fix-typo
...
fix typo (i->idx)
2014-10-15 21:19:03 +09:00
Jan Berdajs
aff2be4b40
fix typo (i->idx)
2014-10-15 14:11:00 +02:00
Yukihiro "Matz" Matsumoto
b4cc962c3a
add similar range check for tm->usec as well
2014-10-03 14:58:59 +09:00
Yukihiro "Matz" Matsumoto
95b3a70291
always check range before casting time_t to mrb_int
2014-10-03 14:57:22 +09:00
Yukihiro "Matz" Matsumoto
88d14e03d0
time_t may overflow mrb_int when word boxing is used
2014-10-03 11:10:09 +09:00
Yukihiro "Matz" Matsumoto
2b3675bca1
word_boxing.h used int to represent symbols; use mrb_sym instead
2014-10-03 11:02:06 +09:00
Yukihiro "Matz" Matsumoto
f03c23572d
Merge pull request #2602 from Hiroyuki-Matsuzaki/fix_cygwin_gcc_warning
...
fixed. cygwin-gcc(ver4.8.3) warning in conv_digit()
2014-10-02 21:03:33 +09:00
Yukihiro "Matz" Matsumoto
c08321ef23
remove accidental check-in of mruby-thread gem
2014-10-02 20:43:04 +09:00
Hiroyuki Matsuzaki
e77ea4e5f2
fixed. cygwin-gcc(ver4.8.3) warning in conv_digit()
2014-10-02 19:50:58 +09:00
Yukihiro "Matz" Matsumoto
ff663075e4
Merge pull request #2601 from mimaki/mrblib_absolute_path
...
Change mrblib's source path to absolute path
2014-10-02 17:59:40 +09:00
Yukihiro "Matz" Matsumoto
83992ee163
cast MRB_ENV_STACK_LEN to (mrb_int); ref #2600
2014-10-02 17:59:01 +09:00
Yukihiro "Matz" Matsumoto
906b62d50f
Merge pull request #2600 from mimaki/fix_msvc_warnings
...
Pacify MSVC warnings for numeric.c, proc.c, and symbol.c
2014-10-02 17:50:27 +09:00
Hiroshi Mimaki
62c58d3dad
Change mrblib's source path to absolute path
2014-10-02 15:23:10 +09:00
Hiroshi Mimaki
ed15477c74
Pacify MSVC warnings for numeric.c, proc.c, and symbol.c
2014-10-02 13:37:49 +09:00
Yukihiro "Matz" Matsumoto
6b956f1c1b
use __init_array_start to determine readonly data section;
...
b72e94f used _etext and _edata to distinguish C string literals from heap allocated strings,
but using _edata, global char arrays may be considered as string literals. to avoid the issue,
we have to use __init_array_start, which might be less portable. you can still use _edata, by
using MRB_NO_INIT_ARRAY_START.
2014-10-02 09:27:39 +09:00
Yukihiro "Matz" Matsumoto
ae1403004b
load.c to use mrb_ro_data_p()
2014-10-01 00:01:36 +09:00