| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
https://github.com/ruby/io-console/commit/f84e6abcce
|
|
|
|
|
|
|
|
| |
When `min: 0` is given to `IO#getch` with `time:` option, it is
expected to return nil if timed out, and needed for source code
the compatibility with unixen platforms.
https://github.com/ruby/io-console/commit/a2afbe72bd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed TypeError when IO#getch timed out
`rb_io_wait` returns a bit-flags Integer representing available
events, or Qfalse if timed out. Also the result of `NUM2INT` is
not a `VALUE`.
```
$ ./bin/ruby -v -rio/console -e "p IO.console.getch(intr: true, time: 0.1)"
ruby 3.0.0dev (2020-10-09T20:27:30Z master 5ea2ea74cc) [x64-mingw32]
-e:1:in `getch': no implicit conversion of false into Integer (TypeError)
from -e:1:in `<main>'
```
https://github.com/ruby/io-console/commit/3bdfaf62df
|
|
|
|
|
|
|
| |
* Fixed backward compatibility.
* Added missing `rb_scheduler_timeout` declaration.
https://github.com/ruby/io-console/commit/813806079f
|
|
|
| |
alway -> always
|
|
|
|
|
|
| |
This iterator uses an st_table, but if objects move the references in
the st table won't be updated. This patch just changes the st table to
an identity hash.
|
| |
|
|
|
|
|
| |
This was a workaround for RUBY_ALIGNOF's glitch, which has already been
fixed. See also https://github.com/ruby/ruby/pull/3570
|
| |
|
|
|
|
|
|
|
| |
RDoc says `ObjectSpace.dump(obj, output: :stdout) # => nil`,
but it returns STDOUT since fbba6bd4e3dff7a61965208fecae908f10c4edbe.
I think it is unintentional change.
|
|
|
|
|
| |
* memory_view.c: Use ssize_t for ndim in memory_view
* include/ruby/memory_view.h: Fix the type of item_size argument
|
| |
|
| |
|
|
|
|
|
| |
We have code common to all heap iteration paths in this file. Refactor
such that we keep ASAN checks and flags checks in one place
|
|
|
|
|
| |
Again, this code is walking the heap. Empty slots can be poisoned, so
we need to unpoison before checking the type
|
| |
|
|
|
|
|
| |
ext/objspace iterates over the heap, but some slots in the heap are
poisoned, so we need to take care of that when running with ASAN
|
| |
|
|
|
|
| |
https://github.com/ruby/ruby/runs/1169621878
|
|
|
|
|
|
|
| |
The added test case crashes the interpreter because it makes
ObjectSpace.internal_class_of return the second VALUE slot of an AST
imemo object. The second VALUE slot of `struct rb_ast_struct` is
not a VALUE and not a pointer to a Ruby object.
|
| |
|
|
|
|
| |
https://github.com/ruby/readline-ext/commit/f9783c0739
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add buffer protocol
* Modify for some review comments
* Per-object buffer availability
* Rename to MemoryView from Buffer and make compilable
* Support integral repeat count in memory view format
* Support 'x' for padding bytes
* Add rb_memory_view_parse_item_format
* Check type in rb_memory_view_register
* Update dependencies in common.mk
* Add test of MemoryView
* Add test of rb_memory_view_init_as_byte_array
* Add native size format test
* Add MemoryView test utilities
* Add test of rb_memory_view_fill_contiguous_strides
* Skip spaces in format string
* Support endianness specifiers
* Update documentation
* Support alignment
* Use RUBY_ALIGNOF
* Fix format parser to follow the pack format
* Support the _ modifier
* Parse count specifiers in get_format_size function.
* Use STRUCT_ALIGNOF
* Fix test
* Fix test
* Fix total size for the case with tail padding
* Fix rb_memory_view_get_item_pointer
* Fix rb_memory_view_parse_item_format again
|
|
|
|
| |
https://github.com/flori/json/commit/cb61a00ba8
|
|
|
|
| |
https://github.com/flori/json/commit/6dfa885134
|
|
|
|
|
| |
* Enhanced RDoc for JSON.dump
https://github.com/flori/json/commit/03f1699ec4
|
| |
|
|
|
|
| |
https://github.com/flori/json/commit/f8c0fe2408
|
|
|
|
| |
https://github.com/flori/json/commit/a55c91934e
|
| |
|
|
|
|
| |
https://github.com/flori/json/commit/e4eead665c
|
|
|
|
| |
https://github.com/flori/json/commit/33e64ef255
|
|
|
|
| |
https://github.com/flori/json/commit/20d7be605a
|
|
|
|
|
|
| |
issue #386.
https://github.com/flori/json/commit/0be363c99b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Squashed commit of the following:
commit 26d181059989279a79c433cedcd893b4f52e42ee
Author: Francois Chagnon <francois.chagnon@jadedpixel.com>
Date: Tue Sep 15 21:17:34 2015 +0000
add config options for escape_slash
commit fa282334051b16df91ca097dd7304b46f3bc7719
Author: Francois Chagnon <francois.chagnon@jadedpixel.com>
Date: Mon Feb 9 21:09:33 2015 +0000
add forward slash to escape character
|
| |
|
| |
|
|
|
|
| |
https://github.com/ruby/psych/commit/4e1dd37f09
|
|
|
|
| |
https://github.com/ruby/psych/commit/181a727c90
|
|
|
|
| |
https://github.com/ruby/psych/commit/55a294fcd0
|
|
|
|
|
| |
to version 1.26
https://github.com/ruby/psych/commit/b2802135e7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The only remaining use of this function was to get the internal
message object from an exception's hidden `mesg` instance
variable to allow it to be dumped wiithout converting to a string.
As discussed in #103, this exposes internal implementation details
of CRuby, and ultimately does not provide any real utility to the
user since they can't directly inspect this hidden variable. The
test change here is to reflect CRuby behavior that denies equality
if the internal message objects do not match, as is the case after
the exception has been loaded and now has a simple String value.
The impact to users is that exceptions with special hidden message
objects will convert those objects to String during marshaling
through YAML. I believe this only affects NameError and its
descendants, since users can't set this field directly on their
own exception types.
Fixes #103.
|
|
|
|
| |
C++ compilers are optional. Skip C++ tests when they are absent.
|
|
|
|
|
| |
Check if RUBY_ALIGNOF(double) is the alignment to store a double inside
of a struct.
|
|
|
|
|
|
|
| |
As d387029f39d976565c955377117103499d47ff09 made io/wait
unbuildable with older versions, drop older versions tentatively.
Also the change seems to instroduce behavioral incompatibilities,
may address them or bump up the version later.
|
| |
|