summaryrefslogtreecommitdiffhomepage
path: root/src/load.c
AgeCommit message (Collapse)Author
2014-03-26add new function mrb_toplevel_run to prevent running through C function ↵Yukihiro "Matz" Matsumoto
boudaries on exceptions; close #1942
2014-03-19remove size_t cast in mrb_assert() since ((size_t)n <= SIZE_MAX) is always trueYukihiro "Matz" Matsumoto
2014-03-18add a space after C reserved wordsYukihiro "Matz" Matsumoto
2014-03-15symbol length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-11don't use of anonymous unionstake_cheeze
2014-03-08Make type casts safer.Masaki Muranaka
2014-03-04Use mrb_exc_new_str_lit widelycubicdaiya
2014-03-01support c++ exceptiontake_cheeze
2014-03-01use C style comments instead of C++ style commentscubicdaiya
According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines.
2014-01-02remove various preprocessor conditionalscremno
- HAVE_IEEEFP_H is nowhere defined or needed at all - FreeBSD < 4 is unsupported since years - MSVC workaround (around what exactly?)
2013-12-25use static symbols for debug filename infoYukihiro "Matz" Matsumoto
2013-12-25zero copy str_new from static allocate irepYukihiro "Matz" Matsumoto
2013-12-25zero copy intern from static allocate irepYukihiro "Matz" Matsumoto
2013-11-29rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513Yukihiro "Matz" Matsumoto
2013-11-27float objects in pool are objects when MRB_WORD_BOXING is setYukihiro "Matz" Matsumoto
2013-11-26Fix build error for MRB_WORD_BOXINGkyab
2013-11-20rename API mrb_str_dup_static() -> mrb_str_pool()Yukihiro "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-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-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-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-13pacify some warnings on OpenBSDYukihiro "Matz" Matsumoto
2013-11-13fixnum in irep->pool may overflowYukihiro "Matz" Matsumoto
2013-11-10check for corrupted mrb file dataYukihiro "Matz" Matsumoto
2013-11-09protect returning irep (in proc) from GCYukihiro "Matz" Matsumoto
2013-11-07wrong return value from read_lineno_record()Yukihiro "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-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.
2013-09-10Fix checking return value of fread()Akito Mochizuki
2013-09-03MSVC: compilation works again (+minor style fixes)Cremno
2013-09-02don't use RArray in filename table generatingtake_cheeze
2013-09-02declare variable outside fortake_cheeze
2013-09-02support multiple filename in ireptake_cheeze
2013-06-25use mrb_malloc_simple() to allocate crc buffer; close #1302Yukihiro "Matz" Matsumoto
2013-06-25Fix crash on load *mrbkyab
2013-06-22Add fallback for allocate CRC bufferkyab
2013-05-26Add MRB_WORD_BOXING mode (represent mrb_value as a word)kimu_shu
2013-05-13Fix early free of irep->filenameCarson McDonald
2013-05-05fix typos.crimsonwoods
2013-04-26Add void to function parameters. This is for compatibility with C++Masaki Muranaka
2013-04-25Remove redundant whitespaces. Just cosmetic.Masaki Muranaka