Daniel Bovensiepen
|
c9caea64c8
|
Singleton raises TypeError on #new
|
2013-06-09 11:21:51 +08:00 |
|
Yukihiro "Matz" Matsumoto
|
16424a14dc
|
Merge pull request #1278 from monaka/pr-calloc-improvement
Check parameters strictly.
|
2013-06-11 00:25:50 -07:00 |
|
Masaki Muranaka
|
97b9caf892
|
Check parameters strictly.
calloc in C99 is expected to return NULL when nelem * len == 0.
|
2013-06-11 16:09:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ae288fe78d
|
add assertion that check sizeof(void*) should be 4 bytes when MRB_NAN_BOXING is in use
|
2013-06-11 12:43:42 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
20ef86bea0
|
Merge pull request #1276 from h2so5/replace-isupper-msvc
Replace isupper with a macro in msvc
|
2013-06-09 15:55:17 -07:00 |
|
h2so5
|
b543046070
|
Use casting instead of a macro
|
2013-06-10 07:17:46 +09:00 |
|
h2so5
|
f8df722e92
|
Replace isupper with a macro in msvc
|
2013-06-09 23:05:35 +09:00 |
|
Carson McDonald
|
cf0fbcd0ee
|
Remove incorrect removal of iv
|
2013-06-09 07:50:07 -04:00 |
|
Carson McDonald
|
c75bfc93a3
|
Raise a NameError when symbol isn't found.
|
2013-06-08 10:43:34 -04:00 |
|
Carson McDonald
|
ab4ecac07b
|
bob doesn't have new so don't undef
|
2013-06-08 10:42:18 -04:00 |
|
Carson McDonald
|
5fbceaf4a1
|
new is removed from Integer so doesn't need to be removed again in Fixnum
|
2013-06-08 10:38:09 -04:00 |
|
Yukihiro "Matz" Matsumoto
|
7b8ae1b8b6
|
Merge branch 'master' of github.com:mruby/mruby
|
2013-05-26 21:27:16 +09:00 |
|
kimu_shu
|
e720782f81
|
Add MRB_WORD_BOXING mode (represent mrb_value as a word)
|
2013-05-26 10:09:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6557ee938a
|
mruby error messages should be directed to stderr
|
2013-05-26 02:13:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d78f23d28b
|
fix fiber GC problem
|
2013-05-26 00:37:44 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
aa1cc2360f
|
fixed a bug in initializing post mandatory block parameters
|
2013-05-25 00:45:06 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
97a11305c6
|
fiber do not work on MRB_NAN_BOXING
|
2013-05-24 15:35:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
76ddf86c72
|
manage fiber status (create|running|resumed|terminated)
|
2013-05-23 15:24:31 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
93d710117d
|
should have protected the return value from GC, even when the method is defined in Ruby; close #1263
|
2013-05-23 15:14:27 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2045a35292
|
garbage collect context (fiber) properly
|
2013-05-22 11:05:22 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1cfd3fb9eb
|
remove unnecessary assignment
|
2013-05-21 09:10:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a17fd80eb4
|
error in initializing callinfo stack in cipush(); close #1261
|
2013-05-21 07:49:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
58b25fdcb3
|
avoid unnecessary pool/syms restoration
|
2013-05-20 22:33:25 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5c0b9b703c
|
primary mruby fiber implementation
|
2013-05-20 17:54:07 +09:00 |
|
Carson McDonald
|
163022f276
|
Change fortmat to format.
|
2013-05-19 08:40:04 -04:00 |
|
Julien Ammous
|
8057eb935c
|
removed unused variables / assigns never used
|
2013-05-18 14:13:04 +02:00 |
|
Ryan Scott
|
8161f0f6d7
|
Merge remote-tracking branch 'origin/master'
|
2013-05-18 11:05:09 +10:00 |
|
Ryan Scott
|
4acfadfee1
|
Fixed the each object callback to be more consistent with other callbacks.
|
2013-05-18 10:55:41 +10:00 |
|
Ryan Scott
|
40d63f7740
|
Changed the each_object callback so that a pointer is passed for the object, instead of the struct.
|
2013-05-17 08:02:24 +10:00 |
|
Ryan Scott
|
f62cc5b1ee
|
Changed the object_count so that it only iterates over the RBasic object, not the full RVALUE known by the GC
|
2013-05-17 07:41:13 +10:00 |
|
Ryan Scott
|
222918deae
|
First implementation of ObjectSpace moved outside of gc.c
|
2013-05-17 07:21:33 +10:00 |
|
Yukihiro "Matz" Matsumoto
|
95fb1fd809
|
mrbc to take multiple files, preserving debug information if -g given; close #1243
|
2013-05-14 23:39:56 +09:00 |
|
Carson McDonald
|
87eb57b663
|
Fix off by one issue
|
2013-05-13 11:34:41 -04:00 |
|
Carson McDonald
|
546d1626e3
|
Fix early free of irep->filename
|
2013-05-13 10:15:37 -04:00 |
|
Yukihiro "Matz" Matsumoto
|
077213c5eb
|
forgot to add src/backtrace.c
|
2013-05-13 11:15:08 +09:00 |
|
Ryan Scott
|
a71bf5e3df
|
Change in formatting for os_count_objects to be consistent with other functions.
|
2013-05-12 19:51:51 +10:00 |
|
Ryan Scott
|
279fce05ae
|
ObjectSpace.count_objects was incorrectly checking if an object was already freed. Amended the count_objects test to ensure the correct distinction
|
2013-05-12 19:49:56 +10:00 |
|
Ryan Scott
|
0d4227ac04
|
Implemented ObjectSpace.count_objects to count the number of allocated objects for each type
|
2013-05-12 18:42:21 +10:00 |
|
Yukihiro "Matz" Matsumoto
|
b7a24de377
|
change mrb_bug to get mrb_state and %S formatter
|
2013-05-10 22:11:28 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
fad8b1cefa
|
change mrb_warn to get mrb_state and %S formatter
|
2013-05-10 22:09:02 +09:00 |
|
Keita Obo
|
9887f7cb27
|
Rename parameter names for mrb_yield
|
2013-05-10 00:16:27 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f545d88373
|
fix indentation
|
2013-05-09 23:40:22 +09:00 |
|
Carson McDonald
|
697b09924e
|
Print mrb_value instead of RClass*
|
2013-05-09 08:44:16 -04:00 |
|
Masaki Muranaka
|
c9edc5b02e
|
Remove mrb_hash_lookup() as no one uses it. Use mrb_hash_get instead.
|
2013-05-08 13:33:23 +09:00 |
|
Masaki Muranaka
|
82c891acee
|
Move comments from hash.c to hash.rb.
|
2013-05-08 13:22:35 +09:00 |
|
Masaki Muranaka
|
a46eacb213
|
Move Hash#values_at to mruby-hash-ext gem.
|
2013-05-08 13:22:35 +09:00 |
|
crimsonwoods
|
1dfe52e53d
|
fix typos.
|
2013-05-05 11:28:06 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3d149f6350
|
Merge branch 'master' of github.com:mruby/mruby
|
2013-05-02 10:12:07 +09:00 |
|
h2so5
|
1e5b00e772
|
Remove mrb_class_obj_get
|
2013-05-01 21:10:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a092e41020
|
the receiver should be included in ancestors even when it's a singleton class
|
2013-04-30 00:51:31 +09:00 |
|