Age | Commit message (Collapse) | Author |
|
--
* regcomp.c: revert r26701; it introduces Bug #3681.
[ruby-core:31677]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error):
Fix for possible cross-site scripting (CVE-2010-0541).
Found by Apple, reported by Hideki Yamane.
Patch by Hirokazu Nishio <nishio.hirokazu AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* file.c (file_expand_path): should check if could find user.
[ruby-core:31538]
--
* file.c (file_expand_path): home directory must be absolute.
[ruby-core:31537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* vm_eval.c (vm_call0): fix for VM_METHOD_TYPE_NOTIMPLEMENTED.
[ruby-dev:41953]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* file.c (realpath_rec): rb_str_modify depends on the length, so
resize instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT
results when poped is true. [ruby-dev:41933], [Bug #3658]
This is retry of r28870 and r28873 which were reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* dir.c (glob_make_pattern): fold continuous PLAINs to get rid of
snail at too deep path. [ruby-dev:41871]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* ext/win32ole/win32ole.c: fix checking version of GCC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* ruby.c (ruby_init_loadpath_safe): rb_str_set_len modifies ptr
since r26303.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* ext/win32ole/win32ole.c: NONAMELESSUNION defined only if gcc
version is older than 3.4.4. [ruby-core:31567] [Bug #3637]
* ext/win32ole/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* ext/tk/extconf.rb: use TK_XINCLUDES on tkConfig.sh when not empty,
even if MacOS X Aqua version [ruby-dev:41883].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* complex.c (nucomp_marshal_load): should check the argument.
[ruby-core:31622]
* rational.c (nurat_marshal_load): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* thread_win32.c (native_thread_join): need to wait thread, of course.
[ruby-dev:41911]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* file.c (file_expand_path): wrong condition. [ruby-core:31591]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
These are needed to fix build failure on windows. [ruby-dev:41929]
--
* configure.in: not [freebsd] but [freebsd*] for AS_CASE.
* configure.in: define BROKEN_CLOSE only on FreeBSD.
This needs to merge to 1.9.2.
* configure.in: define BROKEN_CLOSE on FreeBSD.
This fixes build failure on MSVC. [ruby-core:31481]
* include/ruby/ruby.h, include/ruby/missing.h:
use BROKEN_CLOSE for replacing close(2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
This is the essential part from r28794 of trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
The patch seems to be revised by r28763. The patch will be backported
after it is stabilized by an experience in trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* vm.c (rb_thread_mark): mark only self of normal iseqs, not
nodes. [ruby-dev:41874]
* vm.c (rb_thread_mark): should mark iseq itself other than normal
iseq. [ruby-dev:41880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* lib/irb/init.rb (IRB.parse_opts): set VERBOSE to true when debug
switch called in irb. a patch from Andrew Grimm in
[ruby-core:31558].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* bignum.c (big_op): comparison of bignum and infinity has returned 1
or -1, but it must return boolean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* numeric.c (flo_cmp): honor the result of infinite? method of the
other. [ruby-core:31470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* lib/rubygems/custom_require.rb, gem_prelude.rb: Load code from
from gems properly.
* lib/rubygems.rb: Load the custom require if --disable-rubygems
was used.
* gem_prelude.rb: Pull in rubygem's custom require
[ruby-core:30846]
* lib/rubygems.rb: Handle always having custom require available
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* configure.in (RUBY_DEFAULT_ARCH): adjust for target
cpu. [ruby-core:31243]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* configure.in (RUBY_MINGW32): ignore msvc suffix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* re.c (rb_reg_expr_str): fixed out-of-boundary access at invalid
multibyte characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* re.c (rb_reg_expr_str): fix broken Regexp#inspect when it
is ASCII-8BIT and non-ASCII character.
The length of character should be from original byte string.
[ruby-core:31431]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
Fix signature of rb_ensure and rb_rescue to match the implementation in README.EXT
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* ext/socket/raddrinfo.c (rb_getaddrinfo): according to my valgrind output this variable should be initialized beforehand.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* io.c (io_flush_buffer): write and buffer operations should be
monolithic. [ruby-core:31348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* lib/fileutils.rb (FileUtils::Entry_#copy): check file name
spearator boundary. [ruby-core:31360]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* NEWS (Kernel#instance_eval): add an incompatible change since
the 1.9.1 release. [ruby-core:31336]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* tool/rbinstall.rb (ext-arch): prune directories start with '-'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* regexec.c (match_at): add end point to enclen's argument.
This only effect on compilinig with -DONIG_DEBUG_MATCH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* ext/dl/handle.c (rb_dlhandle_close): should not pass a dynamic
string to rb_raise directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* README.EXT{,.ja} (rb_block_call): fixed about third/fourth
arguments to the block. based on [ruby-core:31192] by Asher
Haig. [Bug #3558]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* include/ruby/missing.h: add prototype for ruby_close().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* sprintf.c: add short documentation about named reference.
[ruby-core:31294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* regexec.c (onig_search): don't skip non-ANYCHARs when
.* fails to match. This causes to fail matching
ANYCHAR_STAR with LOOK_BEHIND. This fix is workaround
and disable the optimization. [ruby-dev:41851]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* thread_pthread.c (get_stack): fix memory leak; pthread_attr_destory
must be called even when pthread_getattr_np is used.
[ruby-core:31269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* lib/cmath.rb (CMath#cbrt): cbrt should accept a negative real
numbers. [ruby-core:31234]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* numeric.c (fix_divide): must not use rb_rational_new1 for coercion
because it returns an argument itself when canonical mode is set.
[ruby-core:31279]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* proc.c (bm_free): fix memory leak. [ruby-core:30869] [Bug #3466]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* missing/close.c: keep original errno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
gem activation does not work by default. Now it can be worked
around by requiring "rubygems" first. [ruby-core:29486]
a patch from Evan Phoenix in [ruby-core:31096].
* lib/rubygems.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
commit. http://twitter.com/knu/status/18247078381
* tool/rmdirs: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
for /bin/sh on Solaris
* tool/rmdirs: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* string.c (rb_str_conv_enc_opts): fix infinite loop because
of ISO-2022-JP conversion with empty string.
patched by Brian Buchanan [ruby-core:31107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* missing/close.c: ignore ECONNRESET.
FreeBSD wrongly sets ECONNRESET on close(2) and
it causes false-negative exceptions. [ruby-dev:41778]
* configure.in: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--
* io.c (swallow, prepare_getline_args, rb_io_getline_1): fix for
paragraph mode reading in non-ascii-compatible encoding.
[ruby-dev:41803]
--
* test/ruby/test_io_m17n.rb (test_textmode_paragraph_nonasciicompat): should
match the modes of both end of pipe as text mode.
* test/ruby/test_io_m17n.rb (test_binmode_paragraph_nonasciicompat): new test
for binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|