Activity
From 10/30/2012 to 11/05/2012
11/05/2012
-
11:25 PM Bug #4437 (Rejected): Hash does not match character read from file via IO#getc
- I can't repro with trunk.
We cannot investigate this issue any more. I'm closing this ticket.
If you can reproduce it, or if you know anything, feel free to reopen.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:10 PM Bug #7276 (Assigned): TestFile#test_utime failure
-
02:50 AM Bug #7276: TestFile#test_utime failure
- Appears to be a trunk regression as `TestFile#test_utime` passes on ruby_1_9_3@37334
C:\Jenkins\workspace\ruby-1_9_3-svn>ruby -v test\ruby\test_file.rb
ruby 1.9.3p305 (2012-10-26 revision 37334) [i386-mingw32]
Run options:
# Runn... -
02:40 AM Bug #7276 (Closed): TestFile#test_utime failure
- I'm currently travelling and am in UTC-5. I get the following `make test-all` failure on Win7 32bit with mingw-w64 gcc 4.7.2. It appears that trunk@37467 is not handling daylight savings time correctly.
I'm not going to have time to t... -
11:05 PM Bug #7277: mingw: Makefile no longer links ruby.res.o with PROGRAM or WPROGRAM
- Luis, I fixed at r37475. Please check it.
-
11:00 PM Bug #7277 (Closed): mingw: Makefile no longer links ruby.res.o with PROGRAM or WPROGRAM - This issue was solved with changeset r37475.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* cygwin/GNUmakefile.in (uncommon.mk): link *.res.o.
EXTOBJES i... -
04:20 AM Bug #7277 (Closed): mingw: Makefile no longer links ruby.res.o with PROGRAM or WPROGRAM
- =begin
Just recently noticed that when linking ruby.exe or rubyw.exe, the icon defined in ruby.rc (or rubyw.rc) is not linked in.
The following is the command line make ruby.exe V=1 generates:
x86_64-w64-mingw32-gcc -O3 -fno-omit... -
11:03 PM Bug #7259 (Assigned): ruby-debug-base19x does not compile on 2.0.0-head
- Ko1, what do you think about?
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:02 PM Bug #7085 (Assigned): Subversion → GitHub gateway stops.
- Evan Phoenix, ping?
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:01 PM Bug #7248 (Assigned): Shouldn't Enumerator::Lazy.new be private?
- Yhara-san, I'd like your opinion about this ticket.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:57 PM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
- Emboss and NaHi, ping?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:56 PM Bug #1341 (Rejected): pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
- HP-UX is not supported. I'm sorry, but please create a patch that works yourself.
If you provide us the patch and it looks benign to other platforms, we may apply it to trunk.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:53 PM Bug #3600 (Rejected): HP-UX compilation
- HP-UX is not supported. I'm sorry, but please create a patch yourself.
If you provide us the patch and it looks benign to other platforms, we may apply it to trunk.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:42 PM Bug #7227 (Assigned): failed to build native extension for bcrypt-ruby gem under cygwin on windows xp
- Aaron, are you one of bcrypt-ruby developers?
Do you know anything about this issue?
Looks related to: https://github.com/codahale/bcrypt-ruby/issues/46
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:26 PM Bug #7216 (Assigned): object.c defines clone method for objects that cannot be cloned.
- Akr-san, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:25 PM Bug #7213 (Assigned): Namespace regression problem in RSpec from 1.9.2 to 1.9.3
- If I recall, this is an intentional change since 1.9.3.
Shugo-san, could you check give him a reference to the discussion and close this ticket?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:22 PM Bug #7167 (Assigned): Segmentation Fault
- Looks very difficult to reproduce this issue.
The segfault seems to occur in read_nonblock.
Akr-san, do you know anything? If not, please close this ticket.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:19 PM Bug #4199 (Rejected): make test ruby-1.9.2-p0 failed on Solaris10 x86
- I'm thinking that too many platforms are "supported" currently with respect to the human resource.
If Solaris is really supported as a "best effort" platform, this ticket should not be left untouched so long. No effort.
So, I'm like... -
10:10 PM Feature #7280 (Closed): How to set filesystem encoding
- [Bug #2154] から分離します。あっちは2.0.0(と1.9.3)をどう落ち着けるか、
こっちはnext minorあたりでファイルシステムエンコーディングをどうするか、
ということで。
今のところ、
* UNIX系でfilesystem encodingを設定したいユースケースはあるので、
何らかの手段は提供したい。
* コマンドライン引数 --filesystem-encoding= およびメソッドEncoding... -
09:59 PM Bug #2154: filesystem encoding of UNIX
- こんにちは、なかむら(う)です。
In message "[ruby-dev:46403] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX"
on Nov.05,2012 21:33:52, <h.shirosaki@gmail.com> wrote:
> File.expand_pathのencodingが変わったのは、中田さんの修正による変更のように思い... -
09:53 PM Bug #2154: filesystem encoding of UNIX
- 2012/11/5 U.Nakamura <usa@garbagecollect.jp>:
> ただUNIX系については特に意図せず変更されていると思うので、現
> 時点では挙動を戻すのが妥当なラインかと思っているのですが...
> なおこの変更は例のWindows用のFile.expand_path高速化の副作用で
> あるというのが私の観測なので、それが事実かどうか(そして事実だ
> としたらどこを直せばいいのか)をちょっと考えてみてほしいです... -
05:53 PM Bug #2154: filesystem encoding of UNIX
- 2012/11/5 U.Nakamura <usa@garbagecollect.jp>:
> 実はbackportの都合で今時点の1.9.3 HEADも現状のtrunkの実装を引
> き継いでいるので、個人的には、まずさっさと2.0.0でどうするか、
> を決めてしまいたい気分です。1.9.3はそれに合わせるので。
>
expand_pathのencodingが引数のencodingと同じになるのは、コードを書くときには、それはそれで分かり... -
03:23 PM Bug #2154: filesystem encoding of UNIX
- こんにちは、なかむら(う)です。
In message "[ruby-dev:46375] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX"
on Nov.03,2012 04:56:59, <kosaki.motohiro@gmail.com> wrote:
> 1)
> ロケールは UTF-8
> ファイルシステムはFAT(よってファイルシステム... -
09:58 PM Bug #7201 (Assigned): Setting default_external affects STDIN encoding but default_internal does not
- Naruse-san, could you handle this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:58 PM Bug #7200 (Assigned): Setting external encoding with BOM|
- Naruse-san, could you handle this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:52 PM Bug #7183 (Assigned): Resolv::DNS::getresources throws Errno::EACCES: Permission denied - bind(2) on solaris
- Akr-san, could you check this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:51 PM Bug #7180: set_trace_func with error in proc block locks up Ruby with 100% cpu usage and no way to exit without killing proc
- Gary Weaver, ping?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:51 PM Bug #7279 (Closed): Zlib load error on HP-UX
- This was apparently a known issue on HP-UX and it is preventing me from compiling zlib
http://www.ruby-forum.com/topic/191987
To reproduce -
PA-RISC/HP-UX 11.11 -
09:44 PM Bug #7161 (Assigned): Perf fix: use symbols instead of strings for const/ivar access methods
- The patch looks benign. I wonder how much is the performance improved, though.
Urabe-san, could you handle the pull request?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:41 PM Bug #7155 (Rejected): Invalid byte sequence in US-ASCII when using open-air
- Closing because OP seemed to re-register another ticket #7156.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:37 PM Bug #7100 (Assigned): WEBrick::HTTPServer.new で BindAddress を指定しない場合に必ず警告が記録される
- akr さん、どう思われますか?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:33 PM Bug #6653: 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
- Erik Hollensbe, ping?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:14 PM Bug #7066 (Closed): test_segv_test(TestRubyOptions) が F になる
- 岸本さん、いつもありがとうございます。
これは多分直ったってことで大丈夫ですかね。
もしまた観測されたら reopen なりなんなりしてください。
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:11 PM Feature #4569: Replace IPAddr with IPAddress
- Hello knu,
just back from a quick holiday :)
Thanks very much for your update. Here's my feedback:
- introduction of IPAddr::Error for ease of selectively catching IP address errors
that's an easy change for IPAddress, should... -
09:08 PM Bug #7109 (Rejected): File.utime doesn't set nanoseconds
- It cannot be avoided because the limitation is due to OS. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:05 PM Bug #6803 (Feedback): Ruby Interpreter (CUI) 1.9.3p194 [i386-mingw32] has stopped working
- Did you contact on watir-webdriver developer(s)?
Please give us a complete reproducing process and resource, the error message and the trace.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:58 PM Bug #6283 (Assigned): Segmentation fault pg_ext.bundle
- I guess #7089 is the same cause.
#7089 has the console log which shows that an error occurred in "require".
#6283 has only the CrashReporter log, so I can't determine where an error occurred, but I guess that the point is "require", ... -
08:55 PM Revision c9fc6b08 (git): * test/ruby/test_require.rb
- (TestRequire#test_require_to_path_redefined_in_load_path,
TestRequire#test_require_to_str_redefined_in_load_path):
Suppress method redefined warning when test-all with RUBYOPT=-w.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3... -
08:47 PM Feature #7087 (Assigned): ::ConditionVariable#wait does not work with Monitor because Monitor#sleep does not exist
- In similar way to #7087, I think this is not a bug, but a feature request.
Moved to feature tracker.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:44 PM Feature #7086 (Assigned): ConditionVariable#wait has meaningless return value
-
08:44 PM Feature #7086: ConditionVariable#wait has meaningless return value
- This is not a bug. As you said ("Otherwise the idiom shown above would become more complex"), there is a trivial workaround.
I think that Ruby thread APIs are modeled on pthread APIs. pthread_cond_wait does not return such as informat... -
08:38 PM Bug #7042 (Rejected): String#=~ is not equal to Regexp#=~
- Because this is a kind of assignment, the value is in the right side and the variable is in the left side... we thought.
This is actually intentional. Closing.
You can open a feature request to add a pattern to regexp assignment, if... -
08:33 PM Bug #7044 (Assigned): BigDecimal#power randomly raises coercion errors
- Confirmed, good catch!
Looks GC issue. An intermediate object seems to be GC'd too early.
The following patch will fix. Mrkn, could you review and commit it if it looks good?
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigd... -
08:10 PM Bug #7043 (Rejected): bug with Require
- This is an intentional change. Since 1.9, the default search path does
not include "." (current working directory) to make it more secure.
You may want to use require_relative which loads a file relative to the
directory that cont... -
08:02 PM Bug #7027 (Assigned): Tempfile#inspect is Confusing
- Glass_saga,
Sounds good. Please commit it.
If something comes up, we can deal with it then.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:57 PM Bug #6344 (Rejected): 1.9.3 p125, p194 ruby causes SEGV with test_massign.rb on ppc/ppc64
- After all, increasing the value is not an essential fix, I think.
Again, there is no powerpc maintainer. I'm closing this ticket.
Feel free to reopen or open a new ticket if you can make a patch.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:53 PM Bug #7009 (Assigned): Crash in method_missing
- I cannot reproduce on Linux.
I wonder if altstack does not work on os x.
Kosaki-san, do you know anything about this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
04:59 PM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- On 2012/11/03 3:54, meta (mathew murphy) wrote:
>
> Issue #7267 has been updated by meta (mathew murphy).
>
>
> Relevant links:
>
> http://search.cpan.org/~tomita/Encode-UTF8Mac-0.03/lib/Encode/UTF8Mac.pm
>
> Seems to ... -
04:43 PM Revision 4e73323a (git): * thread_pthread.c (rb_reserved_fd_p): fix typo in macro check
- that prevented the ifdef ever being true.
[Bug #7281] [ruby-core:48940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:38 PM Bug #7271: Refinement doesn't seem lexical
- ko1 (Koichi Sasada) wrote:
> (2012/11/05 11:57), shugo (Shugo Maeda) wrote:
> ...
I may have confused you by the word lexical, but I used the word lexical in the sense that refinements have no local rebinding. I'm not sure whether ref... -
03:59 PM Bug #7271: Refinement doesn't seem lexical
- (2012/11/05 11:57), shugo (Shugo Maeda) wrote:
> Yes, it's intentional. Refinements are activated when C_User is reopend.
>
> I'm not sure whether is'a good idea or not, but if C_User.module_eval is affected by refinements, it s... -
11:57 AM Bug #7271: Refinement doesn't seem lexical
- ko1 (Koichi Sasada) wrote:
> C_User#y is refined. Is that intentional?
Yes, it's intentional. Refinements are activated when C_User is reopend.
I'm not sure whether is'a good idea or not, but if C_User.module_eval is affected by... -
04:24 PM Feature #6767: Utility method to get a duplicated string whose encoding is ASCII-8BIT
- OK to check in.
Matz.
-
04:23 PM Feature #4085: Refinements and nested methods
- (2012/11/04 5:57), SASADA Koichi wrote:
> I have another implementation idea, using "prepend".
Nobu taught me that this approach is not work.
--
// SASADA Koichi at atdot dot net -
03:17 PM Feature #4085: Refinements and nested methods
- headius (Charles Nutter) wrote:
> I currently don't see any way to support enabling refinements in blocks without a global, unavoidable impact to all call sites.
> ...
In Ruby 1.9, a new cref node with the special flag (NODE_FL_CREF_PU... -
03:07 PM Feature #4085: Refinements and nested methods
- matz (Yukihiro Matsumoto) wrote:
> I agree with Charles here. Avoiding global cache invalidation is priority one.
> ...
At first, I expected using is called only at an early stage of a program execution.
However, this expectation does... -
02:17 PM Feature #4085: Refinements and nested methods
- I currently don't see any way to support enabling refinements in blocks without a global, unavoidable impact to all call sites.
If refinements are applied lexically, then a block suddenly having refinements active does not make sense,... -
01:53 PM Feature #4085: Refinements and nested methods
- Sorry, this got double-posted because I thought my email did not come through properly.
On Sun, Nov 4, 2012 at 8:50 PM, shugo (Shugo Maeda)
<redmine@ruby-lang.org> wrote:
> Such an anonymous module may be reused in a_matsuda's cases,... -
01:39 PM Feature #4085: Refinements and nested methods
- I agree with Charles here. Avoiding global cache invalidation is priority one.
At the same time, I want a way to enable refinement to given block.
Matz.
-
01:33 PM Feature #4085: Refinements and nested methods
- shugo (Shugo Maeda) wrote:
> matz wrote:
> ...
To me, this means the module_eval feature absolutely cannot be supported unless a new implementation can be found. No normal feature of Ruby should force full cache invalidation globally. -
11:50 AM Feature #4085: Refinements and nested methods
- matz wrote:
> But I am not sure allowing refinement application in blocks should be
> ...
Such an anonymous module may be reused in a_matsuda's cases, but method caching may be a worse problem. In the current implementation, using in... -
11:44 AM Feature #4085: Refinements and nested methods
- headius (Charles Nutter) wrote:
> Discussed refinements a bit with Matz + ko1 plus a_matsuda and others at lunch...here's summary.
Thanks for the summary.
The current implementation is cref-based because I came up with the idea in... -
07:25 AM Feature #4085: Refinements and nested methods - Hi,
In message "Re: [ruby-core:48828] Re: [ruby-trunk - Feature #4085] Refinements and nested methods"
on Sun, 4 Nov 2012 08:42:11 +0900, Akira Matsuda <ronnie@dio.jp> writes:
|
|Playing with refinements after talking wit... -
03:36 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Kosaki-san, you can move a ticket to Backport because you are a committer.
So, pelase do so instead of only changing the status to Open. -
11:48 AM Bug #6825 (Assigned): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Reopened. because r37474 only fixed trunk.
-
11:46 AM Bug #6825 (Closed): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- This issue was solved with changeset r37474.
Mark, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread_pthread.c (native_thread_init, native_thread_destroy):
... -
03:27 PM Revision d33b9a8a (git): Fix compatibility of cached expanded load path
- * file.c (rb_get_path_check_to_string): extract from
rb_get_path_check(). We change the spec not to call to_path of
String object.
* file.c (rb_get_path_check_convert): extract from rb_get_path_check().
* file.c (rb_get_path_check)... -
03:27 PM Revision 9823c461 (git): Cache the expanded load path
- * load.c (rb_get_expanded_load_path): cache the expanded load
path. This saves 4KB of allocation and some stats for every
element of the load path (so nearly a MB in my Rails app)
on every require.
* load.c (rb_construct_expanded... -
03:27 PM Revision b56a2afc (git): Index $LOADED_FEATURES so that require isn't so slow
- * load.c (rb_feature_p, rb_provide_feature): index $LOADED_FEATURES
so that require isn't so slow.
* load.c (rb_provide_feature, get_loaded_features_index): ensure
that $LOADED_FEATURES entries are frozen strings. The user
must m... -
03:25 PM Feature #6744: ruby unable to run system commands that require elevated privileges
- About UAC, I'm untouching now.
It is dicfficult to design and implement into 2.0.0, I guess.
If python does something to manage UNC, please tell me what python does :) - 03:24 PM Revision 2a7d349e (git): * 2012-11-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 PM Revision e575070f (git): Expose whether two arrays are shared
- * array.c (rb_ary_shared_with_p): new function.
Expose whether two arrays are shared (read-only, C only).
* include/ruby/intern.h (rb_ary_shared_with_p): declare.
Patch by Greg Price.
[ruby-core:47970] [Bug #7158]
git-svn-id: svn... -
03:24 PM Revision 4d414c9f (git): Clarify and explain loaded_feature_path and rb_feature_p
- * load.c (loaded_feature_path): clarify and briefly comment
function. These clarifications have no effect on the behavior
of the function.
* load.c (rb_feature_p): explain the search loop. Especially
useful because the logic is ... -
02:49 PM Bug #7269: Refinement doesn't work if using locate after method
- matz (Yukihiro Matsumoto) wrote:
> OK, I understand the behavior. What are pros and cons of module based refinement?
pros:
* not affected by the order of loading/using
* consistent with module_eval and behavior when a module is ... -
01:49 PM Bug #7269: Refinement doesn't work if using locate after method
- I should also mention that if we can't tell ahead of time that a call site has to search refinements, it means all calls everywhere will have to have cref available. In JRuby, this could easily be a crippling blow to performance, and in ...
-
01:42 PM Bug #7269: Refinement doesn't work if using locate after method
- Making refinements *less* lexical seems like the wrong direction to me. It means all calls everywhere have to check for refinements all the time, similar to the module_eval problem.
In the following code:
a.rb:
module Foo
def... -
01:10 PM Bug #7269: Refinement doesn't work if using locate after method
- OK, I understand the behavior. What are pros and cons of module based refinement?
Matz.
-
12:16 PM Bug #7269: Refinement doesn't work if using locate after method
- headius (Charles Nutter) wrote:
> I commented on the other bug about how refinements need to be temporal
> ...
I've started to wonder if it's better to limit refinements based on modules instead of lexical scopes.
In the current im... -
02:25 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- Hi Eric,
Currently, rdoc seems failed to understand rb_define_file_const() in io.c and doesn't make correct File::Constant documentation.
Is there any workaround for it?
I don't understand
1) why rb_file_const() is necessary
2) ... -
02:03 PM Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- naruse (Yui NARUSE) wrote:
> The gcc-4.2 is llvm-gcc, use clang.
> ...
try this:
CONFIGURE_OPTS="--use-gcc=clang" rbenv install …
-
11:53 AM Bug #7264 (Third Party's Issue): Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- The gcc-4.2 is llvm-gcc, use clang.
If rbenv forces to use llvm-gcc, this issue should be reported to rbenv. -
11:24 AM Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- Reproduced with Lion & default gcc: "i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)"
(comes from Command Line Tools (OS X Lion) for Xcode - October 2012, xcode451cltools_10_7693820... -
02:00 PM Revision 9bb55f76 (git): * ext/dl/win32/lib/Win32API.rb (Win32API#call): use 64bit pointer for x64
- Windows. This would fix
TestSecureRandom#test_s_random_bytes_without_openssl error.
[ruby-core:47451] [Bug #6990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:00 PM Revision 868ab650 (git): * cygwin/GNUmakefile.in (uncommon.mk): link *.res.o.
- EXTOBJES is defined in uncommon.mk. *.res.o setting should be below
uncommon.mk.
[ruby-core:48858] [Bug #7277]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:30 PM Feature #6636: Enumerable#size
- After skimming your modifies, I feel they are decent.
Sorry for being late to check.
Matz. -
01:30 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- Oops, I made mistakes.
I am positive about the change, but I have concern about compatibility.
Maybe we should provide a new method, but I cannot think of any good name right now.
Matz.
-
10:10 AM Bug #7110: CGI: Add support for HTML5 <header> tag
- xibbar, it is your decision to make, and I support it.
Thank you. -
09:33 AM Bug #7110: CGI: Add support for HTML5 <header> tag
- I decide this change.
Because minor version up is is more important than consistency.
But 2.0 is major version up.
HTML5 will be gradually standard format.
-
09:29 AM Bug #7110: CGI: Add support for HTML5 <header> tag
- stomar (Marcus Stollsteimer) wrote:
> Perhaps a note should be added to NEWS, maybe something like
> ...
Thank you. I will add. -
05:12 AM Bug #7110: CGI: Add support for HTML5 <header> tag
- > In my opinion compatibility is more important than consistency, but
> ...
I don't think a general rule can be derived from this single statement. Also, the circumstances are different. Here, it is more a question of avoiding inconsiste... -
04:23 AM Bug #7110: CGI: Add support for HTML5 <header> tag
- In my opinion compatibility is more important than consistency, but
ultimately it is up to xibbar.
Other ruby-core share this sentiment, see ruby-core:48469
On Sun, Nov 4, 2012 at 9:15 AM, stomar (Marcus Stollsteimer)
<... -
04:13 AM Bug #7110: CGI: Add support for HTML5 <header> tag
- In my opinion compatibility is more important than consistency, but
ultimately it is up to xibbar.
Other ruby-core share this sentiment, see ruby-core:48469 -
10:00 AM Feature #7274: UnboundMethods should be bindable to any object that is_a?(owner of the UnboundMethod)
- I agree.
Quite simple: https://github.com/marcandre/ruby/compare/marcandre:trunk...marcandre:bind_with_owner
Diff: https://github.com/marcandre/ruby/compare/marcandre:trunk...marcandre:bind_with_owner.diff
note that `make test` an... -
09:37 AM Feature #7274: UnboundMethods should be bindable to any object that is_a?(owner of the UnboundMethod)
- Reposted as original text was not posted on ruby-core mailing list.
-
02:46 AM Revision 9da62b63 (git): * thread_pthread.c (native_thread_init, native_thread_destroy):
- removed HAVE_PTHREAD_CONDATTR_INIT check because this silly
#ifdef makes use-uninitialized-var issue and (2) native_cond_initialize()
already have a right platform and caller don't need any additional care.
[Bug #6825]
git-svn-i... -
02:34 AM Revision 0ba4526d (git): * lib/cgi/core.rb: check if Tempfile is defined before use it.
- * lib/cgi/core.rb: remove tempfiles only if tempfiles exist
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:19 AM Revision 0ba78cb2 (git): * lib/uri/http.rb (URI::HTTP.build): Fix example
- Patch by Carina C. Zona
[Fixes #209 Github]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:57 AM Revision 1362d81a (git): Mon Nov 5 09:55:05 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * lib/cgi/core.rb: remove tempfile more early.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:57 AM Revision d5528ec3 (git): Mon Nov 5 09:50:28 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * NEWS: add a news about html5 tagmaker
and rename CGI#header to CGI#http_header
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/04/2012
-
11:54 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- > @kosaki @mrkn Would it be useful if I could provide you the core dump and other info?
Thanks!
r35672 seems broke this area and I'll fix it soon. However there is no r35672 in 1.9.3 branch and 1.9.3 seems correct. hmm...
Could you ... -
09:09 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- I poked around an produced a core dump (the bug would not reproduce under gdb with a breakpoint set).
Arguments to pthread_cond_timedwait() seem valid, in particular the timespec is about 500ms in the future.
Other calls to pthread_c... -
07:55 AM Bug #6825 (Assigned): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- This is also true with latest trunk (r37462).
I'm assigning to myself.
bug6825.rb:31: [BUG] pthread_cond_timedwait: Invalid argument (EINVAL)
ruby 2.0.0dev (2012-11-04 trunk 37462) [x86_64-darwin10.8.0]
-- Control frame informa... -
07:47 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- mrkn (Kenta Murata) wrote:
> I don't have snow-leopard environment, so I cannot investigate this issue.
I do still have a snow-leopard environment and I can reproduce with
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin10.... -
07:01 AM Bug #6825 (Closed): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- > I don't have snow-leopard environment, so I cannot investigate this issue.
OK. Thank you.
This looks like old OS X bug but we have no way to dig. give up. I'd like to close this feature as won't fix.
Anyway snow leopard is no long... -
05:43 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- I don't have snow-leopard environment, so I cannot investigate this issue.
-
02:34 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- > Kosaki-san, do you have any idea to addres this issue?
I have no idea. unfortunately snow leopard is too old and i have no chance to get it.
@mrkn, do you have any chance to see this issue?
-
11:15 PM Bug #7110: CGI: Add support for HTML5 <header> tag
- Perhaps a note should be added to NEWS, maybe something like
* cgi
* incompatible changes:
* CGI#header has been renamed to CGI#http_header.
CGI#header is now used by the HTML5 tag maker to
create a <header> ele... -
08:48 PM Bug #7110 (Closed): CGI: Add support for HTML5 <header> tag
- This issue was solved with changeset r37466.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Sun Nov 4 20:41:28 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.o... -
07:24 PM Bug #7110: CGI: Add support for HTML5 <header> tag
- I think this function should be included in 2.0.0
So, I will commit.
Sorry late. -
05:17 PM Bug #7110: CGI: Add support for HTML5 <header> tag
- I really think for the proposed patch 2.0 would be the best place.
@zzak:
I can not judge how big the impact of renaming CGI#header would be.
BUT: Your proposal would mean that the <header> tag would have to be treated different... -
09:51 AM Bug #7110: CGI: Add support for HTML5 <header> tag
- Sorry, xibber -> xibbar.
-
09:50 AM Bug #7110: CGI: Add support for HTML5 <header> tag
- I recommend xibber to postpone this to next minor, if there is room to discuss anything about the spec of this feature (such as a method name).
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:10 AM Bug #7110: CGI: Add support for HTML5 <header> tag
- I think CGI#header should stay the same, and this method to product html5 compatible headers should be CGI#html_header
-
10:01 PM Bug #7275 (Third Party's Issue): net/http wrong status line: "\x00HTTP/1.1 200 OK"
- Can't reproduce without proxychain.
I believe this is a proxychain issue, or at least you are using it in wrong way.
Please consult proxychain's docs or issue tracker or whatever. -
08:33 PM Bug #7275 (Third Party's Issue): net/http wrong status line: "\x00HTTP/1.1 200 OK"
- 1. install proxychains
2. proxychains irb
ProxyChains-3.1 (http://proxychains.sf.net)
1.9.3p194 :001 > require "net/http"
=> true
1.9.3p194 :002 > res = Net::HTTP.start("www.google.com", "80") do |http|
1.9.3p194 :003 > http.... - 09:14 PM Revision a8aaf1eb (git): * 2012-11-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:14 PM Revision b5c5b980 (git): Don't redefine methods
- If HTML5 element methods are already defined, don't redefine them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:55 PM Feature #7274 (Rejected): UnboundMethods should be bindable to any object that is_a?(owner of the UnboundMethod)
- =begin
as a corollary, (({UnboundMethod}))s referencing the same method name on the same owner, should be equal
currently (({UnboundMethod}))s binding is determined by the class via which they were retrieved, not the owner
class ... -
07:51 PM Feature #6638: Array as queue
- I've rebased branch against trunk.
-
11:44 AM Feature #6638: Array as queue
- On Win7 32bit with a one-line tweak to Yura's `174.patch` to allow it to apply to trunk I get the following success when building with mingw-w64 gcc 4.7.2:
C:\Jenkins\workspace\ruby-trunk-svn>svn log -l 1
----------------------------... -
07:41 PM Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- =begin
I've got this issue on OS X 10.8.2 with gcc-4.2
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software... -
05:03 PM Bug #6954 (Closed): Build failure on trunk 36856 with VC 2010
- Thank you!
--
Yusuke Endoh <mame@tsg.ne.jp> -
04:56 PM Bug #6954: Build failure on trunk 36856 with VC 2010
- This bug was fixed by r36864.
And I confirmed 2.0.0-preview1 builds fine with the VC 2010.
-
12:19 PM Bug #6954 (Feedback): Build failure on trunk 36856 with VC 2010
- Heesob Park, could you try 2.0.0-preview1?
--
Yusuke Endoh <mame@tsg.ne.jp> -
03:23 PM Feature #7252: version number of 2.0 release
- 2012年11月1日 23:50 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> On 11/01/2012 02:33 AM, KOSAKI Motohiro wrote:
>>>> 旧来の開発版/開発版とかもういらないんじゃないですかね。
>>>> trunkが開発版、リリースされたら安定版、で。
>>>
>>> その行為が開発を促進するか停滞させるかは意見の分かれるところでしょう。
>>>
>>>... -
01:26 PM Bug #7272: twice-a-week manual svn -> github sync
- Hi, when I saw Evan at RubyConf yesterday he said he's doing the action that day so I waited.
He was super-busy at that conference so it's quite natural he's still working on that. But it's OK. I'll re-sync the repo on Monday if he'... -
11:28 AM Bug #7272 (Closed): twice-a-week manual svn -> github sync
- Until the automated svn -> github gateway can be resuscitated, can I cajole someone (Shyouhei-san?) into doing a Monday and Friday manual sync for just the ruby_1_9_3 and trunk branches?
I know this non-automation is painful, so a MEG... - 12:37 PM Revision 8519a2d5 (git): * ChangeLog: Remove garbages.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:25 PM Bug #7000 (Assigned): Tk::Scrollable の include が成功しない?
- 永井さん、このチケットをご確認ください。
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:24 PM Bug #6974 (Assigned): Functionality Loss in Bignum for Very Large Numbers (5.9 million digits)
- Mrkn, could you check this too?
Maybe the same causes as #7242.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:12 PM Bug #6892 (Third Party's Issue): segfault of interpreter (possibly related to libxml-ruby)
- This is very subtle bug.
libxml makes sure to free a object by writing NULL to the entries,
which breaks Ruby internal finalizing list.
Applying the following patch to libxml fixes the issue in my
environment.
But because I'm no... -
11:56 AM Feature #7028 (Closed): Please Repatch FileUtils.compare_stream - This issue was solved with changeset r37465.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/fileutils.rb (module FileUtils): repatch [ruby-core:39622... - 11:48 AM Revision 6837f3dc (git): Sun Nov 4 20:41:28 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * lib/cgi.rb, lib/cgi/*/rb: rename CGI#header to
CGI#http_header,
add and update HTML5 tag generater. [Bug #7110]
Patch provided by Marcus Stollsteimer, thank you !
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37466 b... -
11:12 AM Feature #6643: io.seek(off, :end)
- patch2.diff(IO::SEEK_*の値は変えないで、新たにSymbolも大文字小文字を無視して受け付けるようにしたpatch)をコミットしたいのですが、反対はありませんか?
しばらく待って反対がなければ、入れてしまおうと思います。 -
10:19 AM Feature #5422 (Closed): File.fnmatch != Dir.glob # {no,sets}
- This issue was solved with changeset r37463.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
dir.c: FNM_EXTGLOB
* dir.c (file_s_fnmatch): match with expandi... -
09:54 AM Bug #6691 (Closed): MinGW: KNOWNBUGS.rb 4/4 failures
- These bugs have been fixed in r37430.
-
08:53 AM Feature #4085: Refinements and nested methods
- Playing with refinements after talking with Charlie, I found
refinements are not very much attractive feature without module_eval.
I think I do understand the down sides Charlie described.
And I'm sure people will abuse this refineme... -
05:59 AM Feature #4085: Refinements and nested methods
- I have another implementation idea, using "prepend".
I also try it next week.
(I can't explain this idea in English, so I will write code).
(2012/11/03 14:33), headius (Charles Nutter) wrote:
>
> Issue #4085 has been up... -
05:33 AM Feature #4085: Refinements and nested methods
- Discussed refinements a bit with Matz + ko1 plus a_matsuda and others at lunch...here's summary.
The using method currently touches cref, making it largely scoped like constants. If refinement lookup at a call site proceeds the same w... -
01:53 AM Feature #4085: Refinements and nested methods
- More thoughts...
I could get behind refinements if using were a keyword (so we could
tell at parse time refinements would be active) and purely lexical.
The following features of the current implementation would have to be
removed... -
01:53 AM Feature #4085: Refinements and nested methods
- On Fri, Nov 2, 2012 at 7:12 PM, shugo (Shugo Maeda)
<redmine@ruby-lang.org> wrote:
> headius (Charles Nutter) wrote:
> > * Refinements in modules and class hierarchies does not seem like a problem to me yet.
> > * Refinements are "u... -
05:36 AM Bug #7271 (Closed): Refinement doesn't seem lexical
- C_User#y is refined. Is that intentional?
class C
def foo
p :C_foo
end
end
module RefineC
refine C do
def foo
p :RefineC_foo
super
end
end
end
class C_User
using RefineC
def x
... -
03:04 AM Bug #7242: Bignum mathematical accuracy regression in r31695
- Although I'm trying to fix it for about two days, I found I need more time to find the direct causes of the bug.
I decide to disable Toom3 method until the bug is fixed. -
02:56 AM Revision 2142287c (git): * lib/fileutils.rb (module FileUtils): repatch [ruby-core:39622]
- [Feature #5337]. improve performance of FileUtils.compare_stream.
[ruby-core:47545] [Feature #7028]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 AM Revision a28a060d (git): * array.c (recursive_equal): fix to return true when self and other
- are resized to same size and the current index become out of
range.
* test/ruby/test_array.rb: add a test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:23 AM Bug #7269: Refinement doesn't work if using locate after method
- On Sat, Nov 3, 2012 at 10:45 AM, SASADA Koichi <ko1@atdot.net> wrote:
> # is that corner case? :)
>
> class C_User2
> def x
> 2.times{
> C.new.foo
> self.class.send(:using, RefineC)
> }
> end
... -
01:53 AM Bug #7269: Refinement doesn't work if using locate after method
- (2012/11/03 10:42), SASADA Koichi wrote:
> ###
>
> class C
> def foo
> p :C_foo
> end
> end
>
> module RefineC
> refine C do
> def foo
> p :RefineC_foo
> super
> end
> end
... -
01:53 AM Bug #7269: Refinement doesn't work if using locate after method
- (2012/11/03 10:36), SASADA Koichi wrote:
> (2012/11/03 10:11), headius (Charles Nutter) wrote:
>> I don't like the idea that using should affect methods already defined. At this point I view using similar to private/protected/etc, w... -
01:53 AM Bug #7269: Refinement doesn't work if using locate after method
- (2012/11/03 10:11), headius (Charles Nutter) wrote:
> I don't like the idea that using should affect methods already defined. At this point I view using similar to private/protected/etc, which also do not affect methods defined before... -
01:11 AM Bug #7269: Refinement doesn't work if using locate after method
- I don't like the idea that using should affect methods already defined. At this point I view using similar to private/protected/etc, which also do not affect methods defined before you call them.
-
01:19 AM Revision e59d5667 (git): dir.c: FNM_EXTGLOB
- * dir.c (file_s_fnmatch): match with expanding braces if FNM_EXTGLOB
is set. [ruby-core:40037] [Feature #5422]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:43 AM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Thanks for the explanation. I didn't think Ruby was being evil :)
If the translation from UTF8-MAC -> UTF-8 is entirely non-lossy and would do no harm to other UTF-8 strings (these decomposed patterns would only occur with the intenti... -
12:10 AM Feature #4872: REXML::XMLDecl#encodingがStringではなくEncodingを返すようにする
- kou (Kouhei Sutou) wrote:
> kou (Kouhei Sutou) wrote:
> ...
なるほど、確かにその方がよいと思います。
11/03/2012
-
11:25 PM Bug #6896 (Feedback): Ruby crash bringing default http://localhost:3000 page
- From my experience, this kind of issues is often caused by a bug of the extension library.
I'd like to know why ibm_db maintainer(s) thought that this is Ruby's bug.
Of course, I cannot deny the possibility of Ruby's bug.
But anyw... -
09:02 PM Bug #7110 (Assigned): CGI: Add support for HTML5 <header> tag
- xibbar, are you willing to include this in 2.0.0?
If so, please commit it ASAP, before preview2 (planned at 1 Dec.) at the latest.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:52 PM Bug #6864: bad value for range when using infinity with date or time
- I see, thank you. Then, addressing this issue requires
changing Range's spec, which is too heavy from this time.
I postpone this to next minor.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:38 PM Bug #6864: bad value for range when using infinity with date or time
- this asymmetry is intentional.
i don't want to accept aNum + aDate.
Range's spec is variable. -
12:47 PM Bug #6864 (Assigned): bad value for range when using infinity with date or time
- This is caused by the following behavior.
p Date.today <=> 1.0 #=> 1
p 1.0 <=> Date.today #=> nil
Funaba-san, what do you think?
It may be good to provide Date#coerce.
--
Yusuke Endoh <mame@tsg.ne.jp> - 07:51 PM Revision 7ba2f1a9 (git): * 2012-11-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:51 PM Revision 129dafda (git): * ChangeLog: fix ML link for r37444 and r37447.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:39 PM Revision d4199057 (git): * complex.c: modified doc.
- * rational.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 PM Feature #4872: REXML::XMLDecl#encodingがStringではなくEncodingを返すようにする
- kou (Kouhei Sutou) wrote:
> * REXML::XMLDecl#encodingはEncodingを返すようにする。
これはやらないことにしました。
これをやりたかったもともとの理由は、ユーザーとしてエンコーディング情報を正規化した状態で扱いたかった(UTF-8かutf-8かとか気にしたくない)からでした。が、よく見てみたら、XMLDecl#encodingはupcaseして正規化していました。(utf-8を気にせずに常にUTF-... -
01:53 PM Bug #6832: Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
- +1, at least for instance_method returning an UnboundMethod.
On Fri, Nov 2, 2012 at 11:25 PM, mame (Yusuke Endoh) <mame@tsg.ne.jp> wrote:
>
> Issue #6832 has been updated by mame (Yusuke Endoh).
>
> Status changed from O... -
12:25 PM Bug #6832 (Assigned): Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
- Let me summarize:
class Foo
def method_missing(name, *args)
return super unless name =~ /^foo_/
puts name
end
def respond_to_missing?(name, include_private)
super || name =~ /^foo_... -
01:47 PM Bug #7230 (Closed): Updating Documentation for Dir::glob
- This issue was solved with changeset r37447.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* dir.c (Dir#glob):
Documentation for pattern section, backslas... - 01:39 PM Revision 64bb9749 (git): * ext/date/date_core.c: modified doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:27 PM Bug #7179 (Closed): IO doc: wrong/misleading text for mode
- This issue was solved with changeset r37443.
Roman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (IO#new):
Documentation for IO#open modes and formattin... -
01:27 PM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Just another reason why Unicodes sucks.
Anyway, I know your feeling and I wish I could help you. The problem is, the world isn't built on top of Mac OS. So there're virtually thousands of different formats of hard disks, with differ... -
07:50 AM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- The problem I encountered here was that although the encoding is also UTF-8, apparently there are several flavours of UTF-8, NFC or NFD. This is not something most Ruby users will be familiar with, and I'm not sure it's really the same a...
-
04:18 AM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- meta (mathew murphy) wrote:
> Seems to me Ruby should pick one of the standard normalization forms
No, Ruby's M17N design is that it never picks one standard form of strings. Strings have various encodings and it's you, not ruby, wh... -
03:54 AM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Relevant links:
http://search.cpan.org/~tomita/Encode-UTF8Mac-0.03/lib/Encode/UTF8Mac.pm
Seems to me Ruby should pick one of the standard normalization forms for all UTF-8 data, and convert when necessary.
Apparently there are O... -
12:40 PM Bug #6839: 1.9.3p194 [BUG] Segmentation fault
- What is `Tweet' class? Is it provided by some gem?
Can you reproduce this issue with out rails dependency?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:35 PM Bug #6848 (Rejected): bundle install fails
- Another reference.
http://blog.55minutes.com/2012/01/fixing-a-segmentation-fault-in-ruby-193/
This looks a known issue of openssl binary bundled with Mac OS X.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:31 PM Bug #6825 (Assigned): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Kosaki-san, do you have any idea to addres this issue?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:29 PM Feature #6177 (Closed): array.cのrb_ary_equal()の高速化
- r37438でrb_equal()後にArrayのサイズがiより小さくなっていない事をチェックするよう修正してコミットしました。
-
12:25 PM Feature #6177 (Assigned): array.cのrb_ary_equal()の高速化
- 2012年11月3日 2:45 znz (Kazuhiro NISHIYAMA) <redmine@ruby-lang.org>:
> 以下のようにすると p1, p2 の操作で配列の範囲外にアクセスしてしまうようです。
> ...
ご指摘ありがとうございます。
for文の継続条件に引っかかってくれるので実際に参照してしまう事はないのですが、不正なポインタを作ってしまうのは良くないですね。
修正します。 -
02:45 AM Feature #6177: array.cのrb_ary_equal()の高速化
- 以下のようにすると p1, p2 の操作で配列の範囲外にアクセスしてしまうようです。
p1++ などのポインタ操作だけで参照までは行かなかったですが。
A = Array.new(3){|n| n.to_s }
B = A.dup
obj = Object.new
def obj.==(o)
A.clear
B.clear
GC.start
true
end
A[1] = obj
A == B
-
12:23 PM Bug #7112: File.extname documentation fix
- Eregon, what do you suggest?
I sorta feel like covering every special case would be bad, but maybe add a few more examples? -
12:20 PM Bug #6820 (Assigned): Time#to_s on NEWS
- Aaron, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:17 PM Feature #6810 (Assigned): `module A::B; end` is not equivalent to `module A; module B; end; end` with respect to constant lookup (scope)
- As Xavier Noria said, this is actually an intended behavior. So I'm moving this ticket to the feature tracker.
And assigning to matz, though I think it is hopeless to change this basic behavior...
At least, matz can explain the ration... -
12:11 PM Bug #6805 (Rejected): heroku connection failure
- Agreed with Sorah.
This looks a famous issue of openssl binary bundled with Mac OS X.
See the following site in detail.
http://blog.55minutes.com/2012/01/fixing-a-segmentation-fault-in-ruby-193/
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:06 PM Feature #6783 (Closed): Infinite loop in inspect, not overriding inspect, to_s, and no known circular references. Stepping into inspect in debugger locks it up with 100% CPU.
-
11:43 AM Bug #6776 (Rejected): segment fault for 1.9.3 trunk crosscompiled runing on am335x
- Sorry, there is no arm maintainer. Please try to create a patch yourself
if you need.
If you provide the patch for us, please open a ticket. We will check if
it is benign for other platforms and may apply to trunk.
--
Yusuke En... -
11:35 AM Bug #6773 (Assigned): "You may have encountered a bug in the Ruby interpreter or extension libraries."
- The reproducing process is stated in http://railscasts.com/episodes/366-sidekiq, right?
No one can repro this? Sorah, could you try?
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:13 AM Bug #6756 (Assigned): FileUtils.rm_rf がアクセス権のない空ディレクトリを削除しない
- 以下のパッチで直りますが、影響無いですかね。make check は通りました。
反対がなさそうならコミットします。が、問題が起きたら revert となります。
diff --git a/lib/fileutils.rb b/lib/fileutils.rb
index 67cc79f..b18ca30 100644
--- a/lib/fileutils.rb
+++ b/lib/fileutils.rb
@@ -1534,6 +1534,7 @... -
10:58 AM Bug #6750 (Assigned): Comment above rb_iseq_struct.local_size gives out of date description
- Thank you. Ko1, do you apply his patch? It is clearly benign.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:56 AM Bug #6645: Segmentation fault in net/http.rb
- At least, we need your whole source code to reproduce. Can you provide?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:52 AM Feature #6744 (Assigned): ruby unable to run system commands that require elevated privileges
- Usa-san, Tarui-san, Shirosaki-san, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:44 AM Bug #6742 (Assigned): Emacs compilation-shell-minor-mode misconfiguration
- Nobu, please check this.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:40 AM Bug #6718 (Rejected): ruby segfault in abstract_mysql_adapter.rb when trying to run from command-line
- The reproducing process is incomplete (what is contained in "schoolyard/releases/20120710202724"?), and no feedback.
We cannot investigate this issue any more. Please reopen with the information if you need.
--
Yusuke Endoh <mame@... -
10:37 AM Feature #3346 (Closed): __DIR__ revisted
- This issue was solved with changeset r37432.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (f_current_dirname): add the new method for Kernel.
... -
10:37 AM Bug #6704 (Rejected): Random core dump
- If it happens again, please reopen this ticket with how to reproduce.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:12 AM Feature #4085: Refinements and nested methods
- headius (Charles Nutter) wrote:
> Ok, early notes from writing up specs and starting to explore an implementation for JRuby.
Thanks.
> ...
The current behavior is mainly for an implementation reason, but Matz and ko1 seem not to l... -
02:12 AM Feature #4085: Refinements and nested methods
- Adding a couple additional positive notes:
* For now, I don't see a reason for using and refine to be keywords.
using and refine basically just add some additional state to modules and methods.
For refine:
* add to the module... -
02:06 AM Feature #4085: Refinements and nested methods
- Ok, early notes from writing up specs and starting to explore an implementation for JRuby.
* Refinements in modules and class hierarchies does not seem like a problem to me yet.
* Refinements are "used" in temporal order...methods ad... -
09:41 AM Revision 65b746be (git): * vm.c (rb_vm_rewrite_ep_in_errinfo, vm_rewrite_ep_in_errinfo):
- merge code and remove `rb_vm_rewrite_ep_in_errinfo'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:29 AM Bug #7269 (Closed): Refinement doesn't work if using locate after method
- Refinement doesn't work if using locate after method.
(I eliminate discussion because my laptop doesn't have enough power...)
class C
def foo
p :C_foo
end
end
module M1
refine C do
def foo
p :M1_foo
... -
09:25 AM Bug #6995 (Feedback): Code converter not found (UTF-8 to EUC-TW)
- We don't have UTF-8:EUC-TW converter yet.
If you want it, make a feature request ticket.
But as far as I know EUC-TW is not widely used, it is only used in goverment.
Instead of EUC-TW, many people use Big5.
Do you really need EUC-... -
09:23 AM Bug #2154: filesystem encoding of UNIX
- >> 2) ロケールはUTF-8だけどファイルシステムエンコーディングはUTF8MACな某OS
>>
>> というパターンだと思うので、これをケアする必要があるならAPIが必要そうに思えます。要望を上がってこない所をみるとあんまり困ってないのかな
>
> 後者に関してはリクエストが来てますね([ruby-core:48745] [Bug #7267])、否定的な返答しちゃったけど。
まったく技術的じゃない感覚論でいうと、Macユーザロケール... -
05:23 AM Bug #2154: filesystem encoding of UNIX
- On 11/02/2012 01:56 PM, KOSAKI Motohiro wrote:
>>> とくに指定しなければ、default external は locale から設定されるので、
>>> 「UNIXにおけるfilesystem encodingはlocaleである」というのはそれほど
>>> 変ではないのではないでしょうか。
>>
>> ふむ。
>> とすると、本当は、filesystem encodingを明示して設定するA... -
04:59 AM Bug #2154: filesystem encoding of UNIX
- >> とくに指定しなければ、default external は locale から設定されるので、
>> 「UNIXにおけるfilesystem encodingはlocaleである」というのはそれほど
>> 変ではないのではないでしょうか。
>
> ふむ。
> とすると、本当は、filesystem encodingを明示して設定するAPIが
> 合ったほうがいいんでしょうかね。
> 2.0.0にも間に合わなわなさそうなので今は深入りを... -
09:18 AM Revision 049ace58 (git): * vm.c, proc.c: avoid unnecessary `rb_vm_rewrite_ep_in_errinfo'
- calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:14 AM Revision c1dbeada (git): * ChangeLog: fix.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:07 AM Feature #6762: Control interrupt timing
- and maybe undeferred is better than immediate. :)
because 'immediate' can't guarantee an interrupt fire immediately when running heavy weight C code.
-
08:36 AM Feature #6762: Control interrupt timing
- > It still remains naming consideration.
> ...
After while thinking, I prefer to suggest this control_interrupt() method doesn't support to mask trap handler.
because of,
- people only want to defer Interrupt exception. trap hander... -
08:33 AM Feature #6762: Control interrupt timing
- > >> * Thread.control_interrupt
> ...
>
> Okay. Give us a good name.
How's this?
control_interrupt() => defer_async_raise() or defer_unwinding()
"control" is unclear and don't explain what action does. Actually this procedur... - 08:56 AM Revision 98d69f42 (git): * bin/testrb: Use only Test::Unit::AutoRunner in test-unit gem
- compatible API to be available by both test/unit bundled in Ruby
and test-unit gem.
* lib/test/unit.rb (Test::Unit::AutoRunner): Move codes from testrb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37455 b2dd03c8-39d4-4d8f-98ff-... - 05:59 AM Revision 0ae90522 (git): * ext/date/date_parse.c (parse_eu): should capture apostrophe too.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:47 AM Revision d55aa2bf (git): * ext/date/date_parse.c (date__parse): revised the tight parser.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:44 AM Revision 6bc138b0 (git): * lib/rexml/xmldecl.rb (REXML::XMLDecl#content): Add missing \A
- and \z.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:43 AM Revision 04f41f01 (git): * lib/rexml/output.rb (REXML::Output#initialize): Use normalized
- encoding name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:42 AM Revision ac9a8ac6 (git): * lib/rexml/output.rb (REXML::Output): Don't output BOM in middle
- of the output string.
* test/rexml/test_document.rb: Add a test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:11 AM Revision 15a743b3 (git): * NEWS: Add an item about REXML::Document#write.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:05 AM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
- Thanks for your agreement Thomas.
Hey Ruby-core developers, we have agreed on the following API, where passing a File::FNM_EXTGLOB flag (the name "extglob" comes from the Bash/Zsh option for extended globbing) to the File.fnmatch meth... - 04:58 AM Revision 82aef2ae (git): * test/rexml/test_document.rb: Fix tests that expect encoding name
- isn't normalized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:47 AM Revision c420f844 (git): * dir.c (Dir#glob):
- Documentation for pattern section, backslash subsection
Patch by Eric Bouchut
[ruby-core#48528] [Bug #7230]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:46 AM Revision bdbc8c5b (git): Revert r37439 and r37441
- r37439:
* lib/rexml/xmldecl.rb (REXML::XMLDecl): Stop using REXML::Encoding
module because XMLDecl doesn't convert encoding. This causes
removing XML encoding name normalization (encoding.upcase).
En... -
04:40 AM Revision 4aca275e (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:28 AM Revision c442d221 (git): * io.c (IO#new):
- Documentation for IO#open modes and formatting
[ruby-core#48052] [Bug #7179]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:27 AM Revision 4d422778 (git): * io.c (IO#new):
- Documentation for IO#open modes and formatting
[ruby-core#48052] [Bug #7179]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 AM Bug #6460 (Closed): `unexpected return' occurs when a proc is called in ensure
- やっぱり全部辿らないとまずいですね。
r37430でコミットしました。 -
01:14 AM Bug #6460: `unexpected return' occurs when a proc is called in ensure
- =begin
辻本です。
なかださんのパッチだと、例えば以下のようなコードでunexpected returnとなってしまいます。
class C
def m1
m2{|e|
return
}
end
def m2
begin
yield :foo
ensure
begin
begin
... -
04:10 AM Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- =begin
I can reproduce it doing the build manually with (({./configure; make})). Logs attached. gcc version:
erlang:ruby-2.0.0-preview1 lambda$ gcc-4.2 --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build ... - 04:03 AM Revision dbfb5dea (git): * test/rexml/test_encoding.rb (EncodingTester#test_in_different_out):
- Fix a test that expects encoding in XML declaration is changed by
Output's encoding. It is dropped feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:55 AM Revision 9c606a0a (git): * test/rexml/test_core.rb (Tester#test_ticket_88): Follow the
- change that encoding name in XML declaration isn't normalized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:53 AM Revision 3f817764 (git): * lib/rexml/document.rb (REXML::Document#write): Document encoding
- option. Now different encoding between XML file's encoding and
XML declaration's encodiong is support.
[Feature #4872] (work in progress)
* lib/rexml/xmldecl.rb (REXML::XMLDecl#write): Always use XMLDecl's
encoding.
* test/rexml/te... - 03:41 AM Revision 69eedf6a (git): * lib/rexml/xmldecl.rb (REXML::XMLDecl): Stop using REXML::Encoding
- module because XMLDecl doesn't convert encoding. This causes
removing XML encoding name normalization (encoding.upcase).
Encoding name in XML declaration is what user specifies.
I think this is reasonable change.
* test/rexml/test_... -
03:21 AM Revision c032c5bc (git): * array.c (recursive_equal): fix not to make invalid pointers when
- self and other are resized to same size in #== of their elements.
[ruby-dev:46373] [Feature #6177]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:06 AM Revision bd202416 (git): * test/rexml/test_xml_declaration.rb (TestXmlDeclaration#test_*):
- Remove needless prefix from test names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:05 AM Revision 9a2dc8f9 (git): * test/rexml/test_xml_declaration_parent_child.rb: Rename to ...
- * test/rexml/test_xml_declaration.rb: ... this.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:45 AM Revision 63e9bc50 (git): * hash.c (rb_hash_delete): Correct grammar
- Patch by Glenn Oppegard
[Fixes #208 Github]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:35 AM Revision 41663902 (git): * NEWS: add a news about GC::Profiler.raw_data.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:35 AM Revision e2f95165 (git): * NEWS: add a news about rb_newobj_of() and NEWOBJ_OF().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:37 AM Revision 805b08f2 (git): * eval.c (f_current_dirname): add the new method for Kernel.
- This method almotst same as File.dirname(__FILE__). One
different behavior is it returns nil when __FILE__ returns nil.
[Feature #3346]
* NEWS: ditto
* test/ruby/test_method.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.or... -
01:01 AM Feature #6173: re.cのrb_memsearch()におけるmemchr()の利用
- ベンチマークの負荷が小さすぎて非常に短い時間で終わってしまい、他の要因に左右されている可能性を否定できないと思ったので、
文字列の大きさと繰り返し回数を増やしてベンチマークを取り直しました。
require 'benchmark'
str = " " * 10_0000 + "\n"
Benchmark.bm do |x|
x.report do
10000.times do
str.index("\n")
e... -
12:09 AM Revision d2fd7f32 (git): * test/ruby/test_refinement.rb (test_new_method_by_send,
- test_new_method_by_method_object): add tests for Kernel#send and
Kernel#method with refinements.
* test/ruby/test_refinement.rb (test_symbol_to_proc): add a test
calling a proc created by Symbol#to_proc outside the scope where
a r...
11/02/2012
-
11:30 PM Bug #7092: StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives
- I guess it would be intentional.
'^' and '\A' are `beginning of the target' (and beginning of a line for ^) anchors, so seems reasonable that it matches the beginning of the part to be matched. -
10:12 PM Bug #7092: StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives
- FYI: You may want to use StringScanner#beginning_of_line?.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:11 PM Bug #7092 (Feedback): StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives
- Sorry for late reply.
Honestly, it is difficult to say whether it is intended or a bug because there is no strscan maintainer.
But since 1.8, StringScanner#scan has behaved so. I guess there is some existing programs that depends on... -
08:33 PM Bug #7092: StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives
- I've now reproduced this in 2.0.0-preview1. Is anyone out there...?
-
11:27 PM Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- Bad news. Nobu failed to reproduce this issue.
Could you try to build preview1 without ruby-build?
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:13 PM Bug #7264 (Assigned): Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- Thank you for the report! Sorah will check it early next week.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:11 PM Bug #7264 (Third Party's Issue): Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- =begin
I tried installing ruby-2.0.0-preview1 using rbenv install on Mac OS X 10.7.4. It crashed in miniruby while generating encdb.h
CC = gcc-4.2
LD = ld
LDSHARED = gcc-4.2 -dynamic -bundle
CFLAGS = -O3 -fno-fast-math -ggdb3 ... -
09:10 PM Feature #3388: regexp support for start_with? and end_with?
- headius (Charles Nutter) wrote:
> JRuby currently does have a global cache for regexps. If you're interested, one of us can show you how it works.
Interesting. I see it's implemented using a SoftReference map.
I'm not aware of somet... -
08:53 PM Bug #2154: filesystem encoding of UNIX
- こんにちは、なかむら(う)です。
In message "[ruby-dev:46310] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX"
on Oct.29,2012 10:57:06, <akr@fsij.org> wrote:
> その時点の記憶はすでにないのですが、おそらく、
> locale と異なる encoding でパス名を扱いたい場合... -
08:32 PM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Output of the test.rb script:
Tested on Ruby 2.0.0-preview and 1.9.3 on Mac OS X
1.9.3x86_64-darwin11.4.0
Inline string works as expected
Source encoding: UTF-8
External encoding: UTF-8
Name: "./Testé.txt"
Encoding: UTF-8
Chars... -
07:54 PM Bug #7267 (Closed): Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Tested on Ruby 1.9.3-p194 and ruby-2.0.0-preview1 on Mac OS X 10. 7.5
When calling file system methods with Ruby on Mac OS X, it is not possible to manipulate the resulting file name as a normal UTF-8 string, even though it reports th... -
08:21 PM Bug #6675 (Rejected): Raise exception when convert encoding of a character from GBK to UTF
- No feedback, closing.
2012/7/2 "Martin J. Dürst" <duerst@it.aoyama.ac.jp>:
> \ue863 is in the Unicode private use area. Therefore, conversion to GBK
> ...
I guess Justen expected round-trip.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:05 PM Bug #6508 (Rejected): Add an (optional) GNU configure option to demand libyaml before continuing, when compiling ruby from source
-
08:05 PM Bug #6431 (Rejected): Segmentation Fault When Using RightAWS with Delayed Job To Connect to Amazon S3
- Agreed with naruse-san. Looks like os x's broken openssl issue.
Please try the workaround, and reopen this ticket if the issue still occurs.
See also #6217.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:03 PM Bug #6355 (Closed): arm-linux build test suite fails: on : /lib/ruby/1.9.1/arm-linux/digest/md5.so: [BUG] Segmentation fault
-
08:03 PM Bug #6363 (Rejected): mak test fail on hpux 11.31 ia
- No feedback, we cannot grasp the current situation. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:02 PM Bug #6358 (Closed): arm-linux : sleep() time dependent threading bug
-
08:02 PM Bug #7265 (Closed): r37414 breaks building with BSD make and nmake.
- This issue was solved with changeset r37426.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
mkmf.rb: timestamp_file
* lib/mkmf.rb (MakeMakefile#timestamp_f... -
04:08 PM Bug #7265 (Closed): r37414 breaks building with BSD make and nmake.
- # IRCでなかださんにも伝えましたけど、直さないで寝たっぽいので
# チケット化しておきます。
表題の通りですが、例えばBSD makeで普通にビルドしようとすると
...
compiling bigdecimal.c
linking shared-object bigdecimal.so
make: don't know how to make ./.@RUBYLIBDIR@!bigdecimal.time. Stop
make: ... -
08:01 PM Bug #6356 (Rejected): arm linux build test suite fails on test/socket
- No feedback, we cannot grasp the current situation. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:00 PM Bug #5680 (Rejected): IPPROTO_GGP undeclared when compiling ext/socket/constants.c
- No feedback, closing.
Please open a new ticket if anyone creates a patch.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:59 PM Bug #5882 (Rejected): segfault in miniruby in ruby1.9.3 crosscompile for ARM
- No feedback, closing.
Please open a new ticket if anyone creates a patch.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:47 PM Bug #6217 (Rejected): Bundle crash
- Agreed with Luis. Closing.
This looks the famous known issue of the openssl binary bundled in OS X.
Please try his advice, and reopen this ticket if the issue still occurs.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:14 PM Revision f7894e42 (git): vm.c: rewrite all catch points
- * vm.c (rb_vm_rewrite_ep_in_errinfo): rewrite all catch points in
errinfo, not only the topmost frame. based on the patch by
ktsj (Kazuki Tsujimoto) in [ruby-dev:45656]. [Bug #6460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun... -
06:34 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- tarui (Masaya Tarui) wrote:
> I think reasonable to change specification to stop calling to_path
> ...
I agree with that. to_path of T_STRING may be less-useful.
Then I'm going to stop calling to_path of T_STRING in rb_get_path_check... -
03:53 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster - Hi,
In message "Re: [ruby-core:48738] Re: [ruby-trunk - Bug #7158] require is slow in its bookkeeping; can make Rails startup 2.2x faster"
on Fri, 2 Nov 2012 14:42:16 +0900, SASADA Koichi <ko1@atdot.net> writes:
|
|(2012/... -
02:53 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- (2012/11/01 21:10), Masaya TARUI wrote:
> shirosaki-san, sasada-san, endoh-san, what do you think?
I don't have any idea on it.
Matz:
Please decide it.
--
// SASADA Koichi at atdot dot net -
12:23 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Thank you for the careful work.
Although I saw patch, compatibility is maintained now or it cannot
have confidence.
ex) OK even if String#to_path is defined after constructing expand_path?
I think reasonable to change spec... -
09:10 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Just wanted to update with some test results. I tried Hiroshi's patch along with my DTrace patches to time require searches against a small Rails application. Without GC running, before Hiroshi's patch, require searching took about 30%...
-
06:11 PM Bug #7262 (Assigned): module extension (#include/#prepend) in refinements
-
06:11 PM Bug #7262: module extension (#include/#prepend) in refinements
- 匿名ユーザ wrote:
> ということは、通常のメソッドを追加するだけであればrefinement
> ...
prependの方はちょっと変な挙動になっているようなので少し考えさせてください。
class C
def foo
[:C]
end
end
module M1
def foo
super << :M1
end
end
module M2
def foo
super <<... -
05:54 PM Bug #7262: module extension (#include/#prepend) in refinements - まつもと ゆきひろです
In message "Re: [ruby-dev:46351] [ruby-trunk - Bug #7262] module extension (#include/#prepend) in refinements"
on Fri, 2 Nov 2012 12:04:27 +0900, "shugo (Shugo Maeda)" <redmine@ruby-lang.org> writes:
|まとめる... -
12:04 PM Bug #7262: module extension (#include/#prepend) in refinements
- matz (Yukihiro Matsumoto) wrote:
> refinementの中でモジュールのincludeやprependがしたい(かつ、そのスコープの範囲内だけで有効にしたい)なんて思ったんですが、きっと困難ですよね。
> ...
# 以下では"refinement"はrefineのブロック中のselfになる匿名モジュールを指します。
Enumerableにはeachは定義されていないので、以下のようにしたいということでしょうか。
mo... -
06:12 AM Bug #7262 (Closed): module extension (#include/#prepend) in refinements
- refinementの中でモジュールのincludeやprependがしたい(かつ、そのスコープの範囲内だけで有効にしたい)なんて思ったんですが、きっと困難ですよね。
「無理」と思ったら遠慮なくrejectしてください。
module Experiment
refine String do
include Enumerable
def foo; p :foo; end
end
end
using... -
05:56 PM Bug #6897 (Closed): With --no-retry option parallel test-all result
- This issue was solved with changeset r37425.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit.rb (_run_parallel): Delete status line before ... -
04:25 PM Bug #6914 (Feedback): unable to build ruby-head
- 1. In Mountain Lion, crash logs are in ~/Library/Logs/DiagnosticReports or /Library/Logs/DiagnosticReports. Please check these places and attach if you found.
2. try again after cleaning ruby-head gemset and ruby-head installation if yo... -
04:23 PM Bug #6577 (Closed): GC中にstack overflowが発生するとSEGVする
- そうですね、よいとおもいます、ありがとうございました。
なお、聞くべき対象はわたしなので feedback じゃなくて assgined であるべきだったかと。
Feedback は開発者出ない報告者か、誰ともなく助けを求めるときのためのものなので。 -
04:04 PM Feature #6177 (Closed): array.cのrb_ary_equal()の高速化 - This issue was solved with changeset r37420.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (recursive_equal): performance improvement.
[ruby-dev... - 03:28 PM Revision 0446be77 (git): * 2012-11-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:28 PM Revision 2f3068fd (git): * ChangeLog: add explanation about how performace is improved in r37420.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:48 PM Bug #7261 (Closed): Symbol#to_proc to retrieve a method from current refinement
- This issue was solved with changeset r37418.
Yukihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (sym_to_proc, sym_call): A Proc created by Symbol#... -
05:52 AM Bug #7261 (Closed): Symbol#to_proc to retrieve a method from current refinement
- Currently Symbol#to_proc retrieves the global definition of the method, since refinement is a lexical scope.
But if possible, it is better that Symbol#to_proc can retrieve a method from current refinement.
module Silly
refine ... -
02:48 PM Feature #6609 (Closed): Toplevel as self extended module
- This issue was solved with changeset r37417.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
proc.c: main.define_method
* proc.c (top_define_method): new m... -
02:37 PM Feature #7028 (Assigned): Please Repatch FileUtils.compare_stream
-
12:47 PM Bug #7263 (Rejected): ruby 2.0.0-preview1 does not detect readline on Fedora 17 x86-64
- Thank you, feel free to report any other things you notice!
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:43 PM Bug #7263: ruby 2.0.0-preview1 does not detect readline on Fedora 17 x86-64
- Nevermind, close this! Built ruby 2.0.0-preview1 manually and that fixed the problem.
-
12:32 PM Bug #7263 (Rejected): ruby 2.0.0-preview1 does not detect readline on Fedora 17 x86-64
- I just installed ruby 2.0.0-preview1 using ruby-build [1] on Fedora 17 x86-64. However, it appears ./configure did not detect Fedora's readline 6.2 (/usr/lib64/libreadline.so.6 and /usr/include/readline/):
$ ruby-build -k 2.0.0-pr... -
11:54 AM Feature #4085: Refinements and nested methods
- headius (Charles Nutter) wrote:
> I would like to request time to implement refinements as they stand today in JRuby.
> ...
Thanks for your consideration of Refinements.
Please inform me if the current behavior of Refinements is hard ... -
07:03 AM Feature #4085: Refinements and nested methods
- I would like to request time to implement refinements as they stand today in JRuby.
We have not had much time to look into how refinements will affect the way we optimize Ruby code, structure class hierarchies, and so on. The impact c... -
11:11 AM Revision 5f06ee7e (git): mkmf.rb: timestamp_file
- * lib/mkmf.rb (MakeMakefile#timestamp_file): remove @ which looks like
configure variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:02 AM Revision e627955d (git): mkmf.rb: timestamp_file
- * lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a
special character of NMAKE and BSD make. [Bug #7265]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:40 AM Bug #6460 (Open): `unexpected return' occurs when a proc is called in ensure
- =begin
これどうしましょうか。
最低限のパッチはこんな感じみたいです。
index d4d4ebb..3f31558 100644
--- i/vm.c
+++ w/vm.c
@@ -493,9 +494,20 @@ rb_vm_make_env_object(rb_thread_t * th, rb_control_frame_t *cfp)
return envval;
}
+static int vm_... -
09:35 AM Bug #7198: No documentation of Psych on ruby-doc.org
- Thanks Eric, I wasn't sure if TPI was considered resolved.
-
07:38 AM Bug #7198 (Third Party's Issue): No documentation of Psych on ruby-doc.org
- Closed and Third Party Issue are separate resolutions
-
08:56 AM Revision 7f6d2173 (git): * lib/test/unit.rb (_run_parallel): Delete status line before showing
- results. Patch by Hiroshi Shirosaki. [Bug #6897] [ruby-core:47250]
* lib/test/unit.rb (_run_parallel): Fix strange result when disabled retrying.
Patch by Hiroshi Shirosaki. [Bug #6897] [ruby-core:47250]
git-svn-id: svn+ssh://ci.ruby... -
08:53 AM Revision b14e2b44 (git): * object.c (rb_mod_to_s): Module#{to_s,inspect}, when invoked on
- a refinement, returns a string in the format #<refinement:C@M>,
where C is a refined class and M is a module at which the refinemet
is defined.
* eval.c (rb_mod_refine): store information on a refinement for the
above change.
* t... -
08:35 AM Bug #7260 (Closed): make realclean でError
- r37414で修正しました。
-
02:52 AM Bug #7260 (Closed): make realclean でError
- tkを削除しようとするときにエラーが出ているようです。
$ make realclean
sed 's/{\$([^(){}]*)[^{}]*}//g' common.mk > uncommon.mk
cd -P . && exec autoconf
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/Users/ayumin/temp/ruby --with-arch=x86_64 --wi... -
08:20 AM Feature #2565: adding hooks for better tracing
- Aaron,
At the developers' meeting, matz entirely leaved this up to Yugui.
I must say "please confirm Yugui"... But I know she is absence a while,
and I believe she would accept it willingly.
So, please go ahead. ASAP. It will b... -
05:07 AM Feature #2565: adding hooks for better tracing
- I've attached an updated version of the dtrace probes.
@mame-san may I commit this to trunk? @ko1 said I should ask you. :-) -
08:00 AM Revision a8b3d67e (git): * vm_dump.c (rb_vm_bugreport): Because of many log directories,
- making directory lists readable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:52 AM Revision 8db54e07 (git): * vm_dump.c (rb_vm_bugreport): add ~/Library/Logs/DiagnosticReports
- in the locations list of crash reports.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:16 AM Revision 584afabc (git): * ChangeLog: added a missed space
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:04 AM Revision da9f6cdc (git): * array.c (recursive_equal): performance improvement.
- [ruby-dev:45412] [Feature #6177]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:16 AM Bug #5990 (Feedback): Random Segmentation Fault when running on Linux Fedora
- This is either a GC bug or a bug in Nokogiri. nari-san fixed GC bugs for us, but I'm not sure what patch level. Blair, can you try this with the latest 1.9.3 patch level? If there is still a problem on 1.9.3, then it's probably a bug ...
- 05:48 AM Revision fb4e75c1 (git): * 2012-11-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:48 AM Revision bb504213 (git): * string.c (sym_to_proc, sym_call): A Proc created by Symbol#to_proc
- should close over the current refinements.
[ruby-dev:46345] [Bug #7261]
* vm_eval.c (rb_call0, rb_search_method_entry,
rb_funcall_passing_block_with_refinements): add a new argument
`refinements' for the above changes.
* test/rub... -
05:04 AM Feature #5690 (Closed): Module#qualified_const_get
- I committed this in r37340 and r37335
-
04:50 AM Bug #7085: Subversion → GitHub gateway stops.
- I vote for time-to-time manual sync until automatic sync is set up.
Matz.
-
04:46 AM Bug #7085: Subversion → GitHub gateway stops.
- I heard that they tagged 2.0.0's preview. Should I re-sync that by hand or wait for Evan to set up his environment?
-
03:23 AM Feature #6083: Hide a Bignum definition
- 2012/11/2 SASADA Koichi <ko1@atdot.net>:
> (2012/11/01 11:05), shyouhei (Shyouhei Urabe) wrote:
>> +1 for next major.
>
> +1 for next major or next minor.
>
> We need discussion about how to break binary compatibility in ano... -
02:53 AM Feature #6083: Hide a Bignum definition
- (2012/11/01 11:05), shyouhei (Shyouhei Urabe) wrote:
> +1 for next major.
+1 for next major or next minor.
We need discussion about how to break binary compatibility in another
thread :)
--
// SASADA Koichi at atdo... -
02:05 AM Feature #6083: Hide a Bignum definition
- +1 for next major.
No one is against this basic concept of hiding Bignums, meseems. It's just a bad timing for us. -
01:33 AM Feature #6083: Hide a Bignum definition
- > If there's no big opposition, I can accept this proposal.
Sorry, but I must voice big opposition.
Unfortunately, hiding RBignum will cause significant incompatibility.
The macro RBIGNUM_BDIGITS uses RBignum internally. Many ext... -
02:07 AM Bug #7259 (Closed): ruby-debug-base19x does not compile on 2.0.0-head
- I'm trying to make ruby-debug-base19x used by IDE debugger work on 2.0.0-head. I've managed to get it mostly compiling (latest sources are at https://github.com/ruby-debug/ruby-debug-base19) and found one major problem: rb_vm_get_sourcel...
-
12:53 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- On 31/10/12 13:03, alexeymuranov (Alexey Muranov) wrote:
>
> Issue #6973 has been updated by alexeymuranov (Alexey Muranov).
>
>
> regularfry (Alex Young) wrote:
>
>>
>> So if I knowingly and correctly construct a calc... -
12:13 AM Feature #7258 (Rejected): Update Rdoc
- Eric Hodel is planning to update Rdoc by the end of November.
See [ruby-core:48212].
Eric, please do it asap.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:13 AM Feature #7257 (Rejected): Update Rubygems
- Eric Hodel is planning to update Rubygems by the end of November.
See [ruby-core:48212].
Eric, please do it asap.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:11 AM Feature #7256 (Closed): Update Rake
- Eric Hodel is planning to update Rake by the end of November.
See [ruby-core:48212].
Eric, will you update it to the version 10?
If so, do you think the incompatibility is not a problem?
(ko1 told me that it has not a small numbe... -
12:05 AM Bug #6401: Windows bug with File.pos
- I can confirm this bug has been fixed in Ruby 1.9.3-p286. Thanks!
11/01/2012
-
11:53 PM Feature #7252: version number of 2.0 release
- On 11/01/2012 02:33 AM, KOSAKI Motohiro wrote:
>>> 旧来の開発版/開発版とかもういらないんじゃないですかね。
>>> trunkが開発版、リリースされたら安定版、で。
>>
>> その行為が開発を促進するか停滞させるかは意見の分かれるところでしょう。
>>
>> 1.8がなくて1.9だけしかなかったらYARVは怖くて突っ込めなかったと思いますよ。
>
> 2.x は全部安定版にしてしま... -
06:06 PM Feature #7252: version number of 2.0 release
- matz (Yukihiro Matsumoto) wrote:
> まつもと ゆきひろです
> ...
お返事ありがとうございます!では、"2.0.0" は確定としましょう。
ルールやブランチの切り方は、おいおい考えましょう。
--
Yusuke Endoh <mame@tsg.ne.jp> -
05:53 PM Feature #7252: version number of 2.0 release
- あいざわです
基本的に成瀬さんの意見に賛成で、2.0.x系統は頑張って互換性を保つように頑
張ってメンテをするということでいいと思います。
なにかしら非互換な変更が入りそうならその時になってからそれを2.1.xの中に
収めるか3.0にするか考えればいいのではないでしょうか。
# 個人的には3.0は相当将来の夢のリリースであっていて欲しいとおもっています。 -
05:53 PM Feature #7252: version number of 2.0 release
- >> 旧来の開発版/開発版とかもういらないんじゃないですかね。
>> trunkが開発版、リリースされたら安定版、で。
>
> その行為が開発を促進するか停滞させるかは意見の分かれるところでしょう。
>
> 1.8がなくて1.9だけしかなかったらYARVは怖くて突っ込めなかったと思いますよ。
2.x は全部安定版にしてしまって、開発版が欲しくなるぐらいの重量級の機能が入ったら
3.0にバージョンアップしたて、またバージョンルールを定義... -
03:23 PM Feature #7252: version number of 2.0 release
- あいざわです
いちマーケターの意見としては、2/24には"2.0.0-p0" またはもっとシンプルに "2.0" で出すべきかなと思います。
その後の取扱を考えると"2.0.0-p0" を基本としてメッセージングとしては "2.0" を露出させていくのがよいかと。
ちなみにHerokuでは 2/28にwazaというテクニカルイベントを予定しており、2.0のリリースに合わせてHeroku
の環境下ですぐに ruby2.0を試してもらえるように社内調整を進... -
01:29 PM Feature #7252: version number of 2.0 release
- naruse (Yui NARUSE) wrote:
> 旧来の開発版/開発版とかもういらないんじゃないですかね。
> ...
その行為が開発を促進するか停滞させるかは意見の分かれるところでしょう。
1.8がなくて1.9だけしかなかったらYARVは怖くて突っ込めなかったと思いますよ。 -
01:08 PM Feature #7252: version number of 2.0 release
- 旧来の開発版/開発版とかもういらないんじゃないですかね。
trunkが開発版、リリースされたら安定版、で。
1.9/1.8 の時みたいに dev/stable の2系統持つという案もあり得るとは思いますが、
releaseブランチのメンテだけでも手一杯なのにstable ブランチの維持はちょっと出来る気があんまり……。
というので、正確には stable ブランチの復活に反対という意見かも。
まとめると、わたしは以下の通りにするのがよいと思います。(基... -
12:49 PM Feature #7252: version number of 2.0 release
- まつもと ゆきひろです
1.8の頃のルールに戻すかどうかはまだ迷っているのですが、インパクトの観点から2/24にリリースするものは2.0.0にしたいです。
-
12:46 PM Feature #7252: version number of 2.0 release
- usa (Usaku NAKAMURA) wrote:
> よって、ポイントは、
> ...
予定は考えていませんでした。そろそろ引き締めないと。ありがとうございます。
提案ですが、(2) で、1.8 の時代に戻しませんか?
つまり 2.0 はすべて安定版、2.1 はすべて開発版。2 月にリリースするのは 2.0.0 。
今晩あたり実装予定 feature の告知の意味で preview1 をリリースしたいと画策して
いますので、まつもとさんが反対で... -
11:08 AM Feature #7252: version number of 2.0 release
- 2.0.1 だとキャッチーさが薄れるのでお誕生日イベントの盛り上がり的には 2.0.0 or 2.0 のほうがいいなあ(ぼそっ
-
09:56 AM Feature #7252 (Closed): version number of 2.0 release
- 2月にリリースされるモノのバージョン番号はどうなる予定でしょうか?
例えばredmineでは「対象バージョン」に「2.0.0」とか書いてあるので、
2.0.0になるのかと思われがちですが、バージョン番号付けルールは
[ruby-dev:15923] にあるように、
1.9.0からは末尾0が開発版、1以降が安定版
とされており、以降変更されていない、と理解しています。
よって、ポイントは、
(1) 2月に出すのは安定版ですか? それと... -
11:53 PM Feature #6083: Hide a Bignum definition - Hi,
In message "Re: [ruby-core:48640] Re: [ruby-trunk - Feature #6083] Hide a Bignum definition"
on Wed, 31 Oct 2012 15:31:08 +0900, KOSAKI Motohiro <kosaki.motohiro@gmail.com> writes:
|> Target version changed from 2.0.... -
03:53 AM Feature #6083: Hide a Bignum definition
- On Wed, Oct 31, 2012 at 9:26 AM, SASADA Koichi <ko1@atdot.net> wrote:
> (2012/10/31 0:31), KOSAKI Motohiro wrote:
>>> Target version changed from 2.0.0 to next minor
>>> I am sorry but it's too late. I admit my fault.
>>
>> Ma... -
11:24 PM Revision 499b5a91 (git): proc.c: main.define_method
- * proc.c (top_define_method): new method, main.define_method.
[ruby-core:45715] [Feature #6609]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:23 PM Revision 603fcafd (git): eval.c: fix message
- * eval.c (top_include): fix a warning message, main is not a class or
module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:02 PM Feature #3346: __DIR__ revisted
- Hi.
yhara (Yutaka HARA) wrote:
> mame (Yusuke Endoh) wrote:
> ...
I've created a patch for Kernel#__dir__. How about it? -
08:01 PM Feature #7250: A mechanism to include at once both instance-level and class-level methods from a module
- I have fantasized a bit more about an alternative Object Model for
Ruby. Here is what i imagined:
1. Objects are allowed to keep their methods more or less the same way as they keep attributes in instance variables. Methods are con... -
07:48 PM Revision 71dcc25f (git): suppress warning: 'val' may be used uninitialized in this function
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:47 PM Bug #7247 (Closed): r37079以降Solaris10でthread_pthread.cがコンパイルエラー
- This issue was solved with changeset r37402.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
thread_pthread.c: RUBY_STACK_MIN
* thread_pthread.c (RUBY_STA... -
07:41 PM Revision 1d4ec583 (git): mkmf.rb: timestamp_file
- * lib/mkmf.rb (MakeMakefile#timestamp_file): use ! instead of %, a GNU
make special character.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:40 PM Revision 27f41491 (git): test_process.rb: use never existing file
- * test/ruby/test_process.rb (test_execopts_preserve_env_on_exec_failure):
use never existing file in the current temporary directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:24 PM Revision 082e1344 (git): * tool/merger.rb: add feature to tag preview/rc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:23 PM Feature #7241: Enumerable#to_h proposal
- >
> I wouldn't say it is over. See #4151. ...
Is #each_with a better name?
>
Has anyone suggested `map_to`? I think `map_to` has a clearer intention
than `each_with`, because you're mapping the collection onto somethin... -
05:49 PM Feature #7241: Enumerable#to_h proposal
- =begin
I wouldn't say it is over. See #4151.
I still like:
module Enumerable
def each_with(x={})
each{ |e| yield(x,e) }
x
end
end
Is #each_with a better name?
=end -
05:10 PM Feature #7241: Enumerable#to_h proposal
- Just in case, here is some relevant discussion on StackOverflow with benchmarks:
http://stackoverflow.com/questions/3230863/ruby-rails-inject-on-hashes-good-style -
12:29 PM Feature #7241: Enumerable#to_h proposal
- >
> I think it should go in to ActiveSupport first.
>
> matz.
>
Thanks for your reply! The pull request has just been rejected on
ActiveSupport, so I guess that's th... -
12:23 PM Feature #7241: Enumerable#to_h proposal - Hi,
In message "Re: [ruby-core:48690] Re: [ruby-trunk - Feature #7241] Enumerable#to_h proposal"
on Thu, 1 Nov 2012 08:07:11 +0900, Nathan Broadbent <nathan.f77@gmail.com> writes:
|@matz: Do you think this `each_with_has... -
12:23 PM Feature #7241: Enumerable#to_h proposal
- >
> Almost no one uses #each_with_object as it is. #each_with_hash is hardly
> better. We need a short method name. Moreover I don't think this method's
> behavior is really the best approach to the real use case.
>
It's tr... -
11:53 AM Feature #7241: Enumerable#to_h proposal
- Almost no one uses #each_with_object as it is. #each_with_hash is hardly
better. We need a short method name. Moreover I don't think this method's
behavior is really the best approach to the real use case.
On Wed, Oct 31,... -
06:24 PM Revision 072ab753 (git): lib/mkmf.rb: fix for if config["libdir"] is nil.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:22 PM Revision b2bbfb3e (git): * tool/make-snapshot: fix wrong regexp for releasing preview.
- patched by mame.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:45 PM Feature #7251 (Closed): using usings in usinged Module
- This issue was solved with changeset r37399.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (rb_using_module): using should be used indirectly.
[... -
02:07 PM Feature #7251 (Assigned): using usings in usinged Module
-
01:29 PM Revision 98c96a69 (git): * NEWS: add a news about objspace,
- ObjectSpace.reachable_objects_from.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:09 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- I noticed one compatibility issue.
rb_file_expand_path_fast calls to_path method before to_str, but to_path was ignored.
I fixed to_path is called before to_str. If StringObject has to_path, the object are expended every time becau... - 01:04 PM Revision a3e5a865 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_new),
- test/bigdecimal/test_bigdecimal.rb:
Fix exception message of BigDecimal constructor with a Float.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:03 PM Revision 2e6b5ece (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_add),
- test/bigdecimal/test_bigdecimal.rb:
need to specify precision for converting Rational and Float.
[ruby-core:48045] [Bug #7176]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:48 PM Feature #6895 (Assigned): TracePoint API
- I need to consider about:
- TracePoint enable/disable API [ruby-core:47305]
- Add interface to get returned/raised value [ruby-core:47259]
- trace block enter/leave interface
Sorry for my late response.
This ticket should be ope... -
12:46 PM Revision a5fc96a5 (git): * test/ruby/test_process.rb: Revert r37404. My ubuntu box has
- actually the directory named "/nonexistent"... Sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:33 PM Revision de082042 (git): * test/ruby/test_process.rb: Process.exec raised EACCES on Linux
- 3.5.0-17-generic. This is a temporal fix to rescue that exception.
Needs kosaki's review.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 PM Revision 0c4a27a5 (git): iseq.c: fix r37397
- * iseq.c (set_relation): parent_iseq need to be set regardless iseq
type. fix r37397.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:47 AM Revision 5aa7ff2b (git): thread_pthread.c: RUBY_STACK_MIN
- * thread_pthread.c (RUBY_STACK_MIN): may not a compile time constant.
fix r37079. [ruby-dev:46322] [Bug #7247]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:30 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- On Wed, Oct 31, 2012 at 3:43 PM, Eric Wong <normalperson@yhbt.net> wrote:
> "headius (Charles Nutter)" <headius@headius.com> wrote:
>> * For folks doing crypto stuff that want to know exactly how big the
>> buffer is right away,... -
05:53 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- "headius (Charles Nutter)" <headius@headius.com> wrote:
> * For folks doing crypto stuff that want to know exactly how big the
> buffer is right away, this provides a way to do so.
I'm not sure exactly what you mean. Do you ... -
05:53 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- > So we have something like this:
>
> Platforms known to not support any sort of O(1) realloc: JVM
>
> Platforms that may not support O(1) realloc: OS X, others?
>
> Platforms that do (should?) support O(1) realloc: Linux
... -
05:06 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- So we have something like this:
Platforms known to not support any sort of O(1) realloc: JVM
Platforms that may not support O(1) realloc: OS X, others?
Platforms that do (should?) support O(1) realloc: Linux
In any case, I st... -
07:48 AM Revision ba1bd089 (git): * NEWS: add note for Module#refine, Module#refinements,
- Module#using, and Kernel#using.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:45 AM Revision 5f0b7f8c (git): * ChangeLog: fix indentation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:45 AM Revision 7a58c65a (git): * eval.c (rb_using_module): using should be used indirectly.
- [ruby-dev:46326] [Feature #7251]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:43 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
- I concur with ko1's objection to having the bindings available. It would introduce *massive* performance overhead and kill many optimizations we implementers do currently or hope to do in the future.
Having the classes available is al... -
05:40 AM Feature #6216: SystemStackError backtraces should not be reduced to one line
- Some details on the JRuby side of things:
* SystemStackError is not consistently raised. There are a decreasing number of places in JRuby's codebase where we attempt to rescue Java's StackOverflowError and reraise it as SystemStackErr... -
05:36 AM Feature #5481: Gemifying Ruby standard library
- FWIW, here's how we're handling the gemification of OpenSSL...
Background: Previously, JRuby's 'openssl' support was always distributed as a gem, since we did not want to ship crypto (bouncycastle). Starting with JRuby 1.7, however, w... -
05:29 AM Feature #5123: Alias Hash 1.9 as OrderedHash
- I was only proposing an alias for now. Maybe `OHash`, `OSet`?
-
05:09 AM Feature #5123: Alias Hash 1.9 as OrderedHash
- The decision is already made. Hash has been ordered since 1.9.1 (or 1.9.2?) and changing it now would break all code that expects ordering. Ordering also does not necessarily limit options for implementation...it just makes certain imple...
-
05:22 AM Feature #3388: regexp support for start_with? and end_with?
- JRuby currently does have a global cache for regexps. If you're interested, one of us can show you how it works.
-
05:21 AM Feature #5378: Prime.each is slow
- JRuby numbers for the various implementations proposed (best times out of ten in-process iterations):
mconigliario's version:
user system total real
primes_up_to 2.100000 0.000000 2.100000 ... - 04:17 AM Revision 94d10fbb (git): * 2012-11-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:17 AM Revision 130bb41d (git): iseq.c: simplify
- * iseq.c (set_relation): simplify and merge same conditions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:41 AM Bug #5627 (Closed): [ASYNC BUG] thread_timer: select
- > The error.log suggests that any module (I'm suspecting old Passenger)
> ...
This is known issue and we already solved it on current trunk.
see [ruby-core:37727] Issue of Passenger and ruby-trunk.
Jeff may need to upgrade both ruby...
10/31/2012
-
10:36 PM Feature #6083: Hide a Bignum definition
- (2012/10/31 0:31), KOSAKI Motohiro wrote:
>> Target version changed from 2.0.0 to next minor
>> I am sorry but it's too late. I admit my fault.
>
> Matz, I don't like this decision. I believe we should choose next _major_
> o... -
03:53 PM Feature #6083: Hide a Bignum definition
- > Target version changed from 2.0.0 to next minor
> I am sorry but it's too late. I admit my fault.
Matz, I don't like this decision. I believe we should choose next _major_
or 2.0.0. minor release should not have binary incomp... -
02:06 AM Feature #6083: Hide a Bignum definition
- I am sorry but it's too late. I admit my fault.
Matz.
-
10:23 PM Feature #6643: io.seek(off, :end)
- Akira Tanaka wrote:
> StringIO は修正すれば済むわけですが、
> ...
そうですね。
最新のパッチ(patch2.diff)では、そういう懸念があるのでIO::SEEK_*の値は変えずにIntegerもSymbolも受け付けるようにしています。 -
10:19 PM Bug #6175 (Rejected): watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
- Closing because this ticket is too clueless.
There is no C trace, no reproducing process, and no feedback...
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:07 PM Bug #5627 (Assigned): [ASYNC BUG] thread_timer: select
- Providing a video is a good idea, but it was deleted...
Please make a ticket self-contained.
The error.log suggests that any module (I'm suspecting old Passenger)
closes an pipe for internal timer thread communication.
Kosaki-san... -
10:03 PM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- regularfry (Alex Young) wrote:
>
> ...
Alex, can you give an example, please?
-
10:03 PM Bug #5519 (Rejected): Enumerator#next skips c-return hooks
- kernigh is right; this is a spec. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:01 PM Bug #5385 (Rejected): ~/gems/gems/posix-spawn-0.3.6/lib/posix_spawn_ext.bundle: [BUG] Segmentation fault ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.1.0]
- I'm closing this ticket.
There is no C trace, no reproducing code (octopress directory), and no feedback...
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:53 PM Bug #6215 (Assigned): print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
- Anyone can reproduce? Sorah-don, could you give it a try?
I think that textmate looks irrelevant in the following trace.
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> ...
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:41 PM Bug #7198 (Closed): No documentation of Psych on ruby-doc.org
-
09:36 PM Bug #6182 (Closed): ruby crashed with trace inof below !(Ruby interpreter or extension libraries)
- I think that this issue has been already fixed at r32749. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:56 PM Feature #5431 (Rejected): Check issue with ruby-1.9.3-rc1
- Supporting s390 is considered a new feature.
And then I'm rejecting this issue because of no feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:55 PM Feature #7251: using usings in usinged Module
- s/suspect/expect/
-
08:41 PM Feature #7251 (Closed): using usings in usinged Module
- I suspect Kernel#using to using all the already usinged Refinements in usinged Module. For example:
module X
refine Fixnum do
def foo; p :foo; end
end
end
module Y
refine Fixnum do
def bar; p :... -
08:51 PM Bug #6125 (Rejected): Exception Report
- Closing this ticket because it is too clueless.
OP seems to be gone. I guess we cannot get a feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:50 PM Bug #6084 (Rejected): Ruby 1.9.3p125 Segfault while running nanoc compile
- Closing this ticket because it is too clueless.
OP seems to be gone. I guess we cannot get a feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:47 PM Bug #5739 (Rejected): [BUG] object allocation during garbage collection phase
- The trace seems to be truncated because it is too long.
Please attach the log file instead of pasting the content.
OP did not answer to ko1's question long time; I guess we
cannot get a feedback from OP. So, I'm closing this ticket... -
08:44 PM Bug #5931 (Assigned): Random SEGV during execution on YARD specs
- Usa-san, please!
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:41 PM Bug #5990 (Assigned): Random Segmentation Fault when running on Linux Fedora
- Aaron, do you know anything?
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:37 PM Bug #3744 (Rejected): Fails to compile on OpenSolaris
- Thanks Goto-san! Then, closing this ticket as "invalid".
--
Yusuke Endoh <mame@tsg.ne.jp> -
05:32 PM Bug #3744: Fails to compile on OpenSolaris
- From the error message, the dynamic linker of the OS could not find OpenSSL shared library.
To solve the issue quickly, please set LD_LIBRARY_PATH environment variable to the location of OpenSSL library, for example, LD_LIBRARY_PATH=/... -
08:18 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- apotonick (Nick Sutterer) wrote:
> =begin
> ...
I am sorry, i used your thread to propose my own feature request in a sense, i have already corrected this with #7250. I hoped that maybe there would be no need for inheritable `self.inclu... -
07:45 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
Ah ok, now I understand you, Alexey. Instead of having a keyword (inclusive/inheritable) you want to have a special "namespace" as in
module M
def to_be_inherited.m; end
which would include the class method #m when includi... -
07:24 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- apotonick (Nick Sutterer) wrote:
>
> ...
If i understood correctly, Thomas suggested the `include!` method name simply to not change the current behavior of `include`, but it seems that he also prefers a single method.
I do not t... -
07:01 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
Interesting points, mates. I don't know about the method tables so all I can do is summarizing what we came up with so far.
== 1. Explicitely define inheritable class methods.
module M
inclusive/inheritable
def self.i_wi... -
06:32 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- I'll open a feature request do discuss module inclusion separately.
Update: #7250 -
06:02 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
trans (Thomas Sawyer) wrote:
> I'm not sure I like this idea --I still think it would be better just to make it the usual behavior of (({#include})), but it is an option.
I think that there would be issues with "including" met... -
12:54 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
I have always thought module class methods should be included. Matz has stated his opposition to it b/c he sees it as a hindrance for some use cases, for example, internal methods spilling in when including the Math module. But I... -
07:34 AM Feature #7240: Inheritable #included/#extended Hooks For Modules
- In my opinion, the most common use case for the `included` hook in modules is adding class methods. However, to me this looks hackish -- hard to follow and understand. I would have preferred if there was a way to define both instance-l...
-
05:44 AM Feature #7240: Inheritable #included/#extended Hooks For Modules
- Sorry, I didn't read my own output, please disregard.
-
05:42 AM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
What is wrong with using super?
$ cat t.rb
module A
def self.included mod
puts "#{mod} included A"
end
end
module B
def self.included mod
puts "#{mod} included B"
super
... -
07:12 PM Bug #7008 (Feedback): rake is crashing when trying to compile ffi gem
-
06:59 PM Feature #7250 (Open): A mechanism to include at once both instance-level and class-level methods from a module
- =begin
I have simply commented first on #7240, but i feel i need to start a ticket in order to not post off topic.
This seems to be a big feature request, so i didn't feel confident to suggest, but when i read in #7240 that (({Module... -
04:27 PM Bug #3523 (Third Party's Issue): win32 exception c0000029 on exit using fibers
- Although it is too late, I think that we don't handle this now,
so change this ticket as TPI.
-
03:39 PM Feature #6421: Add zlibwapi to extconf.rb file for zlib library
- Sorry, I can't understand the conclusion.
(1) should apply the 1 line patch because it doesn't cause any problem.
(2) no need to apply the patch because the zlibwapi users should change the names of the dll and the lib.
Which?
... -
01:23 PM Bug #7248 (Closed): Shouldn't Enumerator::Lazy.new be private?
- Is there a reason why Enumerator::Lazy.new is not private?
Lazy enumerators should be created with `Enumerable#lazy`. Moreover, there is no doc, and it can give unexpected results too. -
01:20 PM Feature #6636: Enumerable#size
- I added support for lazy enumerators.
Yusuke, Matz, did I address your questions/concerns? -
11:19 AM Bug #5756 (Feedback): crashs when Twitter.update_with_media with rails
- seems crashing on openssl. please try building ruby again with openssl NOT COMES WITH OS X (building by your hand, including using homebrew or macports or some)
-
01:52 AM Bug #5756 (Assigned): crashs when Twitter.update_with_media with rails
- OP provided a feedback. Sorah, please check it.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:19 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- tarui (Masaya Tarui) wrote:
> it seems almost good.
> ...
Thank you. I agreed.
I will change to expand NonStringObject(TYPE(v) != T_STRING) every time and not freeze it. -
09:31 AM Bug #6433 (Closed): rb_thread_blocking_region(): ubf() function is executed with GVL
- I updated the documentation in r37393 and r37394 for natural english and to mention that the ubf() may not be called from the GVL.
-
09:22 AM Revision 25a973e8 (git): * gc.c (gc_profile_record): don't define unused variables when
- GC_PROFILE_MORE_DETAIL is 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:22 AM Revision 9fd08911 (git): * gc.c (gc_prof_mark_timer_stop): count is not initialized.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:59 AM Bug #7221: Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- Thank you. In addition, could you show us mkmf.log?
--
Yusuke Endoh <mame@tsg.ne.jp> -
04:27 AM Bug #7221: Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- OK, I changed the line back to the original return Integer(f.gets) and attempted a reinstall of kgio under 1.9.3-p286.
The output from the build is still: ruby-1.9.3-p286/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into... -
06:23 AM Feature #7241: Enumerable#to_h proposal
- Em 30-10-2012 16:23, Aaron Patterson escreveu:
> On Tue, Oct 30, 2012 at 07:58:33PM +0900, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>> Issue #7241 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).
>>
>>
>> Maybe .hash... -
03:29 AM Feature #7241: Enumerable#to_h proposal - On Tue, Oct 30, 2012 at 07:58:33PM +0900, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>
> Issue #7241 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).
>
>
> Maybe .hash_map? each_with_object is a too long name for a ... -
03:13 AM Bug #7059 (Third Party's Issue): rb_name_err_mesg_new at shut down appears to cause: [BUG] object allocation during garbage collection phase
- harrison.uhl (Harrison Uhl) wrote:
> Having read about a "object allocation during garbage collection" issue in WxRuby,
Could you give me a pointer?
> ...
What made you thought so?
I don't know wxRuby's architecture, but the ba... -
02:55 AM Feature #6545 (Closed): inconvinient require order of DL
- I've fixed this in r37391. The fix isn't optimal, but it is the smallest patch to fix the bug.
-
02:26 AM Bug #4508 (Rejected): Ability class for CanCan for Rails
-
02:24 AM Bug #7085: Subversion → GitHub gateway stops.
- I'm also expecting a revival of the github mirror :-)
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:23 AM Feature #6373 (Feedback): public #self
- The point is when we see the code like:
~~~ruby
[1,2,3,4,5,1,2,2,3].group_by(&:self)
~~~
sometimes it would be less intuitive that self refers elements in the array, not self in the scope.
I think this cause YAM syndrome here. W... -
02:19 AM Feature #6241 (Rejected): Module#method_defined? with inherited flag
- Tomas has a point. We cannot accept the original idea.
So I reject this proposal. Try again.
In general I am not a big fun of inherited flag, since most inheritance works rather as composition in Ruby.
Matz.
-
02:18 AM Bug #5659: bug releasing a gem created with rails 3.1
- luislavena (Luis Lavena) wrote:
> mame (Yusuke Endoh) wrote:
> ...
Thanks. Then, emboss, do you know?
The trace looks similar to #6886 which was closed as 3PI.
What do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:03 AM Bug #5659: bug releasing a gem created with rails 3.1
- mame (Yusuke Endoh) wrote:
> Luis, do you know the status?
> ...
No, I was unable to reproduce with any of my installed versions of Ruby. -
01:41 AM Bug #5659 (Assigned): bug releasing a gem created with rails 3.1
- Luis, do you know the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:14 AM Feature #6216 (Assigned): SystemStackError backtraces should not be reduced to one line
- I don't feel I exactly understand the situation, since the specified line in CRuby backtrace does not appear in JRuby's.
That might mean avoiding backtrace truncation has no meaning, or CRuby could have yet another bug.
Do you have a... -
02:07 AM Feature #5877 (Rejected): Poor performance of initial and final UTF-8 substrings
- Not a bug. "forthcoming" did not come.
Please try to make your proposal self-contained.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:03 AM Bug #5872 (Rejected): Memoery issue
- I'm closing this ticket because it is too clueless.
Please reopen if you can provide additional information.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:58 AM Bug #5559 (Assigned): Intermittent Seg fault when using net-ssh
- Looks os x issue. Nobu, could you check this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:56 AM Bug #5401 (Assigned): Ruby 1.9.3 interpreter crash
- Sorah, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
-
01:47 AM Bug #5721 (Rejected): require_relative
- I'm closing this ticket because akr guessed that it is an intended behavior, and because of no OP's rebuttal.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:38 AM Bug #5530 (Assigned): SEEK_SET malfunctions when used with 'append' File.open mode
- kosaki (Motohiro KOSAKI) wrote:
> Which documentation bring you confusing?
IO.new does not say that append mode ignores fseek.
That said, I don't like to make rdoc messy.
How about adding just "See fopen(3) man pages"?
Kosaki-s... -
01:19 AM Bug #5496 (Rejected): ext/bigdecimal build failure on HP-UX 11.23/IA, 11.31/IA
-
01:18 AM Bug #5340 (Rejected): mysql2.bundle: [BUG] Segmentation fault
- Sorry, but I'm closing this ticket because it is too clueless and OP did not answer.
Please tell us if you can repro.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:17 AM Bug #5019 (Rejected): Ruby runtime crashes and indicates a 'Bus Error' bug
- Sorry, but I'm closing this ticket because it is too clueless and OP did not answer.
Please tell us if you can repro.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:00 AM Bug #5200: Ruby Crash Segmentation fault
- Please tell us how to reproduce.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:58 AM Bug #7246: FileUtils.cp_r does not preserve attributes of directories
- The following code might be a proper bugfix.
(({require 'fileutils'
module FileUtils
class Entry_
def wrap_traverse(pre, post)
pre.call self
if directory?
entries.each do |ent|
ent.wrap... -
12:42 AM Bug #7246 (Closed): FileUtils.cp_r does not preserve attributes of directories
- (({FileUtils.cp_r})) does not preserve the file attributes of directories because the attributes are set before copying to the directory.
The following monkey patch fixes this behaviour. However the monkey patch relies on the contents o... -
12:57 AM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
- Martin and NaHi,
Is there any concrete plan to address this issue?
If not, I'd like to close this ticket now.
You can reopen it whenever you find any clue to make a progres.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:52 AM Bug #7247 (Closed): r37079以降Solaris10でthread_pthread.cがコンパイルエラー
- r37079以降、Solaris10のccでは以下のエラーが出て失敗します。(以下はr37390にて確認)
cc -O -xtarget=sparc64viiplus -m64 -DRUBY_EXPORT -I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include -I. -I.ext/include/sparc64-solaris2.10 -I./include -I. -o thre... -
12:40 AM Bug #5050 (Rejected): unable remap error when 'make test' on cygwin
- I guess that this is the cygwin's spec; rebaseall is needed?
Feel free to reopen this if you know anything that we can do in the ruby-side.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:32 AM Bug #5055 (Rejected): ruby-1.9.2-p290 Test Error @Cygwin
- 返答が遅くなった上で申し訳ないですが、cygwin はサポートされていません。
一旦閉じますが、パッチを送って頂ければ取り込みを検討しますので reopen してください。
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:29 AM Revision 7ae466f1 (git): * thread.c (rb_thread_call_without_gvl2): Note that ubf() may or may
- not be called with the GVL. Hinted that rb_thread_call_with_gvl()
can be used to access ruby functionality. [ruby-trunk - #6433]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 AM Bug #4488 (Third Party's Issue): Segmentation fault when calling new (or in rspec)
- I succeeded to repro:
$ gem install hallon
$ ruby -rhallon -e 'def (Hallon::Session).instance(*args, &block); @__instance__ ||= new(*args, &block); end; Hallon::Session.instance("invalid")'
/home/mame/work/local/lib/ruby/gems/2.0.... -
12:07 AM Revision 5562411c (git): * thread.c (rb_thread_call_without_gvl2): Update documentation to
- natural English.
* thread.c (rb_thread_call_with_gvl): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 AM Bug #4350 (Rejected): Segmentation fault and Bus Error
- Sorry but I'm closing this ticket because it is too clueless.
I guess eventmachine is involved to this issue, but I can make no hypothesis any more.
Feel free to reopen this if you have any clue.
--
Yusuke Endoh <mame@tsg.ne.jp>
10/30/2012
-
11:58 PM Bug #7244 (Closed): ArgumentError of refine
- This issue was solved with changeset r37390.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (rb_mod_refine): fix the error message when no block... -
10:02 PM Bug #7244 (Closed): ArgumentError of refine
- refine は 1 個しか引数をとらないはずなのにブロックを渡さずに引数 1 個で呼び出すと (0 for 1..3) という ArgumentError になります。
% ruby -v
ruby 2.0.0dev (2012-10-30 trunk 37389) [x86_64-linux]
% ruby -e 'Class.new{|c|refine}'
-e:1:in `refine': wrong number of arguments... -
11:56 PM Bug #7245 (Rejected): Float.round result not as expected
- This is the spec.
Float is internally stored in binary representation which cannot represent 1.005 precisely.
So the literal "1.005" becomes an approximate Float object actually less than its mathematical value.
$ ruby -e 'p (1.... -
10:42 PM Bug #7245 (Rejected): Float.round result not as expected
- In my second example below I would expect "1.01" as result.
1.9.3-p286 :001 > 1.05.round(1)
=> 1.1
1.9.3-p286 :002 > 1.005.round(2)
=> 1.0
1.9.3-p286 :003 > 1.006.round(2)
=> 1.01
Is this a bug or am I wrong? -
11:48 PM Feature #5481: Gemifying Ruby standard library
- Hi, I'd like to question once more some parts of the proposal in wiki [1].
* After installing updated stdlib gems, those should be treated as regular gems.
The only viable solution is proposal 1. It seems that there was some work s... -
11:42 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- shirosaki-san,
Thank you for fast patch.
it seems almost good.
one point, freezed NonStringObject can return different result by redefining to_str method in class scope.
if expand it everytime as same as home dirs, It is not neces... -
01:39 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Thank you for review.
> 1) support both ENV and getpwnam.
My intention is 1) since I would like see (G4) merged.
Additional patch.
https://gist.github.com/3964679#file_0004_fix_compatibility_of_require.patch
No cache for '~'... -
11:26 PM Feature #6875: Make test/unit default gem
- kou (Kouhei Sutou) wrote:
> I comment on this issue.
> ...
Well, yes, it would be probably better to discuss some points there :)
>
> ...
Yes, that make sense. Actually it is one issues I complained in #6124
> > > > 2) The gem... -
10:54 PM Bug #3744: Fails to compile on OpenSolaris
- Goto-san, can you check this ticket?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:51 PM Bug #4508: Ability class for CanCan for Rails
- Hello,
I'm closing this ticket as "worksforme".
I guess that OP talked about "cancan" gem.
I installed it and tried the script, but it terminated successfully:
$ gem install cancan
$ ruby -rcancan t.rb
$
I think that... -
10:40 PM Bug #4737 (Rejected): Ruby crasshes and config.xml becomes a 0 kb file
- Hello,
I'm closing this ticket as "worksforme".
I don't know what rally is, but I guess OP followed the process explained in the URL:
http://www.rallydev.com/help/subversion-installation-user-guide
I tried it, but I cannot ... -
09:28 PM Bug #7221: Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- I checked the discussion of github.
I think the problem here is why f.gets fails.
The proposed patch is NOT acceptable; it just hides the real problem by returning a *bogus* result.
So, could you please tell us how to reproduce th... -
08:36 PM Bug #7242 (Assigned): Bignum mathematical accuracy regression in r31695
- Hello,
2012/10/30, mhall (Matthew Hall) <mhall@mhcomputing.net>:
> Attached to this bug I have a simplified example test case which will pass
> ...
Good catch! I created a more simplified example.
$ ruby toom3-bug.py.rb
... -
07:34 AM Bug #7242 (Closed): Bignum mathematical accuracy regression in r31695
- We have some pure Ruby code which performs a DH (Diffie Hellman) cryptographic
handshake.
If I upgrade to using the Ruby 1.9.3 interpreter instead of 1.9.2, the unit
tests around the code fail, because the client and server can no ... -
08:23 PM Feature #6609: Toplevel as self extended module
- 2012/10/30, Nobuyoshi Nakada <nobu@ruby-lang.org>:
> At Sat, 27 Oct 2012 11:39:04 +0900,
> mame (Yusuke Endoh) wrote in [ruby-core:48433]:
>> - Matz accepted "define_method in Toplevel". We need a patch. Nobu,
>> could you?
... -
03:59 AM Feature #6609: Toplevel as self extended module
- Hi,
At Sat, 27 Oct 2012 11:39:04 +0900,
mame (Yusuke Endoh) wrote in [ruby-core:48433]:
> - Matz accepted "define_method in Toplevel". We need a patch. Nobu, could you?
Sorry, I haven't followed this topic. To where sho... -
08:23 PM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- On 29/10/12 22:12, alexeymuranov (Alexey Muranov) wrote:
>
> Issue #6973 has been updated by alexeymuranov (Alexey Muranov).
>
>
>> >> Floats are precise, just like Integers are. *Operations* on floats are
>> >> n... -
09:23 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- On 30 October 2012 08:12, alexeymuranov (Alexey Muranov)
<redmine@ruby-lang.org> wrote:
>
> Issue #6973 has been updated by alexeymuranov (Alexey Muranov).
>
>> >> Floats are precise, just like Integers are. *Operations* o... -
07:12 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- > >> Floats are precise, just like Integers are. *Operations* on floats are
> ...
I guess the question is: what would be a point in calling this method on a Float? A Float value is rarely exact in the sense that it rarely coincides ... -
07:58 PM Feature #7241: Enumerable#to_h proposal
- Maybe .hash_map? each_with_object is a too long name for a very common needed method. Many have asked for a method like it (including me) because they couldn't find "each_with_object" and they ended up learning here after asking for such...
-
08:53 AM Feature #7241: Enumerable#to_h proposal
- OK, no problem! Thanks for your response!
A bit unrelated, but is it strange that each_with_object and inject have a
different order for the block params?
[1,2,3].inject({}) {|obj, el| obj[el] = el * 2; obj } #=> {... -
08:53 AM Feature #7241: Enumerable#to_h proposal
- Thanks! Sorry, I didn't know about each_with_object.
Do you think it would still be worth shortening
`each_with_object(Hash.new([])) { ... }` to `to_h([]) { ... }`, and are any
of the other cases worth supporting?
Best,... -
08:37 AM Feature #7241 (Rejected): Enumerable#to_h proposal
-
08:37 AM Feature #7241: Enumerable#to_h proposal
- Your idea of to_h is interesting, but it adds too much behavior in one method.
Besides that, since to_s, to_a, to_i etc. are used for implicit conversion, to_h is not a proper name for the method.
Nice try, we will wait for next one.... -
08:27 AM Feature #7241: Enumerable#to_h proposal
- Or
1.9.3-p0 :001 > Hash[ [1,2,3,4,5].map{|el| [el, el*2]} ]
=> {1=>2, 2=>4, 3=>6, 4=>8, 5=>10} -
08:23 AM Feature #7241: Enumerable#to_h proposal - On Tue, Oct 30, 2012 at 07:23:29AM +0900, nathan.f77 (Nathan Broadbent) wrote:
>
> Issue #7241 has been reported by nathan.f77 (Nathan Broadbent).
>
> ----------------------------------------
> Feature #7241: Enumerable#to_h... -
07:23 AM Feature #7241 (Rejected): Enumerable#to_h proposal
- I often use the `inject` method to build a hash, but I always find it annoying when I need to return the hash at the end of the block.
This means that I often write code like:
[1,2,3,4,5].inject({}) {|hash, el| hash[el] = el * 2;... -
07:33 PM Bug #7239 (Closed): Can't read from subprocess when run with rubyw on windows
- This issue was solved with changeset r37388.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* process.c (redirect_dup2): set standard handles when new fd i... -
02:32 AM Bug #7239 (Assigned): Can't read from subprocess when run with rubyw on windows
- 05:54 PM Revision 974c1b40 (git): * 2012-10-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:54 PM Revision 4b1df2ae (git): * ext/dl/lib/dl/struct.rb: fix strange require order. [ruby-dev:45702]
- * ext/dl/lib/dl/value.rb: ditto
* test/dl/test_c_struct_entry.rb: remove strange require order from
tests.
* test/dl/test_c_union_entity.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37391 b2dd03c8-39d4-4d8f-98ff-823fe... -
03:13 PM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
- Can you write a test for this patch, nobu?
If so, please commit them(=this patch and the test). -
02:58 PM Revision e46471e9 (git): * eval.c (rb_mod_refine): fix the error message when no block is
- given. [ruby-dev:46319] [Bug #7244]
* test/ruby/test_refinement.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 PM Feature #6643: io.seek(off, :end)
- 2012年10月30日 8:47 ko1 (Koichi Sasada) <redmine@ruby-lang.org>:
>
> Issue #6643 has been updated by ko1 (Koichi Sasada).
>
> Target version set to 2.0.0
>
> 田中さんに一応聞いておきたいところ.
最新のパッチは確認していないのですが、
IO::SEEK_* の値をシンボルに変えてし... -
08:47 AM Feature #6643: io.seek(off, :end)
- 田中さんに一応聞いておきたいところ.
-
12:13 PM Revision 05ba9069 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:32 AM Revision ee271803 (git): * process.c (redirect_dup2): set standard handles when new fd is stdio,
- because if there is no allocated console at the moment Windows does
not automatically associate it for child process's standard handle.
this is adhoc workaround.
reported by Martin Thiede at [ruby-core:48542] [Bug #7239].
* io.c (... -
09:40 AM Bug #4387 (Closed): test_socket_connect_nonblock(TestSocketAddrinfo) がまれに失敗する
- This issue was solved with changeset r37387.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Check if there is no error before reconnect [Bug #4387] -
09:31 AM Bug #1341: pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
- Please tell us if you have HP-UX.
-
09:31 AM Bug #3600: HP-UX compilation
- Please tell us if you have HP-UX.
-
09:16 AM Bug #7097 (Closed): Thread locals don't work inside Enumerator
- This "feature" was introduced.
-
09:15 AM Bug #6577 (Feedback): GC中にstack overflowが発生するとSEGVする
- 再帰しなくなったんで,もういいんでしたっけ?
-
09:14 AM Bug #6433: rb_thread_blocking_region(): ubf() function is executed with GVL
- Need to check document (someone's helps are welcome!)
-
09:13 AM Bug #6117: Transfers allowed into Fibers that have resumed into other fibers
- Please give me a time.
-
09:13 AM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
- Please give me a time.
-
09:12 AM Bug #5912 (Closed): Interpreter crashes when trying to invoke implicit block via Binding#eval
- Close this ticket because I can't reproduce it on trunk (2.0).
Please re-open if you can reproduce this issue.
-
09:10 AM Bug #5249 (Closed): C の Proc の比較のバグ
- これ,直ってるような.
-
09:09 AM Bug #4583 (Rejected): trace doesn't work for methods set up by attr_*
- No feedback.
-
09:08 AM Bug #4443: odd evaluation order in a multiple assignment
- ...これバグなんだっけ? feature のような気もしますが.
2.0 には無理っぽいので,next minor にしておきます. -
09:01 AM Feature #6710: new special binding specifier :isolated
- Yes, (small) performance issue.
Okay, let's discuss how to make such binding. I think we have several choice.
- Binding.new
- Binding.new(:isolated)
Or do we need to discuss jballanc's proposal in another ticket and reject this... -
08:47 AM Feature #6710: new special binding specifier :isolated
- Ko1, explain why you need modify eval, where we can create new isolated binding.
I don't think small performance improvement is a good excuse.
Matz.
-
08:48 AM Feature #3206 (Rejected): Problems manipulating the signal mask with Ruby
- No feedback.
-
08:46 AM Feature #5958 (Rejected): ThreadGroup#join
- Now, I reject this ticket.
I think your proposal is very useful.
To introduce thread set manipulation is needed.
But I feel it is not mature.
Please re-design `ThreadGroup` and make another tickets.
-
08:44 AM Feature #5669 (Rejected): Random thread scheduling based on a seed
- No feedback.
-
08:43 AM Feature #4589 (Feedback): add Queue#each() method and include Enumerable
- Professional's comments are very welcome.
I can't determine it should be worth or not.
-
08:43 AM Feature #4146 (Rejected): Improvement of Symbol and Proc
- 文法が気に入らないのでreject。
Matz.
-
08:41 AM Feature #4146: Improvement of Symbol and Proc
- 進んでないので,中田さん,どうぞよろしく.
-
08:40 AM Feature #3944 (Assigned): Add Fiber#root? method
-
08:39 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- ping.
I think it can be introduce into Ruby 2.0 if there is a nice implementation.
-
07:08 AM Feature #7240 (Feedback): Inheritable #included/#extended Hooks For Modules
- An inheritable hook mechanism for modules would be a great way for module/gem authors to simplify their implementations.
The Problem
-----------
Let's say I have the following module.
module A
def self.included(base)
... -
03:09 AM Bug #6809 (Closed): Deprecation of Config
- This issue was solved with changeset r37386.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
rbconfig/obsolete.rb: Config
* lib/rbconfig/obsolete.rb (Confi... -
12:40 AM Revision 643f5308 (git): Check if there is no error before reconnect [Bug #4387]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e