| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-05-09 | Remove byteorder constants; ref 87576b8 | dearblue | |
| The `FLAG_BYTEORDER_NATIVE` and `FLAG_BYTEORDER_NONATIVE` are no longer needed. | |||
| 2020-05-07 | Remove endian information/flags from compiled binary format. | Yukihiro "Matz" Matsumoto | |
| Since `mruby 2.0`, compiled bytecode no longer depends on the endian of the machine. | |||
| 2019-10-17 | delete extern in C | yuri | |
| 2019-09-25 | Rename symbol-to-string functions; close #4684 | Yukihiro "Matz" Matsumoto | |
| * mrb_sym2name -> mrb_sym_name * mrb_sym2name_len -> mrb_sym_name_len * mrb_sym2str -> mrb_sym_str | |||
| 2019-01-11 | Use `%g` instead of `%e` for float representation in dump format | KOBAYASHI Shuji | |
| `%g` use shorter representation than `%e`. | |||
| 2019-01-08 | Fix dump/load float leteral evaluate to infinity | KOBAYASHI Shuji | |
| Example: # example.rb p(2e308) p(-2e308) Good: $ bin/mruby example.rb inf -inf Bad: $ bin/mrbc example.rb $ bin/mruby -b example.mrb 0 -0 Cause: Float infinity representation is `inf` on dump and it is converted by corresponding `String#to_f` on load. Treatment: - Introduce new representations (`i`: +infinity, `I`: -infinity) - Allow old representations (`inf`, `-inf`, `infinity`, `-infinity`) too - Raise error for unknown representations (use corresponding `Kernel#Float`) | |||
| 2018-11-15 | Remove `filename`&`lines` from `mrb_irep` struct. | Yukihiro "Matz" Matsumoto | |
| This patch slightly reduce memory consumption (2% for my test). | |||
| 2018-11-15 | Small renaming refactor in `dump.c` | Yukihiro "Matz" Matsumoto | |
| 2018-11-02 | Suppress warning | take-cheeze | |
| 2018-11-02 | Fix dump and load with endianess | take-cheeze | |
| 2017-10-11 | Add MRB_WITHOUT_FLOAT | YAMAMOTO Masaya | |
| 2017-09-27 | fix: src\dump.c(710): warning C4244: 'function': conversion from 'mrb_int' ↵ | Tomasz Dąbrowski | |
| to 'uint16_t', possible loss of data | |||
| 2017-09-27 | fix: src\dump.c(657): warning C4244: 'function': conversion from 'mrb_int' ↵ | Tomasz Dąbrowski | |
| to 'uint16_t', possible loss of data | |||
| 2017-08-19 | Reduce signed/unsigned warnings in dump.c | Yukihiro "Matz" Matsumoto | |
| 2017-08-12 | Reduce integer type mismatch warnings in VC. | Yukihiro "Matz" Matsumoto | |
| 2017-04-03 | Unify `else` clause style | Yukihiro "Matz" Matsumoto | |
| 2016-11-24 | Add constant export declaration for MRBC output compiled as C++ | Tomasz Dąbrowski | |
| Otherwise, C++ compilers will skip this constant when producing object files. | |||
| 2015-12-22 | fix build on VS2012 | Yasuhiro Matsumoto | |
| 2015-11-27 | include changed from by quotes ("") to by brackets (<>); close #3032 | Yukihiro "Matz" Matsumoto | |
| 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-08-17 | fix irep float dump format string for MRB_USE_FLOAT | cremno | |
| IEC 60559 single format has 6 to 9 significant decimal digits precision. However the printf conversion specifier e (and E, of course) already writes 1 digit - the one before the decimal point - and precision specifies the number of digits to write after the decimal point. | |||
| 2015-07-16 | delete mrb_free()-related non-NULL checks | cremno | |
| No need to optimize since a program only exits once and errors are rare. Also the mruby source code doesn't have these kind of checks elsewhere. The ones in {Time,Random}#initialize are kept because there it actually matters since initialization always happens and re-initialization is unlikely. | |||
| 2015-07-03 | remove unnecessary default case | cremno | |
| 2015-05-28 | remove unnecessary including of <ctype.h> | cremno | |
| Not needed anymore since 85075bef7583edd0a48cfbdfaa632cbdacf78f2c | |||
| 2015-05-15 | let the C compiler validate the identifier | cremno | |
| Some C compilers may allow other characters in identifiers such as $. They may also implement C99's extended identifiers (\u30EB\u30D3\u30FC, ルビー). | |||
| 2015-05-14 | Reenable mrb_dump_irep under DISABLE_STDIO. | Simon Génier | |
| 2015-03-22 | refactor write_pool_block() | cremno | |
| No need to write the same assertion in each case (except the default one). Instead we can assert after the switch statement. | |||
| 2015-02-13 | re-implement mrb_float_to_str() | cremno | |
| The new implementation is backwards incompatible, but I couldn't find any usage outside mruby and I also couldn't think of a different and good name. All ISO C99 printf conversion specifiers for floating point numbers and an optional precision are supported. It is largely based on code from the MIT licensed musl libc (http://www.musl-libc.org/) and its floating point printing is exact (unlike the current code behind Float#to_s). | |||
| 2015-02-02 | Replace int with mrb_bool in dump_bigendian_p func | Jun Hiroe | |
| 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-06 | %zu format is not supported by MSVC | Hiroshi Mimaki | |
| 2014-11-04 | specify alignment specifier for GCC and MSC; 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-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-28 | Fix error handlings for fputs(). | Tatsuhiko Kubo | |
| 2014-08-28 | Fix error handlings for fprintf(). | Tatsuhiko Kubo | |
| 2014-08-27 | Remove discareded NULL checks. | Tatsuhiko Kubo | |
| 2014-07-12 | check the return value of `fwrite` | cremno | |
| 2014-06-13 | Fixed dead increment in 'dump.c' reported by 'clang-analyzer' | Jose Narvaez | |
| 2014-05-22 | remove unnecessary assignment; ref #2301 | Yukihiro "Matz" Matsumoto | |
| 2014-05-21 | Reduce children filenames listing. | take_cheeze | |
| It is executed per each debug filenames in irep to same ireps(children). | |||
| 2014-05-21 | Reduce filename table creation in irep dumping to once. | take_cheeze | |
| 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-15 | Support `LVAR` section removing. | take_cheeze | |
| 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-02 | add namespace prefix to `dump_irep` | cremno | |
| 2014-04-30 | Added dump_irep in header. | Thiago Scalone | |
| 2014-04-29 | Remove `lv_len` and use `nlocals - 1` instead. | take_cheeze | |
| Check that `lv`'s length is always `nlocals - 1`. | |||
