1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

72838 commits

Author SHA1 Message Date
Nobuyoshi Nakada
2338845421
Update .git-blame-ignore-revs [ci skip] 2022-07-30 17:32:57 +09:00
Nobuyoshi Nakada
4ba2c66761
Revert "* expand tabs. [ci skip]"
This reverts commit 0d842fecb4.
2022-07-30 17:29:56 +09:00
git
0d842fecb4 * expand tabs. [ci skip]
Tabs were expanded because the file did not have any tab indentation in unedited lines.
Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.
2022-07-30 17:26:37 +09:00
Nobuyoshi Nakada
c258fb2775
Update .git-blame-ignore-revs [ci skip] 2022-07-30 17:26:22 +09:00
Nobuyoshi Nakada
f28287d34c
[ruby/io-nonblock] Revert tab expansion 2022-07-30 17:24:43 +09:00
Nobuyoshi Nakada
1bebf21570
Update .git-blame-ignore-revs [ci skip] 2022-07-30 17:13:00 +09:00
Hiroshi SHIBATA
39dc9f9093
Revert "* expand tabs. [ci skip]"
This reverts commit 8a65cf3b61.
2022-07-30 17:03:13 +09:00
git
8a65cf3b61 * expand tabs. [ci skip]
Tabs were expanded because the file did not have any tab indentation in unedited lines.
Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.
2022-07-30 16:41:32 +09:00
Nobuyoshi Nakada
48b09aae7e [ruby/digest] Revert tab-expansion in external files
https://github.com/ruby/digest/commit/5ca2b5b91e
2022-07-30 16:41:19 +09:00
Nobuyoshi Nakada
af265d73fb [ruby/rdoc] Fix blockquote with word in verbatim
https://github.com/ruby/rdoc/commit/75eee668a5
2022-07-30 11:04:11 +09:00
John Hawthorn
0e85586ecc Add --enable-yjit=dev_nodebug configure option 2022-07-29 16:32:14 -07:00
John Hawthorn
fbd24793cb Add --enable-yjit=stats configure option 2022-07-29 16:32:14 -07:00
Burdette Lamar
53175643ef [ruby/date] [DOC] Enhanced RDoc (https://github.com/ruby/date/pull/66)
Treats:
    #===
    #to_s
    #inspect
    #strftme
    #asctime
    #iso3601
    #rfc3339
    #rfc2822
    #httpdate
    #jisx0301

https://github.com/ruby/date/commit/aed66fedf6
2022-07-30 04:51:10 +09:00
git
2346f3be64 * 2022-07-30 [ci skip] 2022-07-30 04:24:39 +09:00
David Rodríguez
030050cdfa [rubygems/rubygems] Make --standalone play nice with --local
I'm not sure if using relative paths in the generated script is best for
this case, since it makes the script not movable, but that can be
improved later.

https://github.com/rubygems/rubygems/commit/7f5bdbb842
2022-07-30 04:24:25 +09:00
David Rodríguez
b515fdcc32 [rubygems/rubygems] No need to set anything at all unless standalone is given
https://github.com/rubygems/rubygems/commit/d695c8da3e
2022-07-30 04:24:24 +09:00
Burdette Lamar
f78e46d404 [ruby/rdoc] Add block quotes (https://github.com/ruby/rdoc/pull/907)
Also adjusts which blocks may be nested.

https://github.com/ruby/rdoc/commit/dde1860441
2022-07-29 23:40:26 +09:00
Hiroshi SHIBATA
62849b3379 Keep gitignore for libyaml source with psych 2022-07-29 19:10:10 +09:00
Hiroshi SHIBATA
4e886d2ade Update parser-text.rb with 4ecc13c9cb 2022-07-29 19:10:10 +09:00
Ethan
b2cc74a50d [flori/json] test parsing of unicode, mixing literal characters with escaped
https://github.com/flori/json/commit/82fe866da2
2022-07-29 19:10:10 +09:00
Jean Boussier
66b52f046f [flori/json] Stop including the parser source __LINE__ in exceptions
It makes testing for JSON errors very tedious. You either have
to use a Regexp or to regularly update all your assertions
when JSON is upgraded.

https://github.com/flori/json/commit/de9eb1d28e
2022-07-29 19:10:10 +09:00
Luka Dornhecker
4bf97a8ec4 fix typo in Time#xmlschema documentation 2022-07-29 19:10:10 +09:00
konsolebox
419ad1e13e [ruby/optparse] Also accept '-' as an optional argument (https://github.com/ruby/optparse/pull/35)
https://github.com/ruby/optparse/commit/f2b8318631
2022-07-29 19:10:10 +09:00
Hiroshi SHIBATA
3725454161 Merge ruby/fileutils from 332025bc02 2022-07-29 19:10:10 +09:00
Takuya Noguchi
d1e726cce7 [rubygems/rubygems] Fix dead links to deprecated bundle-package(1) with bundler-cache(1)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>

https://github.com/rubygems/rubygems/commit/9c2e80a10f
2022-07-29 19:06:49 +09:00
Takuya Noguchi
def1d44aa1 [rubygems/rubygems] Add package/pack aliases to man pages for cache
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>

https://github.com/rubygems/rubygems/commit/1685e3a9dc
2022-07-29 16:31:06 +09:00
Hiroshi SHIBATA
bfd09b1116 Merge rubygems master from 446cc57a7c 2022-07-29 15:46:15 +09:00
Nobuyoshi Nakada
f29f1d22c3 [ruby/rdoc] Fix formatting blockquote in verbatim
Reported at https://github.com/ruby/rdoc/pull/907#discussion_r932505816

https://github.com/ruby/rdoc/commit/86384ac7f9
2022-07-29 09:21:33 +09:00
Takashi Kokubun
0d68286be9
Revert "Try reproducing the MinGW hang on time command ()"
This reverts commit bee5089d67.

Looking at https://github.com/ruby/ruby/runs/7564065637?check_suite_focus=true,
we concluded that the ruby process for test-all is stuck before exit
when this issue reproduces.

However, because of our limited bandwidth to support MinGW, we're not
investigating this, and therefore we need to keep skipping tests that
hang on this environment.
2022-07-28 16:12:46 -07:00
Burdette Lamar
c348f5a91c [ruby/date] [DOC] Enhanced RDoc for <=> (https://github.com/ruby/date/pull/65)
https://github.com/ruby/date/commit/0cdbaa92e9
2022-07-29 06:37:10 +09:00
Burdette Lamar
c56e957dec [ruby/rdoc] Link from RDoc::Markup to RDoc::MarkupReference (https://github.com/ruby/rdoc/pull/906)
Recently new RDoc::MarkupReference replaces Markup Reference in RDoc::Markup (which was always the goal).

https://github.com/ruby/rdoc/commit/825be7eaf4
2022-07-29 01:06:34 +09:00
git
68655c62df * 2022-07-29 [ci skip] 2022-07-29 00:38:29 +09:00
Matthew Draper
ab08a43ec5
YJIT: Teach getblockparamproxy to handle the no-block case without exiting ()
Teach getblockparamproxy to handle the no-block case without exiting

Co-authored-by: John Hawthorn <john@hawthorn.email>

Co-authored-by: John Hawthorn <john@hawthorn.email>
2022-07-28 11:38:07 -04:00
Burdette Lamar
18b1e5e6db [ruby/rdoc] [DOC] Add some links in intro; delimit rendered HTML output. (https://github.com/ruby/rdoc/pull/904)
https://github.com/ruby/rdoc/commit/c02645364f
2022-07-28 23:50:49 +09:00
Nobuyoshi Nakada
90cf767d15
Fix format-pedantic warnings 2022-07-28 23:46:07 +09:00
Nobuyoshi Nakada
94c3d528e7
Fix conversion of rb_ractor_id() 2022-07-28 23:46:07 +09:00
Nobuyoshi Nakada
c38ad2aeb5
Fix format specifier for rb_ractor_id() 2022-07-28 23:46:06 +09:00
Peter Zhu
229cf263df Lock the VM for rb_gc_writebarrier_unprotect
When using Ractors, rb_gc_writebarrier_unprotect requries a VM lock
since it modifies the bitmaps.
2022-07-28 10:02:12 -04:00
Peter Zhu
1c16645216 Make array slices views rather than copies
Before this commit, if the slice fits in VWA, it would make a copy
rather than a view. This is slower as it requires a memcpy of the
contents.
2022-07-28 10:02:12 -04:00
Peter Zhu
2375afb8d6 Refactor gc_ref_update_array 2022-07-28 10:02:12 -04:00
Hiroshi SHIBATA
3eade59919
Skip randomly failing tests with FreeBSD 12 2022-07-28 19:45:15 +09:00
Hiroshi SHIBATA
d448ecc7b1
Fix the missing brackets 2022-07-28 19:25:52 +09:00
Hiroshi SHIBATA
202ce7de01
test_io_console.rbL399 is also randomly failing same as bfc697f1e2 2022-07-28 19:14:01 +09:00
Hiroshi SHIBATA
98e01c9914
Also skip the failing test similar with a343952d19 2022-07-28 19:10:24 +09:00
Nobuyoshi Nakada
2b9374768f
RUBY_DEBUG_LOG2 should filter against the given file 2022-07-28 16:05:48 +09:00
Takashi Kokubun
bee5089d67
Try reproducing the MinGW hang on time command ()
to see if it really exits correctly. 

GitHub Support asked me to confirm the command is exiting correctly.
2022-07-27 21:29:14 -07:00
Nobuyoshi Nakada
5d5c1d0fbd
Suppress use-after-free warning by gcc-12 2022-07-28 09:06:42 +09:00
Nobuyoshi Nakada
431fdc9200
[DOC] Cross references for ARGF 2022-07-28 09:02:23 +09:00
Jeremy Evans
4ad69899b7 Fix documentation for ARGF.inplace_mode{,=}
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 ]
2022-07-27 15:29:00 -07:00
git
708d06f301 * 2022-07-28 [ci skip] 2022-07-28 00:24:13 +09:00