[#32009] merging nokogiri to ext/ — Aaron Patterson <aaron@...>
I would like to merge nokogiri to ext for the 1.9.3 release. I spoke to
Hello,
Hi,
On Sep 4, 2010, at 3:19 PM, Benoit Daloze wrote:
On Sat, Sep 4, 2010 at 4:30 PM, James Edward Gray II
On Sun, Sep 5, 2010 at 9:19 PM, <brabuhr@gmail.com> wrote:
On Sep 5, 2010, at 12:28 PM, Giuseppe Bilotta wrote:
On Mon, Sep 06, 2010 at 05:02:09AM +0900, Joshua Ballanco wrote:
> Supposedly there are REXML tests that are maintained outside of Ruby,
Hello,
Hi,
2010/9/3 NARUSE, Yui <naruse@airemix.jp>:
On Fri, Sep 03, 2010 at 04:27:07PM +0900, NARUSE, Yui wrote:
Hi,
On Sun, Sep 05, 2010 at 12:17:03AM +0900, Yusuke ENDOH wrote:
Hi,
On Fri, Sep 03, 2010 at 02:34:09PM +0900, NARUSE, Yui wrote:
Hi,
Currently, we're discussing three different topics:
On Thu, Sep 09, 2010 at 01:40:34AM +0900, Yusuke ENDOH wrote:
Hello,
Hi,
On Thu, Sep 09, 2010 at 12:33:07PM +0900, Yusuke ENDOH wrote:
Hi,
On Thu, Sep 09, 2010 at 10:13:31PM +0900, Yusuke ENDOH wrote:
As an alternate approach:
2010/9/10 James Cox <james@imaj.es>:
[#32056] [Ruby 1.8-Bug#3788][Open] URI cannot parse IPv6 addresses propertly — Adam Majer <redmine@...>
Bug #3788: URI cannot parse IPv6 addresses propertly
Issue #3788 has been updated by Adam Majer.
2010/9/8 Adam Majer <redmine@ruby-lang.org>:
[#32110] Ruby 2.0 Wiki/Wish-list? — Joshua Ballanco <jballanc@...>
Hi all,
2010/9/8 Joshua Ballanco <jballanc@gmail.com>:
On Sep 7, 2010, at 5:21 PM, NARUSE, Yui wrote:
Hi,
On Sep 8, 2010, at 12:37 AM, Yukihiro Matsumoto wrote:
Hi,
On Sep 8, 2010, at 2:00 AM, Yukihiro Matsumoto wrote:
Hi,
> -- "def" returns a lambda instead of nil
> So, for example, a few things I've wanted for a long time:
Hi,
On Thu, Sep 9, 2010 at 4:20 AM, "Martin J. Dürst"
I really miss those features:
[#32135] [Ruby-Bug#3802][Open] freeaddrinfo not found in WS2_32.dll — Thomas Volkmar Worm <redmine@...>
Bug #3802: freeaddrinfo not found in WS2_32.dll
Issue #3802 has been updated by Usaku NAKAMURA.
Hi,
Hello,
On Tue, Oct 12, 2010 at 11:44 PM, U.Nakamura <usa@garbagecollect.jp> wrote:
2010/10/13 Luis Lavena <luislavena@gmail.com>:
[#32154] Making custom_lambda() work — Magnus Holm <judofyr@...>
A tiny suggestion for how we could make it possible to call lambdas
On Wed, Sep 8, 2010 at 18:21, Magnus Holm <judofyr@gmail.com> wrote:
On Wed, Sep 8, 2010 at 18:57, Nikolai Weibull <now@bitwi.se> wrote:
[#32156] Can we convert the standard library to gems? — James Edward Gray II <james@...>
Taken from the bundle Nokogiri thread:
On 2010-09-09 01:45:43 +0900, James Edward Gray II wrote:
On Sep 8, 2010, at 12:03 PM, Marcus Rueckert wrote:
On 2010-09-09 02:54:26 +0900, James Edward Gray II wrote:
On Sep 8, 2010, at 3:26 PM, Marcus Rueckert wrote:
On 2010-09-09 06:11:15 +0900, James Edward Gray II wrote:
On Thu, Sep 09, 2010 at 05:26:54AM +0900, Marcus Rueckert wrote:
On 10/09/10 at 02:41 +0900, Aaron Patterson wrote:
On Fri, Sep 10, 2010 at 1:54 AM, Lucas Nussbaum
ok, this is not exactly on topic, but I'm using Debian and Ubuntu a
Hi Elise,
Hi,
On Thu, Sep 09, 2010 at 02:06:50AM +0900, Yusuke ENDOH wrote:
Hi,
I'm off today so sorry if I missed some mails.
Urabe,
(2010/09/10 23:48), James Cox wrote:
I'm at an airport back to my home so in short,
On Sun, Sep 12, 2010 at 6:51 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
(2010/09/13 3:54), James Cox wrote:
On Tue, Sep 14, 2010 at 12:37 PM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
How difficult to make myself understood in English.
On Wed, Sep 15, 2010 at 1:43 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
Hi,
On Wed, Sep 15, 2010 at 12:07 PM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
On 2010-09-16 01:42:39 +0900, James Cox wrote:
On Wed, Sep 15, 2010 at 1:35 PM, Marcus Rueckert <darix@opensu.se> wrote:
On 2010-09-16 03:36:56 +0900, James Cox wrote:
On Wednesday, September 15, 2010, Marcus Rueckert <darix@opensu.se> wrote:
On 16/09/10 at 11:02 +0900, James Cox wrote:
On Thu, Sep 16, 2010 at 1:59 AM, Lucas Nussbaum
On Thu, Sep 16, 2010 at 10:41 AM, James Tucker <jftucker@gmail.com> wrote:
On 2010-09-16 03:36:56 +0900, James Cox wrote:
On Thu, Sep 16, 2010 at 11:44 AM, Marcus Rueckert <darix@opensu.se> wrote:
On Wed, Sep 8, 2010 at 10:45 AM, James Edward Gray II
On Thu, Sep 9, 2010 at 1:41 PM, Roger Pack <rogerdpack2@gmail.com> wrote:
[#32165] [Ruby 1.9-Bug#3805][Open] Ruby generated gem specifications for bundled projects are incorrect — Luis Lavena <redmine@...>
Bug #3805: Ruby generated gem specifications for bundled projects are incorrect
[#32200] Ruby 2.0 Wish-list? — Rocky Bernstein <rockyb@...>
Any plans for error messages in languages other than English?
[#32248] Replacing stdlib Date with C version — Jeremy Evans <code@...>
I've recently been working on a replacement for the stdlib Date class,
Hi,
On 09/10 07:23, Nobuyoshi Nakada wrote:
Hi,
[#32351] Cross-compilation bugs and seek for help — Luis Lavena <luislavena@...>
Hello,
It might be off topic though I have to mention this anyway. This is not for
[#32353] [Ruby 1.9-Bug#3825][Open] ENV.delete raise Exception on Windows — Heesob Park <redmine@...>
Bug #3825: ENV.delete raise Exception on Windows
[#32453] Why doesn’t Enumerable define a #last method? — Nikolai Weibull <now@...>
Hi!
On 17 September 2010 12:19, Nikolai Weibull <now@bitwi.se> wrote:
(2010/09/17 19:19), Nikolai Weibull wrote:
On Fri, Sep 17, 2010 at 13:00, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
[#32454] [Ruby 1.9-Feature#3845][Open] "in" infix operator — Yusuke Endoh <redmine@...>
Feature #3845: "in" infix operator
On 17 September 2010 12:30, Yusuke Endoh <redmine@ruby-lang.org> wrote:
Hi,
On Wed, Sep 22, 2010 at 1:48 AM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
Hi,
Hello Yusuke,
[#32465] [Ruby-Feature#3848][Open] Using http basic authentication for FTP with Open URI — Jérémy Lecour <redmine@...>
Feature #3848: Using http basic authentication for FTP with Open URI
On Sep 17, 2010, at 2:02 PM, J駻駑y Lecour wrote:
On Sat, Sep 18, 2010 at 13:19, James Edward Gray II
On Sep 26, 2010, at 8:44 PM, mathew wrote:
On Sun, Sep 26, 2010 at 20:57, James Edward Gray II
[#32469] ruby.lib vs VC++ — Phlip <phlip2005@...>
Here's a nice sample program to illustrate my problem:
[#32478] [Ruby-Feature#3851][Open] Ruby 1.9.2p0 crash on filename with '[' — Jon Lambert <redmine@...>
Feature #3851: Ruby 1.9.2p0 crash on filename with '['
[#32506] [Ruby 1.9-Bug#3863][Open] [BUG] unknown type 0x22 (0xc given) — Jay Borenstein <redmine@...>
Bug #3863: [BUG] unknown type 0x22 (0xc given)
[#32529] [Ruby 1.9-Bug#3869][Open] Logger#log does not handle or escape new-line characters. — Hal Brodigan <redmine@...>
Bug #3869: Logger#log does not handle or escape new-line characters.
[#32565] RUBY_PLATFORM on MinGW64 (was: List of possible casting issues under LLP64) — wanabe <s.wanabe@...>
Hello,
On Sat, Sep 25, 2010 at 7:52 PM, wanabe <s.wanabe@gmail.com> wrote:
[#32585] Proposal for Optional Static Typing for Ruby — Martin Pilkington <pilky@...>
Hi,
Hi
Hi,
Hi Matz
Martin,
Hi,
On Sep 28, 2010, at 12:35 PM, Loren Segal wrote:
On Sep 28, 2010, at 2:47 PM, Loren Segal wrote:
Hi Loren, Joshua
Hi All,
It strikes me that much of the premise behind this thread is misguided as it overlooks the importance of meta-programming in developing any Ruby program of substantive size. Where a Java or C++ programmer might write a factory method to create instances of a class and spend much of their effort enumerating types explicitly, it's not unusual in Ruby to write meta-programs which create a variety of class and method definitions on request to create or repurpose object instances for the task at hand.
Eleanor,
On 29 Sep 2010, at 16:03, Loren Segal wrote:
Hi Ellie,
Hi,
On Sep 29, 2010, at 12:33 AM, Bill Kelly wrote:
[#32614] Long lines in mails sent from Mail.app (Was: Re: Parameter and Return Interface Specification) — Nikolai Weibull <now@...>
On Tue, Sep 28, 2010 at 14:20, Asher <asher@ridiculouspower.com> wrote:
[#32634] [Ruby 1.9-Bug#3889][Open] Incorrectly detected i686-w64-mingw32 as x64-mingw — Luis Lavena <redmine@...>
Bug #3889: Incorrectly detected i686-w64-mingw32 as x64-mingw
Issue #3889 has been updated by Usaku NAKAMURA.
Issue #3889 has been updated by Shyouhei Urabe.
On Tue, Oct 05, 2010 at 02:03:23PM +0900, Shyouhei Urabe wrote:
Issue #3889 has been updated by Luis Lavena.
[ruby-core:32589] [Ruby 1.9-Bug#3880][Open] Ruby 1.9.1 - crash in timeout.rb
Bug #3880: Ruby 1.9.1 - crash in timeout.rb
http://redmine.ruby-lang.org/issues/show/3880
Author: Elvita Lobo
Status: Open, Priority: High
Category: core, Target version: 1.9.1
ruby -v: ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
I am using the serialport 1.0.4 Ruby gem. In my serial port connection code, I have the following piece of code [1] that causes Ruby to crash from time to time.
[1] In serial_equipment_connection.rb
23 status = Timeout::timeout(timeout) {
24 while (!listener.match)
25 sleep 0.5
26 end
27 }
ruby 窶砺
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
I am running on a Windows XP SP 3 machine.
I have attached the two related files - serial_equipment_connection.rb, equipment_connection.rb, and the crash log.
[2] Crash log (file attached)
MXP>(eval):2: [BUG] The handle is invalid.
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
-- control frame ----------
c:0044 p:0054 s:0226 b:0226 l:000225 d:000225 METHOD c:/Ruby191/lib/ruby/1.9.1/monitor.rb:178
c:0043 p:---- s:0232 b:0232 l:000231 d:000231 CFUNC :to_i
c:0042 p:---- s:0235 b:0235 l:000234 d:000234 CFUNC :instance_variable_set
c:0041 p:0098 s:0230 b:0230 l:000229 d:000229 METHOD c:/Ruby191/lib/ruby/gems/1.9.1/gems/activesuppo
rt-2.3.8/lib/active_support/core_ext/class/inheritable_attributes.rb:135
c:0040 p:---- s:0226 b:0226 l:000225 d:000225 CFUNC :index
c:0039 p:---- s:0223 b:0223 l:000222 d:000222 CFUNC :sleep
c:0038 p:0019 s:0219 b:0219 l:001a24 d:000218 BLOCK C:/VATF_source/target/serial_equipment_connecti
on.rb:25
c:0037 p:0109 s:0217 b:0217 l:002698 d:002698 METHOD c:/Ruby191/lib/ruby/1.9.1/timeout.rb:52
c:0036 p:0153 s:0205 b:0205 l:001a24 d:001a24 METHOD C:/VATF_source/target/serial_equipment_connecti
on.rb:23
c:0035 p:0014 s:0194 b:0194 l:000193 d:000193 METHOD C:/VATF_source/target/equipment_connection.rb:5
4
----------------------------------------
http://redmine.ruby-lang.org
Attachments (3)
MXP>(eval):2: [BUG] The handle is invalid. ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32] -- control frame ---------- c:0044 p:0054 s:0226 b:0226 l:000225 d:000225 METHOD c:/Ruby191/lib/ruby/1.9.1/monitor.rb:178 c:0043 p:---- s:0232 b:0232 l:000231 d:000231 CFUNC :to_i c:0042 p:---- s:0235 b:0235 l:000234 d:000234 CFUNC :instance_variable_set c:0041 p:0098 s:0230 b:0230 l:000229 d:000229 METHOD c:/Ruby191/lib/ruby/gems/1.9.1/gems/activesuppo rt-2.3.8/lib/active_support/core_ext/class/inheritable_attributes.rb:135 c:0040 p:---- s:0226 b:0226 l:000225 d:000225 CFUNC :index c:0039 p:---- s:0223 b:0223 l:000222 d:000222 CFUNC :sleep c:0038 p:0019 s:0219 b:0219 l:001a24 d:000218 BLOCK C:/VATF_source/target/serial_equipment_connecti on.rb:25 c:0037 p:0109 s:0217 b:0217 l:002698 d:002698 METHOD c:/Ruby191/lib/ruby/1.9.1/timeout.rb:52 c:0036 p:0153 s:0205 b:0205 l:001a24 d:001a24 METHOD C:/VATF_source/target/serial_equipment_connecti on.rb:23 c:0035 p:0014 s:0194 b:0194 l:000193 d:000193 METHOD C:/VATF_source/target/equipment_connection.rb:5 4 c:0034 p:0047 s:0190 b:0190 l:000189 d:000189 METHOD C:/VATF_source/target/equipment_driver.rb:41 c:0033 p:0045 s:0182 b:0182 l:000181 d:000181 METHOD c:/Ruby191/lib/ruby/1.9.1/delegate.rb:137 c:0032 p:---- s:0175 b:0175 l:000174 d:000174 FINISH c:0031 p:0079 s:0173 b:0173 l:000141 d:000172 BLOCK C:\vatf@vgdk_engg_arago-project_org_git_project s_test-automation_execution-engines_vatf-scripts_git_\VGDK\transcoding\transcodi c:0030 p:---- s:0169 b:0169 l:000168 d:000168 FINISH c:0029 p:---- s:0167 b:0167 l:000166 d:000166 CFUNC :each_pair c:0028 p:0254 s:0164 b:0164 l:000141 d:000163 BLOCK C:\vatf@vgdk_engg_arago-project_org_git_project s_test-automation_execution-engines_vatf-scripts_git_\VGDK\transcoding\transcodi c:0027 p:---- s:0156 b:0156 l:000155 d:000155 FINISH c:0026 p:---- s:0154 b:0154 l:000153 d:000153 CFUNC :each c:0025 p:0011 s:0151 b:0151 l:000141 d:000150 BLOCK C:\vatf@vgdk_engg_arago-project_org_git_project s_test-automation_execution-engines_vatf-scripts_git_\VGDK\transcoding\transcodi c:0024 p:---- s:0147 b:0147 l:000146 d:000146 FINISH c:0023 p:---- s:0145 b:0145 l:000144 d:000144 CFUNC :each_pair c:0022 p:0916 s:0142 b:0142 l:000141 d:000141 METHOD C:\vatf@vgdk_engg_arago-project_org_git_project s_test-automation_execution-engines_vatf-scripts_git_\VGDK\transcoding\transcodi c:0021 p:0897 s:0097 b:0097 l:0015ac d:0015ac METHOD C:/VATF_source/atf_session_runner.rb:420 c:0020 p:0130 s:0078 b:0078 l:000068 d:000077 BLOCK C:/VATF_source/atf_session_runner.rb:293 c:0019 p:---- s:0075 b:0075 l:000074 d:000074 FINISH c:0018 p:---- s:0073 b:0073 l:000072 d:000072 CFUNC :upto c:0017 p:0232 s:0069 b:0069 l:000068 d:000068 METHOD C:/VATF_source/atf_session_runner.rb:288 c:0016 p:0023 s:0062 b:0062 l:000023 d:000061 BLOCK atf_run.rb:50 c:0015 p:---- s:0059 b:0059 l:000058 d:000058 FINISH c:0014 p:---- s:0057 b:0057 l:000056 d:000056 CFUNC :each c:0013 p:0031 s:0054 b:0054 l:000023 d:000053 BLOCK atf_run.rb:49 c:0012 p:---- s:0051 b:0051 l:000050 d:000050 FINISH c:0011 p:---- s:0049 b:0049 l:000048 d:000048 CFUNC :each c:0010 p:0017 s:0046 b:0046 l:000023 d:000045 BLOCK atf_run.rb:47 c:0009 p:---- s:0043 b:0043 l:000042 d:000042 FINISH c:0008 p:---- s:0041 b:0041 l:000040 d:000040 CFUNC :upto c:0007 p:0229 s:0037 b:0037 l:000023 d:000036 BLOCK atf_run.rb:46 c:0006 p:---- s:0029 b:0029 l:000028 d:000028 FINISH c:0005 p:---- s:0027 b:0027 l:000026 d:000026 CFUNC :each c:0004 p:0450 s:0024 b:0024 l:000023 d:000023 METHOD atf_run.rb:41 c:0003 p:0084 s:0006 b:0006 l:000204 d:00177c EVAL atf_run.rb:107 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:000204 d:000204 TOP --------------------------- -- Ruby level backtrace information----------------------------------------- c:/Ruby191/lib/ruby/1.9.1/timeout.rb:49:in `sleep' c:/Ruby191/lib/ruby/1.9.1/timeout.rb:49:in `block in timeout' [NOTE] You may encounter a bug of Ruby interpreter. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
require 'rubygems'
require 'timeout'
require File.dirname(__FILE__)+'/base_listener'
class SerialEquipmentConnection < SerialBaseListenerClient
def initialize(platform_info)
super(platform_info)
rescue Exception => e
raise
end
def send_cmd(*params)
command = params[0]
expected_match = params[1] ? params[1] : Regexp.new('.*')
timeout = params[2] ? params[2] : 30
check_cmd_echo = params[3] ? params[3] : true
@is_timeout = false
listener = BaseListener.new(command, expected_match, check_cmd_echo)
add_listener(listener)
super(command)
status = Timeout::timeout(timeout) {
while (!listener.match)
sleep 0.5
end
}
rescue Timeout::Error => e
log_error("On command: "+command.to_s+" waiting for "+expected_match.to_s+" >>> error: "+e.to_s) if respond_to?(:log_error)
@is_timeout = true
rescue Exception => e
Kernel.print e.to_s+"\n"+e.backtrace.to_s
raise
ensure
@response = listener.response
remove_listener(listener)
end
def response
@response.to_s
end
def timeout?
@is_timeout
end
def update_response
@session_data
end
end
require 'rubygems'
require File.dirname(__FILE__)+'/telnet_equipment_connection'
require File.dirname(__FILE__)+'/serial_equipment_connection'
class EquipmentConnection
attr_reader :default, :telnet, :serial
def initialize(platform_info)
@platform_info = platform_info
@default = nil
@telnet = nil
@serial = nil
end
def connect(params)
case params['type'].to_s.downcase.strip
when 'telnet'
@telnet = TelnetEquipmentConnection.new(@platform_info)
if @platform_info.driver_class_name.to_s.downcase.include?("wince")
@telnet.connect
@telnet.waitfor({'Match' => />/, 'Timeout'=> 10})
sleep 1
else
@telnet.connect
end
@telnet.start_listening
@default = @telnet
when 'serial'
if @platform_info.serial_port.to_s.strip != ''
@serial = SerialEquipmentConnection.new(@platform_info)
else
@serial = SerialServerConnection.new(@platform_info)
end
@serial.start_listening
@default = @serial if !@default
else
raise "Unknown connection type: #{params['type'].to_s}"
end
end
def disconnect
@telnet.disconnect if @telnet
@serial.disconnect if @serial
end
def send_cmd(*params)
# command = params[0]
# expected_match = params[1] #? params[1] : Regexp.new('.*')
# timeout = params[2] #? params[2] : 30
# check_cmd_echo = params[3] #? params[3] : true
# puts "equipment_connection: #{command}, #{expected_match}, #{timeout}, #{check_cmd_echo}" # TODO REMOVE DEBUG PRINT
@default.send_cmd(*params)
end
def response
@default.response
end
def timeout?
@default.timeout?
end
def update_response
@default.update_response
end
end