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
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
Yukihiro Matz Matsumoto
cdd41a33de
unify mrb_ary_new{,_elts,_from_values}; mrb_ary_from_values() is a winner
2013-03-08 05:18:33 +09:00
Yukihiro Matz Matsumoto
2e95f638cd
Cut off mrb_irep_free from mrb_close; based on a patch from @matsumoto-r; close #951
2013-03-06 15:22:46 +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
Masaki Muranaka
97136825e2
Separate Kernel#sprintf support from mruby core. It's moved to mrbgems.
2013-03-04 23:04:39 +09:00
Yukihiro Matz Matsumoto
02dba48367
Merge branch 'heredoc' of https://github.com/FUKUZAWA-Tadashi/mruby into FUKUZAWA-Tadashi-heredoc
2013-03-04 09:49:16 +09:00
Yukihiro "Matz" Matsumoto
e13248bedf
Merge pull request #884 from monaka/pr-use-MRB_IREP_ARRY_INIT_SIZE-macro
...
Use MRB_IREP_ARRAY_INIT_SIZE macro.
2013-03-03 16:40:27 -08:00
Yukihiro Matz Matsumoto
7e910bd4c2
use mrb_int for RString len
2013-03-04 09:39:04 +09:00
Yukihiro "Matz" Matsumoto
aae50bfc48
Merge pull request #934 from monaka/pr-use-mrb_int-in-array.c
...
Define ARY_MAX_SIZE strictly. Use mrb_int instead of int.
2013-03-03 09:38:10 -08:00
Yukihiro "Matz" Matsumoto
4bb419483b
Merge pull request #932 from kaishuu0123/cleanup-mruby.h
...
cleanup: unused variable local_svar
2013-03-03 04:31:38 -08:00
FUKUZAWA-Tadashi
1af4110f7d
implement heredoc
2013-03-03 20:08:13 +09:00
Masaki Muranaka
f998691da8
Define ARY_MAX_SIZE strictly. Use mrb_int instead of int.
2013-03-03 11:43:56 +09:00
Masaki Muranaka
6cd7017ec1
Remove trailing whitespaces. This is just a cosmetic change.
2013-03-03 10:54:00 +09:00
Kouki Ooyatsu
28f1d27232
cleanup: unused variable local_svar
2013-03-03 03:51:55 +09:00
Yukihiro Matz Matsumoto
8d2880bbfe
Merge branch 'pluggable_struct' of https://github.com/mattn/mruby into mattn-pluggable_struct
2013-03-01 21:38:02 +09: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
mattn
138ecf4723
Pluggable Struct
2013-03-01 13:37:46 +09:00
mattn
6bee2fd193
Pluggable Math
2013-02-28 17:52:18 +09:00
Yukihiro "Matz" Matsumoto
97287b7e3d
Merge pull request #889 from mattn/pluggable_time
...
Pluggable Time class
2013-02-27 15:20:05 -08:00
mattn
f2d62c7c9f
Fix build
2013-02-26 17:22:24 +09:00
Masaki Muranaka
cb7cf4e795
Simplify mrb_range_beg_len(). Don't use OTHER macro.
2013-02-26 15:43:19 +09:00
Masaki Muranaka
6dda588503
Use MRB_IREP_ARRAY_INIT_SIZE macro. It should be configurable since it is possible to reduce RAM size.
2013-02-25 13:59:20 +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
Yukihiro "Matz" Matsumoto
a6d7de5dab
Merge pull request #875 from monaka/pr-enable-building-libmruby-with-DISABLE_STDIO-macro
...
Fix errors caused by stdio.h dependent code.
2013-02-23 21:26:37 -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
Masaki Muranaka
2bfb88825d
Fix errors caused by stdio.h dependent code.
2013-02-23 17:05:18 +09:00
Yukihiro Matz Matsumoto
a118c30861
better comment description for mrbconf.h configuration
2013-02-21 22:31:35 +09:00
Yukihiro Matz Matsumoto
9931f00863
remove unused HAVE_UNISTD_H altogether; ref #865
2013-02-21 22:28:32 +09:00
brainopia
483dce4b33
Clean up mrbconf.h
...
- undef for windows is not used by default so comment it
- casting to the same type is not needed
- parenthesis are not needed for macro attributes separated by commas
- change order of MRB_NAN_BOXING and MRB_INT64 to simplify logic
2013-02-21 16:54:44 +04:00
Yukihiro "Matz" Matsumoto
21822f4ee5
Merge pull request #851 from mattn/bye_bye_regexp
...
Remove DISABLE_REGEXP
2013-02-17 23:39:43 -08:00
Yuichiro MASUI
111cbca68c
Changed debugger hook to disable
2013-02-18 16:36:15 +09:00
mattn
7b5ec7126a
Remove DISABLE_REGEXP
2013-02-18 16:29:07 +09:00
Yukihiro Matz Matsumoto
59a6d1b514
remove TT_REGEX and TT_MATCH
2013-02-18 16:18:19 +09:00
Yukihiro Matz Matsumoto
eb14c15e99
rename hook and macro
2013-02-18 16:15:32 +09:00
Yukihiro "Matz" Matsumoto
66a7b04b25
Merge pull request #845 from masuidrive/hook_fetch
...
Added a hook at VM code fetch.
2013-02-17 23:11:49 -08:00
Yukihiro "Matz" Matsumoto
9b06a4506e
Merge pull request #850 from mattn/pluggable_regexp
...
Pluggable regexp
2013-02-17 23:08:58 -08:00
Yuichiro MASUI
bc44d06c73
Created hook at VM code fetch. It's for debugger
2013-02-17 00:13:42 +09:00
Yukihiro Matz Matsumoto
37fe3d666f
add Module#remove_const
2013-02-15 10:20:55 +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
Yukihiro Matz Matsumoto
d98ad06ef5
changing Make_Data_Struct API; you need to modify your code that uses Make_Data_Struct; close #821
2013-02-06 15:12:31 +09:00
Masaki Muranaka
c23057e577
Add semi-colon after the statement.
2013-02-06 13:53:18 +09:00