Kazuki Tsujimoto
ef8fe627fb
Remove debug message
2012-05-05 16:32:25 +09:00
Yukihiro "Matz" Matsumoto
91a9054073
Merge pull request #96 from k-tsj/fix-return-segv
...
Fix SEGV when returning from terminated method
2012-05-04 05:23:34 -07:00
Yukihiro "Matz" Matsumoto
f255d33b4f
Merge pull request #97 from k-tsj/fix-include-segv
...
Fix SEGV when including an object other than Module
2012-05-04 05:19:36 -07:00
Kazuki Tsujimoto
6545fe241b
Fix SEGV when including an object other than Module
2012-05-04 19:57:02 +09:00
Kazuki Tsujimoto
7e1df10517
Fix SEGV when returning from terminated method
2012-05-04 18:34:13 +09:00
Kazuki Tsujimoto
1c2f37434b
LocalJumpError message contained garbage characters
2012-05-04 18:18:54 +09:00
Yukihiro Matsumoto
5a6193ffdd
remove unused eval_intern.h; make clean first
2012-05-04 13:49:57 +09:00
Yukihiro Matsumoto
300f97a0d2
mrb_closure_new uses current irep's nlocals instead of blocks; a patch from @tociyuki
2012-05-04 09:19:55 +09:00
Yukihiro Matsumoto
f3599bb442
library file name renamed to libmruby.a on all platforms
2012-05-03 23:42:38 +09:00
Yukihiro Matsumoto
1032e9eecc
allow spaces between lambda arrow and
...
parenthesis. [ruby-dev:45605][Feature #6390 ]
2012-05-03 10:35:31 +09:00
Yukihiro Matsumoto
0c6bd79d8a
Merge branch 'master' of github.com:mruby/mruby
2012-05-03 07:16:34 +09:00
Yukihiro "Matz" Matsumoto
a53f7f185f
Merge pull request #88 from takahashim/fix-add-header
...
add header "mruby/data.h" in src/etc.c
2012-05-02 15:16:22 -07:00
takahashim
514e2717c5
add header "mruby/data.h"
...
etc.c use DATA_TYPE()
2012-05-02 21:12:05 +09:00
Yukihiro Matsumoto
65f6acc982
remove unused vm_core.h
2012-05-02 18:38:58 +09:00
Yukihiro Matsumoto
af2ceeb5bf
Merge branch 'master' of github.com:mruby/mruby
2012-05-02 10:12:11 +09:00
Yukihiro Matsumoto
39cf53d028
rename ritevm.a to mruby.a
2012-05-02 10:11:56 +09:00
Yukihiro "Matz" Matsumoto
9b39ce33c0
Merge pull request #83 from carsonmcdonald/symunionfix
...
Fixed issue with reference to i in union, should have been sym
2012-05-01 16:53:52 -07:00
Yukihiro Matsumoto
e1f7617ff6
numeric.c: big restructuring; coercing removed, indentation fixed, unnecessary code removed
2012-05-02 08:51:43 +09:00
Carson McDonald
88cdb52133
Fixed issue with reference to i in union, should have been sym
2012-05-01 13:08:37 -04:00
Yukihiro Matsumoto
f373169af0
numeric.c: remove dependency to encoding.h
2012-05-02 00:10:18 +09:00
Yukihiro Matsumoto
de67c321fe
remove round(3) to avoid -std=c99
2012-05-01 23:05:27 +09:00
roco
4ec6d41f16
rm whitespace
2012-04-30 14:29:19 -07:00
Yukihiro Matsumoto
db999237bc
build process restructured
2012-04-30 10:58:36 +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
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 "Matz" Matsumoto
549cb6bb8b
Merge pull request #59 from mattn/fix_issue56
...
fix #56
2012-04-26 09:03:38 -07: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
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
c6f5f637e2
supeclass type check prohibits class definition without superclass specified
2012-04-26 06:07:41 +09:00
Patrick Hogan
f41aae73fd
Call dfree member on RData/MRB_TT_DATA when collected
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-24 08:39:32 -05:00
Yukihiro Matsumoto
8ab46d241c
superclass should be a class
2012-04-24 18:27:35 +09:00
Yukihiro Matsumoto
f9339f5c67
EXPR_BEG by keywords is a start point of commands; backport r35457 from CRuby
2012-04-24 18:25:26 +09:00