Yukihiro Matsumoto
|
531124f057
|
time.c add ISO section numbers
|
2012-06-04 08:34:24 +09:00 |
|
Yukihiro Matsumoto
|
f24a52b04a
|
remove mrb_open NULL check for small test programs. They are only for proof-on-concept test, not production code. Adding precise checks are not needed for those code
|
2012-06-04 01:46:04 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d8f1e17ef6
|
Merge pull request #239 from thecodeshop/jf/mrb_open
guard mrb_open mem allocation and downstream usage
|
2012-06-03 09:41:32 -07:00 |
|
Daniel Bovensiepen
|
5612d195ec
|
Improve Class#superclass to ISO
|
2012-06-03 23:29:40 +08:00 |
|
Jon
|
2fff59dc86
|
Check mrb_open return value for NULL
|
2012-06-03 11:11:35 -04:00 |
|
Jon
|
49aa42f3a9
|
Verify that memory for mrb_state was allocated
|
2012-06-03 11:11:34 -04:00 |
|
Yukihiro Matsumoto
|
7009a1d8f5
|
should not disclose metaclass; close #238
|
2012-06-03 23:26:40 +09:00 |
|
Yukihiro Matsumoto
|
e4529c065d
|
make arrays to share bodies
|
2012-06-03 23:05:31 +09:00 |
|
Yukihiro Matsumoto
|
3be1c88907
|
str_modify() revives string buffer kept in shared structure if refcnt == 1
|
2012-06-03 22:59:40 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e66587439a
|
Merge pull request #237 from k-tsj/rescue-only-standarderrors
A rescue clause with no parameter list rescues only StandardErrors
|
2012-06-03 05:08:48 -07:00 |
|
Yukihiro Matsumoto
|
dece49750d
|
string.subseq should update shared refcnt
|
2012-06-03 21:06:04 +09:00 |
|
Yukihiro Matsumoto
|
361d0ca75d
|
strig.c should properly decref shared entities
|
2012-06-03 20:59:33 +09:00 |
|
Yukihiro Matsumoto
|
80c8908c4e
|
remove mrb_exec_recursive
|
2012-06-03 17:59:59 +09:00 |
|
Yukihiro Matsumoto
|
4e46abb869
|
remove unused mrb_exec_recursive
|
2012-06-03 17:52:04 +09:00 |
|
Kazuki Tsujimoto
|
0629cf21ba
|
A rescue clause with no parameter list rescues only StandardErrors
|
2012-06-03 17:48:02 +09:00 |
|
Yukihiro Matsumoto
|
597978c169
|
mrb_malloc/calloc/realloc should call mrb_garbage_collect before returning NULL
|
2012-06-03 17:34:23 +09:00 |
|
Yukihiro Matsumoto
|
28b9619bb4
|
should decref shared string body on gc_free
|
2012-06-03 15:45:06 +09:00 |
|
Yukihiro Matsumoto
|
60e8d80fa7
|
Merge branch 'master' of github.com:mruby/mruby
|
2012-06-03 15:34:09 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c9227e44fb
|
Merge pull request #236 from liyuray/master
fix an issue that access violation occurred on uninitialized irep block when running "make test" on MINGW.
|
2012-06-02 23:33:56 -07:00 |
|
Yukihiro Matsumoto
|
5b47ec7a8b
|
remove a blank line
|
2012-06-03 15:08:43 +09:00 |
|
Yukihiro Matsumoto
|
48ff4f2d36
|
time - time should not return time, but number
|
2012-06-03 15:05:18 +09:00 |
|
liyuray
|
5b3628051b
|
issue: make test fail on mingw.
solution: initialize memory allocated.
|
2012-06-03 14:04:33 +08:00 |
|
Yukihiro Matsumoto
|
e88e30524e
|
should have adjusted stack address kept in closures; close #222
|
2012-06-03 14:44:46 +09:00 |
|
Yukihiro Matsumoto
|
27c2416d20
|
stack_extend boundary condition was wrong
|
2012-06-03 14:13:25 +09:00 |
|
Yukihiro Matsumoto
|
6c2c5540e2
|
should initialize shared->buf as well as s->buf
|
2012-06-03 09:09:40 +09:00 |
|
Yukihiro Matsumoto
|
52fdeb0225
|
str_make_shared not to return new string
|
2012-06-03 09:05:09 +09:00 |
|
Yukihiro Matsumoto
|
df80b7835a
|
Add Class#superclass; a patch made by @bovi; close #234
|
2012-06-03 08:20:48 +09:00 |
|
Yukihiro Matsumoto
|
12d75223d6
|
make shared string to reference-counted C structure to reduce GC pressure
|
2012-06-03 07:55:39 +09:00 |
|
Yukihiro Matsumoto
|
5fcd520514
|
small refactoring after mruby coding convention
|
2012-06-03 02:19:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
369b556d04
|
Merge pull request #230 from MobiRuby/Class_new
support Class.new()
|
2012-06-02 10:17:18 -07:00 |
|
Yukihiro Matsumoto
|
cc86250297
|
remove unsafe macros in hash.h
|
2012-06-03 00:23:59 +09:00 |
|
Yuichiro MASUI
|
8a41d646f1
|
support Class.new()
|
2012-06-03 00:05:39 +09:00 |
|
Yukihiro Matsumoto
|
ecbaf9cd99
|
simpler implementation of Hash#empty?
|
2012-06-02 23:52:32 +09:00 |
|
Yukihiro Matsumoto
|
8d0cc57a43
|
hash->ht might be NULL; it shouldn't though
|
2012-06-02 23:50:34 +09:00 |
|
Yukihiro Matsumoto
|
090e896d48
|
hash->ht might be NULL; it shouldn't though
|
2012-06-02 23:46:30 +09:00 |
|
Yukihiro Matsumoto
|
22568f9a99
|
Merge branch 'master' of github.com:mruby/mruby
|
2012-06-02 22:31:58 +09:00 |
|
Yukihiro Matsumoto
|
110cdd82e0
|
naming convention consistency for hash.h
|
2012-06-02 21:47:27 +09:00 |
|
Yukihiro Matsumoto
|
de133c3715
|
refactoring around mrb_hash_new
|
2012-06-02 21:42:52 +09:00 |
|
Yukihiro Matsumoto
|
34c049c63e
|
remove unused mrb_mem_clear
|
2012-06-02 21:34:10 +09:00 |
|
Yukihiro Matsumoto
|
54808d1df5
|
clean appendix comments from array.c
|
2012-06-02 21:31:03 +09:00 |
|
Yukihiro Matsumoto
|
92ee53146f
|
unify long,size_t to int in array.[ch]
|
2012-06-02 21:30:04 +09:00 |
|
Yukihiro Matsumoto
|
0e46f49aaa
|
changed prototype mrb_ary_replace to (mrb_state*,mrb_value,mrb_value)
|
2012-06-02 21:26:30 +09:00 |
|
Yukihiro Matsumoto
|
c0c712d33b
|
small refactoring around Array#concat
|
2012-06-02 21:17:14 +09:00 |
|
Yukihiro Matsumoto
|
687ec8e65c
|
remove ary_reverse that no longer used
|
2012-06-02 21:08:25 +09:00 |
|
Yukihiro Matsumoto
|
3e9fc0b013
|
add proper type check (using mrb_get_args) in Array#replace
|
2012-06-02 21:07:50 +09:00 |
|
Yukihiro Matsumoto
|
ca4de06e60
|
avoid using mrb_value in Array#+
|
2012-06-02 21:05:33 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
29d5f616fa
|
Merge pull request #228 from fceller/master
fixed prototype warning (-Wstrict-prototypes)
|
2012-06-02 04:49:15 -07:00 |
|
Frank Celler
|
a3d00a902a
|
fixed prototype: g++ will complain about definition not being a prototype, should work with GCC and VC as well
|
2012-06-02 12:04:08 +02:00 |
|
Yukihiro Matsumoto
|
98fb528f6f
|
Merge branch 'master' of github.com:mruby/mruby
|
2012-06-02 19:01:58 +09:00 |
|
Yukihiro Matsumoto
|
231cb59566
|
Array#reverse revisited
|
2012-06-02 19:01:00 +09:00 |
|