Граф коммитов

690 Коммитов

Автор SHA1 Сообщение Дата
sorah bfabd91231 fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-19 17:21:29 +00:00
naruse f09574c879 * re.c (rb_reg_match_m_p): Introduce Regexp#match?, which returns
bool and doesn't save backref.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-18 10:37:13 +00:00
mrkn 3d42a665d8 Describe Enumerable#sum in NEWS [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-18 03:21:53 +00:00
naruse 92f8d74a3e * re.c (match_values_at): MatchData#values_at supports named captures
[Feature #9179]

* re.c (namev_to_backref_number): separeted.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-17 17:10:01 +00:00
akr 341b34d733 add issue number for Array#sum incompatitbility description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-17 13:26:24 +00:00
akr 3c7f671a55 Describe Fixnum and Bignum integration in NEWS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-17 13:24:53 +00:00
nobu da696ae794 drop FreeBSD < 4 support
* NEWS: drop FreeBSD < 4 support.
  The most recent version affected by this is 3.5 and was released
  in 2000.
  https://www.freebsd.org/releases/3.5R/announce.html
  https://en.wikipedia.org/wiki/History_of_FreeBSD#Version_history

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-12 23:46:43 +00:00
nobu 23603c27ee ext/thread: remove
* ext/thread: removed dummy extension library.  thread_sync.c
  provides "thread.rb" already.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 02:56:17 +00:00
yui-knk 3f7cce9f18 * NEWS: Add descriptions for Time#to_time updates.
[Bug #12271] [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-23 04:27:12 +00:00
yui-knk e9db63d9f4 * NEWS: Add descriptions for DateTime#to_time updates.
[Bug #12189] [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-23 04:23:29 +00:00
sonots 7bb039973c * ChangeLog: Add descriptions for logger updates
* NEWS: Add descriptions for logger updates

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-19 03:55:13 +00:00
nobu fe96a2495c numeric.c: flo_truncate
* numeric.c (flo_truncate): add an optional parameter, digits, as
  well as Float#round.  [Feature #12245]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-18 03:56:33 +00:00
nobu 39f31b8c87 numeric.c: int_truncate
* numeric.c (int_truncate): add an optional parameter, digits, as
  well as Integer#round.  [Feature #12245]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-18 03:55:33 +00:00
akr 4873e62103 mention Array#sum with third-party gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-15 15:26:48 +00:00
nobu 1826991f26 NEWS: mention [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-15 01:17:51 +00:00
akr 8574a372a0 Array#sum described.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-13 14:55:18 +00:00
nobu 163604ec52 NEWS: [Feature #9969]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-13 06:14:12 +00:00
nobu 134d1ce892 parse.y: massign in cond
* parse.y (assign_in_cond): allow multiple assignment in
  conditional expression.  [Feature #10617]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-13 05:36:26 +00:00
mame f8e2964065 * NEWS: add Array#max, #min, and the optimization. [Feature #12172]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-17 12:49:19 +00:00
nobu 74758a583d NEWS: update [ci skip]
* NEWS: change of Symbol#match.  [Bug #11991]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-21 04:52:04 +00:00
sorah e8074a382e * re.c: Add MatchData#named_captures
[Feature #11999] [ruby-core:72897]

* test/ruby/test_regexp.rb(test_match_data_named_captures): Test for above.

* NEWS: News about MatchData#named_captures.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-18 05:29:18 +00:00
naruse d46e2aea71 * string.c (rb_str_init): introduce String.new(capacity: size)
[Feature #12024]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-17 03:21:35 +00:00
kazu cee9c58ef2 fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-16 12:25:54 +00:00
nobu 135a171ce1 dir.c: Dir.empty?
* dir.c (rb_dir_s_empty_p): add Dir.empty? method, which tells the
  argument is the name of an empty directory.  [Feature #10121]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-16 08:34:47 +00:00
nobu 7aab062ef3 version.c: no exit in ruby_show_copyright
* include/ruby/backward.h (ruby_show_copyright_to_die): for source
  code backward compatibility.
* ruby.c (process_options): return Qtrue to exit the process
  successfully.
* version.c (ruby_show_copyright): no longer exit.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-07 02:34:33 +00:00
nobu 49684589cd optparse.rb: into kwdarg
* lib/optparse.rb (OptionParser#order!): add `into` optional
  keyword argument to store the results.  [Feature #11191]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-06 08:23:10 +00:00
kazu 428fe14f5e * NEWS: mention about CSV's liberal_parsing option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-01 13:02:56 +00:00
usa 50d537a934 * ChangeLog, NEWS: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 17:25:26 +00:00
usa d1a42eddce * doc/{ChangeLog,NEWS}-2.3.0: moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 17:24:57 +00:00
hsbt 5715bee4a5 * NEWS: added entry for CGI.escapeHTML optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 14:02:02 +00:00
kazu 5a536c8f2d add a ticket number [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 09:59:19 +00:00
nobu 94090b0502 deprecate exposed internal functions
* error.c (rb_compile_error_with_enc, rb_compile_error),
  (rb_compile_bug): deprecate internal functions.
* parse.y (parser_yyerror): construct exception message with
  source code and carret.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 09:43:22 +00:00
normal 8cda3cbb56 NEWS: reduce redundancy w.r.t Socket+IO [ci skip]
No need to mention the same things in the same document multiple
times.  Use numeric references to point to previously-mentioned
items.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 08:21:11 +00:00
kazu 0f6ccf7c92 remove empty section [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 06:39:24 +00:00
kazu cc5781cf2a fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 06:39:10 +00:00
kazu 0901fc5280 remove duplicated ticket number [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 06:38:54 +00:00
ko1 43b2144254 * NEWS: rename
"Implementation changes" section to
  "Supported platform changes" section.

* NEWS: add "Implementation improvements" and add several entries.

* NEWS: add NEWS entries by Eric Wong. [ruby-core:72450]




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 05:59:17 +00:00
nobu 12a2e17a34 io/console: fix gem build failure on Windows
* ext/io/console/extconf.rb: fix gem build failure on Windows.
  only win32_vk.inc is included in the gem and no dependencies for
  the header, so that gperf will not be mandatory.
  [ruby-core:72453] [Bug #11866]
* ext/io/console/io-console.gemspec: include depend file and
  win32_vk header.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-23 15:26:08 +00:00
normal 299e5e52d6 NEWS: add hint for Redmine URLs with issue number [ci skip]
This may not be obvious to folks who do not follow Ruby
development.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22 20:00:31 +00:00
yuki 03cc02c9ab * gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0
* NEWS: Add news about the did_you_mean gem


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22 17:30:22 +00:00
nobu 52c3b2eb2a io-console.gemspec: BSD-2-Clause
* ext/io/console/io-console.gemspec: change the license to
  BSD-2-Clause since "ruby" is no longer valid license as gem.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22 13:56:34 +00:00
nobu 3f90a4ae1e io-console.gemspec: bump up
* ext/io/console/io-console.gemspec: bump up to 0.4.4.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22 13:15:11 +00:00
hsbt 9d57cf8809 * NEWS: Added news entry of Psych 2.0.17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22 13:11:13 +00:00
hsbt a823014fed * NEWS: Added news entry of RDoc 4.2.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22 13:09:06 +00:00
nobu 66cfd1310c NEWS: make precise the note of r53188
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-18 08:16:02 +00:00
nobu 3e1c01ae46 stringio.c: separate encoding from buffer
* ext/stringio/stringio.c (strio_set_encoding): add StringIO's own
  encoding and separate it from the buffer string to override the
  encoding of string when reading.  [ruby-core:72189] [Bug #11827]
  note that setting the encoding of its buffer string may cause
  unpredictable behavior.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-18 07:54:33 +00:00
kazu ea4b4d3a76 NEWS: sort alphabetically
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-17 13:50:38 +00:00
nagachika 3cccf032e6 * ChangeLog: fix a typo in r53149.
* NEWS: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 14:48:09 +00:00
normal f12ec3fcbd NEWS: note IO#fadvise change [ruby-core:72168] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 07:16:00 +00:00
marcandre bb9ef64e5b * compar.c: Update doc for == [#7688] [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-15 20:19:35 +00:00