Yukihiro "Matz" Matsumoto
db1244cef5
Merge pull request #263 from monaka/pr-make-sprintf-optional
...
Make sprintf/format optional.
2012-06-12 03:10:37 -07:00
Yukihiro Matsumoto
f537e2bb96
block_given? should work; close #262
2012-06-12 19:09:11 +09:00
Yukihiro Matsumoto
4348639e1c
raise error if string arg is given to Kernel#instance_eval
2012-06-12 18:33:17 +09:00
Yukihiro Matsumoto
324de1a002
remove Kernel#eval from the core; close #261
2012-06-12 18:05:36 +09:00
Masaki Muranaka
e1e4ceb3e4
Make sprintf/format optional.
2012-06-12 17:46:38 +09:00
Yukihiro Matsumoto
e65d4938f3
'mrb_sym' used as 'uint32_t'. it's broken portability; based on the work from @crimsonwoods; close #216
2012-06-02 17:25:18 +09:00
Yukihiro Matsumoto
364f7e8f37
remove unused mrb_f_send; and rename mrb_f_send_m to mrb_f_send
2012-06-01 21:23:54 +09:00
Yukihiro Matsumoto
26ac26bd4b
remove spawn (and backtick) method that cannot be implemented without platform support
2012-06-01 21:22:40 +09:00
Yukihiro Matsumoto
9ec6db5e38
reorder arguments to mrb_get_args in mrb_f_send_m
2012-06-01 21:21:11 +09:00
Yuichiro MASUI
481d2874f1
add Kernel#send
2012-06-01 04:39:48 +09:00
Yukihiro Matsumoto
ad9e841c53
made mrb_get_args() better (optinal args, type checks); close #173 #176
2012-05-24 01:09:36 +09:00
Yukihiro Matsumoto
4523bee953
cast style consistency
2012-05-23 03:31:55 +09:00
Mitchell Blank Jr
9e336b00e5
More C++ compilability work: mrb_obj_alloc void* conversions
...
One of the biggest set of changes needed to make C++ compile, is that you
can't autoconvert "void*" to a different pointer type without a cast (you
can of course, convert pointers *to* "void*"!)
For the first part, convert the users of "mrb_obj_alloc". Since it has
to return something, make it RBasic* (that's what mrb_obj_alloc() is
operating on anyway). This way, even in C you'll get a warning if you
don't cast it.
For places where there are a lot of similar calls to mrb_obj_alloc(),
this can be easily hidden through a macro. I did this in string.c:
#define mrb_obj_alloc_string(mrb) ((struct RString *) mrb_obj_alloc((mrb), MRB_TT_STRING, (mrb)->string_class))
I also updated the mrb_object() macro to also return a RBasic* -- my
previous commit changed that from "void*" -> "RObject*", but I figure
it should be consistent with mrb_obj_alloc()
2012-05-20 09:43:14 -07:00
Yukihiro Matsumoto
74d29edf5c
remove unused method.h from kernel.c
2012-05-18 02:05:52 +09:00
Yukihiro Matsumoto
96168852c3
move declaration in the middle
2012-05-09 11:04:36 +09:00
Yukihiro Matsumoto
f4cf8ea423
partial VC support
2012-05-09 08:49:38 +09:00
Yukihiro Matsumoto
aac2c1c1a6
move declaration in the middle
2012-05-08 22:52:34 +09:00
Yukihiro Matsumoto
c401b753eb
remove unused code
2012-05-07 17:00:03 +09:00
Yukihiro Matsumoto
eac8e4a303
move mrb_obj_is_instance_of from range.c to kernel.c
2012-05-05 00:21:23 +09:00
roco
4ec6d41f16
rm whitespace
2012-04-30 14:29:19 -07:00
Yukihiro "Matz" Matsumoto
2b6be16308
Merge pull request #61 from pbhogan/fix-warnings
...
Fix various warnings
2012-04-27 08:56:39 -07:00
Yukihiro Matsumoto
9e45eb185b
object iv table can be NULL; close #66
2012-04-27 19:15:19 +09:00
Patrick Hogan
a4c9853813
More switch statement cleanup.
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
132dd25528
Remove a bunch of unused variables.
...
Removed or commented out to stop compiler whining about them.
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Yukihiro Matsumoto
8b367098ac
move header files {irep,dump,cdump,ritehash}.h to /include/mruby
2012-04-24 17:41:28 +09:00
Yukihiro Matsumoto
2fc1b8af2d
mv variable.h to mruby/variable.h
2012-04-24 15:59:50 +09:00
Yukihiro Matsumoto
d4ef3baca8
remove code for unsupported taint-mode
2012-04-23 18:30:49 +09:00
mimaki
c80487561f
Merge branch 'master' of github.com:mruby/mruby
...
Conflicts:
src/variable.c
2012-04-23 11:51:47 +09:00
mimaki
835443614d
add file header
2012-04-23 11:46:16 +09:00
Yukihiro Matsumoto
748d762e85
object instance variable do not use st.c
2012-04-21 12:42:43 +09:00
Yukihiro Matsumoto
d1144220cb
move src/mdata.h to include/mruby/data.h
2012-04-20 17:18:30 +09:00
mimaki
e0d6430f63
add mruby sources
2012-04-20 09:39:03 +09:00