Activity
From 07/06/2009 to 07/12/2009
07/12/2009
-
11:09 PM Revision 41b74c6e (git): * ext/tk/extconf.rb: New strategy for searching Tcl/Tk libraries.
- * ext/tk/*: Support new features of Tcl/Tk8.6b1 and minor bug fixes.
( [KNOWN BUG] Ruby/Tk on Ruby 1.9 will not work on Cygwin. )
* ext/tk/*: Unify sources between Ruby 1.8 & 1.9.
Improve default_widget_set handling.
* e... -
11:08 PM Revision ed6ce8b4 (git): * ext/tk/extconf.rb: New strategy for searching Tcl/Tk libraries.
- * ext/tk/*: Support new features of Tcl/Tk8.6b1 and minor bug fixes.
( [KNOWN BUG] Ruby/Tk on Ruby 1.9 will not work on Cygwin. )
* ext/tk/*: Unify sources between Ruby 1.8 & 1.9.
Improve default_widget_set handling.
* e... -
05:36 PM Revision e13fb802 (git): rdoc update.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:42 PM Revision 4fffacd9 (git): merge revision(s) 23259,24059:
- * time.c (time_timeval): check out-of-range. [ruby-core:23282]
[Bug #1396]
* time.c (time_timeval): rounds subsecond toward zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24060 b2dd03c8-39d4-4d... -
04:18 PM Revision 4e94c36f (git): * time.c (time_timeval): rounds subsecond toward zero.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:18 PM Revision 796fc30f (git): * time.c (time_timespec): rounds subsecond toward zero.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:29 PM Bug #1747: Immediate Values Can be Frozen
- =begin
Hi,
2009/7/11 Run Paint Run Run <redmine@ruby-lang.org>:
> Defining instance methods on Fixnum instances seems a particularly contrived case, even for ruby-core. ;-)
Please don't count on me so much ;-)
> Triskadekaph... - 03:04 PM Revision 400d8263 (git): * 2009-07-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:04 PM Revision 0dc7839b (git): ENV is now locale encoding.
- * hash.c (env_str_new): use rb_locale_str_new instead of
rb_tainted_str_new. rb_locale_str_new set string locale
encoding and tainted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:57 PM Revision 8d9896c3 (git): * complex.c: added some shortcuts.
- * rational.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:46 PM Revision 07359806 (git): merges r23956 from trunk into ruby_1_9_1.
- --
* vm_insnhelper.c (vm_yield_setup_block_args): restores the first
arg where is overwritten at funcall. [ruby-core:24139]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:46 PM Revision 9331ca8f (git): merges r23946 from trunk into ruby_1_9_1.
- --
* complex.c: undef-ed shome methods. [ruby-core:24110]
* complex.c (Numeric#arg): NaN for NaN. [ruby-core:24116]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24053 b2dd03c8-39d4-4d8f-98ff-823fe69... -
02:46 PM Revision e0e42932 (git): merges r23932 from trunk into ruby_1_9_1.
- --
* parse.y (parser_yylex): fixed wrong variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:46 PM Revision 1032750a (git): merges r23930 from trunk into ruby_1_9_1.
- --
* hash.c (rb_hash_hash): documentation fix. a patch from
Marc-Andre Lafortune. [ruby-core:23943]
* object.c (rb_mod_cmp): ditto.
* range.c (range_eq): ditto.
* string.c (rb_str_partition, rb_str_rpartition): ditto.
* struct.c ... -
02:45 PM Revision 5a7efe4d (git): merges r23918 and r23919 from trunk into ruby_1_9_1.
- --
* marshal.c (w_encoding): encodings need extra depth.
[ruby-core:24100]
--
* test/ruby/test_marshal.rb (TestMarshal#test_limit): test for
[ruby-core:24100].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24050 b2... -
02:45 PM Revision 72c0d800 (git): merges r23916 from trunk into ruby_1_9_1.
- --
* re.c (reg_match_pos): adjust offset based on characters, not
bytes. [ruby-dev:38722]
* string.c (rb_str_offset): new function.
* string.c (rb_str_index_m): no call to rb_reg_adjust_startpos().
git-svn-id: svn+ssh://ci.ruby-lan... -
02:45 PM Revision 64f82e29 (git): merges r23911 from trunk into ruby_1_9_1.
- --
* tool/compile_prelude.rb: use US-ASCII name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:45 PM Revision 149e1593 (git): merges r23906 from trunk into ruby_1_9_1.
- --
* dln.c (dln_find_1): fixed index overrun.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 PM Revision 61c0c7ab (git): merges r23891 from trunk into ruby_1_9_1.
- --
* dln.c (dln_find_1): fix for files with dots. [ruby-dev:38588]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 PM Revision 427da297 (git): merges r23889 from trunk into ruby_1_9_1.
- --
* file.c (file_expand_path): should copy original encoding.
[ruby-dev:38612]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 PM Revision 8bab26ec (git): merges r23862 from trunk into ruby_1_9_1.
- --
* io.c (argf_rewind): need to rewind $. and ARGF.lineno.
[ruby-core:24046]
* io.c (struct argf): refactoring on $. and ARGF.lineno behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24044 b2dd03c8-39d4-4d8f-... -
02:30 PM Revision b1f618e9 (git): * object.c (rb_to_integer, rb_check_to_integer): return Bignum
- as-is.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:57 PM Revision 05c5b821 (git): * 2009-07-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:57 PM Revision 45cf635d (git): ChangeLog: fixes a mistake in merging r23801.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:57 PM Revision b9fb3ee4 (git): merges r23861 from trunk into ruby_1_9_1.
- --
* ext/pty/pty.c (pty_getpty): check dup failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 PM Revision dfcb5cf9 (git): merges r23853 from trunk into ruby_1_9_1.
- --
* io.c (argf_binmode_m): should call rb_io_ascii8bit_binmode() to
set its encoding to ASCII-8BIT. [ruby-core:24029]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 PM Revision 01c53e45 (git): merges r23849 from trunk into ruby_1_9_1.
- --
* lib/rake.rb, lib/rubygems/custom_require.rb, lib/rubygems/digest/*.rb: not executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 PM Revision 853c95bd (git): merges r23846 from trunk into ruby_1_9_1.
- --
* enum.c (first_i): wrong condition for no argument #first.
[ruby-core:24017]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:37 PM Bug #1326: Failing unit tests on windows
- =begin
Thanks for the list Charlie.
Could you run them again from trunk? I'd be interested to see how they look compared to my mingw output of the same. For some reason I've never seen any imap errors.
=r
=end
- 12:09 PM Revision 898bb1cb (git): * complex.c: use k_exact_{zero,one}_p macro.
- * rational.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:46 AM Revision fff1183f (git): * numeric.c (fix_divide): added an entry to rational.
- * rational.c (rb_rational_reciprocal): added.
* complex.c (f_reciprocal): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:03 AM Bug #1763 (Closed): SecurityError on an Exception object because of modification of instance variable #__ThrowState__
- =begin
以下ような例で,例外オブジェクトのインスタンス変数 (#__ThrowState__) 操作の
SecurityError となり,適切な例外状況を捉えることができません.
-----------------------------------------------------------------------
cmd = proc{p "cmd: safe_level == #{$SAFE}"; raise SystemExit}
...
07/11/2009
-
05:24 PM Revision 17c1e454 (git): * random.c (rand_init): use fixed buffer for small numbers.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:11 PM Bug #1747: Immediate Values Can be Frozen
- =begin
Defining instance methods on Fixnum instances seems a particularly contrived case, even for ruby-core. ;-) The troubled soul wishing to engage in such hackery could surely stretch as far as using a Struct to wrap his annotated nu... -
01:48 AM Bug #1747: Immediate Values Can be Frozen
- =begin
2009/7/10 Gary Wright <gwtmp01@mac.com>:
>
> On Jul 9, 2009, at 12:15 AM, Yusuke ENDOH wrote:
>>
>> It seems to be an intentional change for the following use case:
>>
>> # http://nov.tdiary.net/20071215.html#p02 (In Japan... -
01:33 PM Bug #1760 (Closed): Methods Expecting Paths Should Prefer #to_path Over #to_str
- =begin
Methods that expect paths usually call #to_path on their argument. They may also try #to_str. When an argument responds to both of these methods, I suggest that #to_path is preferred as it is the more specific, thus more likely t... -
05:49 AM Revision 3f405a76 (git): * ext/tk/tcltklib.c (get_obj_from_str): suppressed a warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:46 AM Revision cb7075a6 (git): * test/ruby/test_io_m17n.rb (test_strip_bom): added.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/10/2009
-
11:37 PM Bug #1753: non success open client socket not detected on windows
- =begin
This patch will fix the problem.
--- win32.c 2009-01-16 00:37:20.000000000 +0900
+++ win32.c.new 2009-07-10 23:34:06.000000000 +0900
@@ -2397,6 +2397,7 @@
r = WSAGetLastError();
if (r != W... -
10:38 PM Bug #1753: non success open client socket not detected on windows
- =begin
I get this too [for mingw 1.9]. Odd.
=r
=end
-
10:12 PM Revision c51a9689 (git): * ext/readline/readline.c (readline_attempted_completion_function):
- array length is long.
* ext/readline/readline.c (readline_s_get_filename_quote_characters):
missing type of self.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:38 PM Bug #1757 (Closed): cygwin-1.7, gcc4-4.3, and ruby-1.9. method `inspect' called on hidden object (0x10046720) (NotImplementedError)
- =begin
I tried compiling ruby-1.9.2-r24017 on cygwin-1.7.0 using gcc-4.3 as follows:
$ cygcheck -f /bin/cygwin1.dll /usr/bin/gcc-4
cygwin-1.7.0-50
gcc4-core-4.3.2-2
$ ../ruby-1.9.2-r24017/configure --program-suffix="-19" -... -
06:31 PM Revision 91988781 (git): Fix method scoping bug.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:37 PM Revision a88589c7 (git): * random.c (limited_rand): expands to long before shift so that
- the result does not overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:37 PM Bug #1741 (Closed): Enumerable#join with Nested Enumerables
- =begin
Applied in changeset r24017.
=end
-
03:38 PM Revision 665787ea (git): Added FCNTL inclusion to fix a compile error with solaris (backport from r22812)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:16 PM Revision 1dabc36b (git): * random.c (rand_init): got rid of buffer overflow.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:11 PM Revision 38867cc1 (git): * array.c (ary_join_1): should recurse for element array.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:50 PM Revision 69c8bf73 (git): Fixed ostruct recursion inspection.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:21 PM Revision 161f0a16 (git): io.c (io_strip_bom): ungetbyte third byte when UTF-16LE.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:21 PM Revision f188db31 (git): Fix condition of second byte of UTF-16LE/UTF-32LE.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:47 PM Revision cdeed3b3 (git): * ChangeLog: commit miss.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:17 PM Revision 67016f36 (git): cosmetic changes
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:03 PM Revision 257c314f (git): * ext/readline/extconf.rb: checked rl_refresh_line in readline.
- * ext/readline/readline.c (readline_s_refresh_line): add new
method, a patch from Koichiro Ohba. see [ruby-list:45922].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:13 PM Revision 89fd5213 (git): * ext/readline/extconf.rb: checked rl_line_buffer and rl_point in
- readline.
* ext/readline/readline.c (readline_s_get_line_buffer): new method.
(readline_s_get_point): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:41 AM Revision 5d8b373b (git): * test/ruby/test_array.rb (test_join2): fixed typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:27 AM Bug #1756 (Closed): Segfault with define_method and Implicit Argument Form of super
- =begin
Applied in changeset r24012.
=end
-
09:52 AM Bug #1756 (Closed): Segfault with define_method and Implicit Argument Form of super
- =begin
$ cat super.rb
lambda do
Class.new do
define_method :a do
super
end.call
end
end.call
$ ruby -v super.rb
super.rb:4: [BUG] Segmentation fault
ruby 1.9.2dev (2009-07-0... -
07:30 AM Revision af8f8e5b (git): * array.c (recursive_join): use obj to tell if recursion occurs.
- [ruby-core:24150]
* enum.c (enum_join): reverted r23966. [ruby-core:24196]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:51 AM Revision 5e2a28d1 (git): Add test for marshaling regexp.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:51 AM Revision 143d1d84 (git): * marshal.c (r_object0): set encoding only if the encoding is not US-ASCII.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:44 AM Revision 234485dc (git): * random.c (struct MT): ruby already assumes int has 32bit at
- least, so no needs to use long.
* random.c (rand_init):
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:28 AM Bug #1755: IO#reopen Doesn't Fully Associate with Given Stream on 1.9; Ignores pos on 1.8
- =begin
('io-reopen2.rb' should be 'io-reopen.rb' in the above examples. :-()
=end
-
05:25 AM Bug #1755 (Closed): IO#reopen Doesn't Fully Associate with Given Stream on 1.9; Ignores pos on 1.8
- =begin
$ cat io-reopen.rb
file1 = File.open('a')
file2 = File.open('b')
file1.gets # => "ant\n"
file2.gets # => "1\n"
file1.reopen(file2)
p file1.gets # => "2\n"
$ echo -e "ant\nbear\nc... -
02:41 AM Revision 5cc13fcb (git): * include/ruby/ruby.h (rb_obj_{untrust,untrusted,trust}): added
- prototypes. [ruby-dev:38756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:25 AM Revision bee49b34 (git): * vm_insnhelper.c (vm_search_superclass): checks for implicit
- argument passing before method search. [ruby-core:24244]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/09/2009
-
11:57 PM Feature #802 (Closed): IO.open optional argument to properly handle BOMs
- =begin
Applied in changeset r24001.
=end
-
11:57 PM Bug #650 (Closed): Marshal.load raises RegexpError
- =begin
Applied in changeset r23999.
=end
-
02:31 PM Bug #650: Marshal.load raises RegexpError
- =begin
修正案です。エンコーディングを見て、UTF-8でない場合は1.8からとみなして、s/\\u/u/gしています。
diff --git a/marshal.c b/marshal.c
index 0c44eba..d572ecd 100644
--- a/marshal.c
+++ b/marshal.c
@@ -1393,8 +1393,19 @@ r_object0(struct load_arg *arg, int *ivp... -
10:22 PM Revision b16c326d (git): * parse.y (parser_data_type): typed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:18 PM Revision 081625d1 (git): * error.c (compile_warn_print, warn_print): fixed false warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:51 PM Bug #1753 (Closed): non success open client socket not detected on windows
- =begin
Here the code and execution with different ruby version :
D:\usr\ruby\local\dsd17>type z_essai.rb
require 'socket'
p "*************************************************"
p [RUBY_PLATFORM,RUBY_VERSION,RUBY_RELEASE... -
07:12 PM Revision e803164d (git): Minor fixes to x64 sitedir/libdir.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:48 PM Revision b4b5d8f7 (git): Removed private on to_date and to_datetime.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:29 PM Revision 6dd00f0e (git): ext/socket/extconf.rb: Corrected function definitions to specify return values.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:16 PM Revision 49109186 (git): Pendantic change to remove surplus comma.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:06 PM Bug #1322: define_method scope bug
- =begin
=end
-
06:05 PM Revision 71abe58a (git): Fixed warning: passing argument 1 of 'add_freelist' makes pointer from integer without a cast
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:24 PM Revision bc50de4b (git): Stopgap fix for gc.c based segmentation faults.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:02 PM Revision 1dc339e5 (git): * 2009-07-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:02 PM Revision f69af8e8 (git): Remove debug print.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 PM Revision 634cfdc6 (git): Set encoding and strip bom when modeenc string is "r:foo-bom" [ruby-dev:37236]
- * include/ruby/io.h (FMODE_STRIP_BOM): new constant.
* io.c (io_encname_bom_p): judge whether the encoding name
is *-bom or not.
(parse_mode_enc): drop "-bom".
(rb_io_modestr_fmode): set FMODE_STRIP_BOM if needed.
(rb_io_extract... - 02:47 PM Revision a113d4f8 (git): * 2009-07-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 PM Revision e6989a7e (git): * marshal.c (r_object0): replace \u by u when the regexp is
- made by Ruby 1.8. [ruby-dev:36750]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:15 PM Bug #1747: Immediate Values Can be Frozen
- =begin
Hi,
2009/7/9 Run Paint Run Run <redmine@ruby-lang.org>:
> Bug #1747: Immediate Values Can be Frozen
> http://redmine.ruby-lang.org/issues/show/1747
>
> Author: Run Paint Run Run
> Status: Open, Priority: Normal
> Categor... -
08:22 AM Bug #1747 (Closed): Immediate Values Can be Frozen
- =begin
On 1.8 you couldn't freeze an immediate. On 1.9 you can. Presumably this is a bug.
$ ruby -ve 'a=true;a.freeze;p a.frozen?'
ruby 1.9.2dev (2009-07-08 trunk 23995) [i686-linux]
true
$ ruby8 -ve 'a=true;a.free... -
11:30 AM Bug #1750 (Rejected): Inconsistent Behavior on 1.8 and 1.9 of String#[]= with Single Fixnum Argument
- =begin
Brian Ford posted the following to [ruby-core:23706], but it seems to have been passed over, so I'm submitting it as a ticket. Hopefully we can clarify this behaviour, then get the affected RubySpec tests fixed. :-)
####
... -
09:52 AM Bug #1749 (Closed): Change in How $~ is Restored After String#sub/String#gsub with a Block
- =begin
I wrote the following in [ruby-core:23699], but it seems to have been missed, so I'm filing it as a ticket. There are 3 RubySpec failures relating to this issue, so it would be great to determine what's what. :-)
There's bee... -
09:05 AM Revision 7adb8681 (git): merge revision(s) 23257:
- * eval.c (proc_invoke): shares dmethod scope local variables.
a patch from coderrr at [ruby-core:23050]
* gc.c (obj_free): do not free cloned scope local variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches... -
08:54 AM Bug #1748 (Rejected): Kernel.puts(nil) => "\n" on 1.9; "nil\n" on 1.8
- =begin
Is this intentional?
$ ruby -ve 'Kernel.puts(nil)'
ruby 1.9.2dev (2009-07-08 trunk 23995) [i686-linux]
$ ruby8 -ve 'Kernel.puts(nil)'
ruby 1.8.8dev (2009-07-01) [i686-linux]
nil
=end
-
05:41 AM Bug #1745 (Rejected): Module#autoload No Longer Raises where 1.8 Does
- =begin
There has been a change between 1.8 and 1.9 with Module#autoload when the autoloaded file doesn't declare the named class and the module is already open:
$ cat /tmp/autoload.rb
module Autoload
end
module Autoloa... -
04:41 AM Bug #1744 (Closed): Error with Marshal dump/load on a delegated class.
- =begin
Instance variables are not handled when using Marshal with a delegated class.
Here is an example :
on Ruby 1.8, the instance variable @var will be copied fine.
on Ruby 1.9.1, it is set to nil.
It seems to only occur...
07/08/2009
-
09:03 PM Feature #1673: let irb use pretty_inspect if possible
- =begin
けいじゅ@いしつかです.
In [ruby-dev:38746] the message: "[ruby-dev:38746] Re: [feature:trunk] let irb use pretty_inspect if possible", on Jul/08 13:18(JST)
Yukihiro Matsumoto writes:
>まつもと ゆきひろです
>|trunkにリリースしました.
>|
>|irb --... -
01:19 PM Feature #1673: let irb use pretty_inspect if possible
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:38744] Re: [feature:trunk] let irb use pretty_inspect if possible"
on Tue, 7 Jul 2009 22:42:04 +0900, keiju@ishitsuka.com (石塚圭樹) writes:
|trunkにリリースしました.
|
|irb --inspect pp
|
... - 02:18 PM Revision d43de333 (git): * complex.c (nucomp_div): omitted zero division check.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:01 PM Revision 855d0d1a (git): * lib/irb/inspector.rb: forget svn add.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:58 AM Revision a563f713 (git): merge revision(s) 23201:
- * eval.c (rb_thread_remove): stops timer thread unless other
threads exist. [ruby-core:18444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@23993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:10 AM Revision a7c32bf8 (git): * error.c (rb_check_type): rejects typed data.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:28 AM Revision abbd115c (git): * proc.c ({proc,binding,method}_data_type): typed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:53 AM Bug #1741 (Closed): Enumerable#join with Nested Enumerables
- =begin
Enumerable#join acts oddly for nested Enumerables. Should the output not be the same for both Array and E?
$ cat /tmp/join.rb
class E
include Enumerable
def initialize(*args)
@e = args
... -
08:24 AM Bug #1732: Inconsistency in Transference of Inherited Traits ('Tainted' and 'Untrusted') with #join
- =begin
Thanks, Ryan. :-)
The remaining difference between Array#join and Enumerable#join w.r.t taint/trust involves empty data structures.
$ ruby -e 'p Array.new.untrust.join(":").untrusted?'
false
$ ruby -e 'p Hash.new.un... -
08:13 AM Revision ebd13e3e (git): * proc.c ({proc,method}_data_type): typed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:47 AM Revision ca93e005 (git): * file.c (rb_file_s_basename): returns new string instead of
- shared string from FilePathStringValue(). [ruby-core:24199]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:17 AM Bug #1728: gem installed binaries don't honor program-suffix
- =begin
Can this discussion be moved to the rubygems-developers mailing list? It's the best place to discuss it.
http://rubyforge.org/mailman/listinfo/rubygems-developers
=end
-
12:02 AM Revision dddd406b (git): Update ext/.document with extensions that appear to have documentation.
- Fixes #1738.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/07/2009
-
11:30 PM Bug #1728: gem installed binaries don't honor program-suffix
- =begin
I talked with a friend and I realized I'm not explaining this very well. Let me try again.
The reason --format-executable should default to on is because the binaries created by "gem" have the name of the "ruby" tied to tha... -
10:45 PM Bug #1728: gem installed binaries don't honor program-suffix
- =begin
Eero said in comment #3:
> Personally, I would expect the suffix to only affect the
> programs installed by that script, not "child" programs
> thereof.
I think the default should cause the least amount of confusion po... -
09:54 PM Bug #1728: gem installed binaries don't honor program-suffix
- =begin
Excerpts from rubymine message of Tue Jul 07 15:42:01 +0300 2009:
> Issue #1728 has been updated by Christian Höltje.
>
>
> Why isn't that the default, then?
Personally, I would expect the suffix to only affect the
prog... -
09:41 PM Bug #1728: gem installed binaries don't honor program-suffix
- =begin
Why isn't that the default, then?
=end
-
06:18 PM Bug #1728 (Rejected): gem installed binaries don't honor program-suffix
- =begin
Use gem install --format-executable.
You can make this the default by setting in ~/.gemrc
install: --format-executable
update: --format-executable
=end
-
10:42 PM Feature #1673: let irb use pretty_inspect if possible
- =begin
けいじゅ@いしつかです.
trunkにリリースしました.
irb --inspect pp
で pp を使うようになります. あと, おまけで, yaml と marshal もつけて
あります(^^;;;
使い方.
* コマンドライン
% irb --inspect [raw|p|pp|yaml|marshal|...]
または, ブロック指定で
% irb -r yaml --inspect "{|... -
08:28 PM Revision 9e607430 (git): * include/ruby/ruby.h:
- rename
"...TypeStruct" and "typed_struct" to
"TypedData..." and "typeddata", respectively.
rename
rb_data_type_t#name to
rb_data_type_t#wrap_struct_name.
* error.c, gc.c, iseq.c, vm.c: ditto.
git-svn-id: svn+ssh://ci.ruby-la... -
06:18 PM Bug #1732: Inconsistency in Transference of Inherited Traits ('Tainted' and 'Untrusted') with #join
- =begin
On Jul 6, 2009, at 20:28 , Run Paint Run Run wrote:
> matz, I'm sorry to be annoying, but I don't understand this revision.
I can't vouch for your "annoyingness" to matz, but I can say that
you're finding really good s... -
12:49 PM Bug #1732: Inconsistency in Transference of Inherited Traits ('Tainted' and 'Untrusted') with #join
- =begin
Hi,
In message "Re: [ruby-core:24176] [Bug #1732] Inconsistency in Transference of Inherited Traits ('Tainted' and 'Untrusted') with #join"
on Tue, 7 Jul 2009 12:28:20 +0900, Run Paint Run Run <redmine@ruby-lang.org> writ... -
12:28 PM Bug #1732: Inconsistency in Transference of Inherited Traits ('Tainted' and 'Untrusted') with #join
- =begin
> It's because Enumerable#to_a doesn't transfer its taintness and
> trustworthiness. Should it do?
I assumed it would, because Array#to_a/#join does. But I don't pretend to be a language designer. ;-)
matz, I'm sorry... -
02:45 PM Bug #1737 (Closed): Enumerable#join: Segfault Resulting from Recent Commit
- =begin
Applied in changeset r23979.
=end
-
11:54 AM Bug #1737 (Closed): Enumerable#join: Segfault Resulting from Recent Commit
- =begin
It looks like one of yesterday's commits is causing a segfault. Yesterday this code exposed bug #1731, but didn't segfault, so presumably either the fix or another commit made in the meantime is the cause. Possibly r23966?
U... -
01:13 PM Revision 26a1d97d (git): rdoc update.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:36 AM Revision c7fa0c72 (git): * bin/irb, lib/irb.rb lib/irb/*: irb-0.9.6, extend inspect-mode
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:50 AM Feature #578: add method to disassemble Proc objects
- =begin
Another possiblility would be to add an instruction-sequence method (iseq) into Proc. Off of the instruction sequence, one could use the methods like disasm or to_a.
The actual additional code (put in the right place) for th... -
10:43 AM Feature #578: add method to disassemble Proc objects
- =begin
Hi,
At Sun, 21 Sep 2008 03:02:44 +0900,
Roger Pack wrote in [ruby-core:18762]:
> I wasn't sure how to patch
> RubyVM::InstructionSequence.disassemble
> to work with proc objects AND methods, so added a new method
> RubyV... -
10:17 AM Bug #1353 (Closed): io does not convert str when ext == intern
- =begin
Applied in changeset r23976.
=end
-
08:00 AM Revision 649237de (git): * gc.c (rb_gc_call_finalizer_at_exit): deal with typed struct like
- as obj_free().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:54 AM Revision ac3c2866 (git): * error.c (rb_typed_struct_is_kind_of): new function to see if the
- given typed struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:23 AM Revision 74a6cc87 (git): * vm.c ({env,vm,thread}_data_type): constified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:44 AM Revision 7bb9cc23 (git): * error.c (rb_check_typed_struct): new function to check typed
- struct.
* include/ruby/ruby.h (Check_TypedStruct, Data_Get_TypedStruct):
new macro to check typed struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:36 AM Revision 0f2d1527 (git): * enum.c (DEFINE_ENUMFUNCS): included function signature.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:34 AM Revision e895bc3c (git): * enum.c (rb_enum_join): non-nil separator must be convertible to
- String. [ruby-core:24172]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:55 AM Revision 9041ac42 (git): * enum.c (rb_enum_join): should propagate taint to the return
- value. the change was overridden by r23967. [ruby-core:24176]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:56 AM Revision 450f7842 (git): * gc.c (GC_PROF_SET_MALLOC_INFO, GC_PROF_SET_HEAP_INFO): simplified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:15 AM Revision 999123c1 (git): * io.c (rb_io_ext_int_to_encs): Set external encoding if
- ext==intern. [ruby-dev:38278]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:12 AM Revision c19129be (git): * 2009-07-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:12 AM Revision 729d726e (git): * iseq.c: provisional type fixes.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/06/2009
-
09:04 PM Bug #1733: require does not look at current directory anymore ?
- =begin
Matz, thanks for the explanation/clarification.
Nobu, the RUBYLIB environment variable is a good enough solution. Thanks.
=end
-
09:45 AM Bug #1733: require does not look at current directory anymore ?
- =begin
Hi,
At Mon, 6 Jul 2009 01:53:31 +0900,
Chauk-Mean Proum wrote in [ruby-core:24153]:
> Replacing require 'a' with require './a' or require_relative
> 'a' works.
> But this introduces incompatibility issues with code that
>... -
07:57 AM Bug #1733: require does not look at current directory anymore ?
- =begin
Hi,
In message "Re: [ruby-core:24153] [Bug #1733] require does not look at current directory anymore ?"
on Mon, 6 Jul 2009 01:53:31 +0900, Chauk-Mean Proum <redmine@ruby-lang.org> writes:
|In ruby-1.9 trunk, the behavi... -
01:53 AM Bug #1733 (Rejected): require does not look at current directory anymore ?
- =begin
In ruby-1.9 trunk, the behaviour of require has changed.
Require does not look at the current directory anymore.
Is this intentional ?
$ cat a.rb
puts "Hello World"
$ cat b.rb
require 'a'
puts "Goodbye World"
... -
08:46 PM Bug #1092 (Rejected): miniruby cause SEGV on x64-mswin64_90
- =begin
So, not a bug.
=end
-
04:26 PM Bug #1329: Ruby 1.8.8 で "p eval('0' + '+0.1'*n)" が Segmentation Fault を発生させる
- =begin
1.8.6 also has this problem.
=end
-
02:52 PM Bug #1353 (Assigned): io does not convert str when ext == intern
- =begin
=end
-
10:07 AM Bug #1732 (Closed): Inconsistency in Transference of Inherited Traits ('Tainted' and 'Untrusted') with #join
- =begin
Applied in changeset r23971.
=end
-
09:14 AM Bug #1732: Inconsistency in Transference of Inherited Traits ('Tainted' and 'Untrusted') with #join
- =begin
Hi,
At Mon, 6 Jul 2009 00:31:57 +0900,
Run Paint Run Run wrote in [ruby-core:24152]:
> Array#join transfers self's taintedness and trustworthiness
> to its return value. If an Array is tainted, so is the
> concatenation of... -
12:31 AM Bug #1732 (Closed): Inconsistency in Transference of Inherited Traits ('Tainted' and 'Untrusted') with #join
- =begin
Array#join transfers self's taintedness and trustworthiness to its return value. If an Array is tainted, so is the concatenation of its elements:
>> ['a'].taint.join.tainted?
=> true
>> ['a'].untrust.join.untrusted... -
09:37 AM Bug #1722 (Closed): Curried Lambda Returns False for #lambda? Despite Having No "Tricks"
- =begin
Applied in changeset r23970.
=end
-
09:07 AM Bug #1731 (Closed): Enumerable#join with Recursive Structure: "invalid inspect_tbl list for :to_a"
- =begin
Applied in changeset r23966.
=end
-
04:33 AM Bug #1731: Enumerable#join with Recursive Structure: "invalid inspect_tbl list for :to_a"
- =begin
Apologies if this is obvious, but I just noticed that if you rescue the aforementioned exception then say File.join(['a','b','c']), File will raise an exception "`join': recursive array (ArgumentError)".
=end
-
07:25 AM Revision 4b4ac8ac (git): merge revision(s) 23096:
- * eval.c (rb_eval): checks for interrupt, stack and finalizers too.
[ruby-dev:38208], [Bug #1329]
* eval.c (eval): replaces the message if frozen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@23972 ... -
01:03 AM Revision 8c7f7c29 (git): * enum.c (enum_to_a): should propagate taint to the return value.
- [ruby-core:24152]
* enum.c (enum_sort_by): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:31 AM Revision 06b9094f (git): * proc.c (make_curry_proc): should propagate lambda-ness.
- [ruby-core:24127]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 AM Revision 42569684 (git): * proc.c (proc_hash): use long.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:15 AM Revision ed868485 (git): * test/ruby/test_module.rb (TestModule#test_undef): adjust to
- message change.
* test/ruby/test_object.rb (TestObject#test_redefine_method_which_may_case_serious_problem): ditto.
* test/ruby/test_object.rb (TestObject#test_remove_method): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2... -
12:09 AM Revision 7c3fff4f (git): * enum.c (enum_join): deals with self recursive objects to get rid
- of infinite recursion. [ruby-core:24150]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:04 AM Revision def66cec (git): * enum.c (enum_join): deals with self recursive objects to get rid
- of infinite recursion. [ruby-core:24150]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e