Yukihiro "Matz" Matsumoto
673d9183cf
avoid copying when the original string comes with MRB_STR_NOFREE
2013-12-25 10:30:48 +09:00
Yukihiro "Matz" Matsumoto
9b7b18aaf4
clear STR_NOFREE flag on modify
2013-12-25 10:19:35 +09:00
Yukihiro "Matz" Matsumoto
ee9e5fa6da
Merge branch 'master' of github.com:mruby/mruby
2013-12-25 10:06:24 +09:00
Yukihiro "Matz" Matsumoto
48ad07eb41
zero copy str_new from static allocate irep
2013-12-25 09:48:57 +09:00
Yukihiro "Matz" Matsumoto
bd76b2dea8
zero copy intern from static allocate irep
2013-12-25 08:49:18 +09:00
Yukihiro "Matz" Matsumoto
c6ceed22d9
rename mrb_intern_litral -> mrb_intern_static
2013-12-25 08:40:26 +09:00
Yukihiro "Matz" Matsumoto
68ec811323
Merge pull request #1618 from h2so5/fix-1617
...
fix #1617
2013-12-24 01:16:07 -08:00
h2so5
6c6633843c
fix #1617
2013-12-24 13:33:26 +09:00
Yukihiro "Matz" Matsumoto
c209fa9514
class/module body to honor whether value is required or not; reduce a few instructions for normal cases
2013-12-24 12:29:06 +09:00
Yukihiro "Matz" Matsumoto
bc7a6e88a1
zero copy C literal strings in symbol table
2013-12-24 08:27:42 +09:00
Yukihiro "Matz" Matsumoto
9fab01caee
remove MRB_IREP_ARRAY_INIT_SIZE which is no longer used
2013-12-24 07:26:35 +09:00
Yukihiro "Matz" Matsumoto
4d92d2e1aa
string type check based on #to_str to encourage duck typing; #1616
2013-12-24 07:02:37 +09:00
Yukihiro "Matz" Matsumoto
d957a67841
Merge pull request #1616 from h2so5/verify-string-match
...
verify the argument of String#=~
2013-12-23 13:59:17 -08:00
h2so5
e137d1423d
verify the argument of String#=~
2013-12-24 00:09:34 +09:00
Yukihiro "Matz" Matsumoto
55ef024e83
Merge pull request #1615 from crimsonwoods/remove_strong_coupling_by_khash
...
Remove 'mrb_state' field from 'kh_xxx_t' structure.
2013-12-23 04:31:58 -08:00
Yukihiro "Matz" Matsumoto
045a9cada4
Merge pull request #1614 from h2so5/change-sym2str
...
change behavior of mrb_sym2str
2013-12-23 04:30:31 -08:00
crimsonwoods
370ad6fade
Remove 'mrb_state' field from 'kh_xxx_t' structure.
...
'kh_xxx_t' requires 'mrb_state' to allocate, free, and compute hash value.
But 'mrb_state' should not be held by 'kh_xxx_t' and 'mrb_state' should be
supplied from outside.
2013-12-23 00:33:07 -08:00
h2so5
a94be45546
change behavior of mrb_sym2str
2013-12-23 03:27:56 +09:00
Yukihiro "Matz" Matsumoto
83c45e73d4
Merge pull request #1613 from h2so5/test-case-statements
...
add some tests for case statements
2013-12-20 09:15:21 -08:00
h2so5
e80c0c90cd
add some tests for case statements
2013-12-20 15:29:23 +09:00
Yukihiro "Matz" Matsumoto
7dffeb6215
Merge pull request #1612 from h2so5/node-case
...
fix codegen bug in NODE_CASE
2013-12-19 06:05:49 -08:00
Yukihiro "Matz" Matsumoto
d7a34b625b
Merge pull request #1611 from h2so5/inspect-type
...
fix TypeError message
2013-12-19 06:03:20 -08:00
Yukihiro "Matz" Matsumoto
c514b3697d
Merge pull request #1610 from mruby-debian/for-upstream
...
Fix typo from expornent to exponent
2013-12-19 06:01:42 -08:00
h2so5
61ac9ff2ea
fix codegen bug in NODE_CASE
2013-12-19 21:30:51 +09:00
h2so5
38a0a60412
fix TypeError message
2013-12-19 17:40:47 +09:00
Nobuhiro Iwamatsu
01fb0f02d5
Fix typo from expornent to exponent
...
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2013-12-19 09:37:20 +09:00
Yukihiro "Matz" Matsumoto
8cd42f6466
Merge pull request #1609 from carsonmcdonald/updateinstallinfo
...
Update the INSTALL information to be more accurate
2013-12-16 22:35:31 -08:00
Carson McDonald
c89a03cfa5
Update the INSTALL information to be more accurate
2013-12-16 17:51:08 -05:00
Yukihiro "Matz" Matsumoto
06f518b93a
Merge pull request #1608 from nanamiwang/vmcrash
...
Fixed callinfo buffer overflow while calling ensure handlers
2013-12-15 15:38:42 -08:00
nanami
87a392067a
Fixed callinfo buffer overflow while calling ensure handlers
2013-12-15 22:25:59 +08:00
Yukihiro "Matz" Matsumoto
882afdea20
Merge pull request #1607 from h2so5/avoid-recursive-inspection
...
Avoid recursive instance variable inspections
2013-12-10 07:41:48 -08:00
h2so5
c6ede8ed02
Avoid recursive instance variable inspections
2013-12-10 16:41:11 +09:00
Yukihiro "Matz" Matsumoto
fa4ae7dd4d
modify test case to check #1606
2013-12-09 11:44:02 +09:00
Yukihiro "Matz" Matsumoto
b87473c2c8
Merge pull request #1606 from bggd/patch-1
...
Fix mod.constants cannot return the single character constant
2013-12-08 18:41:04 -08:00
bggd
072871dcc5
Fix mod.constants cannot return the single character constant
2013-12-08 21:28:24 +09:00
Yukihiro "Matz" Matsumoto
b6cc3aca33
Merge pull request #1605 from suzukaze/test-array
...
Fix ISO no in Array#* and Array#+
2013-12-07 06:34:50 -08:00
Jun Hiroe
853e26e16a
Fix ISO no in Array#* and Array#+
2013-12-07 12:22:25 +09:00
Yukihiro "Matz" Matsumoto
4b82cadfcb
Merge pull request #1604 from carsonmcdonald/1477isatest
...
Add is_a? test to cover issue 1477
2013-12-04 17:38:14 -08:00
Yukihiro "Matz" Matsumoto
3c2f51aef2
remove unnecessary keep size adjustment in stack_extend_alloc(); close #1602
2013-12-05 10:36:43 +09:00
Carson McDonald
12e2488a4a
Add is_a? test to cover issue 1477
2013-12-04 10:29:40 -05:00
Yukihiro "Matz" Matsumoto
415ec6aca2
avoid top-level pool release at codegen_error() and fixed some memory leaks
2013-12-03 01:47:50 +09:00
Yukihiro "Matz" Matsumoto
56a93a3357
should not access scope after releasing memory pool
2013-12-03 00:55:19 +09:00
Yukihiro "Matz" Matsumoto
155f3909f0
Merge pull request #1601 from carsonmcdonald/srcaptosizet
...
Change scapa and rcapa to size_t, use scapa.
2013-12-02 05:19:45 -08:00
Carson McDonald
ba67427872
Change scapa and rcapa to size_t, use scapa.
2013-12-02 06:51:07 -05:00
Yukihiro "Matz" Matsumoto
da8405a0f7
Merge pull request #1600 from take-cheeze/mrb_intern_lit
...
Proposal of mrb_intern_lit macro.
2013-12-01 21:29:46 -08:00
take_cheeze
df780ae5e9
add mrb_intern_lit for creating symbol from string literal
2013-12-01 10:38:59 +09:00
Yukihiro "Matz" Matsumoto
e981f0b45c
inline mrb_gc_arena_restore() and stack_extend() in VM loop
2013-12-01 00:56:30 +09:00
Yukihiro "Matz" Matsumoto
9c6398a444
rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513
2013-11-29 08:47:28 +09:00
Yukihiro "Matz" Matsumoto
9ac386923d
float objects in pool are objects when MRB_WORD_BOXING is set
2013-11-27 17:29:28 +09:00
Yukihiro "Matz" Matsumoto
e9e1259b61
Merge pull request #1599 from kyab/fix_mrb_word_boxing
...
Fix build error for MRB_WORD_BOXING
2013-11-26 04:11:38 -08:00