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 |
|
Masaki Muranaka
|
055cad0739
|
Use mrb_true_or_false_value() / in mrb_str_empty_p().
|
2013-03-19 11:04:23 +09:00 |
|
Masaki Muranaka
|
be5e5fd75e
|
Use mrb_true_or_false_value() / in mrb_str_equal_m().
|
2013-03-19 11:04:23 +09:00 |
|
Masaki Muranaka
|
11ed7a6128
|
Fix a warning happens on MRB_INT64 enabled.
|
2013-03-17 03:24:19 +09:00 |
|
Masaki Muranaka
|
3aa3b4af90
|
Remove stdlib.h from mruby.h. It is for portability (care for freestanding environments).
This is a first step. It will be reduced stdlib.h in each files later.
|
2013-03-16 21:29:39 +09:00 |
|
Masaki Muranaka
|
6ba298ed54
|
Remove unnecessory stdint.h.
|
2013-03-16 21:06:32 +09:00 |
|
Yukihiro Matz Matsumoto
|
08a0c9f328
|
add mrb_int overflow check for mrb_int
|
2013-03-14 23:12:21 +09:00 |
|
Yukihiro Matz Matsumoto
|
9d0bbdb7f8
|
use size_t for string length C API
|
2013-03-14 19:33:38 +09:00 |
|
Yukihiro Matz Matsumoto
|
535a5489c7
|
remove PARANOID from comments
|
2013-03-14 18:47:59 +09:00 |
|
Masaki Muranaka
|
fe057faf1b
|
Add the type check in mrb_str_to_cstr().
|
2013-03-13 17:28:26 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c9f3fd4779
|
Merge pull request #986 from monaka/pr-use-mrb_obj_alloc_string-instead-of-str_alloc
Remove str_alloc(). Use mrb_obj_alloc_string() instead.
|
2013-03-12 17:26:50 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
3f4c2d451d
|
Merge pull request #985 from monaka/pr-remove-unused-code-20130312
Remove mrb_str_sublen() as it is not used.
|
2013-03-12 17:26:04 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
e53628eb9d
|
Merge pull request #984 from monaka/pr-make-mrb_str_new2-obsolete
Remove mrb_str_new2().
|
2013-03-12 17:25:23 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
7ba309600a
|
Merge pull request #982 from monaka/pr-make-MRB_STR_BUF_MIN_SIZE-configurable
Rename STR_BUF_MIN_SIZE to MRB_STR_BUF_MIN_SIZE. Make it configurable.
|
2013-03-12 17:24:02 -07:00 |
|
Masaki Muranaka
|
e7fe4ed499
|
Use suitable types for variables.
|
2013-03-12 20:50:02 +09:00 |
|
Masaki Muranaka
|
588f51508b
|
Remove str_alloc(). Use mrb_obj_alloc_string instead.
|
2013-03-12 18:21:23 +09:00 |
|
Masaki Muranaka
|
3af128c742
|
Remove mrb_str_sublen() as it is not used.
|
2013-03-12 18:08:40 +09:00 |
|
Masaki Muranaka
|
be506de3fc
|
Remove mrb_str_new2(). Use mrb_str_new_cstr() instead.
Make mrb_str_new_cstr() accept NULL pointer. It generates 0byte strings by NULL pointer.
|
2013-03-12 17:54:40 +09:00 |
|
Masaki Muranaka
|
e2d31ba3f3
|
Rename STR_BUF_MIN_SIZE to MRB_STR_BUF_MIN_SIZE. Make it configurable.
|
2013-03-12 17:10:18 +09:00 |
|
kano4
|
0751faf467
|
Fix indent in string.c
|
2013-03-11 21:16:33 +09:00 |
|
kano4
|
fbbe6309fc
|
Replace tabs with spaces
|
2013-03-05 23:06:44 +09:00 |
|
Masaki Muranaka
|
95c34a90ca
|
Remove RB_GC_GUARD(x) macro. See also mruby/mruby#948.
|
2013-03-05 13:00:17 +09:00 |
|
Masaki Muranaka
|
5a025813b5
|
Include stdio.h in mrbconf.h instead of C extension sources.
|
2013-03-05 01:38:51 +09:00 |
|
Carson McDonald
|
a306ac7651
|
The variable len isn't used anywhere.
|
2013-03-03 07:57:20 -05:00 |
|
Masaki Muranaka
|
e4231a0a33
|
Add typedef to structures that have mrb_ prefix. Use typedef-ed type instead of struct directly.
|
2013-03-01 14:28:22 +09:00 |
|
Masaki Muranaka
|
cb7cf4e795
|
Simplify mrb_range_beg_len(). Don't use OTHER macro.
|
2013-02-26 15:43:19 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
bbd50cca2f
|
Merge pull request #878 from monaka/pr-reduce-sprintf
Reduce sprintf() calls. Remove mrb_int_to_str() and MRB_INT_FORMAT.
|
2013-02-23 21:31:39 -08:00 |
|
Masaki Muranaka
|
b833df3d37
|
Remove commented out code. Remove redundant function calls.
|
2013-02-24 00:11:48 +09:00 |
|
Masaki Muranaka
|
dd62349749
|
Reduce sprintf() calls. Remove mrb_int_to_str() and MRB_INT_FORMAT.
|
2013-02-23 21:21:15 +09:00 |
|
Yukihiro Matz Matsumoto
|
7ce9cc3b83
|
String#split should honor limit arg
|
2013-02-18 18:47:25 +09:00 |
|
mattn
|
55ef8c50fb
|
REGEXP_CLASS
|
2013-02-15 10:22:10 +09:00 |
|
mattn
|
6aee0485fc
|
Should be OP_LOADL
|
2013-02-15 09:22:59 +09:00 |
|
mattn
|
b1a5146ea8
|
Pluggable Regexp
|
2013-02-15 04:38:27 +09:00 |
|
Akira Yumiyama
|
397d1e7aa9
|
add mrb_str_to_cstr
|
2013-02-11 21:02:35 +09:00 |
|
Masamitsu MURASE
|
eaf32e02e0
|
Restore arena in String#split.
|
2013-02-03 17:10:05 +09:00 |
|
Masaki Muranaka
|
3ab1afa07d
|
Remove API mrb_str_catf().
|
2013-01-29 17:21:50 +09:00 |
|
skandhas
|
15c96cf8b5
|
remove mrb_str_each_line form src/string.c
|
2013-01-11 15:38:55 +08:00 |
|
Masamitsu MURASE
|
72ae2150c7
|
Modify String#bytes.
It should return non-negative integer.
|
2012-12-19 23:54:00 +09:00 |
|