aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * ext/socket/extconf.rb: workaround for mswin/mingw build problem.usa2013-02-151-0/+5
| | | | | | | sendmsg emulation in win32/win32.c is not enough. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: use all all tested available headers forakr2013-02-151-0/+5
| | | | | | | have_func. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix CFLAGS and CXXFLAGS in RbConfig::CONFIG on FreeBSD and NetBSD/amd64.knu2013-02-151-0/+10
| | | | | | | | | | | | | | | * configure.in: Fix a bug introduced in r38342 that the cflagspat substitution is messed up by the way CFLAGS and optflags are modified, which affected FreeBSD and NetBSD/amd64 when configured to use libexecinfo. This bug resulted in CFLAGS and CXXFLAGS in RbConfig::CONFIG having warnflags expanded in them, forcing third-party C/C++ extensions to follow what warnflags demands, like ANSI/ISO-C90 conformance. ref [Bug #7101] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/sockport.h (SET_SIN_LEN): defined for strict-aliasingakr2013-02-151-0/+9
| | | | | | | | | | | | rule. (INIT_SOCKADDR_IN): ditto. * ext/socket/raddrinfo.c (make_inetaddr): use INIT_SOCKADDR_IN. (addrinfo_ipv6_to_ipv4): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: fail if cross compilingnobu2013-02-151-0/+5
| | | | | | | | * lib/mkmf.rb (MakeMakefile#try_run): bail out explicitly if cross compiling, because it cannot work of course. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: test struct sockaddr_storage directly.akr2013-02-151-0/+6
| | | | | | | | * ext/socket/rubysocket.h: use HAVE_TYPE_STRUCT_SOCKADDR_STORAGE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/getaddrinfo.c (GET_AI): don't cast 1st argument forakr2013-02-151-0/+5
| | | | | | | INIT_SOCKADDR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/sockport.h (SET_SS_LEN): removed.akr2013-02-141-0/+13
| | | | | | | | | | | | | | | | (SET_SIN_LEN): removed. (INIT_SOCKADDR): new macro. * ext/socket/ancdata.c (extract_ipv6_pktinfo): use INIT_SOCKADDR. * ext/socket/raddrinfo.c (make_inetaddr): use INIT_SOCKADDR. (addrinfo_ipv6_to_ipv4): ditto. * ext/socket/getaddrinfo.c (GET_AI): use INIT_SOCKADDR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc.rb: Update to release version of 4.0.0drbrain2013-02-141-0/+6
| | | | | | | * lib/rubygems.rb: Update to release version of 2.0.0 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/sockport.h (SA_LEN): removed because unused now.akr2013-02-141-0/+6
| | | | | | | | | (SS_LEN): ditto. (SIN_LEN): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (test_setsid): Added a workaround forkosaki2013-02-141-0/+5
| | | | | | MacOS X. Patch by nagachika. [Bug #7826] [ruby-core:52126] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/sockport.h (VALIDATE_SOCKLEN): new macro to validateakr2013-02-141-0/+11
| | | | | | | | | | | | | | sa_len member of 4.4BSD socket address. * ext/socket/getnameinfo.c (getnameinfo): use VALIDATE_SOCKLEN, instead of SA_LEN. * ext/socket/socket.c (sock_s_getnameinfo): use VALIDATE_SOCKLEN instead of SS_LEN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove trailing spaceskazu2013-02-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sockaddr_len): extracted from sockaddr_obj.akr2013-02-141-1/+8
| | | | | | | | | (sockaddr_obj): add an argument to length of socket address. (socket_s_ip_address_list): call sockaddr_obj with actual socket address length if given, use sockaddr_len otherwise. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket: always operate length of socket addess companion withakr2013-02-141-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | socket address. * ext/socket/rubysocket.h (rsock_make_ipaddr): add an argument for socket address length. (rsock_ipaddr): ditto. * ext/socket/ipsocket.c (ip_addr): pass length to rsock_ipaddr. (ip_peeraddr): ditto. (ip_s_getaddress): pass length to rsock_make_ipaddr. * ext/socket/socket.c (make_addrinfo): pass length to rsock_ipaddr. (sock_s_getnameinfo): pass actual address length to rb_getnameinfo. (sock_s_unpack_sockaddr_in): pass length to rsock_make_ipaddr. * ext/socket/init.c (rsock_s_recvfrom): pass length to rsock_ipaddr. (rsock_s_recvfrom_nonblock): ditto. * ext/socket/tcpsocket.c (tcp_sockaddr): pass length to rsock_make_ipaddr. * ext/socket/raddrinfo.c (make_ipaddr0): add an argument for socket address length. pass the length to rb_getnameinfo. (rsock_ipaddr): ditto. (rsock_make_ipaddr): add an argument for socket address length. pass the length to make_ipaddr0. (make_inetaddr): pass length to make_ipaddr0. a local variable renamed. (host_str): a local variable renamed. (port_str): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: Removed OpenSSL dependency from Net::HTTP.drbrain2013-02-141-0/+7
| | | | | | | | * test/net/http/test_http.rb: Remove Zlib dependency from tests. * test/net/http/test_http_request.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c: cyclic prependnobu2013-02-141-0/+5
| | | | | | | * class.c (include_modules_at): detect cyclic prepend with original method table. [ruby-core:52205] [Bug #7841] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: fix method_removednobu2013-02-141-1/+1
| | | | | | | * vm_method.c: call method_removed hook on called class, not on prepending iclass. [ruby-core:52207] [Bug #7843] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: fix method_removednobu2013-02-141-0/+5
| | | | | | | * vm_method.c: call method_removed hook on called class, not on prepending iclass. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http: Do not handle Content-Encoding when the user setsdrbrain2013-02-141-0/+1
| | | | | | | | | | | | | Accept-Encoding. This allows users to handle Content-Encoding for themselves. This restores backwards-compatibility with Ruby 1.x. * lib/net/http/generic_request.rb: ditto. * lib/net/http/response.rb: ditto * test/net/http/test_http.rb: Test for the above. * test/net/http/test_http_request.rb: ditto. * test/net/http/test_httpresponse.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http: Do not handle Content-Encoding when the user setsdrbrain2013-02-141-0/+11
| | | | | | | | | | | | | Accept-Encoding. This allows users to handle Content-Encoding for themselves. This restores backwards-compatibility with Ruby 1.x. * lib/net/http/generic_request.rb: ditto. * lib/net/http/response.rb: ditto * test/net/http/test_http.rb: Test for the above. * test/net/http/test_http_request.rb: ditto. * test/net/http/test_httpresponse.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: don't define HAVE_SA_LEN and HAVE_SA_LEN.akr2013-02-131-0/+6
| | | | | | | | use HAVE_STRUCT_SOCKADDR_SA_LEN and HAVE_STRUCT_SOCKADDR_IN_SIN_LEN instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: don't define socklen_t here, just test.akr2013-02-131-0/+6
| | | | | | | | * ext/socket/rubysocket.h: define socklen_t if not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: skip prependsnobu2013-02-131-0/+5
| | | | | | | * proc.c (mnew): skip prepending modules and return the method bound on the given class. [ruby-core:52160] [Bug #7836] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: original_namenobu2013-02-131-1/+5
| | | | | | | | * proc.c (method_original_name): new methods Method#original_name and UnboundMethod#original_name. [ruby-core:52048] [Bug #7806] [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: show the given namenobu2013-02-131-0/+5
| | | | | | | * proc.c (method_inspect): show the given name primarily, and original_id if aliased. [ruby-core:52048] [Bug #7806] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: no Werrornobu2013-02-131-0/+5
| | | | | | | * configure.in (warnflags): disable -Werror by default unless development. [ruby-core:52131] [Bug #7830] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb: Return BINARY strings from Gem.gzip and Gem.gunzip.drbrain2013-02-121-0/+7
| | | | | | | | | Fixes intermittent test failures. RubyGems issue #450 by Jeremey Kemper. * test/rubygems/test_gem.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: test functions just after struct members.akr2013-02-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json: merge JSON 1.7.7.naruse2013-02-121-0/+7
| | | | | | | | This includes security fix. [CVE-2013-0269] https://github.com/flori/json/commit/d0a62f3ced7560daba2ad546d83f0479a5ae2cf2 https://groups.google.com/d/topic/rubyonrails-security/4_YvCpLzL58/discussion git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: enable rb_cv_page_size_log test for MirOS BSD.akr2013-02-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use -pthread on mirbsd*.akr2013-02-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add SOLIBS and LIBRUBY_SO definition for mirbsd*.akr2013-02-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: sitearchnobu2013-02-111-1/+4
| | | | | | | | * configure.in (rubysitearchprefix): sitearchdir and vendorarchdir should use sitearch, not arch. [ruby-dev:46964] [Bug #7823] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: sitearchnobu2013-02-111-0/+5
| | | | | | | | * win32/Makefile.sub (config.status): site and vendor directories should use sitearch, not arch. [ruby-dev:46964] [Bug #7823] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: move OS specific header/function knowledge beforeakr2013-02-111-0/+5
| | | | | | | | automatic header tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: move the test for -march=i486 just afterakr2013-02-111-0/+5
| | | | | | | | RUBY_UNIVERSAL_ARCH/RUBY_DEFAULT_ARCH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: test structure members just after types test.akr2013-02-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: test types just after headers test.akr2013-02-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ChangeLog from 39193zzak2013-02-101-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix date time mistake in ChangeLog.kosaki2013-02-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/rake/*: Sync Rake rdoc files from upstreamzzak2013-02-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.kosaki2013-02-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_exec.h (DISPATCH_ARCH_DEPEND_WAY): use __asm__ __vilatile__kosaki2013-02-101-0/+5
| | | | | | instead of asm volatile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.h (SET_MACHINE_STACK_END): use __volatile__ instead of volatile.kosaki2013-02-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/rake/, lib/rake/doc/: Move Rake rdoc files to lib/rakezzak2013-02-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: test headers at first.akr2013-02-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/rake/*: Removed stale Rake static fileszzak2013-02-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb, lib/prettyprint.rb: Documentation for PP and PrettyPrintzzak2013-02-101-0/+5
| | | | | | | Based on a patch by Vincent Batts [ruby-core:51253] [Bug #7656] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typo.nobu2013-02-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e