Yukihiro "Matz" Matsumoto
b147970bd2
Merge pull request #1649 from cremno/include-cleanup
...
remove superfluous includes
2014-01-07 15:32:12 -08:00
cremno
aa655b9ee1
remove superfluous includes
...
- reduce compile time by a little bit (full-core: ~0.7s for me)
- thanks to 'include-what-you-use' for some help
- include Standard C header files before any other (coding style)
2014-01-07 17:56:30 +01:00
Yukihiro "Matz" Matsumoto
cff4ac6bb7
skip "trace:" header if no backtrace line exists
2014-01-08 00:49:23 +09:00
Yukihiro "Matz" Matsumoto
1cdf283899
Merge branch 'master' of github.com:mruby/mruby
2014-01-08 00:40:57 +09:00
Yukihiro "Matz" Matsumoto
a1131361d5
dump.c: wrong filename table dump for multiple script files; close #1648
2014-01-08 00:40:45 +09:00
Yukihiro "Matz" Matsumoto
65d2073739
Merge pull request #1647 from mattn/remove_duplicate_test_for_mruby_string_utf8
...
Remove duplicate test for mruby-string-utf8
2014-01-07 00:37:38 -08:00
mattn
993095cb7c
Remove duplicate test
2014-01-07 16:57:25 +09:00
Yukihiro "Matz" Matsumoto
78ab979ef9
mruby-string-utf8: redefine String#size for UTF-8 string; #1646
2014-01-07 16:24:09 +09:00
Yukihiro "Matz" Matsumoto
dc25f85bab
mruby-string-utf8: UTF-8 string may contail NUL; #1646
2014-01-07 15:00:55 +09:00
Yukihiro "Matz" Matsumoto
0f7d771adc
Merge branch 'mruby-string-utf8' of https://github.com/mattn/mruby into mattn-mruby-string-utf8
2014-01-07 14:31:12 +09:00
mattn
055468bfa0
Add mruby-string-utf8
2014-01-07 14:25:08 +09:00
Yukihiro "Matz" Matsumoto
65f6b105e9
Merge branch 'master' of github.com:mruby/mruby
2014-01-07 01:06:02 +09:00
Yukihiro "Matz" Matsumoto
8d01c157c6
Merge pull request #1645 from iij/pr-case-expression-test
...
tests for "case" expression.
2014-01-06 08:05:48 -08:00
Yukihiro "Matz" Matsumoto
7d8a3b618a
small refactoring (dedup mrb_vm_cv_set)
2014-01-06 22:31:25 +09:00
Yukihiro "Matz" Matsumoto
fe19ac2bcd
small cosmetic variable renaming
2014-01-06 14:24:33 +09:00
Yukihiro "Matz" Matsumoto
07e8f80040
adjust proc->target_class according to surrounding proc->target_class; based on a patch from @Fleurer; close #1627
2014-01-06 14:04:50 +09:00
Tomoyuki Sahara
37475f4577
tests for "case" expression.
2014-01-06 10:10:37 +09:00
Yukihiro "Matz" Matsumoto
91fbbe2f59
Merge pull request #1644 from carsonmcdonald/testraiseinensure
...
Test for raise in ensure
2014-01-05 15:12:41 -08:00
Yukihiro "Matz" Matsumoto
3c7ab32e39
Merge pull request #1643 from take-cheeze/remove_unnecessary_depedency
...
Reduce unnecessary mrbgems full test rebuild.
2014-01-05 15:11:59 -08:00
Carson McDonald
072d98dd94
Test for raise in ensure
2014-01-05 09:20:31 -05:00
Yukihiro "Matz" Matsumoto
791021575c
need not to initialize ci->err at toplevel
2014-01-05 20:03:45 +09:00
Yukihiro "Matz" Matsumoto
f5cca078e3
avoid decrimenting eidx out of ecall()
2014-01-05 19:18:13 +09:00
h2so5
0e23038a60
execute ensure clause correctly without OP_EPOP
2014-01-05 16:24:20 +09:00
Yukihiro "Matz" Matsumoto
0b92025c3d
Merge pull request #1640 from carsonmcdonald/splatwhentest
...
Test case statement with splat
2014-01-04 15:59:30 -08:00
Carson McDonald
8bff2a8f9d
Test case statement with splat
2014-01-04 13:58:09 -05:00
Yukihiro "Matz" Matsumoto
d40a62e2d2
object_id may not return Fixnum (ISO says Integer), since intptr_t may be bigger than Fixnum, so type check for Numeric; ref #1630
2014-01-04 21:12:18 +09:00
Yukihiro "Matz" Matsumoto
925137475c
should splat and iterate elements when "*ary" speficied in the case-when clause; close #1627
2014-01-04 11:25:53 +09:00
Yukihiro "Matz" Matsumoto
2122cf48db
pop ensure stack before execution; close #1638
2014-01-04 01:30:38 +09:00
Yukihiro "Matz" Matsumoto
6bcbef5064
always clear ci->err
2014-01-04 00:54:05 +09:00
Yukihiro "Matz" Matsumoto
4b68fbcd83
quicker release of arena after ensure calls
2014-01-04 00:13:28 +09:00
Yukihiro "Matz" Matsumoto
d32a67e4b4
Merge branch 'master' of github.com:mruby/mruby
2014-01-04 00:07:34 +09:00
Yukihiro "Matz" Matsumoto
0bafa49d90
Merge pull request #1639 from h2so5/macro-ci-err
...
use macros for assignments to ci->err
2014-01-03 07:07:24 -08:00
Yukihiro "Matz" Matsumoto
6d7b3a7bc9
mrb_ary_splat() to call #to_a
2014-01-03 23:57:20 +09:00
h2so5
77f215c837
use macros for assignments to ci->err
2014-01-03 21:54:58 +09:00
Yukihiro "Matz" Matsumoto
dc27c2be46
Merge pull request #1634 from cremno/use-mrb_fixnum_p
...
tiny word boxing optimization
2014-01-02 15:46:00 -08:00
Yukihiro "Matz" Matsumoto
1012c595f2
Merge pull request #1632 from cremno/superfluous-return
...
remove superfluous return in codedump_all
2014-01-02 15:45:07 -08:00
Yukihiro "Matz" Matsumoto
a26a6fecee
Merge pull request #1637 from h2so5/extended-arena-size
...
Fix extended arena check in gc_protect
2014-01-02 15:44:31 -08:00
Yukihiro "Matz" Matsumoto
18f393013a
Merge pull request #1636 from cremno/mrb_get_args-z-errmsg
...
use the same error msg as mrb_str_to_cstr/CRuby
2014-01-02 15:43:49 -08:00
Yukihiro "Matz" Matsumoto
0d8737c1a7
Merge pull request #1635 from cremno/cpp-conditionals
...
remove various preprocessor conditionals
2014-01-02 15:43:23 -08:00
Yukihiro "Matz" Matsumoto
d6a0308a71
Merge pull request #1633 from cremno/nan-boxing-uintptr_t
...
NaN boxing: use uintptr_t for bit manipulations
2014-01-02 15:42:26 -08:00
Yukihiro "Matz" Matsumoto
a90e8317cc
Merge pull request #1631 from cremno/fix-ruby-warnings
...
fix some warnings emitted by 'ruby -w'
2014-01-02 15:41:47 -08:00
h2so5
a44cc14e1c
Fix extended arena check in gc_protect
2014-01-02 18:23:26 +09:00
cremno
edf93c8bd6
use the same error msg as mrb_str_to_cstr/CRuby
...
It's better to have one message for the same error
than two different (although similar worded) ones.
2014-01-02 07:53:53 +01:00
cremno
18433731ed
remove various preprocessor conditionals
...
- HAVE_IEEEFP_H is nowhere defined or needed at all
- FreeBSD < 4 is unsupported since years
- MSVC workaround (around what exactly?)
2014-01-02 07:33:33 +01:00
cremno
09bb30870b
tiny word boxing optimization
2014-01-02 06:36:29 +01:00
cremno
16c5cf92b0
NaN boxing: use uintptr_t for bit manipulations
2014-01-02 06:19:20 +01:00
cremno
d69deadfc8
codegen.c: remove superfluous return
2014-01-02 01:34:32 +01:00
cremno
4804b3f7dd
fix some warnings emitted by 'ruby -w'
...
- File.exists? is deprecated since 2.1.0
- tasks/mruby_build_commands.rake:268: ambiguous argument
2014-01-02 01:09:03 +01:00
Yukihiro "Matz" Matsumoto
e8dd8180ba
return value from #object_id may not be Fixnum; ref #1630
2014-01-01 12:24:20 +09:00
Yukihiro "Matz" Matsumoto
047f318cf9
successful recursion check to be shallower; ref #1630
2014-01-01 12:20:48 +09:00