Commit Graph

4581 Commits

Author SHA1 Message Date
kyab e9ebd6f87a Fix crash on load *mrb 2013-06-25 02:12:56 +09:00
Yukihiro "Matz" Matsumoto ec9fdd5c4c Merge branch 'master' of github.com:mruby/mruby 2013-06-24 00:41:48 +09:00
Yukihiro "Matz" Matsumoto b01670a3d3 fixed a bug in push back list; close #1298 2013-06-24 00:41:34 +09:00
kyab 31fbfb51db Add fallback for allocate CRC buffer 2013-06-22 04:02:55 +09:00
Masaki Muranaka e4ae05ed9b Cleanup mrb_str_resize(). 2013-06-21 16:06:35 +09:00
cubicdaiya 967c9cff2b make mrb_str_new_cstr DRY
Using str_new eliminates duplicated codes in mrb_str_new_cstr.
2013-06-21 09:53:10 +09:00
kyab cb05763928 Fix compile warning for abort 2013-06-20 18:00:10 +09:00
Daniel Bovensiepen 373122a299 Merge upstream 2013-06-15 03:53:50 +08:00
Daniel Bovensiepen dd6b265b2d Add ISO comments 2013-06-23 18:51:32 +08:00
Daniel Bovensiepen fd6e624ba7 Add ISO Number to Symbol 2013-06-17 04:50:54 +08:00
Daniel Bovensiepen ca937898a7 Add ISO Number to String 2013-06-17 04:50:45 +08:00
Daniel Bovensiepen 80c26d2235 Add ISO Number to Range 2013-06-17 04:50:37 +08:00
Daniel Bovensiepen 3c34eb61cb Add ISO Number to Proc 2013-06-17 04:50:31 +08:00
Daniel Bovensiepen 007faa17a4 Add ISO Number to Numeric, Integer and Float 2013-06-17 04:50:12 +08:00
Daniel Bovensiepen 2c1299d35e Add ISO Number to Kernel 2013-06-17 04:50:03 +08:00
Daniel Bovensiepen 029ed96510 Add ISO Number to Hash 2013-06-17 04:49:56 +08:00
Daniel Bovensiepen b9604819ee Add ISO Number to Enumerable 2013-06-17 04:49:46 +08:00
Daniel Bovensiepen aece7c6c4d Add ISO Number to Comparable 2013-06-17 04:49:27 +08:00
Daniel Bovensiepen 609d063b26 Add ISO Number to Array 2013-06-17 04:48:56 +08:00
Yukihiro "Matz" Matsumoto f3c1048756 fix indent 2013-06-13 09:51:09 +09:00
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