Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [DOC] Mention Windows text mode EOF marker interpretation | Alan Wu | 2022-08-05 | 1 | -2/+4 |
| | | | | | | | | | I don't think this is super well known so it's worth mentioning as it can be a pitfall. See: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-wfopen?view=msvc-170 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> | ||||
* | [DOC] Clarify that `IO.read` uses text mode | Alan Wu | 2022-08-05 | 1 | -1/+5 |
| | | | | | | See: https://bugs.ruby-lang.org/issues/18882#note-13 [Bug #18882] | ||||
* | [DOC] Cross references for `ARGF` | Nobuyoshi Nakada | 2022-07-28 | 1 | -61/+61 |
| | |||||
* | Fix documentation for ARGF.inplace_mode{,=} | Jeremy Evans | 2022-07-27 | 1 | -7/+8 |
| | | | | | | | The value affects the name of the backup file created, not the name of the file modified (as the file is modified in place). Fixes [Bug #18920] | ||||
* | Adjust styles [ci skip] | Nobuyoshi Nakada | 2022-07-27 | 1 | -2/+4 |
| | |||||
* | [DOC] IO#eof | Kaíque Kandy Koga | 2022-07-23 | 1 | -1/+1 |
| | | | | Use IO#eof? instead of I#eof? | ||||
* | Do not chomp trailing line separator IO#each with nil separator and chomp | Jeremy Evans | 2022-07-21 | 1 | -1/+0 |
| | | | | | | | nil separator means no sepator, so chomp should not remove a line separator. Partially Fixes [Bug #18770] | ||||
* | Expand tabs [ci skip] | Takashi Kokubun | 2022-07-21 | 1 | -1813/+1813 |
| | | | | [Misc #18891] | ||||
* | Revert "Do not chomp trailing line separator IO#each with nil separator and ↵ | Jeremy Evans | 2022-07-21 | 1 | -0/+1 |
| | | | | | | | | chomp" This reverts commit 04f86ad0b5d2fe4711ff300d855228a6aed55f33. This is causing CI issues, reverting for now. | ||||
* | Do not chomp trailing line separator IO#each with nil separator and chomp | Jeremy Evans | 2022-07-21 | 1 | -1/+0 |
| | | | | | | | nil separator means no sepator, so chomp should not remove a line separator. Partially Fixes [Bug #18770] | ||||
* | [DOC] Fix documentation for ARGF#readlines | Peter Zhu | 2022-07-15 | 1 | -4/+4 |
| | | | | [Bug #18909] | ||||
* | [DOC] Fix typo in documentation for IO#readlines | Peter Zhu | 2022-07-14 | 1 | -1/+1 |
| | |||||
* | [Bug #18892] Reset `ARGF.lineno` after reading shebang | Nobuyoshi Nakada | 2022-07-07 | 1 | -0/+6 |
| | |||||
* | [Bug #18898] Fallback invalid external encoding to the default | Nobuyoshi Nakada | 2022-07-06 | 1 | -1/+3 |
| | |||||
* | Copy `IO#wait*` methods from `io-wait` gem to `io.c`. | Samuel Williams | 2022-06-25 | 1 | -0/+217 |
| | |||||
* | Allow to just warn as bool expected, without an exception | Nobuyoshi Nakada | 2022-06-20 | 1 | -2/+2 |
| | |||||
* | Using is_ascii_string to check encoding | S-H-GAMELINKS | 2022-06-17 | 1 | -1/+1 |
| | |||||
* | Handle case where write result is zero. | Samuel Williams | 2022-06-13 | 1 | -0/+6 |
| | |||||
* | Stop ignoring 4th positional argument to IO.#{foreach,readlines} | Jeremy Evans | 2022-06-09 | 1 | -2/+2 |
| | | | | Fixes [Bug #18771] | ||||
* | Make `Kernel#p` completely uninterruptible. | Samuel Williams | 2022-05-28 | 1 | -3/+3 |
| | |||||
* | Tidy up usage of write_lock. | Samuel Williams | 2022-05-28 | 1 | -68/+17 |
| | |||||
* | Improve handling of zero length writes. | Samuel Williams | 2022-05-28 | 1 | -12/+14 |
| | |||||
* | Improve consistency of `io_binwritev_internal` implementaiton. | Samuel Williams | 2022-05-28 | 1 | -5/+3 |
| | |||||
* | Improve error handling in `finish_writeconv`. | Samuel Williams | 2022-05-28 | 1 | -11/+12 |
| | |||||
* | Better handling of `error`. | Samuel Williams | 2022-05-28 | 1 | -13/+20 |
| | |||||
* | Always allocate write_lock | machty | 2022-05-28 | 1 | -0/+3 |
| | |||||
* | Make `io_binwritev` atomic. | Samuel Williams | 2022-05-28 | 1 | -62/+83 |
| | |||||
* | Make `io_binwrite` atomic. | Samuel Williams | 2022-05-28 | 1 | -88/+124 |
| | |||||
* | Fix out of bounds read. | Samuel Williams | 2022-05-25 | 1 | -2/+1 |
| | |||||
* | [DOC] Add a note to clarify binary flags to `IO.new` | David Rodríguez | 2022-05-20 | 1 | -1/+7 |
| | | | | Try to make it more clear that the `File::BINARY` integer flag, and the `b` string suffix are not equivalent. | ||||
* | Link from printf methods to format spec doc (#5886) | Burdette Lamar | 2022-05-05 | 1 | -6/+12 |
| | |||||
* | Fix ARGF#lineno to return Integer as documented | Jean Boussier | 2022-04-25 | 1 | -1/+1 |
| | | | | [Bug #18753] | ||||
* | [ci skip] Fix docs | Peter Zhu | 2022-04-13 | 1 | -1/+1 |
| | |||||
* | Fix some RDoc links (#5778) | Burdette Lamar | 2022-04-08 | 1 | -9/+10 |
| | |||||
* | [DOC] Fix linux kernel commit links | S-H-GAMELINKS | 2022-04-07 | 1 | -4/+4 |
| | |||||
* | [DOC] Enhanced RDoc for String (#5751) | Burdette Lamar | 2022-04-02 | 1 | -11/+11 |
| | | | | | | 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). | ||||
* | [DOC] Fix broken links to encodings.rdoc | Nobuyoshi Nakada | 2022-04-02 | 1 | -11/+11 |
| | | | | | Also prefers class name based references than file name based references. | ||||
* | Prefix ccan headers (#4568) | Nobuyoshi Nakada | 2022-03-30 | 1 | -5/+5 |
| | | | | | | | | | | | | | * 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> | ||||
* | [DOC] Fix formatting for What's Here in IO (#5719) | Burdette Lamar | 2022-03-25 | 1 | -99/+99 |
| | | | | | | | * 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 | ||||
* | Close files in examples in io.c (#5615) | Burdette Lamar | 2022-03-01 | 1 | -0/+65 |
| | |||||
* | [DOC] Enhanced RDoc for some encoding methods (#5598) | Burdette Lamar | 2022-02-25 | 1 | -0/+7 |
| | | | | | | | | | | | | | | In String, treats: #b #scrub #scrub! #unicode_normalize #unicode_normalize! #encode #encode! Also adds a note to IO.new (suggested by @jeremyevans). | ||||
* | Enhanced RDoc for io.c (#5573) | Burdette Lamar | 2022-02-18 | 1 | -61/+81 |
| | | | | | Links to options doc added/improved; in particular, new links to new section "Encoding Options" in encoding.rdoc. Minor inconsistencies ironed out. | ||||
* | Enhanced RDoc concerning command injection (#5537) | Burdette Lamar | 2022-02-18 | 1 | -25/+46 |
| | | | | | | | | | | | | | | | | Clarifies security vulnerabilities for commands. Treats: Kernel.system Kernel.` (backtick) IO.popen IO.read IO.write IO.binread IO.binwrite IO.readlines IO.foreach | ||||
* | [DOC] Simplify operator method references | Nobuyoshi Nakada | 2022-02-12 | 1 | -1/+1 |
| | |||||
* | [DOC] Replace with IO@Modes | Peter Zhu | 2022-02-07 | 1 | -5/+5 |
| | |||||
* | [DOC] Remove extra period | Peter Zhu | 2022-02-07 | 1 | -1/+1 |
| | |||||
* | [DOC] Remove extra closing curly bracket | Peter Zhu | 2022-02-07 | 1 | -1/+1 |
| | |||||
* | [DOC] Use RDoc link style for links in the same class/module | Peter Zhu | 2022-02-07 | 1 | -63/+63 |
| | | | | | | | | | | 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 | ||||
* | [DOC] Use RDoc link style for links to other classes/modules | Peter Zhu | 2022-02-07 | 1 | -7/+7 |
| | | | | | | | | | | 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 | ||||
* | [DOC] Fix links in documentation for File and IO | Peter Zhu | 2022-02-07 | 1 | -4/+4 |
| | | | | Fixes some typos and dead links. |