summaryrefslogtreecommitdiffhomepage
path: root/src/dump.c
AgeCommit message (Collapse)Author
2014-03-13add including limits.h.tmash06
Because Android's libc(bionic) defines SIZE_MAX at limits.h.
2014-03-11don't use of anonymous unionstake_cheeze
2014-03-08Make type casts safer.Masaki Muranaka
2014-03-08convert too much from size_t to uint32_t; mrb_sym2name_len() takes size_t*Yukihiro "Matz" Matsumoto
2014-03-07reduce integer type complexity from int/size_t/uint32_t by unifying them to ↵Yukihiro "Matz" Matsumoto
uint32_t; close #1778
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-07remove superfluous includescremno
- reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style)
2014-01-08dump.c: wrong filename table dump for multiple script files; close #1648Yukihiro "Matz" Matsumoto
2013-11-26move debug record size assertion to correct positiontake_cheeze
2013-11-24fix realloc errortake_cheeze
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-18write_debug_record should dump info recursively; close #1581Yukihiro "Matz" Matsumoto
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-15enum mrb_vtype varies on compile time configuration, namely MRB_NAN_BOXINGYukihiro "Matz" Matsumoto
2013-11-13pacify some warnings on OpenBSDYukihiro "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-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-07-03Fix signed/unsigned warning, size_t for start_index was discarded.Carson McDonald
2013-07-01Fix unsigned/signed comparison.Carson McDonald
2013-05-05fix typos.crimsonwoods
2013-04-29remove our own prototype for sprintf(); ref #1223Yukihiro "Matz" Matsumoto
2013-04-29Revert file access mode to 0644.Masaki Muranaka
2013-04-28add extern funcs declaration and casts for cimpiling C++ compilerarton
2013-04-20put spaces after if/whileYukihiro "Matz" Matsumoto
2013-04-09Add validation for C language symbol nameh2so5
2013-04-06stdint header seems required on osx for uint8_tJulien Ammous
2013-03-30Merge pull request #1108 from monaka/pr-cleanup-numeric.c-20130329Yukihiro "Matz" Matsumoto
Cleanup numeric.c
2013-03-30Add null char terminate to each symbol name.Masaki Muranaka
2013-03-29Rename mrb_fix2str() to mrb_fixnum_to_str(). This is for naming consistency.Masaki Muranaka
2013-03-29Remove API mrb_string_value(). There have mrb_str_to_str() in the core. And ↵Masaki Muranaka
mrb_string_value() is no merit to keep using.
2013-03-29Reduce temporary memory allocations. They are redundant.Masaki Muranaka
2013-03-28Add arena guard. It will be exausted when the pool is huge.Masaki Muranaka
2013-03-27Added debug infomation section into .mrb fileYuichiro MASUI
2013-03-27little cosmetic change (delete word Rite); bump dump file version numberYukihiro Matz Matsumoto
2013-03-27resolve conflict from #964Yukihiro Matz Matsumoto
2013-03-14symbol length make size_t from mrb_int; cancel #993 ↵Yukihiro Matz Matsumoto
monaka/pr-cleanup-symbol.c-20130312
2013-03-09Don't use int. It decreases portability. Use size_t as array index and ↵Masaki Muranaka
length. It avoids overflow in the extreme situations.
2013-03-08Don't initialize variables that store result as MRB_DUMP_OK. It possibly ↵Masaki Muranaka
causes bugs on modifications in the future.
2013-03-08Change unsigned char to uint8_tYuichiro MASUI
2013-03-08New mrb format. The detail is in https://github.com/mruby/mruby/issues/944Yuichiro MASUI
2013-02-23Merge pull request #878 from monaka/pr-reduce-sprintfYukihiro "Matz" Matsumoto
Reduce sprintf() calls. Remove mrb_int_to_str() and MRB_INT_FORMAT.