Yukihiro Matsumoto
de67c321fe
remove round(3) to avoid -std=c99
2012-05-01 23:05:27 +09:00
Yukihiro Matsumoto
4fd260489e
remove ruby_strdup() prototype
2012-05-01 18:17:58 +09:00
Yukihiro Matsumoto
4390ff1260
Makefile: run make at src first
2012-05-01 08:14:56 +09:00
Yukihiro "Matz" Matsumoto
7c90803028
Merge pull request #79 from rystyle/whitespace
...
rm whitespace mix
2012-04-30 15:41:37 -07:00
roco
4ec6d41f16
rm whitespace
2012-04-30 14:29:19 -07:00
Yukihiro "Matz" Matsumoto
6b739d9173
Merge pull request #78 from MobiRuby/remove_ios_tasks
...
remove ios compile tasks
2012-04-30 13:54:55 -07:00
Yuichiro MASUI
af4de46f84
remove ios compile tasks
2012-05-01 01:52:28 +09:00
Yukihiro "Matz" Matsumoto
8982e6b585
Merge pull request #77 from bovi/master
...
make clean doesn't clean complete
2012-04-30 07:16:31 -07:00
Daniel Bovensiepen
761ed34cbe
Add dependency file to 'clean' target
2012-04-30 14:42:33 +08:00
Yukihiro Matsumoto
db999237bc
build process restructured
2012-04-30 10:58:36 +09:00
Yukihiro Matsumoto
f8fb9474aa
add -O3 to CFLAGS by default
2012-04-30 00:27:25 +09:00
Yukihiro Matsumoto
fc66d308a1
remove bit field from mrb_value
2012-04-30 00:27:02 +09:00
Yukihiro Matsumoto
943bef2d7c
changed type of mrb_int to plain int by default
2012-04-30 00:08:50 +09:00
Yukihiro Matsumoto
014351061a
Merge branch 'master' of github.com:mruby/mruby
2012-04-30 00:07:39 +09:00
Yukihiro Matsumoto
3725fe657d
return value of mrb_obj_is_kind_of() should be int (used as boolean); fix #71
2012-04-30 00:06:01 +09:00
Yukihiro "Matz" Matsumoto
ef6c8cd01c
Merge pull request #69 from k-tsj/fix-proc-segv
...
Use mrb_get_args instead of direct stack access
2012-04-28 07:44:41 -07:00
Yukihiro Matsumoto
a893a48b68
use readint/readfloat instead of sscanf
2012-04-28 23:39:54 +09:00
Yukihiro Matsumoto
0c5eba8936
strtof() may not be available on some platform; use strtod() then cast to float
2012-04-28 23:34:11 +09:00
Kazuki Tsujimoto
8ce5893e1a
Use mrb_get_args instead of direct stack access
2012-04-28 09:45:56 +09: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
fdd4920ffd
accessing out of region; fix #68
2012-04-28 00:45:33 +09:00
Yukihiro Matsumoto
21a23c07f0
Merge branch 'master' of github.com:mruby/mruby
2012-04-28 00:32:48 +09:00
Yukihiro Matsumoto
32db0e5d8c
struct RString member should not be mrb_value
2012-04-28 00:32:34 +09:00
Yukihiro "Matz" Matsumoto
3afb248a3a
Merge pull request #67 from mattn/fix_null_deref
...
Avoid to crash when "mruby -e p"
2012-04-27 03:17:46 -07:00
Yukihiro Matsumoto
9e45eb185b
object iv table can be NULL; close #66
2012-04-27 19:15:19 +09:00
mattn
0803a2e2f3
Avoid to crash when "mruby -e p"
2012-04-27 19:08:32 +09:00
Yukihiro Matsumoto
ee30c5a4a4
allow float/double switch
2012-04-27 18:31:45 +09:00
Yukihiro Matsumoto
c8f8f8396c
initialize ARGV when program is specified by -e
2012-04-27 18:31:02 +09:00
Yukihiro "Matz" Matsumoto
b9a806f757
Merge pull request #64 from mattn/argv
...
add ARGV.
2012-04-27 02:14:07 -07:00
mattn
6d02f784ac
add ARGV.
2012-04-27 15:06:38 +09:00
Yukihiro "Matz" Matsumoto
65710ef669
Merge pull request #62 from javier/patch-1
...
Adding a prerequisites section
2012-04-26 20:47:25 -07:00
Yukihiro "Matz" Matsumoto
549cb6bb8b
Merge pull request #59 from mattn/fix_issue56
...
fix #56
2012-04-26 09:03:38 -07:00
javier ramírez
a7288fdf54
Adding a prerequisites section to avoid the "bison: command not found" error
2012-04-26 17:11:11 +03:00
Yukihiro "Matz" Matsumoto
cdf2a28b33
Merge pull request #58 from mattn/use_mrb_free
...
use mrb_free().
2012-04-26 06:47:42 -07:00
Patrick Hogan
f9647592ef
Remove unused variable in khash
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
27cfbbe43a
size_t is unsigned and can never be < 0
...
Removed to silence warning.
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
4b8515184d
mrb_read_irep should take const char *
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
ec27c18dae
Fix a few casting warnings.
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
a408ba2dd6
Remove unused ret argument from kh_put.
...
It doesn't appear to serve any purpose and allows removing warning about various unused variables littered around.
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05: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
Patrick Hogan
4b99def2ae
Clean up switch statements.
...
Some formatting and add default label to silence warning about unhanded cases.
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
db20b5142b
mrb_ary_dup is only used by mrb_ary_sort which is removed by #if 0
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
mattn
45b36954df
fix #56
2012-04-26 11:29:30 +09:00
mattn
de7a596a2a
use mrb_free().
2012-04-26 11:14:19 +09:00
Yukihiro Matsumoto
7b3d628c86
use mrb_float instead of double
2012-04-26 11:13:45 +09:00
Yukihiro Matsumoto
5aa1c95710
parse.y: skip() should not ignore end-of-file; fix #55
2012-04-26 09:05:02 +09:00
Yukihiro Matsumoto
0486c48b1a
do not use strdup(3) that use malloc(3) inside; should use mrb_malloc()
2012-04-26 08:43:05 +09:00
Yukihiro Matsumoto
c6f5f637e2
supeclass type check prohibits class definition without superclass specified
2012-04-26 06:07:41 +09:00
Yukihiro Matsumoto
e26bf08e39
tools/mruby: multiple -e should concatenate command line args
2012-04-25 22:57:12 +09:00