1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
Kenta Murata 890bc2cdde
Buffer protocol proposal (#3261)
* 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
2020-09-25 20:32:02 +09:00
..
-test- Buffer protocol proposal (#3261) 2020-09-25 20:32:02 +09:00
bigdecimal sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
cgi/escape sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
continuation sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
coverage sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
date sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
dbm sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
digest sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
etc sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
fcntl sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
fiber Update dependencies 2019-11-18 23:16:22 +09:00
fiddle sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
gdbm sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
io [ruby/io-wait] update required_ruby_version 2020-09-19 17:47:40 +09:00
json [flori/json] Fix JSON.load_file doc 2020-09-25 17:28:42 +09:00
monitor sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
nkf sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
objspace Parse ObjectSpace.dump_all / dump arguments in Ruby to avoid allocation noise 2020-09-15 09:18:13 -07:00
openssl sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
pathname Optimize Pathname#relative? / absolute? 2020-09-14 14:18:23 -04:00
psych [ruby/psych] Forward keyword arguments in load_file and load_stream 2020-09-25 13:11:33 +09:00
pty sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
racc/cparse sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
rbconfig/sizeof sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
readline sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
ripper Introduce Ractor mechanism for parallel execution 2020-09-03 21:11:06 +09:00
rubyvm Added depend files 2019-07-14 01:31:29 +09:00
socket Add comments for resolv_timeout 2020-09-25 15:39:26 +09:00
stringio [ruby/stringio] Bump version to 0.1.4 2020-08-27 23:55:17 +09:00
strscan Document that StringScanner#matched_size returns size in bytes [ci skip] 2020-09-02 10:41:49 -07:00
syslog Promote syslog to default gems 2020-09-10 20:42:53 +09:00
win32 Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
win32ole win32ole: separate global variable declarations and definitions 2020-05-10 21:37:59 +09:00
zlib [ruby/zlib] Add Zlib::GzipReader.zcat for handling multiple gzip streams in gz file 2020-09-14 17:52:20 +09:00
.document
extmk.rb Configure static extensions only if in charge 2019-11-19 15:11:41 +09:00
Setup Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.atheos Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.nt Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00