summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2018-04-18`mrb_io_initialize_copy` should not free existing `fptr`; fix #4005Yukihiro "Matz" Matsumoto
When arguments `copy` and `orig` are the same object.
2018-04-18`mrb_dup()` should fail if `fd` is a negative integer; ref #4005Yukihiro "Matz" Matsumoto
2018-04-18Avoid unnecessary object allocation (addrinfo) in `_accept`; ref #3999Yukihiro "Matz" Matsumoto
2018-04-17`Socket.accept` should have returned `[fd, addr]`; fix #3999Yukihiro "Matz" Matsumoto
2018-04-17Define `SOL_IP` and `SOL_TCP`; ref #3999Yukihiro "Matz" Matsumoto
2018-04-17Fix `use after free in File#initilialize_copy`; fix #4001Yukihiro "Matz" Matsumoto
The bug and the fix were reported by https://hackerone.com/pnoltof
2018-04-13No longer need to insert write barriers for fibers.Yukihiro "Matz" Matsumoto
Those barriers are inserted to fix #3699 but all living fibers are marked from `mark_context()` anyway now.
2018-04-04Fixed test case for mruby ddebugger.mimaki
2018-04-04Fixed illegal memory operation on mruby debugger.mimaki
2018-03-27Refactoring for `Enumerable#each_with_object`ksss
`each_with_object` arity should be 1
2018-03-27Merge pull request #3987 from ksss/enum-lazy-zipYukihiro "Matz" Matsumoto
Reimplement `Enumerable#zip` with Enumerator
2018-03-27Reimplement `Enumerable#zip` with Enumeratorksss
for fix some specs - [passes each element of the result array to a block and return nil if a block is given](https://github.com/ruby/spec/blob/a585ec35d185435e5c11f371ba4ed2a29d8817bd/core/enumerable/zip_spec.rb#L11-L17) - [converts arguments to arrays using #to_ary](https://github.com/ruby/spec/blob/a585ec35d185435e5c11f371ba4ed2a29d8817bd/core/enumerable/zip_spec.rb#L23-L27) - [converts arguments to enums using #to_enum](https://github.com/ruby/spec/blob/a585ec35d185435e5c11f371ba4ed2a29d8817bd/core/enumerable/zip_spec.rb#L29-L34) - [gathers whole arrays as elements when each yields multiple](https://github.com/ruby/spec/blob/a585ec35d185435e5c11f371ba4ed2a29d8817bd/core/enumerable/zip_spec.rb#L36-L39)
2018-03-27Should raise TypeError instead of NoMethodErrorksss
2018-03-27Support block yielding for `Enumerable#zip`ksss
2018-03-26Revert #3984 .Takeshi Watanabe
2018-03-25Merge commit '36d016afd663d34607c843d03371bedb71efa34e'Takeshi Watanabe
2018-03-16`__sort_sub__` is a method defined in `Array`; fix #3970Yukihiro "Matz" Matsumoto
Reorganize `__sort_sub__` arguments.
2018-03-16Merge pull request #3957 from take-cheeze/fix_io_readYukihiro "Matz" Matsumoto
Pass same mode parameter to `IO.sysopen` and `IO.open` in `IO.read`.
2018-03-16Fix tinytypoOkumura Takahiro
2018-03-05Close `mrb_state` before exit.Takeshi Watanabe
2018-03-05Close on exception too.Takeshi Watanabe
2018-03-02Add `mrb_fiber_alive_p` to C API.Yukihiro "Matz" Matsumoto
2018-03-02Round up the `dstlen` value; fix #3949Yukihiro "Matz" Matsumoto
The fix was proposed by https://hackerone.com/aerodudrizzt
2018-02-23Pass same mode parameter to `IO.sysopen` and `IO.open` in `IO.read`.Takeshi Watanabe
2018-02-13Check `sizeof(base64_dec_tab)` in base64 encoding; fix #3947Yukihiro "Matz" Matsumoto
The issue (and the fix) reported by https://hackerone.com/aerodudrizzt
2018-02-13Check negative offset in `pack` method; fix #3944Yukihiro "Matz" Matsumoto
2018-02-13Fixed wrong offset in `pack_x` function; ref #3944Yukihiro "Matz" Matsumoto
2018-02-13Use 'mrb_raise` instead of `mrb_raisef` when no argument given.Yukihiro "Matz" Matsumoto
2018-02-12Resolve conflicts between labels and conditional ternary; fix #3931Yukihiro "Matz" Matsumoto
2018-02-10Need to determine `IS_LABEL_POSSIBLE()` properly.Yukihiro "Matz" Matsumoto
Otherwise, `{"a": 1}` will cause `SyntaxError`.
2018-02-10Check negative `count` in `pack_x` and `unpack_x`; fix #3944Yukihiro "Matz" Matsumoto
2018-02-10Add `mruby-io` and `mruby-pack` to `default.gembox`Yukihiro "Matz" Matsumoto
2018-02-09Check if `mruby-pack` template count overflow; fix #3942Yukihiro "Matz" Matsumoto
2018-02-03Depend mruby-io and mruby-pack in mruby coreMATSUMOTO, Ryosuke
2018-02-02Need `fcntl.h` and `sys/stat.h` as well for `_open`; ref #3938Yukihiro "Matz" Matsumoto
2018-02-02Need to include `io.h` anyway for _WIN32/64; ref #3938Yukihiro "Matz" Matsumoto
2018-01-31include io.h on mingwYasuhiro Matsumoto
2018-01-31Define compatibility only for `_MSC_VER`; ref #3923Yukihiro "Matz" Matsumoto
Suggested by @mattn.
2018-01-31Use mkstemp instead of tempnamksss
2018-01-30Merge pull request #3937 from mattn/file-mtimeYukihiro "Matz" Matsumoto
add File#mtime
2018-01-30add File#mtimeYasuhiro Matsumoto
2018-01-30Merge pull request #3936 from ken-mu/uintYukihiro "Matz" Matsumoto
mruby-time: support time_t is uint
2018-01-29mruby-time: remove ifdef for mktime error handlingken-mu
2018-01-28mruby-time: support time_t is uintken-mu
2018-01-24Merge pull request #3921 from ksss/cloexecYukihiro "Matz" Matsumoto
Should be true for close_on_exec flag
2018-01-24`Time.new(1969,12,31,23,59,59)` may or may not faile; ref #3932Yukihiro "Matz" Matsumoto
On some platform and timezone it is a valid time spec.
2018-01-21mruby-time: remove test case less than Dec 31 23:59:58 1969ken-mu
2018-01-20mruby-time: Fix mruby specific timegm() cannot return minusken-mu
2018-01-16Limit size of iseq buffer; fix #3927Yukihiro "Matz" Matsumoto
2018-01-16Allow `-> do rescue; end` as well as `proc do rescue; end` [Ruby2.6]Yukihiro "Matz" Matsumoto