summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2013-11-22Make mrb->arena variable sized. Use MRB_GC_FIXED_ARENA for old behavior.Yukihiro "Matz" Matsumoto
You will not see "arena overflow" error anymore, but I encourage gem authors to check your gems with MRB_GC_FIXED_ARENA to avoid memory broat.
2013-11-20rename API mrb_str_dup_static() -> mrb_str_pool()Yukihiro "Matz" Matsumoto
2013-11-20need to free pooled string bodies as wellYukihiro "Matz" Matsumoto
2013-11-20mrb format should be portable among configurations (e.g. MRB_NAN_BOXING)Yukihiro "Matz" Matsumoto
2013-11-20resolve conflictYukihiro "Matz" Matsumoto
2013-11-19irep->pool struct pool -> mrb_valueMiura Hideki
2013-11-19Fixed so that it builds with VS2013. VLA:s are not supported, because of its ↵Per Lundberg
strict C89 world view.
2013-11-18Merge pull request #1584 from cremno/rename-mrb_exc_new3Yukihiro "Matz" Matsumoto
renamed mrb_exc_new3 to mrb_exc_new_str
2013-11-18Merge pull request #1585 from cremno/codegen-fixesYukihiro "Matz" Matsumoto
codegen_malloc/realloc: static + simple mem alloc
2013-11-19clear ci->err after const set; revert 5b51b1; ref #1583Yukihiro "Matz" Matsumoto
2013-11-18renamed mrb_exc_new3 to mrb_exc_new_strcremno
- more descriptive name (there's no mrb_exc_new2) - no wrapper (macro/static inline function) for backwards compatibility because nothing besides mruby itself seems to be calling this function: <http://mruby-code-search.ongaeshi.me/home?query=mrb_exc_new3>
2013-11-18codegen_malloc/realloc: static + simple mem alloccremno
- there's no reason for both to have external linkage - use simple versions of memory allocation functions which are returning NULL instead of longjmp-ing, so codegen_error will be called to cleanup.
2013-11-18ci->err may be out of boud; close #1583Yukihiro "Matz" Matsumoto
2013-11-18write_debug_record should dump info recursively; close #1581Yukihiro "Matz" Matsumoto
2013-11-18check upper callinfo to call ensure block; close #1579Yukihiro "Matz" Matsumoto
2013-11-18Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2013-11-17fix warning: "implicit conversion from enumeration type 'enum mrb_vtype' to ↵takahashim
different enumeration type 'enum irep_pool_type' [-Wenum-conversion]"
2013-11-15wrong size of filenames bufferYukihiro "Matz" Matsumoto
2013-11-15should output debug info for child ireps; close #1575Yukihiro "Matz" Matsumoto
2013-11-15should not free buffer that is still accessedYukihiro "Matz" Matsumoto
2013-11-15wrong size of filenames bufferYukihiro "Matz" Matsumoto
2013-11-15add new function mrb_load_irep_file_cxt() and simplifies mruby.cYukihiro "Matz" Matsumoto
2013-11-15enum mrb_vtype varies on compile time configuration, namely MRB_NAN_BOXINGYukihiro "Matz" Matsumoto
2013-11-15remove warning on NAN_BOXINGYukihiro "Matz" Matsumoto
2013-11-14fix length check in read_section_debug(); fix #1572fleuria
2013-11-14remove possible free-after-realloc problem; close #1570Yukihiro "Matz" Matsumoto
2013-11-14remove unnecessary jumpYukihiro "Matz" Matsumoto
2013-11-13Changed a variable declaration to top of blockbggd
2013-11-13load_exec() no longer return fixnum value for no_exec; should close #1569Yukihiro "Matz" Matsumoto
2013-11-13pacify some warnings on OpenBSDYukihiro "Matz" Matsumoto
2013-11-13fixnum in irep->pool may overflowYukihiro "Matz" Matsumoto
2013-11-10cancel #1565 since it breaks mirb; instead add special treatment to heredocsYukihiro "Matz" Matsumoto
2013-11-10check for corrupted mrb file dataYukihiro "Matz" Matsumoto
2013-11-09Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2013-11-09Change supress to suppressCarson McDonald
2013-11-08Merge pull request #1565 from Fleurer/fix1564Yukihiro "Matz" Matsumoto
nextc(): always return an '\n' at end of input
2013-11-09protect returning irep (in proc) from GCYukihiro "Matz" Matsumoto
2013-11-08allow irep to be GCedYukihiro "Matz" Matsumoto
2013-11-08nextc(): always return an '\n' at end of inputfleuria
fix #1564
2013-11-07type check before pool scanYukihiro "Matz" Matsumoto
2013-11-07call_iseq will never be NULLYukihiro "Matz" Matsumoto
2013-11-07wrong return value from read_lineno_record()Yukihiro "Matz" Matsumoto
2013-11-07create Proc object before releasing memory poolYukihiro "Matz" Matsumoto
2013-11-07forgot to free irep->repsYukihiro "Matz" Matsumoto
2013-11-07irep->pool not to be GCedYukihiro "Matz" Matsumoto
2013-11-07modified to use irep->reps to reference child ireps. preparation forYukihiro "Matz" Matsumoto
removing irep array from mrb_state. note that instructions OP_LAMBDA, OP_EXEC and OP_EPUSH are incompatible, and dumped mrb format has changed.
2013-11-05resolved conflicts and updated to latest return value change of ↵Yukihiro "Matz" Matsumoto
mrb_generate_code()
2013-11-04add Fiber.currentYukihiro "Matz" Matsumoto
2013-11-03refactor mrb_context_run()fleuria
2013-11-03introduce mrb_context_run()fleuria
currently there are two scnenario to call mrb_run(), the first is calling a proc, in this case mrb should create a new environment, discarding all the variables except args, reciever and block. the second is calling the newly generated irep, like in mirb. in this case, the variables should be kept after mrb_run(). so we introduce mrb_context_run() to handle this seperately.