Daniel Bovensiepen
bef73cc54f
Integrate refactoring of commit f1ed143624
2012-12-07 16:19:52 +08:00
Daniel Bovensiepen
bb6d42d987
Remove non C99 confirm headers and add function comments
2012-12-07 16:10:58 +08:00
Yukihiro Matz Matsumoto
f1ed143624
mange arena_idx smarter for smaller ARENA_SIZE; now default to 100 from 1024
2012-12-07 16:58:50 +09:00
Yukihiro Matz Matsumoto
f486774352
refactor and move irep malloc away to mrb_add_irep()
2012-12-07 15:57:40 +09:00
Daniel Bovensiepen
466ed80b60
Merge remote-tracking branch 'mruby/master' into mrbgems
2012-12-06 08:53:32 +08:00
Yukihiro "Matz" Matsumoto
40daee12cf
Merge pull request #567 from beoran/beoran_stack_overflow_fix
...
Keep stack depth and allocation better under control and fix crash on infinite recursion.
2012-12-05 07:16:08 -08:00
Yukihiro "Matz" Matsumoto
222bd97223
Merge pull request #591 from iij/pr-string-octal2
...
Fix out of boundary scan in case of octal formatted string
2012-12-05 07:15:50 -08:00
Daniel Bovensiepen
be99d87ca4
rename mrb_load_irep for mrbtest to be consistent to name change
2012-12-05 17:45:24 +08:00
Takashi Sogabe
7127bded17
Fix out of boundary scan in case of octal formatted string
...
This patch fixes a side effect of #2e7953536e
2012-12-05 16:26:46 +09:00
Yukihiro Matz Matsumoto
b8e5a57047
rename mrb_load_irep etc. for naming consistency
2012-12-05 02:48:29 +09:00
Yukihiro "Matz" Matsumoto
c7a2af380f
Merge pull request #587 from iij/pr-string-octal
...
Fix loss of MSB in conditions of octal formatted string
2012-12-04 09:31:19 -08:00
Daniel Bovensiepen
471c00a31d
Merge remote-tracking branch 'mruby/master' into mrbgems
2012-12-05 01:01:34 +08:00
Takashi Sogabe
2e7953536e
Fix loss of MSB in conditions of octal formatted string
2012-12-04 17:39:24 +09:00
Yukihiro Matz Matsumoto
674c55eb7d
Merge branch 'master' of github.com:mruby/mruby
2012-12-03 23:35:37 +09:00
Yukihiro Matz Matsumoto
30d7c60cfd
Array#[]= should return assigning value; close #584
2012-12-03 23:35:21 +09:00
Yukihiro "Matz" Matsumoto
25153d204d
Merge pull request #582 from skandhas/pr-add-check_const_name
...
add check_const_name for Module#const_defined?/const_get/const_set
2012-12-03 00:08:49 -08:00
skandhas
4bfece436e
add check_const_name for Module#const_set
2012-12-03 14:15:37 +08:00
skandhas
78808bf5e3
add check_const_name for Module#const_get
2012-12-03 14:09:06 +08:00
skandhas
b3bb54a21a
add check_const_name for Module#const_defined?
2012-12-03 14:04:03 +08:00
skandhas
fc89106792
add function:check_const_name
2012-12-03 13:55:23 +08:00
Yukihiro "Matz" Matsumoto
9754512716
Merge pull request #568 from mauceri/master
...
Potential memory management bug (issue #553 )
2012-12-02 19:17:13 -08:00
Yukihiro Matz Matsumoto
6583c96640
Ruby's Time#yday should start from 1; close #581
2012-12-03 12:16:37 +09:00
Daniel Bovensiepen
40bfc86a5e
Merge remote-tracking branch 'upstream/master' into mrbgems
2012-12-01 14:07:23 +08:00
Yukihiro "Matz" Matsumoto
26600ca4ec
Merge pull request #573 from skandhas/pr-add-Module-module_eval
...
add "Module#module_eval" and "Module#class_eval" for mruby
2012-11-30 19:16:48 -08:00
Yukihiro "Matz" Matsumoto
8c24e9e239
Merge pull request #580 from shtirlic/fix_warns
...
Fix compile warnings in mirb
2012-11-30 19:13:34 -08:00
Yukihiro "Matz" Matsumoto
5947113f78
Merge pull request #578 from tricknotes/stop-warning
...
Stop warning: extra ';' outside of a function
2012-11-30 19:12:49 -08:00
Yukihiro "Matz" Matsumoto
620fd92f09
Merge pull request #579 from skandhas/pr-remove-incorrect-pop-in-codegen
...
remove incorrect pop() call in codegen
2012-11-30 19:12:09 -08:00
Yukihiro Matz Matsumoto
1d3f4b3ff7
Fix typos: invalide -> invalid; patch from @darashi; close #577
2012-12-01 12:10:29 +09:00
skandhas
a100352595
add test for 'Abbreviated variable assignment as returns'
2012-11-30 22:31:35 +08:00
skandhas
9704ceefce
remove incorrect pop() in codegen
2012-11-30 22:11:41 +08:00
Ryunosuke SATO
ee0563823d
Stop warning: extra ';' outside of a function
2012-11-30 22:43:53 +09:00
shtirlic
83ecb2f078
Fix compile warnings in mirb
...
Change last_char type to int
Warnings
mirb.c:174:7: warning: comparison is always false due to limited range of data type [-Wtype-limits]
warning: comparison is always false due to limited range of data type [-Wtype-limits]
2012-11-29 19:03:00 +04:00
Daniel Bovensiepen
5f00a837ed
Small cosmetic change in the documentation for mrbgems
2012-11-28 13:47:32 +08:00
Daniel Bovensiepen
75849788a5
Merge remote-tracking branch 'upstream/master' into mrbgems
2012-11-27 23:01:09 +08:00
skandhas
053c104f2b
add Module#class_eval test
2012-11-27 16:27:32 +08:00
skandhas
1311c828c6
add Module#class_eval
2012-11-27 16:17:07 +08:00
skandhas
3fbeb298a6
add comments for Module#module_eval
2012-11-27 16:12:11 +08:00
skandhas
861bcad53a
add Module#module_eval test
2012-11-27 16:02:45 +08:00
skandhas
940eb786e4
add Module#module_eval
2012-11-27 15:48:33 +08:00
Yukihiro "Matz" Matsumoto
2ea245db3d
Merge pull request #572 from skandhas/pr-add-Module-instance_methods
...
add "Module#instance_methods" for mruby
2012-11-26 20:22:12 -08:00
skandhas
1f3c512564
add comments for Module#instance_methods
2012-11-26 12:10:15 +08:00
Daniel Bovensiepen
712d6b8cd2
Change link-order for mrbgems as suggested by @sogabe to avoid linking-error
2012-11-26 12:09:06 +08:00
skandhas
5e8dc8cd44
add Module#instance_methods test
2012-11-26 12:06:13 +08:00
Daniel Bovensiepen
a4d86fc5d5
Merge remote-tracking branch 'upstream/master' into mrbgems
2012-11-26 11:56:21 +08:00
skandhas
6fb74ac167
add Module#instance_methods
2012-11-26 11:48:03 +08:00
skandhas
f6c44d0dff
make 'class_instance_method_list' into a non-static funcion
2012-11-26 11:20:48 +08:00
Yukihiro "Matz" Matsumoto
d03bd87dc0
Merge pull request #571 from skandhas/pr-add-Module-include-p
...
add "Module#include?" for mruby
2012-11-25 06:31:42 -08:00
skandhas
25a02a5b8b
add comment for Module#include?
2012-11-24 16:26:36 +08:00
skandhas
cd8e9c1463
add Module#include? test
2012-11-24 16:21:37 +08:00
skandhas
59035eb33d
add Module#include?
2012-11-24 16:04:11 +08:00