nobu
20014eb3e0
hash.c: unused functions on non-Windows
...
* hash.c (invalid_envname, check_envname): not used on platforms
other than Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 18:24:24 +00:00
svn
9ee5345c4b
* 2014-06-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 18:02:43 +00:00
nobu
c5255bdd03
hash.c: env_str_transcode
...
* hash.c (env_str_transcode): convert with replacing invalid/undef
characters, on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 18:02:31 +00:00
hsbt
4f7449beba
* lib/gserver.rb: remove redundant use of to_s in interpolation.
...
* lib/logger.rb: ditto.
* lib/optparse.rb: ditto.
* lib/rbconfig/obsolete.rb: ditto.
* lib/resolv.rb: ditto.
* lib/webrick/httpresponse.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 08:48:46 +00:00
hsbt
4c58cdc9a1
* tool/downloader.rb: fix wrong variable name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 05:41:20 +00:00
naruse
a054854324
Revert "* lib/uri/mailto.rb: support RFC6068."
...
to fix mailto URI syntax
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 02:58:45 +00:00
nobu
9a6518abf7
hash.c: replace undef
...
* hash.c (env_str_new, env_path_str_new): replace invalid or
undefined conversions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 02:19:09 +00:00
kazu
bc7919a9cd
fix a typo [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 02:07:08 +00:00
nobu
5c9bc9f8e1
hash.c: frozen PATH env
...
* hash.c (env_path_str_new): make PATH environment variable
string, to be frozen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 01:50:09 +00:00
svn
47f3cc6e8b
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 01:45:44 +00:00
hsbt
27d345dff4
* tool/make-snapshot: download bundle gems when package making.
...
[Feature #9852 ][ruby-core:62676]
* gems/bundled_gems: listed bundled gems for Ruby 2.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 01:45:41 +00:00
hsbt
204a83f5f3
* tool/downloader.rb: make Downloader class to general download utility.
...
It can be used without config.guess and configu.sub.
* tool/get-config_files: ditto.
* tool/make-snapshot: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 01:26:21 +00:00
nari
63e8293147
internal structure
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 00:52:14 +00:00
nobu
4a26246beb
win32.c: unused variable
...
* win32/win32.c (envarea): remove no longer used variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 22:16:19 +00:00
nobu
195bee47b7
* test/uri/test_common.rb: use require_relative
for parallel test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 21:57:23 +00:00
naruse
e5e37ecfc2
* eval.c (setup_exception): "mesg == sysstack_error" and
...
sysstack_error_p(mesg) are duplicated.
r46502 seems to want to use latter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 21:21:00 +00:00
nobu
e3e359ba79
tcltklib.c: fix format specifiers
...
* ext/tk/tcltklib.c: fix format specifiers for VALUE and
Tcl_Interp*. [ruby-core:63283] [Bug #9972 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 21:15:39 +00:00
kosaki
476af221b7
* nacl/nacl-config.rb: Use File.exist? instead of executable?
...
for irt_core. Recent nacl_sdk has non-executable irt_core.
Patch by Shinichiro Hamaji.
[Fixes GH-529] https://github.com/ruby/ruby/pull/529
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 20:53:16 +00:00
naruse
a672789739
* lib/uri/mailto.rb: support RFC6068.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 20:01:27 +00:00
svn
f6dad20e27
* 2014-06-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 18:59:19 +00:00
headius
3f103ad0e9
* test/openssl/test_509cert.rb: force sorted order for order-
...
sensitive test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 18:59:07 +00:00
hsbt
7a05e0ae9f
* tool/config_files.rb: rename class ConfigFiles to Downloader.
...
* tool/get-config_files: ditto.
* tool/make-snapshot: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 09:49:42 +00:00
hsbt
6f3e8df133
* tool/rbinstall.rb: support to install bundle gems.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 09:13:14 +00:00
knu
4fa35e0e9d
* lib/net/imap.rb (Net::IMAP#fetch): [DOC] Describe how a range in
...
+set+ is interpreted, and mention -1 which can be used for '*'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 08:46:11 +00:00
shyouhei
8250aa2df0
* include/ruby/ruby.h (struct RHash): no longer. [Feature #9889 ]
...
* include/ruby/ruby.h (RHASH): ditto.
* include/ruby/ruby.h (RHASH_ITER_LEV): deprecated. Will be deleted later.
* include/ruby/ruby.h (RHASH_IFNONE): ditto.
* internal.h (struct RHash): moved here.
* internal.h (RHASH): ditto.
* hash.c (rb_hash_iter_lev): do not use this.
* hash.c (rb_hash_ifnone): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 07:26:03 +00:00
shyouhei
62bfc4f24e
* include/ruby/ruby.h (struct RComplex): no longer. [Feature #9888 ]
...
* include/ruby/ruby.h (RCOMPLEX): ditto.
* include/ruby/ruby.h (RCOMPLEX_SET_REAL): deprecated. Will be deleted later.
* include/ruby/ruby.h (RCOMPLEX_SET_IMAG): ditto.
* internal.h (struct RFloat): moved here.
* internal.h (RCOMPLEX): ditto.
* complex.c (rb_complex_set_real): do not use this.
* complex.c (rb_complex_set_imag): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 04:41:27 +00:00
shyouhei
6adcf6a898
* include/ruby/ruby.h (struct RFloat): no longer. [Feature #9863 ]
...
* include/ruby/ruby.h (RFLOAT): ditto.
* internal.h (struct RFloat): moved here.
* internal.h (RFLOAT): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 04:12:19 +00:00
naruse
e02eb253e7
* lib/uri/generic.rb (check_port): allow strings for port= as
...
described in rdoc.
* lib/uri/rfc3986_parser.rb (regexp): implementation detail of above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 03:18:51 +00:00
naruse
66aba8cca2
suppress warnings of URI.extract
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 03:18:17 +00:00
nobu
053759edfc
Backtrace for SystemStackError
...
* eval.c (setup_exception): set backtrace in system stack error
other than the pre-allocated sysstack_error. [Feature #6216 ]
* proc.c (Init_Proc): freeze the pre-allocated sysstack_error.
* vm_insnhelper.c (vm_stackoverflow): raise new instance for each
times without calling any methods to keep the backtrace with no
further stack overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 02:35:18 +00:00
nobu
cf3890205f
object.c: rb_obj_copy_ivar
...
* object.c (rb_obj_copy_ivar): extract function to copy instance
variables only for T_OBJECT from init_copy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 02:33:15 +00:00
svn
972046f084
* 2014-06-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 02:11:41 +00:00
nobu
2bd9a19895
signal.c: drop dangerous tag
...
* signal.c (check_stack_overflow): drop the last tag too close to
the fault page, to get rid of stack overflow deadlock.
[Bug #9971 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 02:11:31 +00:00
nobu
2af4240fbb
signal.c: no cfunc frame at stack overflow
...
* signal.c (check_stack_overflow): avoid pushing a cfunc frame,
trying to fix stack overflow deadlock.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-22 01:47:14 +00:00
naruse
c7a7e60409
remove registry
...
'registry' is not used and RFC3986 doesn't use it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-22 00:24:11 +00:00
naruse
b757ff3ef6
* lib/uri/rfc3986_parser.rb: raise exception when given a URI string has non ASCII.
...
It is to keep the regexp compiled for US-ASCII.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-22 00:23:52 +00:00
svn
5c533d11fc
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-22 00:22:25 +00:00
naruse
bb83f32dc3
support RFC3986 [Feature #2542 ]
...
* lib/uri/common.rb (URI::REGEXP): move to lib/uri/rfc2396_parser.rb.
* lib/uri/common.rb (URI::Parser): ditto.
* lib/uri/common.rb (URI.split): use RFC3986_Parser.
* lib/uri/common.rb (URI.parse): ditto.
* lib/uri/common.rb (URI.join): ditto.
* lib/uri/common.rb (URI.extract): deprecated.
* lib/uri/common.rb (URI.regexp): ditto.
* lib/uri/rfc2396_parser.rb: added.
* lib/uri/rfc3986_parser.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-22 00:22:19 +00:00
naruse
97d36e5bd0
lib/uri/mailto.rb (initialize): as previous commit, fix arg_check
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-22 00:22:15 +00:00
naruse
c56dab2ceb
fix that arg_check didn't work
...
* lib/uri/ftp.rb (initialize): arg[-1] was fragment, but it must be arg_check.
* lib/uri/ftp.rb (initialize): explicitly specify arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-22 00:21:57 +00:00
naruse
f977ebb1c9
suppress warnings: using default DH parameters.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-22 00:21:37 +00:00
svn
7ae0d58551
* 2014-06-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-21 23:44:03 +00:00
akr
a2f26bfaea
Remove trailing white spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-21 23:43:50 +00:00
nobu
ae8c770ba5
fiddle/extconf.rb: supply 0
...
* ext/fiddle/extconf.rb: supply 0 to fill RUBY_LIBFFI_MODVERSION
with 3-digit. libffi 3.1 returns just 2-digit.
[ruby-core:62920] [Bug #9897 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-21 03:54:19 +00:00
nobu
28e88ce9a4
ChangeLog: fix vm_core.h entry in r46465
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-20 22:48:41 +00:00
svn
4534a30838
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-20 22:10:04 +00:00
svn
31197c79e1
* 2014-06-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-20 22:10:00 +00:00
nobu
ec1843caed
encoding.c: fix rdoc [ci skip]
...
* encoding.c (enc_find): [DOC] never accepted a symbol.
[ruby-dev:48308] [Bug #9966 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-20 22:09:55 +00:00
svn
b3eed82f27
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-20 08:22:17 +00:00
ko1
2aa6f9c2b7
* test/lib/tracepointchecker.rb: add to check TracePoint healthiness.
...
* test/runner.rb: use it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-20 08:22:09 +00:00