| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Adds to doc for String.new, also making it compliant with documentation_guide.rdoc.
Fixes some broken links in io.c (that I failed to correct yesterday).
|
|
|
|
|
| |
Also prefers class name based references than file name based
references.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Prefixed ccan headers
* Remove unprefixed names in ccan/build_assert
* Remove unprefixed names in ccan/check_type
* Remove unprefixed names in ccan/container_of
* Remove unprefixed names in ccan/list
Co-authored-by: Samuel Williams <samuel.williams@oriontransfer.co.nz>
|
|
|
|
|
|
|
| |
* Fix formatting for What's Here in IO
* Repair formatting in What's Heres in numeric.c
* Fix formatting for What's Here in IO
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In String, treats:
#b
#scrub
#scrub!
#unicode_normalize
#unicode_normalize!
#encode
#encode!
Also adds a note to IO.new (suggested by @jeremyevans).
|
|
|
|
|
| |
Links to options doc added/improved; in particular, new links to new section "Encoding Options" in encoding.rdoc. Minor inconsistencies ironed out.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clarifies security vulnerabilities for commands.
Treats:
Kernel.system
Kernel.` (backtick)
IO.popen
IO.read
IO.write
IO.binread
IO.binwrite
IO.readlines
IO.foreach
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
I used this regex:
(?<=\[)#(?:class|module)-([A-Za-z]+)-label-([A-Za-z0-9\-\+]+)
And performed a global find & replace for this:
rdoc-ref:$1@$2
|
|
|
|
|
|
|
|
|
|
| |
I used this regex:
([A-Za-z]+)\.html#(?:class|module)-[A-Za-z]+-label-([A-Za-z0-9\-\+]+)
And performed a global find & replace for this:
rdoc-ref:$1@$2
|
|
|
|
| |
Fixes some typos and dead links.
|
|
|
| |
Changes parameter name from simple opts to open_opts or enc_opts when appropriate; leaves the name unchanged when more than one kind of option is allowed.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
IO.binread (abbreviated to be like IO.binwrite).
IO.write
IO.binwrite
IO.copystream
IO#external_encoding
IO#internal_encoding
IO#set_encoding
|
|
|
|
|
|
|
|
|
| |
Treats:
IO.foreach
IO.readlines
IO.read
IO.binread
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
Kernel#readline
Kernel#readlines
Kernel#`cmd`
IO#advise
IO.select
IO#ioctl
IO#fcntl
Kernel#syscall
IO.pipe
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
IO#reopen
IO#printf
Kernel#printf
IO#print
Kernel#print
IO#putc
IO.new
IO#set_encoding_by_bom
IO.for_fd
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treated:
IO#open
IO#sysopen
#open
IO#putc
IO#puts
#p
Kernel#display
|
|
|
|
|
|
|
|
| |
Treats:
File introduction
File.open
File.new
|
|
|
| |
* Enhanced RDoc for IO.popen
|
|
|
|
|
|
|
|
|
| |
Treats:
#pread
#pwrite
#binmode
#binmode?
|
|
|
|
|
|
|
|
| |
Treats:
#sysseek
#syswrite
#sysread
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revises much of the introductory material.
Also treats:
#close_on_exec
#close
#closed?
#close_read
#close_write
|
| |
|
|
|
|
|
|
|
|
| |
Treats:
#ungetc
#isatty
#close_on_exec?
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#getc
#readchar
#getbyte
#readbyte
#ungetbyte
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#lineno
#lineno=
#readline
#readlines
#each_line
#each_byte
#each_char
#each_codepoint
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds sections to class RDoc:
Lines
Line Separator
Line Limit
Line Number
Revises example text file t.txt to:
Include paragraphs (separated by double line separator).
Avoid being too long.
Revises examples that use the changed example file.
There are several other methods that will point to the added sections.
|
| |
|
|
|
|
|
| |
* Prefer to use RTEST when checking result of `rb_io_wait`.
* Consistently use false for signifying no events ready.
|
| |
|
|
|
|
| |
implementation. (#5340)
|
|
|
| |
Treats #gets.
|
|
|
|
|
|
|
| |
Treats:
#readpartial
#read
|
|
|
|
| |
In `IO#readpartial` and `IO#read_nonblock`, as well as `IO#read`.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treated:
#sync
#sync=
#fsync
#fdatasync
#fileno
#pid
#inspect
#to_io
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treated:
::try_convert
#write
#<<
#flush
#tell
#seek
#pos=
#rewind
#eof
|
|
|
| |
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
| |
|
|
|
|
|
| |
`fcopyfile` appends `src` to `to` and then truncates `to` to it's
original size.
|
|
|
|
|
| |
On Windows, as the input from console is encoded in the active
code page, convert the input to the internal encoding.
|
| |
|