Masaki Muranaka
b2fc62f3a9
Remove commented out code.
2012-07-29 15:25:14 +09:00
Junji Sawada
96366117ea
Remove unnecessary header inclusion
2012-07-14 11:39:25 +09:00
Masaki Muranaka
d534f26f16
Use sizeof to get char array sizes.
2012-06-27 10:36:39 +09:00
Yukihiro Matsumoto
ef50e63a63
remove RuntimeError from mrb_state
2012-06-20 20:43:27 +09:00
Yukihiro Matsumoto
8f9b958f1e
raise should initialize Exception object
2012-06-19 12:54:49 +09:00
Yukihiro Matsumoto
955a48d964
move exception definiton to mrblib
2012-06-18 10:30:17 +09:00
Yukihiro Matsumoto
742c4fb86f
ignore id to create NameError
2012-06-18 09:06:13 +09:00
Yukihiro Matsumoto
195d1dd685
do not use fixed sized buffer in mrb_bug/mrb_warn; close #287
2012-06-15 14:03:02 +09:00
Masaki Muranaka
cfd5f5157d
Move Subclasses of ScriptError to mrblib.
2012-06-15 13:06:43 +09:00
Masaki Muranaka
ccec3da35b
Use return value of vsnprintf() for the string length. It is redundant using strlen().
2012-06-15 12:27:44 +09:00
Masaki Muranaka
9983e1d773
Remove unused funcions.
2012-06-15 12:26:17 +09:00
Masaki Muranaka
56103509c8
Remove as NotImplemenetedError is defined in mrblib/.
2012-06-15 02:36:51 +09:00
Masaki Muranaka
f564ec7e82
Remove some redundant code.
2012-06-15 00:56:00 +09:00
Yukihiro Matsumoto
b775bc771e
remove unused variable
2012-06-14 01:19:45 +09:00
Yukihiro Matsumoto
df7be84dba
add newline between functions
2012-06-14 01:18:07 +09:00
Yukihiro Matsumoto
6bdd257c42
inspect format for exception has changed
2012-06-14 01:17:44 +09:00
Yukihiro Matsumoto
fae483ff2a
the argument for Exception.new is optinal
2012-05-31 11:15:51 +09:00
Yukihiro Matsumoto
d9227aa41d
remove ZeroDivisionError since mruby gives float for integer division
2012-05-24 21:10:23 +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
b68e69aa32
remove unused assignments
2012-05-17 12:57:08 +09:00
Masaki Muranaka
3407376936
Remove unused static functions.
2012-05-16 16:06:12 +09:00
Yukihiro Matsumoto
5a6193ffdd
remove unused eval_intern.h; make clean first
2012-05-04 13:49:57 +09:00
roco
4ec6d41f16
rm whitespace
2012-04-30 14:29:19 -07: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
1605ec8cd4
wrong type argument for mrb_funcall
2012-04-23 18:25:08 +09:00
mimaki
835443614d
add file header
2012-04-23 11:46:16 +09:00
Frank Celler
b831887a25
linux compiler does not like double use of va_list
2012-04-20 06:35:52 +02:00
mimaki
e0d6430f63
add mruby sources
2012-04-20 09:39:03 +09:00