svn
9dc30d2bc2
* 2013-02-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 22:53:20 +00:00
nobu
724d7f0370
ruby.pc.in: reorder
...
* template/ruby.pc.in: reorder library flags which may refer library
names. [Bug #7913 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 22:53:14 +00:00
nagachika
a0afa57ea4
* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
...
fix a typo in comment in r39384.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 14:50:03 +00:00
usa
1ad9075734
* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
...
new attribute to read/write entity expansion text limit. the default
limit is 10Kb.
* lib/rexml/text.rb (REXML::Text.unnormalize): check above attribute.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 09:35:46 +00:00
naruse
7dd6e08b93
* test/test_rbconfig.rb (TestRbConfig): fix r39372.
...
It must see RbConfig::CONFIG instead of CONFIG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 08:37:16 +00:00
ngoto
c84a9acb28
* signal.c (ruby_abort): fix typo in r39354 [Bug #5014 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 06:02:54 +00:00
nobu
3f2ce6373f
random.c: fix error message
...
* random.c (rb_random_ulong_limited): fix error message for negative
value. [ruby-dev:47061] [Bug #7903 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 03:46:47 +00:00
nobu
e51a9b49f1
test_process.rb: fix parameters
...
* test/ruby/test_process.rb (test_{,a}spawn_too_long_path): fix
missing parameters in r38934.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 02:58:53 +00:00
nobu
2027a05247
* test/ruby/test_process.rb: remove useless sleep.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 02:53:54 +00:00
nobu
839ae05e0c
* tool/mkrunnable.rb: refactor and multiarch support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 02:37:51 +00:00
nobu
20fa732495
test_rbconfig.rb: honor configuration options
...
* test/test_rbconfig.rb (TestRbConfig): skip user defined values by
configuration options. [Bug #7902 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 02:36:48 +00:00
nobu
b9ef804fb8
mkmf.rb: adjust default library path
...
* lib/mkmf.rb (MakeMakefile#init_mkmf): adjust default library path
for multiarch. [Bug #7874 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 02:33:44 +00:00
zzak
d2c218d559
* enum.c (Enumerable#chunk: Improved examples, grammar, and formatting
...
Patch by Dan Bernier and Rich Bruchal of newhaven.rb
[Github documenting-ruby/ruby#8 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 02:11:26 +00:00
zzak
8d4a11c919
* numeric.c: Examples and formatting for Numeric and Float
...
Based on a patch by Zach Morek and Oren K of newhaven.rb
[Github documenting-ruby/ruby#5 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 02:01:28 +00:00
nobu
d0a4131709
un.rb: suppress warning
...
* lib/un.rb (wait_writable): show error messages only if -v is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 00:05:55 +00:00
nobu
cc367fb326
configure.in: quite conftest
...
* configure.in (rb_cv_broken_backtrace): suppress extra output from
conftest.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 00:05:51 +00:00
drbrain
ac4da20aa3
* lib/rubygems/installer.rb (build_extensions): Create extension
...
install destination before building extension. Patch by Kenta Murata.
[ruby-trunk - Bug #7897 ]
* test/rubygems/test_gem_installer.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 22:05:09 +00:00
drbrain
6b88b523f4
* doc/globals.rdoc: Document what setting $DEBUG does.
...
* doc/globals.rdoc: Added pointer to $-d for full documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 21:31:09 +00:00
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