take_cheeze
|
df780ae5e9
|
add mrb_intern_lit for creating symbol from string literal
|
2013-12-01 10:38:59 +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
|
fb386011df
|
rename API mrb_str_dup_static() -> mrb_str_pool()
|
2013-11-20 08:37:16 +09:00 |
|
Miura Hideki
|
54c5b12fb7
|
irep->pool struct pool -> mrb_value
|
2013-11-19 20:38:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
677a2ac226
|
irep->pool not to be GCed
|
2013-11-07 04:20:46 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
97ce25fbd0
|
index to mrb_digitmap[] should always be positive
|
2013-09-21 17:15:58 +09:00 |
|
Tomoyuki Sahara
|
f77dc2e6cb
|
Merge branch 'mruby' into pr-typeerror-string-start-end-with
Conflicts:
mrbgems/mruby-string-ext/src/string.c
mrbgems/mruby-string-ext/test/string.rb
|
2013-08-26 23:20:22 +09:00 |
|
h2so5
|
23df879a81
|
Fix a problem of 'z' option and shared string
|
2013-08-24 06:52:46 +09:00 |
|
Tomoyuki Sahara
|
53ff8172e5
|
add mrb_string_type().
|
2013-08-23 15:06:26 +09:00 |
|
Jun Hiroe
|
d4b2d0a912
|
I fix ISO No in String class in comparison with ISO_IEC_30170_2012(E)-Charactor_PDF_document.pdf
|
2013-08-11 21:15:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8d7e716158
|
String =~ and match to work with pluggable Regexp; close #1398
|
2013-07-23 20:22:15 +09:00 |
|
Jun Hiroe
|
8e42868600
|
Repalace int with mrb_bool because a return value is boolean.
|
2013-07-15 23:17:12 +09:00 |
|
Jun Hiroe
|
39b78ee48c
|
Replace 0 with '\0' as nul terminated string.
|
2013-07-11 01:08:40 +09:00 |
|
Masaki Muranaka
|
e4ae05ed9b
|
Cleanup mrb_str_resize().
|
2013-06-21 16:06:35 +09:00 |
|
cubicdaiya
|
967c9cff2b
|
make mrb_str_new_cstr DRY
Using str_new eliminates duplicated codes in mrb_str_new_cstr.
|
2013-06-21 09:53:10 +09:00 |
|
kimu_shu
|
e720782f81
|
Add MRB_WORD_BOXING mode (represent mrb_value as a word)
|
2013-05-26 10:09:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8890a992a6
|
always use unsigned int as mrb_bool even in C++
|
2013-04-29 09:23:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a1df3fdb0c
|
fix mrb_string_shared memory leaks
|
2013-04-29 07:47:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5077f9ec8b
|
move mrb_shared_string definition to src/string.c
|
2013-04-29 07:24:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5c68195c88
|
mrb_str_new_static(): zero copy string creation
|
2013-04-28 02:47:22 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
fa0e41a84d
|
remove unnecessary local variable
|
2013-04-25 18:25:06 +09:00 |
|
Masaki Muranaka
|
6684b7d1cf
|
Remove sprintf().
|
2013-04-25 15:36:19 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8464cac63c
|
remove calling sprintf(); ref #1210
|
2013-04-25 15:00:09 +09:00 |
|
Tomoyuki Sahara
|
b1114489ef
|
a string may have a lot of non-printable chars.
|
2013-04-25 12:14:18 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
30d580ecbc
|
rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206
|
2013-04-25 09:47:36 +09:00 |
|
Masaki Muranaka
|
49d945bb59
|
Use memcmp instead of strcmp if it is possible.
|
2013-04-21 01:17:17 +09:00 |
|
Masaki Muranaka
|
bd7cf9ba0d
|
Remove a comment.
|
2013-04-21 01:17:17 +09:00 |
|
Masaki Muranaka
|
2613e5d955
|
Clean up variable types and type casts.
|
2013-04-21 01:17:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c79172dfd5
|
put spaces after if/while
|
2013-04-20 23:11:43 +09:00 |
|
h2so5
|
b9674c735e
|
Make str_modify public
|
2013-04-19 08:06:04 +09:00 |
|
h2so5
|
a4d59b4ceb
|
Refactor mrb_str_dump
|
2013-04-10 23:32:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
492688eecd
|
factor out redundant Regexp check into functions
|
2013-04-05 04:41:17 +09:00 |
|
Masaki Muranaka
|
c260ef894e
|
Rename mrb_fix2str() to mrb_fixnum_to_str(). This is for naming consistency.
|
2013-03-29 22:19:26 +09:00 |
|
Masaki Muranaka
|
05ad6902fd
|
Remove API mrb_string_value(). There have mrb_str_to_str() in the core. And mrb_string_value() is no merit to keep using.
|
2013-03-29 18:01:25 +09:00 |
|
Masaki Muranaka
|
74f04849c4
|
Rearrange SIZE_MAX. It is supported also VC++ since its version10. And there seems SIZE_MAX is defined in stdint.h. And it possibly (depends on the version of VC++) conflicts with SIZE_MAX in limits.h. This patch is no need if I did not support VC++.
|
2013-03-29 11:02:35 +09:00 |
|
Masaki Muranaka
|
2b5b161f8b
|
Sort include files. Some redundant includes are removed.
|
2013-03-29 10:22:31 +09:00 |
|
Yukihiro Matz Matsumoto
|
18b2683b97
|
use new mrb_format API from mrb_raisef; its only format specifier is "%S" (stringify) and takes mrb_value; close #1062
|
2013-03-27 23:41:23 +09:00 |
|
Masaki Muranaka
|
fd49ae0a84
|
Preprocessor # should be the top of line.
|
2013-03-26 15:14:01 +09:00 |
|
Masaki Muranaka
|
eafd5f647a
|
Remove unused macros.
|
2013-03-26 15:13:20 +09:00 |
|
MATSUMOTO Ryosuke
|
7328b68b9f
|
Adjusted indent, space and tab
|
2013-03-24 11:35:42 +09:00 |
|
Yukihiro Matz Matsumoto
|
0940e4d462
|
rename mrb_ptr_as_string() to mrb_ptr_to_str()
|
2013-03-23 21:57:33 +09:00 |
|
Yukihiro Matz Matsumoto
|
d8f48e9782
|
Merge branch 'pr-add-mrb_ptr_as_string' of https://github.com/monaka/mruby into monaka-pr-add-mrb_ptr_as_string
|
2013-03-23 21:53:49 +09:00 |
|
Masaki Muranaka
|
d5b135a1e7
|
Remove _obj_classname() as unused.
|
2013-03-23 20:22:16 +09:00 |
|
Masaki Muranaka
|
9268636331
|
Use mrb_obj_classname() instead of _obj_classname(). They are complietely same.
|
2013-03-23 20:21:50 +09:00 |
|
Masaki Muranaka
|
bbb367841a
|
Add new API mrb_ptr_as_string().
|
2013-03-23 20:00:04 +09:00 |
|
Masaki Muranaka
|
0cedf8fa02
|
Rename API mrb_str_cat2() to mrb_str_cat_cstr(). This is for naming orthogonality. mrb_str_cat2() is also left for backward compatibility.
|
2013-03-23 16:29:30 +09:00 |
|
Masaki Muranaka
|
f8fa56d8c3
|
Use mrb_intern2() instead of mrb_intern(). This is for avoiding overhead by strlen().
|
2013-03-22 14:22:45 +09:00 |
|
Yukihiro Matz Matsumoto
|
d0d920e909
|
rename mrb_true_or_false_value() to mrb_bool_value()
|
2013-03-19 12:03:54 +09:00 |
|
Masaki Muranaka
|
68652da6f6
|
Use mrb_true_or_false_value() / in mrb_str_include().
|
2013-03-19 11:04:23 +09:00 |
|
Masaki Muranaka
|
02a6334d0d
|
Use mrb_true_or_false_value() / in mrb_str_eql().
|
2013-03-19 11:04:23 +09:00 |
|