kosaki
0a1e7d1568
* lib/fileutils.rb (FileUtils#chmod): accept symbolic mode argument.
...
The patch was written by takkanm. [ruby-core:26029][Feature #2190 ]
* lib/fileutils.rb (FileUtils#fu_mode): new helper function.
* lib/fileutils.rb (FileUtils#symbolic_modes_to_i): ditto.
* lib/fileutils.rb (FileUtils#mode_mask): ditto.
* lib/fileutils.rb (FileUtils#user_mask): ditto.
* test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode):
new test for the above symbolic mode.
* test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_R): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-01 16:16:05 +00:00
kosaki
bd90dc80f2
* process.c (proc_getmaxgroups, proc_setmaxgroups): Process#maxgroups
...
and Process#maxgroups= now raise NotImplementedError if the
platform don't support supplementary groups concept.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10 16:54:02 +00:00
naruse
095b279464
[ruby-dev:43027] fixes #4280
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 02:59:04 +00:00
matz
1df42597d1
cancel subversion backfire. sorry
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 08:44:45 +00:00
matz
eb807d42ec
* gc.c (rb_gc_set_params): allow GC parameter configuration by
...
environment variables. based on a patch from funny-falcon at
https://gist.github.com/856296 , but honors safe level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 08:39:39 +00:00
naruse
b49993b726
incompatibility arround REXML is reverted in r31008. ref #3990
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-03 08:53:44 +00:00
naruse
b8b48f9d58
* string.c (rb_str_byteslice): Add String#byteslice. [ruby-core:35376]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-01 01:35:17 +00:00
sorah
a790bd0bd7
* lib/test/unit.rb: Add new options; --jobs,-j,--ruby,--jobs-status,
...
--no-retry.
[Feature #4415 ] [ruby-dev:43226],[ruby-dev:43222],[ruby-core:35294]
* lib/test/unit/parallel.rb: Used at test/unit --jobs(-j) option.
* test/csv/test_serialization.rb: test/unit parallel running ready.
* test/rake/test_file_task.rb: test/unit parallel running ready.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-22 03:36:38 +00:00
akr
afe7aac47b
* lib/net/http.rb (Net::HTTP#connect): support SNI (Server Name
...
Indication) for HTTPS. [ruby-dev:43164]
http://stackoverflow.com/questions/4685736/openssl-server-name-indication-support-in-ruby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 13:37:43 +00:00
drbrain
60f2c9cf5b
Upgrade to RDoc 3.5.3. Fixes [Bug #4376 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 07:07:12 +00:00
drbrain
8aa895294b
Import RDoc 3.5.2
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05 06:20:57 +00:00
drbrain
cc2a16d94d
Import RDoc 3.5.1
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-02 00:32:30 +00:00
kazu
ff4085d6cf
move under correct class
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24 22:50:15 +00:00
ryan
e798ccbacf
Import rubygems 1.5.0 (release candidate)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-19 00:08:49 +00:00
nobu
281bdd3125
* NEWS (optparse): shell completion support.
...
* misc/README (rb_optparse.{bash,zzh}): for shell completion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-01 02:03:59 +00:00
drbrain
e2efe8e81d
Import RDoc 3.1
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-28 22:08:56 +00:00
kazu
02a24aaedc
* NEWS: add ARGF.write and so on.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-27 22:27:10 +00:00
kazu
4fefafb1e6
* NEWS: add new magic-comment. (warn-indent) [ruby-core:25442]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-27 22:27:07 +00:00
kazu
c1c02696ae
* NEWS: Add Zlib.deflate and Zlib.inflate. [ruby-dev:42833]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-27 16:48:14 +00:00
kazu
1ebba08dab
* NEWS: remove #object_id. [ruby-dev:42840]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-22 16:49:39 +00:00
kazu
6a50d27231
* NEWS: add Module#private_constant and Module#public_constant.
...
[ruby-dev:39685][ruby-core:32698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-21 23:59:42 +00:00
kazu
9241383352
sort and remove s
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-21 23:59:39 +00:00
kazu
d5eea8c137
NEWS: add IO#advise.
...
[ruby-core:33110] [Ruby 1.9-Feature#4038]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-21 23:03:26 +00:00
kazu
13569788b2
* NEWS: add #__id__ and #object_id. [ruby-dev:42778]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 11:06:19 +00:00
drbrain
1695653f54
Update NEWS, add ChangeLog entry for RDoc 3.0.1
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 04:50:13 +00:00
akr
d99801bbc8
* lib/webrick/accesslog.rb (WEBrick::AccessLog#format): support
...
%{remote}p for logging remote (client) port number.
[ruby-dev:42670]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-09 10:16:50 +00:00
kazu
71f81f8136
* NEWS: add new encodings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 10:01:51 +00:00
kazu
8d7e9e5343
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 10:01:40 +00:00
shyouhei
7911d42f1b
* NEWS: entry for ruby_vm_at_exit().
...
* eval.c (ruby_cleanup): bug fix around at_exit (1) timing was
wrong. (2) execution order was opposite.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-02 14:58:41 +00:00
naruse
a0265b0662
* tool/enc-unicode.rb,
...
enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
Add Age property to regexp. [ruby-core:33019]
patched by Ammar Ali, tested by Run Paint Run Run
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-08 05:32:45 +00:00
kou
8114da9e6b
* NEWS: fix a typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 12:47:18 +00:00
kou
994f066f76
* lib/rexml/encoding.rb: use Ruby native encoding mechnism. [ruby-dev:42464]
...
* lib/rexml/encodings/: remove.
* lib/rexml/document.rb, lib/rexml/formatters/default.rb,
lib/rexml/output.rb, lib/rexml/parseexception.rb,
lib/rexml/parsers/baseparser.rb, lib/rexml/source.rb,
lib/rexml/xmldecl.rb: use Ruby's native Encoding object.
* test/rexml/, test/rss/: follow the above encoding chagnes.
* NEWS: add REXML's incompatible change about encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 12:10:56 +00:00
naruse
fc9176ac0e
* tool/enc-unicode.rb,
...
enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
Update Oniguruma for Unicode 6.
patched by Run Paint Run Run. [ruby-core:32923] #3989
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28 11:14:05 +00:00
naruse
5825359dd8
* pack.c (pack_pack): support endian modifiers: < and >.
...
[ruby-dev:42376] Feature #3491
* pack.c (pack_unpack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-14 13:12:56 +00:00
naruse
0a8f047a98
* io.c (rb_io_putc): support multibyte characters.
...
[ruby-core:30697]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-12 06:18:11 +00:00
naruse
47cb5a93e5
* ext/stringio/stringio.c (strio_set_encoding):
...
StringIO#set_encoding can get 2nd argument and optional hash
for API compatibility to IO. [ruby-dev:42356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-10 21:54:22 +00:00
akr
e5a47fb60e
describe URI::Generic#hostname and URI::Generic#hostname=.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-06 03:31:36 +00:00
naruse
ef5948f0dc
Update NEWS to add about License.
...
On backporting License change, r29262 and r29265 should be backported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 16:14:05 +00:00
nahi
a4fa58f9ab
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#continue): add
...
method for generating HTTP/1.1 100 continue response if the client
expects it, otherwise does nothing. Patch by Brian Candler.
ref #855 .
* test/webrick/test_httprequest.rb: test added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 10:20:35 +00:00
knu
cb81b56de2
Mention rb_scan_args().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 08:20:47 +00:00
akr
0156faf5a2
describe that Time#strftime supports %:z and %::z.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-30 21:50:11 +00:00
knu
d9dd3f9159
Mention String#prepend.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 21:50:06 +00:00
nobu
909477ec1d
* file.c (null_device): move from io.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 06:26:41 +00:00
nobu
f64358db7d
* NEWS (IO::NULLL): add.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 03:45:24 +00:00
nobu
e26c0d6d82
* NEWS: moved to doc/NEWS-1.9.2.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 01:48:58 +00:00
kazu
c89bdea7c9
* NEWS: merge from branches/ruby_1_9_2, and move io/console.
...
[ruby-dev:41924]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 12:00:42 +00:00
nobu
4d5eee3602
* NEWS (Kernel#instance_eval): add an incompatible change since
...
the 1.9.1 release. [ruby-core:31336]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-19 00:01:02 +00:00
knu
78a78b45d6
* vm_method.c (rb_method_boundp): Return false for protected
...
methods when called from Kernel#respond_to?. [ruby-dev:40461]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-05 07:11:44 +00:00
mame
a2fde3fc79
* NEWS (zlib): new methods. [ruby-dev:41706] [Bug #3472 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-25 23:45:42 +00:00
mame
70003c05a7
* NEWS (stringio): new methods. [ruby-dev:41687] [Bug #3469 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 14:47:00 +00:00