forked from tmm1/matzruby
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge changes between r11913 and r11943 from ruby_1_8.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
Showing
13 changed files
with
214 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,108 @@ | |||
= NEWS | |||
|
|||
This document is a list of user visible feature changes made between | |||
releases excluding bug fixes. | |||
|
|||
Note that each entry is kept so brief that no reason behind or | |||
reference information is supplied with. For a full list of changes | |||
with all sufficient information, see the ChangeLog file. | |||
|
|||
== Changes with Ruby 1.8.5 | |||
|
|||
=== New platforms/build tools support | |||
|
|||
* IA64 HP-UX | |||
|
|||
* Visual C++ 8 SP1 | |||
|
|||
* autoconf 2.6x | |||
|
|||
=== Library updates (outstanding ones only) | |||
|
|||
* date | |||
|
|||
* Updated based on date2 4.0.3. | |||
|
|||
* digest | |||
|
|||
* New internal APIs for C and Ruby. | |||
|
|||
* Support for autoloading. | |||
|
|||
* See below for new features and compatibility issues. | |||
|
|||
* nkf | |||
|
|||
* Updated based on nkf as of 2007-01-28. | |||
|
|||
* tk | |||
|
|||
=== New methods and features | |||
|
|||
* builtin classes | |||
|
|||
* New method: Kernel#instance_variable_defined? | |||
|
|||
* New method: Module#class_variable_defined? | |||
|
|||
* New feature: Dir::glob() can now take an array of glob patterns. | |||
|
|||
* digest | |||
|
|||
* New digest class methods: file | |||
|
|||
* New digest instance methods: clone, reset, new, | |||
inspect, digest_length (alias size or length), | |||
block_length() | |||
|
|||
* New library: digest/bubblebabble | |||
|
|||
* New function: Digest(name) | |||
|
|||
* fileutils | |||
|
|||
* New option for FileUtils.cp_r(): :remove_destination | |||
|
|||
* thread | |||
|
|||
* Replaced with much faster mutex implementation in C. | |||
The former implementation is available with a | |||
configure option `--disable-fastthread'. | |||
|
|||
* webrick | |||
|
|||
* New method: WEBrick::Cookie.parse_set_cookies() | |||
|
|||
=== Compatibility issues (excluding feature bug fixes) | |||
|
|||
* builtin classes | |||
|
|||
* Time#to_s now returns a string in a form that | |||
conforms to RFC2822. | |||
|
|||
# Before | |||
"Wed Mar 03 12:34:56 JST 2007" | |||
# After | |||
"Wed, Mar 03 2007 12:34:56 +0900" | |||
|
|||
* fileutils | |||
|
|||
* A minor implementation change breaks Rake <=0.7.1. | |||
Updating Rake to 0.7.2 fixes the problem. | |||
|
|||
* digest | |||
|
|||
* The constructor does no longer take an initial | |||
string to feed; digest() and hexdigest() now do, | |||
instead. The following examples show how to | |||
migrate: | |||
|
|||
# Before | |||
md = Digest::MD5.new("string") | |||
# After (works with any version) | |||
md = Digest::MD5.new.update("string") | |||
|
|||
# Before | |||
hd = Digest::MD5.new("string").hexdigest | |||
# After (works with any version) | |||
hd = Digest::MD5.hexdigest("string") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,49 @@ | |||
#!./miniruby | |||
|
|||
if RUBY_PATCHLEVEL.zero? | |||
dirname = sprintf 'ruby-%s', RUBY_VERSION | |||
tagname = dirname.gsub /ruby-(\d)\.(\d)\.(\d)/, 'v\1_\2_\3' | |||
else | |||
dirname = sprintf 'ruby-%s-p%u', RUBY_VERSION, RUBY_PATCHLEVEL | |||
tagname = dirname.gsub /ruby-(\d)\.(\d)\.(\d)-p/, 'v\1_\2_\3_' | |||
end | |||
tarname = dirname + '.tar.gz' | |||
repos = 'http://svn.ruby-lang.org/repos/ruby/tags/' + tagname | |||
|
|||
STDERR.puts 'exporting sources...' | |||
system 'svn', 'export', '-q', repos, dirname | |||
Dir.chdir dirname do | |||
STDERR.puts 'generating configure...' | |||
system 'autoconf' | |||
system 'rm', '-rf', 'autom4te.cache' | |||
|
|||
STDERR.puts 'generating parse.c...' | |||
system 'bison', '-y', '-o', 'parse.c', 'parse.y' | |||
end | |||
|
|||
STDERR.puts 'generating tarball...' | |||
system 'tar', 'chofzp', tarname, dirname | |||
|
|||
open tarname, 'rb' do |fp| | |||
require 'digest/md5' | |||
require 'digest/sha1' | |||
str = fp.read | |||
md5 = Digest::MD5.hexdigest str | |||
sha = Digest::SHA1.hexdigest str | |||
printf "MD5(%s)= %s\nSHA1(%s)= %s\n", tarname, md5, tarname, sha | |||
end | |||
|
|||
|
|||
|
|||
# | |||
# Local Variables: | |||
# mode: ruby | |||
# code: utf-8 | |||
# indent-tabs-mode: t | |||
# tab-width: 3 | |||
# ruby-indent-level: 3 | |||
# fill-column: 79 | |||
# default-justification: full | |||
# End: | |||
# vi: ts=3 sw=3 | |||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters