Jun Hiroe
|
73d4491174
|
Refactor mrb_obj_eq() func in object.c.
|
2013-06-30 00:03:01 +09:00 |
|
Akira Yumiyama
|
36fc42e7db
|
add nil.to_a, nil.to_f, nil.to_i methods
|
2013-06-28 10:01:07 +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
|
30d580ecbc
|
rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206
|
2013-04-25 09:47:36 +09:00 |
|
h2so5
|
9b798114bb
|
Use mrb_bool for the 'b' format specifier of mrb_get_args
|
2013-04-22 10:41:53 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
78b0abcfaf
|
string interpolation (#{foo}) does stringify implicitly; no need to call #to_s
|
2013-04-11 23:11:43 +09:00 |
|
h2so5
|
1f571dd5fc
|
Fix TypeError messages
|
2013-04-11 19:47:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
65bccbe7b9
|
mrb_any_to_s: add separator
|
2013-04-01 11:30:07 +09:00 |
|
Masaki Muranaka
|
710f625254
|
Remove mrb_flt2big() as there is no bignum in the core.
Add new API mrb_flo_to_fixnum(). You can replace mrb_flt2big() to mrb_flo_to_fixnum() with few modifications.
|
2013-03-29 22:19:26 +09:00 |
|
Masaki Muranaka
|
2b5b161f8b
|
Sort include files. Some redundant includes are removed.
|
2013-03-29 10:22:31 +09:00 |
|
Masaki Muranaka
|
485111db6b
|
Fix %s to %S.
|
2013-03-28 17:40:13 +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 |
|
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 |
|
Masaki Muranaka
|
bdd8f7b4a7
|
Remove *printf() that have "%p" format as possible. Use tomrb_ptr_as_string() instead.
|
2013-03-23 20:11:33 +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
|
011c4c0e08
|
Use mrb_true_or_false_value() / in false_or().
|
2013-03-19 11:04:22 +09:00 |
|
Masaki Muranaka
|
82b156738f
|
Use mrb_true_or_false_value() / in false_xor().
|
2013-03-19 11:04:22 +09:00 |
|
Masaki Muranaka
|
cb8d9d46d0
|
Use mrb_true_or_false_value() / in true_xor().
|
2013-03-19 11:04:22 +09:00 |
|
Masaki Muranaka
|
88f97cb4e4
|
Use mrb_true_or_false_value() / in true_and().
|
2013-03-19 11:04:22 +09:00 |
|
Masaki Muranaka
|
a11e7f3c30
|
Remove unused string.h.
|
2013-03-16 18:08:18 +09:00 |
|
Masaki Muranaka
|
5a025813b5
|
Include stdio.h in mrbconf.h instead of C extension sources.
|
2013-03-05 01:38:51 +09:00 |
|
mattn
|
138ecf4723
|
Pluggable Struct
|
2013-03-01 13:37:46 +09:00 |
|
Yukihiro Matz Matsumoto
|
59a6d1b514
|
remove TT_REGEX and TT_MATCH
|
2013-02-18 16:18:19 +09:00 |
|
Cremno
|
11869a433b
|
rewrote mrb_any_to_s
use %p instead of %lx to prevent truncation and for consistency
|
2013-02-06 00:07:09 +01:00 |
|
Carson McDonald
|
8f83f6674c
|
Fixes a number of "comparison between signed and unsigned" warnings.
|
2013-01-27 09:44:47 -05:00 |
|
Cremno
|
0a22c59938
|
use the new specifier b instead of o
|
2013-01-15 09:15:10 +01:00 |
|
Yukihiro Matz Matsumoto
|
15304c194d
|
replace RTEST() by mrb_test_p()
|
2012-11-04 05:05:53 +09:00 |
|
Yukihiro Matz Matsumoto
|
3ba521ae9e
|
replace FIXNUM_P() by mrb_fixnum_p()
|
2012-11-04 04:49:43 +09:00 |
|
Masaki Muranaka
|
6069a33089
|
mrb_raisef(): new function. Same as previou version of mrb_raise().
mrb_raise(): API modified. It cannot treat variable arguments.
|
2012-10-23 09:42:22 +09:00 |
|
Yukihiro Matsumoto
|
27f002496f
|
true/false should print proper inspect string
|
2012-10-16 22:33:34 +09:00 |
|
Yukihiro Matsumoto
|
b21afdfbaf
|
use mrb_test
|
2012-09-10 22:06:57 +09:00 |
|
Yukihiro Matsumoto
|
7d02df3016
|
NaN boxing
|
2012-08-14 13:16:34 +09:00 |
|
Yukihiro Matsumoto
|
1ed39d5c05
|
use TRUE/FALSE instead of 1/0
|
2012-08-13 04:19:24 +09:00 |
|
Yukihiro Matsumoto
|
1549502079
|
mrb_check_convert_type should always return nil on error
|
2012-08-02 01:58:20 +09:00 |
|
Yukihiro Matsumoto
|
bce9198732
|
reduce invoking mrb_intern from convert_type
|
2012-08-02 01:53:35 +09:00 |
|
Masaki Muranaka
|
b2fc62f3a9
|
Remove commented out code.
|
2012-07-29 15:25:14 +09:00 |
|
Max Anselm
|
ea25912999
|
Undefine new for class rather than instance.
Applies to NilClass, TrueClass, FalseClass, Fixnum, and Float. Add
mrb_undef_class_method for DRYness.
|
2012-07-25 18:22:26 -04:00 |
|
Yukihiro Matsumoto
|
737eaea038
|
allow DISABLE/ENABLE_SATDIO
|
2012-07-13 15:00:45 +09:00 |
|
Yukihiro Matsumoto
|
f045e64675
|
reduce calling mrb_str_new_cstr() to avoid strlen(); #301
|
2012-06-23 13:51:50 +09:00 |
|
Masaki Muranaka
|
f564ec7e82
|
Remove some redundant code.
|
2012-06-15 00:56:00 +09:00 |
|
Yukihiro Matsumoto
|
a6ebdc6580
|
error message from mrb_convert_type has been changed
|
2012-06-14 00:04:05 +09:00 |
|
Yukihiro Matsumoto
|
e3d17e54f8
|
mruby/string.h: rename buf to ptr
|
2012-06-05 23:17:09 +09:00 |
|
Yukihiro Matsumoto
|
6caeb8f8fb
|
hash function should use #eql? internally
|
2012-06-01 01:30:44 +09:00 |
|
Yukihiro Matsumoto
|
64fc4ac332
|
resolve conflict
|
2012-05-31 15:32:38 +09:00 |
|
Yukihiro Matsumoto
|
3e8d330c2c
|
remove #new from immediate classes
|
2012-05-31 11:11:55 +09:00 |
|
Yukihiro Matsumoto
|
6c9ae9489f
|
remove unused method.h from object.c
|
2012-05-18 02:04:29 +09:00 |
|
Yukihiro Matsumoto
|
470da1eda0
|
redefine POST/NEG FIXABLE using INT_MIN/MAX
|
2012-05-17 09:32:23 +09:00 |
|
Yukihiro Matsumoto
|
264f500df4
|
make convert_type private
|
2012-05-04 23:16:05 +09:00 |
|
roco
|
4ec6d41f16
|
rm whitespace
|
2012-04-30 14:29:19 -07:00 |
|