summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-08-13Simplify `mruby-inline-struct` tests.Yukihiro "Matz" Matsumoto
`gcc -O3` raises error on truncation using `snprintf`.
2018-08-13Make `Array.new` to accept both integers and floats.Yukihiro "Matz" Matsumoto
This time we used `Integral` module which is mruby specific.
2018-08-11Merge pull request #4081 from seratch/fix-typoYukihiro "Matz" Matsumoto
Fix misspelling words in comments, docs
2018-08-11Fix misspelling words in commentsKazuhiro Sera
2018-08-10Added push() after OP_SENDUkrainskiy Sergey
2018-08-09Small fixUkrainskiy Sergey
2018-08-09Fix weird behavior of the NODE_NEGATEUkrainskiy Sergey
2018-08-07Fixed the corner case bug in `String#{gsub!,sub!}`.Yukihiro "Matz" Matsumoto
`"a".sub!("a", "a")` should not return `nil`.
2018-08-06irep is released when Fiber is terminatedpyama86
2018-08-06Reimplement `Hash#compact!` to conform the standard behavior.Yukihiro "Matz" Matsumoto
`Hash#compact!` should return `nil` if the receiver does not change.
2018-08-06Rename ambiguous function names.Yukihiro "Matz" Matsumoto
`mrb_iv_p` -> `mrb_iv_name_sym_p` `mrb_iv_check` -> `mrb_iv_name_sym_check`
2018-08-06Remove utility functions: `mrb_vm_iv_{get,set}`.Yukihiro "Matz" Matsumoto
2018-08-06Revert 04dbbff.Yukihiro "Matz" Matsumoto
Use segment list for instance variable again to reduce memory.
2018-08-06Small refactoring.Yukihiro "Matz" Matsumoto
The macro `RCLASS_SUPER`, `RCLASS_IV_TBL` and `RCLASS_M_TBL` are removed from `include/mruby/class.h`.
2018-08-06Small refactoring of `flodivmod()`.Yukihiro "Matz" Matsumoto
2018-08-06Merge pull request #4077 from dearblue/fix-wordboxing-symbolYukihiro "Matz" Matsumoto
Fix to sizeof(mrb_value) is 4 bytes with MRB_WORD_BOXING on 32-bit mode
2018-08-05Fix mrb_value size with MRB_WORD_BOXING on 32-bit modedearblue
2018-08-01Simply use `snprintf` instead of custom `fmt_fp`,Yukihiro "Matz" Matsumoto
Unless `MRB_DISABLE_STDIO` is set. `snprintf` is used anyway if mruby is configured to use `stdio`. This change reduces 8KB of program size on the Linux box.
2018-08-01Remove `nregs` member from `mrb_callinfo`.Yukihiro "Matz" Matsumoto
This means reducing one word per a call frame.
2018-08-01Should update `ci->env` to share the environment; fix #4073Yukihiro "Matz" Matsumoto
2018-08-01Merge pull request #4074 from znz/patch-1Yukihiro "Matz" Matsumoto
Remove unmatched quotation mark
2018-07-31Remove unmatched quotation markKazuhiro NISHIYAMA
2018-07-31Bytecode support for `mrdb`.Yukihiro "Matz" Matsumoto
2018-07-31Add test case corresponding to 53e2723.Yukihiro "Matz" Matsumoto
2018-07-31Reorganize flags values for classes; fix #3975Yukihiro "Matz" Matsumoto
Renamed flag macro names as well: `MRB_FLAG_IS_FROZEN` -> `MRB_FL_OBJ_FROZEN` `MRB_FLAG_IS_PREPENDED` -> `MRB_FL_CLASS_IS_PREPENDED` `MRB_FLAG_IS_ORIGIN` -> `MRB_FL_CLASS_IS_ORIGIN` `MRB_FLAG_IS_INHERITED` -> `MRB_FL_CLASS_IS_INHERITED`
2018-07-31Check size of the integer multiply before actual overflow; fix #4062Yukihiro "Matz" Matsumoto
2018-07-31Describe the difference of the keyword argument behavior.Yukihiro "Matz" Matsumoto
The implementation of keyword arguments is heavily rely on the prototype made by @take-cheeze in #3629.
2018-07-31Removed merge hiccups in `doc/opcode.md`.Yukihiro "Matz" Matsumoto
2018-07-31Removed unused instruction: `OP_KDICT`.Yukihiro "Matz" Matsumoto
2018-07-31Fixed a small bug in keyword argument parsing.Yukihiro "Matz" Matsumoto
def m(a=1,**k) p [a,k] end m(a: 1)
2018-07-30Keyword argument implemented.Yukihiro "Matz" Matsumoto
2018-07-30New bytecode implementation of mruby VM.Yukihiro "Matz" Matsumoto
2018-07-23Kernel#instance_eval should define singleton methods; fix #4069Yukihiro "Matz" Matsumoto
2018-07-21Merge pull request #4072 from katzer/fix/unsupported_servnameTomoyuki Sahara
[mruby-socket] Network services might not be available
2018-07-21Network services might not be availableSebastián Katzer
2018-07-11Merge pull request #4068 from yurie/mrbcYukihiro "Matz" Matsumoto
add mrbc option `--remove-lv`
2018-07-11move declaration of mrb_irep_remove_lv from dump.h to irep.hyuri
2018-07-10move mrb_irep_remove_lv to codegen.c in mruby-compileryuri
2018-07-10add mrbc option `--remove-lv`yuri
* refactor: move `irep_remove_lv` from `mruby-bin-strip` gem to src/dump and rename to `mrb_irep_remove_lv` * add: mrbc option `--remove-lv` to remove LVAR section
2018-07-09Merge pull request #4067 from katzer/patch-1Yukihiro "Matz" Matsumoto
[mruby-test] Fix task name is not necessarily a valid path
2018-07-08Fix task name is not necessarily a valid pathSebastián Katzer
Errno::ENOENT: No such file or directory @ dir_s_mkdir - mruby:Z:/Documents
2018-07-04Merge pull request #4066 from duangsuse/masterYukihiro "Matz" Matsumoto
Added ~/Android/Sdk/ndk-bundle as default NDK home
2018-07-04Add ~/Android/Sdk/ndk-bundle as default NDK homeduangsuse
2018-07-02Merge pull request #4064 from mame/mrb_without_float-for-mruby-ioYukihiro "Matz" Matsumoto
Support MRB_WITHOUT_FLOAT to mruby-io
2018-07-02Support MRB_WITHOUT_FLOAT to mruby-ioYusuke Endoh
2018-06-28Use `mrb_raise()` instead of `mrb_raisef()`; ref #4062Yukihiro "Matz" Matsumoto
2018-06-28Merge pull request #4063 from graywolf/patch-1Yukihiro "Matz" Matsumoto
Add information about Kernel#binding
2018-06-27Add information about Kernel#bindingW
2018-06-27Add negative check in `mrb_str_resize`; fix #4062Yukihiro "Matz" Matsumoto
2018-06-22initialize a local variable to avoid warningYukihiro "Matz" Matsumoto