drbrain
9c49b69d3e
* doc/globals.rdoc: Document what setting $VERBOSE does. [Bug #7899 ]
...
* doc/globals.rdoc: Added pointer to $-w and $-v for full
documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 21:27:25 +00:00
zzak
3740017355
commit miss
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 17:39:00 +00:00
zzak
7ceb188443
* lib/abbrev.rb: Add words parameter to Abbrev::abbrev
...
Patch by Devin Weaver [Github documenting-ruby/ruby/#7]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 17:35:32 +00:00
svn
254dc20a47
* 2013-02-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 15:18:15 +00:00
nagachika
14ffaac408
* ChangeLog: fix a typo for r39352.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 15:18:10 +00:00
naruse
e525bcd1b3
Add test for [Backport #7896 ] [ruby-core:52607]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 08:31:47 +00:00
naruse
45dcceaa71
* tool/merger.rb: add interaction when only ChangeLog is modified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 08:31:45 +00:00
nobu
087e888a15
signal.c: extract check_stack_overflow
...
* signal.c (check_stack_overflow): extract duplicated code and get rid
of declaration-after-statement. [Bug #5014 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 07:34:53 +00:00
kosaki
7355c6d9c9
* signal.c (sigsegv): avoid to use async signal unsafe functions
...
when nested sigsegv is happen.
[Bug #5014 ] [ruby-dev:44082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 05:18:38 +00:00
kosaki
8a9dc061f5
* file.c (rb_group_member): added an error check. SUS says,
...
getgroups(small_value) may return EINVAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 04:52:38 +00:00
kosaki
e93a68abfa
* file.c (RB_MAX_GROUPS): moved to
...
* internal.h (RB_MAX_GROUPS): here.
* file.c (rb_group_member): use RB_MAX_GROUPS instead of
RUBY_GROUP_MAX. They are the same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 04:41:39 +00:00
kosaki
1cda6e3968
* file.c (access_internal): removed.
...
* file.c (rb_file_readable_real): use access() instead of
access_internal().
* file.c (rb_file_writable_real): ditto.
* file.c (rb_file_executable_real): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 04:41:23 +00:00
kosaki
ba37db0453
* file.c (eaccess): use access() when not using setuid nor setgid.
...
This is minor optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 04:41:11 +00:00
kosaki
7c465090fd
* file.c (rb_group_member): get rid of NGROUPS dependency.
...
[Bug #7886 ] [ruby-core:52537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 04:40:58 +00:00
nobu
74016f1842
ruby.c: fix for multiarch library
...
* ruby.c (ruby_init_loadpath_safe): try two levels upper for stripping
libdir name. [Bug #7874 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 03:45:07 +00:00
nobu
739c8ffcee
configure.in: expand libdir_basename
...
* configure.in (libdir_basename): expand with multiarch in configure,
not to defer the expansion till ruby.pc.in and mkmf.rb. [Bug #7874 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 03:42:25 +00:00
svn
cb71fee8d9
* 2013-02-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 00:51:18 +00:00
nobu
22b51faf7e
configure.in: libdir_basename for -rpath and -install_name
...
* configure.in (libdir_basename): also -rpath and -install_name flags
are affected when libruby directory changes. [Bug #7874 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 00:51:11 +00:00
nobu
e908adc12a
common.mk: uninstall
...
* common.mk (uninstall): uninstall installed file listed in
$(INSTALLED_LIST) file.
* tool/rbuninstall.rb: simple uninstallation tool.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 12:49:43 +00:00
nobu
fc50b60cb7
* tool/rbinstall.rb (libdir): fix typo. [Bug #7874 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 12:34:20 +00:00
nobu
9041f262e0
extmk.rb: extract SUBMAKEOPTS
...
* ext/extmk.rb (SUBMAKEOPTS): extract common sub make options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 12:06:13 +00:00
nobu
ffdb70a696
extmk.rb: rename variables
...
* ext/extmk.rb: rename working variables as more descriptive so no
shadowing local variable warnings, and remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 12:06:10 +00:00
nobu
57bccfa900
ruby.h: HAVE_RB_SCAN_ARGS_OPTIONAL_HASH
...
* include/ruby/ruby.h (HAVE_RB_SCAN_ARGS_OPTIONAL_HASH): for
rb_scan_args() optional hash feature. [Bug #7861 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 10:27:04 +00:00
nobu
52911974f8
configure.in: target_os suffix
...
* configure.in (target_os): do not strip -gnu suffix on Linux if
--target is given explicitly. [Bug #7874 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 09:02:28 +00:00
nobu
67ab6e3d9b
configure.in: adjust libdirname
...
* configure.in (libdirname): adjust library path name which libruby
files will be installed. [Bug #7874 ]
* tool/rbinstall.rb (libdir): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 09:01:17 +00:00
zzak
206d1c8907
* ext/pty/pty.c: Documentation for the PTY module
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 04:37:35 +00:00
zzak
c7bb797410
* object.c: Document Data class [Bug #7890 ] [ruby-core:52549]
...
Patch by Matthew Mongeau
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 03:19:01 +00:00
nobu
4b81b403eb
enumerator.c: suppress warnings
...
* enumerator.c (lazy_zip_arrays_func, lazy_zip_func, lazy_take_func),
(lazy_drop_func, lazy_drop_while_func): suppress uninitialized
instance vriable warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 03:15:32 +00:00
zzak
2d112d2c78
* lib/mutex_m.rb: Add rdoc for Mutex_m module
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 02:51:51 +00:00
drbrain
75eb6cc98e
* lib/rubygems/commands/update_command.rb: Create the installer after
...
options are processed. [ruby-trunk - Bug #7779 ]
* test/rubygems/test_gem_commands_update_command.rb: Test for the
above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 00:34:58 +00:00
drbrain
cd8ef79d22
* lib/rubygems/installer.rb: Use gsub instead of gsub! to avoid
...
altering @bin_dir. Fixes tests on windows. [ruby-trunk - Bug #7885 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 22:51:38 +00:00
svn
b6cdc43976
* 2013-02-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 16:19:18 +00:00
eregon
92abfccaa3
* array.c: Fix typo in class documentation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 16:19:13 +00:00
mrkn
c42cf83f26
* ext/bigdecimal/bigdecimal.gemspec: bump to 1.2.0.
...
[ruby-core:51777] [Bug #7761 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 11:50:48 +00:00
kazu
7ffd5405bd
fix typo and remove trailing space
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 04:40:40 +00:00
knu
e38972354a
Remove Syslog#inspect and have only Syslog.inspect.
...
* ext/syslog/syslog.c (Init_syslog): Define inspect as a singleton
method and remove it as an instance method. [Bug #6502 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 04:13:57 +00:00
nobu
1955ac9e82
* tool/mkconfig.rb: exclude variables to just build libruby.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 03:49:37 +00:00
nobu
a168db1cb2
* tool/mkrunnable.rb: needs rbconfig.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 03:49:35 +00:00
nobu
bbd9223f60
* ChangeLog: remove duplicated entry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 03:49:32 +00:00
zzak
281e6e1b3b
* object.c: rdoc formatting for Kernel#Array()
...
* array.c: Add rdoc for Array() method to Creating Arrays section
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 03:32:11 +00:00
drbrain
2163738ffb
* ext/openssl/ossl.c (class OpenSSL): Use only inner parenthesis in
...
create_extension examples.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 01:36:30 +00:00
drbrain
b043b0592b
* ext/openssl/ossl.c (class OpenSSL): Fixed ExtensionFactory example.
...
Patch by Richard Bradley. [ruby-trunk - Bug #7551 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 01:27:33 +00:00
ko1
cc16b2139b
* vm_eval.c (vm_call0_body): check interrupts after method dispatch
...
from C methods. [Bug #7878 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18 23:53:41 +00:00
drbrain
aec0735f6d
* lib/rubygems/installer.rb: Fixed placement of executables with
...
--user-install. [ruby-trunk - Bug #7779 ]
* test/rubygems/test_gem_installer.rb: Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18 23:15:49 +00:00
naruse
10103e8cc7
Correct condition of r39302
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18 21:46:00 +00:00
svn
52b0181306
* 2013-02-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18 21:21:05 +00:00
naruse
0b261c379b
* vm_dump: FreeBSD ports' libexecinfo's backtrace(3) can't trace
...
beyond signal trampoline, and as described in r38342 it can't
trace on -O because it see stack frame pointers.
libunwind unw_backtrace see dwarf information in the binary
and it works with -O (without frame pointers).
* configure.in: remove r38342's hack and check libunwind.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18 21:21:02 +00:00
naruse
e233ca15e0
* configure.in: check whether backtrace(3) works well or not.
...
* vm_dump.c: set HAVE_BACKTRACE 0 if BROKEN_BACKTRACE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18 21:20:59 +00:00
knu
a16c76f7c5
* lib/ipaddr.rb (IPAddr#in6_addr): Fix a typo with the closing
...
parenthesis.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18 07:31:17 +00:00
knu
7d63004fce
Fix the IPv6 parser.
...
* lib/ipaddr.rb (IPAddr#in6_addr): Fix the parser so that it can
recognize IPv6 addresses with only one edge 16-bit piece
compressed, like [::2:3:4:5:6:7:8] or [1:2:3:4:5:6:7::].
[Bug #7477 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18 03:45:21 +00:00