| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-11-17 | DISABLE_STDIO/ENABLE_DEBUG macros to rename; close #3014 | Yukihiro "Matz" Matsumoto | |
| changes: * rename DISABLE_STDIO -> MRB_DISABLE_STDIO * rename ENABLE_DEBUG -> MRB_ENABLE_DEBUG_HOOK * no more opposite macro definitions (e.g. ENABLE_STDIO, DISABLE_DEBUG). * rewrite above macro references throughout the code. * update documents | |||
| 2015-09-03 | remove trailing spaces from bc9c47d5 | Yukihiro "Matz" Matsumoto | |
| 2015-04-30 | Merge pull request #2778 from cremno/fix-load-size-error-macros | Yukihiro "Matz" Matsumoto | |
| src/load.c: fix size error macros | |||
| 2015-04-29 | always define SIZE_ERROR_MUL() macro | cremno | |
| Previously there wasn't a way to trigger the useful definition, but it is needed and that in every case to check for integer overflow due to multiplication and faulty/modified binary files. Also change existing code to a calloc()-like parameter order. | |||
| 2015-04-29 | remove SIZE_ERROR() macro | cremno | |
| It's only used once and in that case it isn't necessary anyway, since size_t must be at least 32 bits wide and the max. length of a filename is UINT16_MAX. | |||
| 2015-04-29 | add more descriptive error message and fail earlier | cremno | |
| 2015-04-28 | fix possible unsigned integer underflow | cremno | |
| buf_size has to be greater than header_size, otherwise subtracting header_size from buf_size will cause an integer underflow. Being equal to header_size is fine, however useless, so quit early. | |||
| 2015-04-28 | unify error handling | cremno | |
| Convert mrb_read_irep_file() to use goto like read_section_lv() and read_section_debug() already do. | |||
| 2015-02-02 | allow endian specification of mrb files by `mrbc -e/-E` | Yukihiro "Matz" Matsumoto | |
| `mruby -b` now accepts both big/little endian mrb (compiled binary) files. `mrbc` generates mrb files in big endian for .mrb files and in native endian for C files (with -B option specified) by default. If you are cross compiling, you need to specify target endian by -e/-E options if it is different from host endian. | |||
| 2014-11-25 | remove unnecessary _WIN32 preprocessor check | cremno | |
| SIZE_MAX < UINT32_MAX is false on Win32 / Win64. | |||
| 2014-11-04 | avoid using rewind(3) to load mrb files | Yukihiro "Matz" Matsumoto | |
| 2014-11-04 | read whole mrb file at once to calculate correct padding offset; ref #2630 | Yukihiro "Matz" Matsumoto | |
| 2014-11-04 | Fix misaligned access when reading irep; close #2630 | Yukihiro "Matz" Matsumoto | |
| Add padding bytes before iseq block that may be used as mrb_code[]. Note that dumped mrb format has changed. Based on a patch from kimu_shu <[email protected]> | |||
| 2014-10-01 | load.c to use mrb_ro_data_p() | Yukihiro "Matz" Matsumoto | |
| 2014-09-05 | support native byteorder in mrb files; ref 3492be | Yukihiro "Matz" Matsumoto | |
| 2014-09-05 | condition refactoring in load.c | Yukihiro "Matz" Matsumoto | |
| 2014-09-04 | fix strict aliasing rule violation | cremno | |
| 2014-09-04 | wrong iseq conversion flag | Yukihiro "Matz" Matsumoto | |
| 2014-09-04 | avoid iseq allocation from static irep binary. it reduces 424KB allocation ↵ | Yukihiro "Matz" Matsumoto | |
| for mrbtest | |||
| 2014-08-19 | Fix error hanldlings in read_irep_record(). | Tatsuhiko Kubo | |
| read_irep_record_1() and read_irep_record() may return NULL. | |||
| 2014-08-18 | refactor mruby method(fix indent. remove temporary value, duplicate procedure) | kkkkkt | |
| 2014-08-04 | Merge pull request #2496 from cremno/remove-unnecessary-char_bit-check | Yukihiro "Matz" Matsumoto | |
| remove unnecessary CHAR_BIT != 8 check | |||
| 2014-08-04 | add MRB_API modifiers to mruby API functions | Yukihiro "Matz" Matsumoto | |
| 2014-08-02 | remove unnecessary CHAR_BIT != 8 check | cremno | |
| mruby uses uint8_t which implies CHAR_BIT == 8. | |||
| 2014-05-21 | Check mrbc_context is null | mimaki | |
| 2014-05-19 | allow NULL (no variable) in lvar section of mrb format; fix #2294 | Yukihiro "Matz" Matsumoto | |
| This fix use UINT16_MAX for NULL symbol tag, that means maximum symbol length is not UINT16_MAX-1. | |||
| 2014-05-18 | Add a space aftre bracket. | yui-knk | |
| 2014-05-14 | resize register number in LVAR section from 32bits to 16bits | Yukihiro "Matz" Matsumoto | |
| 2014-05-14 | Merge branch 'dump_lv' of https://github.com/take-cheeze/mruby into ↵ | Yukihiro "Matz" Matsumoto | |
| take-cheeze-dump_lv | |||
| 2014-05-05 | Refactor read_lineno_record_1() in load.c | Jun Hiroe | |
| 2014-04-29 | Remove `lv_len` and use `nlocals - 1` instead. | take_cheeze | |
| Check that `lv`'s length is always `nlocals - 1`. | |||
| 2014-04-29 | Support local variables information dumping. | take_cheeze | |
| 2014-04-29 | codedump for binary mrb files as well | Yukihiro "Matz" Matsumoto | |
| 2014-04-25 | better integer size assertion suggested by usak | Yukihiro "Matz" Matsumoto | |
| 2014-04-25 | remove -Wsign-compare warnings | Yukihiro "Matz" Matsumoto | |
| 2014-03-26 | Merge pull request #1948 from monaka/pr-remove-unused-null-check | Yukihiro "Matz" Matsumoto | |
| Remove redundant NULL checks. | |||
| 2014-03-26 | Remove redundant NULL checks. | Masaki Muranaka | |
| mrb_malloc causes an exception when memory was empty. | |||
| 2014-03-26 | add new function mrb_toplevel_run to prevent running through C function ↵ | Yukihiro "Matz" Matsumoto | |
| boudaries on exceptions; close #1942 | |||
| 2014-03-19 | remove size_t cast in mrb_assert() since ((size_t)n <= SIZE_MAX) is always true | Yukihiro "Matz" Matsumoto | |
| 2014-03-18 | add a space after C reserved words | Yukihiro "Matz" Matsumoto | |
| 2014-03-15 | symbol length type to be mrb_int | Yukihiro "Matz" Matsumoto | |
| 2014-03-11 | don't use of anonymous unions | take_cheeze | |
| 2014-03-08 | Make type casts safer. | Masaki Muranaka | |
| 2014-03-04 | Use mrb_exc_new_str_lit widely | cubicdaiya | |
| 2014-03-01 | support c++ exception | take_cheeze | |
| 2014-03-01 | use C style comments instead of C++ style comments | cubicdaiya | |
| 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-02 | remove various preprocessor conditionals | cremno | |
| - HAVE_IEEEFP_H is nowhere defined or needed at all - FreeBSD < 4 is unsupported since years - MSVC workaround (around what exactly?) | |||
| 2013-12-25 | use static symbols for debug filename info | Yukihiro "Matz" Matsumoto | |
| 2013-12-25 | zero copy str_new from static allocate irep | Yukihiro "Matz" Matsumoto | |
| 2013-12-25 | zero copy intern from static allocate irep | Yukihiro "Matz" Matsumoto | |
