Yukihiro "Matz" Matsumoto
|
26f458baab
|
mruby-io/io.c: implement IO#ungetc in C
|
2022-12-30 13:59:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
99a4c1f703
|
mruby-io/io.c (io_buf): protect @buf from modification
Users may re-assign `@buf` using `instance_variable_set` for example.
|
2022-12-30 13:59:00 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9a6a251460
|
mruby-io/io.c (io_bufread_m): remove unnecessary checks
|
2022-12-30 13:59:00 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
af59e30710
|
mruby-io/io.c: implement IO#pos in C
|
2022-12-30 13:59:00 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d0659b089f
|
mruby-io/io.c: remove wrong ISO section comment
|
2022-12-30 13:58:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d905746218
|
mruby-io/io.c: implement IO#seek in C
|
2022-12-30 13:58:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
14a374c6bc
|
mruby-io/io.c: implement IO#write in C
And now `write` takes multiple string arguments
|
2022-12-30 13:58:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
663d5715bc
|
mruby-io/io.c: new function io_get_write_fd
|
2022-12-30 13:58:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5732948108
|
mruby-io/io.c (io_init): check opt if it's a hash
But `opt` will be ignored anyway in mruby.
|
2022-12-30 13:58:58 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0cdecd2e9e
|
mruby-io/io.c (io_init): remove redundant code
|
2022-12-30 13:58:58 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ef0b43d9a1
|
mruby-io/test/io.rb: specify access mode for IO.{sysopen,open} in tests
|
2022-12-30 13:58:58 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a9330dbc4b
|
Merge pull request #5895 from jbampton/yardopts-add-pages
`.yardopts` add LEGAL, NEWS, TODO.md
|
2022-12-30 13:58:47 +09:00 |
|
John Bampton
|
6fe3e8dae3
|
.yardopts add LEGAL, NEWS, TODO.md
|
2022-12-30 14:05:16 +10:00 |
|
Yukihiro "Matz" Matsumoto
|
69791b1078
|
Merge pull request #5894 from jbampton/use-rubygems-org-links
Use rubygems.org links for yard-mruby and yard-coderay
|
2022-12-30 11:47:55 +09:00 |
|
John Bampton
|
d318e992ea
|
Use rubygems.org links for yard-mruby and yard-coderay
The RubyGems website gives a much better overview of both Gems
A lot more quick links and statistics.
https://rubygems.org/gems/yard-mruby
https://rubygems.org/gems/yard-coderay
|
2022-12-30 12:39:54 +10:00 |
|
Yukihiro "Matz" Matsumoto
|
df35e36682
|
Merge pull request #5893 from jbampton/contributing-building-documentation
Add more building documentation
|
2022-12-30 11:26:53 +09:00 |
|
John Bampton
|
6da82230e8
|
Add more building documentation
|
2022-12-30 11:14:12 +10:00 |
|
Yukihiro "Matz" Matsumoto
|
7fab8275dc
|
Merge pull request #5892 from jbampton/rake-doc-capi-graphviz
rake doc: C API needs both Doxygen and Graphviz
|
2022-12-30 09:15:51 +09:00 |
|
John Bampton
|
e9b69c611d
|
rake doc: C API needs both Doxygen and Graphviz
https://www.doxygen.nl/
https://graphviz.org/download/
|
2022-12-30 10:08:15 +10:00 |
|
Yukihiro "Matz" Matsumoto
|
d437182f79
|
Merge pull request #5891 from jbampton/update-doxyfile
`Doxyfile` add `LEGAL`, `LICENSE`, `NEWS`
|
2022-12-30 08:01:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4d3cc0975a
|
Merge pull request #5887 from rmalizia44/cdata-example
Add cdata example
|
2022-12-30 08:00:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
618d8c6706
|
Merge pull request #5885 from FnControlOption/patch-2
Use `getsegmentdata` instead of deprecated `get_etext`/`get_edata`
|
2022-12-30 07:58:20 +09:00 |
|
fn ⌃ ⌥
|
8c23385f62
|
Add reason for include
|
2022-12-29 08:08:55 -08:00 |
|
John Bampton
|
ee61a1ebfe
|
Doxyfile add LEGAL, LICENSE, NEWS
|
2022-12-30 01:40:34 +10:00 |
|
rmalizia44
|
e062af51f3
|
Add cdata example
Fix trailing-whitespace and tabs
|
2022-12-29 08:36:43 -03:00 |
|
Yukihiro "Matz" Matsumoto
|
9845872168
|
Merge pull request #5888 from jbampton/update-contributing-guide
CONTRIBUTING.md: update `pre-commit` info with `make` and `rake`
|
2022-12-29 14:47:49 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b7552ece6e
|
Merge pull request #5890 from jbampton/update-doxyfile
Update `Doxyfile` add `CONTRIBUTING.md` and `TODO.md`
|
2022-12-29 14:47:15 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6a062d79f1
|
Merge pull request #5889 from jbampton/remove-blank-lines
Remove blank line from the top of Ruby files
|
2022-12-29 14:46:00 +09:00 |
|
John Bampton
|
d82ab7835e
|
Update Doxyfile add CONTRIBUTING.md and TODO.md
|
2022-12-29 15:16:22 +10:00 |
|
John Bampton
|
42946fed8f
|
CONTRIBUTING.md: update pre-commit info with make and rake
|
2022-12-29 14:46:58 +10:00 |
|
John Bampton
|
41572d71b6
|
Remove blank line from the top of Ruby files
|
2022-12-29 14:29:48 +10:00 |
|
Yukihiro "Matz" Matsumoto
|
9dbcdd51c2
|
mruby-io/io.c (io_sysseek): fixed wrong condition when off_t < mrb_int
|
2022-12-29 12:19:57 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
bc8d8da81a
|
class.c (get_args_v): fixed integer type mismatch
|
2022-12-29 11:55:44 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
142915acd6
|
mruby-io: mistakenly committed WIP code, sigh
|
2022-12-29 11:44:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
80e5c8a90a
|
mruby-io/io.c: forgot to rename mrb_io_pread on non-Unix platforms
|
2022-12-29 11:37:28 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5401d95017
|
mruby-io/ext/io.h: remove unused macros
|
2022-12-29 11:22:37 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
aa3005da02
|
mruby-io/io.c: remove mrb_ prefix from function names
|
2022-12-29 11:22:37 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0172388aa2
|
mruby-io/io.c: rename mrb_io_read_write_size to fssize_t
|
2022-12-29 11:22:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c83b715f0c
|
mruby-io/io.c: small format updates
|
2022-12-29 11:22:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8e1a82b424
|
mruby-io/io.c: raise error if seek position is too big
|
2022-12-29 11:22:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f3a5f3ee1d
|
mruby-io/io.c: define seek constants in C
From C macro definitions instead of literal integers (may differ from
the platform's definitions).
- SEEK_SET
- SEEK_CUR
- SEEK_END
|
2022-12-29 11:22:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
830c882f06
|
mruby-io/io.rb (IO.read): should not allow path starting "|"
It was made obsolete long time ago.
|
2022-12-29 11:22:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
20606c4455
|
mruby-io/io.rb: update a comment
|
2022-12-29 11:20:52 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ba1b12948d
|
mruby-io/io.c: implement _read_buf in C
|
2022-12-29 11:20:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1940bec0af
|
mruby-io/io.c: rename mrb_dup to clearer sysdup
|
2022-12-29 11:20:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
7ef0b6e66e
|
mruby-io/io.c (mrb_io_initialize_copy): dupe the buffer
|
2022-12-29 11:20:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2d765bfa90
|
mruby-io/io.c: use MRB_IVSYM() instead of mrb_intern_lit()
|
2022-12-29 11:20:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
fb8cfa8a90
|
mruby-io/io.c: rename functions
Remove the word `dummy` from working function names.
|
2022-12-29 11:20:50 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
7b130004da
|
mruby-io/io.c: reorder functions to remove function prototype
|
2022-12-29 11:20:50 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8a6344b64f
|
mruby-io/io.c (mrb_io_readchar): avoid redundant call to mrb_utf8len()
|
2022-12-29 11:20:50 +09:00 |
|