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

204 Коммитов

Автор SHA1 Сообщение Дата
naruse 0424e152c6 * Merge Onigmo-5.13.1. [ruby-dev:45057] [Feature #5820]
https://github.com/k-takata/Onigmo
  cp reg{comp,enc,error,exec,parse,syntax}.c reg{enc,int,parse}.h
  cp oniguruma.h
  cp tool/enc-unicode.rb
  cp -r enc/

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-17 07:42:23 +00:00
drbrain 623169a5c6 * ext/zlib/zlib.c (Init_zlib): Added Zlib::FIXED and Zlib::RLE
strategies.
* NEWS:  Add note about the new Zlib constants.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15 01:28:05 +00:00
knu 4349b42e82 Mention Kernel#respond_to?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-13 16:05:00 +00:00
knu d00fe54803 * lib/shellwords.rb (Shellwords#shellescape): shellescape() now
stringifies the given object using to_s.

* lib/shellwords.rb (Shellwords#shelljoin): shelljoin() accepts
  non-string objects in the given array, each of which is
  stringified using to_s.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-12 18:49:30 +00:00
akr 54f282c2c4 * lib/pathname.rb (Pathname#find): return an enumerator if
no block is given.

* test/pathname/test_pathname.rb: add tests for above.

[ruby-dev:44797] [Feature #5572]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-19 12:52:37 +00:00
kosaki 61fe9d5c41 added a description of NUM2SHORT() to NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-14 16:00:29 +00:00
ko1 9cd8b76e6d * cont.c (rb_fiber_m_transfer, rb_fiber_resume): prohibit using
"resume" after "transfer" method are used.  You should not mix
  "resume" fiber and "transfer" fiber.
  [Bug #5526]
* NEWS: add information about this change.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09 04:26:39 +00:00
akr b574a4d4a1 * include/ruby/intern.h (rb_fd_set_cloexec): declared.
* io.c (rb_fd_set_cloexec): new function.
  (ruby_dup): call rb_fd_set_cloexec to set close-on-exec flag.
  (rb_sysopen_internal): ditto.
  (rb_pipe): ditto.
  (io_reopen): ditto.
  (io_cntl): ditto.

* process.c (rb_f_exec): change the default :close_others option to
  true.
  (rb_f_system): ditto.
  (move_fds_to_avoid_crash): call rb_fd_set_cloexec to set
  close-on-exec flag.
  (ruby_setsid): ditto.
  (rb_daemon): ditto.

* thread_pthread.c (rb_thread_create_timer_thread): call
  rb_fd_set_cloexec to set close-on-exec flag.

* ruby.c (load_file_internal): ditto.

* file.c (rb_file_s_truncate): ditto.
  (file_load_ok): ditto.

* random.c (fill_random_seed): ditto.

* ext/pty/pty.c (chfunc): ditto.
  (get_device_once): ditto.

* ext/openssl/ossl_bio.c (ossl_obj2bio): ditto.

* ext/socket/init.c (rsock_socket): ditto.
  (rsock_s_accept_nonblock): ditto.
  (rsock_s_accept): ditto.

* ext/socket/socket.c (rsock_sock_s_socketpair): ditto.

* ext/socket/ancdata.c (discard_cmsg): ditto.
  (make_io_for_unix_rights): ditto.

* ext/socket/unixsocket.c (unix_recv_io): ditto.

* ext/io/console/console.c (console_dev): ditto.

[ruby-core:38140] [Feature #5041]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-22 09:58:15 +00:00
akr 00715f4c5a describe Resolv::DNS#timeouts= and Resolv::DNS::Config#timeouts=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-22 08:50:50 +00:00
shugo 702d25f5eb added new methods of Net::IMAP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-09 07:48:00 +00:00
tenderlove 4544b3824c * time.c (strftimev): Make Time#to_s default to US-ASCII encoding but
respect Encoding.default_internal. [ruby-core:39092]
* test/ruby/test_time.rb (class TestTime): Corresponding test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-25 23:24:33 +00:00
kazu 7e0907cedd * NEWS: mention Kernel#warn. [ruby-core:38119] [Feature #5029]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-19 22:17:13 +00:00
kosaki 8cf76cae70 * NEWS: add a description of Signal.trap change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-12 14:42:48 +00:00
yugui a4f423f18b * docs/NEWS-1.9.3: moved from NEWS.
* docs/ChangeLog-1.9.3: merged ChangeLog for 1.9.3.

* NEWS: NEWS for 1.9.4 that describes changes since 1.9.3

* ChangeLog: new ChangeLog for 1.9.4.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-10 14:54:03 +00:00
drbrain b1d647c809 * NEWS: Fix RubyGems version. [Ruby 1.9 - Bug #5004]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-10 00:13:37 +00:00
tadf 88b6d5050b * NEWS: bigdecimal is not a builtin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 08:25:35 +00:00
marcandre 1e696acc7e * lib/matrix.rb: Add Vector#normalize [ruby-dev:43829]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 02:41:14 +00:00
mrkn 276033220d * NEWS: The incompatibility of Rexml introduced at r29646 is reverted at r31008.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 10:22:44 +00:00
nobu cc30e40319 * remove garbages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 06:49:53 +00:00
nobu d55560d551 * NEWS (rexml) encoding methods return encoding names as strings again since r31008.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 06:49:15 +00:00
kosaki 05117a4917 add NEWS for O_DIRECT
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-03 21:09:50 +00:00
marcandre 5ce01ed12f * NEWS: remove a Kernel#respond_to? from the incompatibilies
because it has been reverted at revision 41837

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 22:27:48 +00:00
mrkn a943788fb7 * NEWS: remove a description of Kernel#respond_to? because it has
been reverted at revision 41837.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 16:59:58 +00:00
mrkn 2a1b73ee40 * NEWS: describe a change of multiplication of Bignum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 16:00:45 +00:00
marcandre 22412ceda4 * NEWS: typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:33:14 +00:00
marcandre c8e2388257 * lib/matrix: Add LUP decomposition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:23:12 +00:00
marcandre 59a3d59496 * lib/matrix.rb: Allow non integer exponents for Matrix#**
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:21:24 +00:00
marcandre 004c34f9de * lib/matrix: Add Eigenvalue Decomposition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:13:35 +00:00
marcandre 376b825127 * lib/matrix: Add Matrix#round
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:10:40 +00:00
drbrain e75e7fcc9f * lib/rdoc: Update to RDoc 3.8 which contains fixes for documentation
in trunk.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 21:17:31 +00:00
marcandre 54bbc098fa * lib/matrix.rb: Matrix.zero can build rectangular matrices.
Vector#r should be called #magnitude

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 01:13:22 +00:00
marcandre de97e946f0 * lib/matrix.rb: Add Matrix#diagonal?, hermitian?, normal?, orthogonal?
permutation?, symmetric?, {lower|upper}triangular?, unitary?, zero?

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 01:11:19 +00:00
marcandre 22ffae4009 * lib/matrix.rb: Specialize Matrix#find_index to return [row, col]
and accept the same optional argument as #each

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 01:09:46 +00:00
marcandre dfc6bf9da8 * lib/matrix.rb: Matrix#each{_with_index} can iterate over a subset of the Matrix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 01:08:02 +00:00
drbrain 2619f216fe * lib/rake: Update rake to fix some bugs and hide deprecated features
from RDoc.
	* lib/rake/version.rb:  Bump version to 0.9.2.1 to distinguish it from
	  the released version.
	* NEWS:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-28 02:45:29 +00:00
drbrain 84ece95163 * lib/rdoc: Update to RDoc 3.7 (final)
* NEWS:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-28 02:28:25 +00:00
marcandre bad9f40714 * NEWS: rand and Random.rand now support range argument [ruby-dev:43427] #4605
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-27 15:42:50 +00:00
naruse e8e7ad8192 Add news about r30188 (Net::HTTPRequest#set_form).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-26 15:55:29 +00:00
drbrain d001539a05 * lib/rake: Import Rake 0.9.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-23 22:11:55 +00:00
nahi bf2e60cda7 * ext/openssl/ossl_x509name.c: Add X509::Name#hash_old as a wrapper
for X509_NAME_hash_old in OpenSSL 1.0.0. See #4805

* test/openssl/test_x509name.rb (test_hash): Make test pass with
  OpenSSL 1.0.0. 

* NEWS: Add it.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-23 13:51:55 +00:00
sorah ee80993690 * NEWS: Introduce --hide-skip on test/unit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-19 04:32:41 +00:00
emboss bec36af2d1 * NEWS: introduce PKey.read
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-12 20:52:25 +00:00
tadf fab22d5d29 * NEWS: wrote about changes of date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-04 21:25:11 +00:00
sorah 7b3948f055 * io.c: Add File.write, File.binwrite. [Feature #1081] [ruby-core:21701]
* test/ruby/test_io.rb: Test for File.write, File.binwrite.

* NEWS: News for above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-02 07:30:11 +00:00
mrkn 4752539e3f * NEWS: add new features of bigdecimal.
* ChangeLog: 2011-06-01 is Wednesday.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 03:37:02 +00:00
nahi b219a56c07 * lib/net/http.rb, lib/net/protocol.rb: Allow to configure to wait
server returning '100 continue' response befor sending HTTP request
  body. See NEWS for more detail. See #3622.
  Original patch is made by Eric Hodel <drbrain@segment7.net>.

* test/net/http/test_http.rb: test it.

* NEWS: Add new feature.

On my env (Ubuntu 11.04 64bit),
9510 tests, 2203824 assertions, 0 failures, 0 errors, 29 skips
->
9514 tests, 2203836 assertions, 0 failures, 0 errors, 29 skips


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-31 08:10:42 +00:00
tenderlove 4eaf3d4a51 * lib/yaml.rb: switch default YAML engine to Psych, old syck engine
may be enabled via YAML::ENGINE.yamler = "syck". [ruby-core:36374]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 19:05:47 +00:00
emboss b7576c3d7a * NEWS (openssl): Infinite length support. Different behavior of
Constructive and Primitive constructors.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 22:22:16 +00:00
drbrain f4b52722aa * lib/rdoc.rb: Update to RDoc 3.6.1, allows OpenSSL::Digest to be
found.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 23:00:21 +00:00
drbrain 0b6da24a5e * lib/rdoc.rb: Updated to RDoc 3.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-14 00:39:16 +00:00