Is there any chance of getting the oniguruma patch into ruby 1.8.6 for windows

#1

Hi

Is there any chance getting the Oniguruma Patch 2.5.9 into Ruby-1.8.6
for Windows? I believe there are a lot of Applications out there that
still use Ruby 1.8.6 and they want to use Regular Expressions as well
without having to rewrite their complete applications for Ruby 1.9.2

See:

The latest Linux Oniguruma Patch works for Ruby 1.8.6 and the latest
Windows Patch works for Ruby 1.8.4.

See these files:

Also it seems that the Oniguruma Patch supports more regular expressions
then Ruby 1.9.2. does. See this discussion for that:

I am also willing to pay to get this job done. Once it is done, anybody
can use it.

You may contact me on Twitter (zdavatz) or via Email.

Best
Zeno

#2

On Fri, Jan 7, 2011 at 2:49 PM, Zeno D. removed_email_address@domain.invalid wrote:

See these files:
http://dev.ywesee.com/uploads/%24PageName//oniguru

Also it seems that the Oniguruma Patch supports more regular expressions
then Ruby 1.9.2. does. See this discussion for that:

http://fossplanet.com/f14/[ruby-core-28235]-%5

The links are broken. Are you referring to
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/28235 ?
But that does not talk about 1.9.2 regexp vs. patched Ruby. Actually
I would believe that if at all 1.9.2 has a richer set.

I am also willing to pay to get this job done. Once it is done, anybody
can use it.

That’s really generous! Question is, whether it’s worth the effort.
1.8.7 seems a better target if any. OTOH since 1.9 is the way to go
nowadays anyway porting to 1.9 might not be a too bad idea. You could
at least try it once and see how far you get. It is not unrealistic
that porting effort is close to zero.

Kind regards

robert

#3

Dear Robert

Robert K. wrote in post #973111:

On Fri, Jan 7, 2011 at 2:49 PM, Zeno D. removed_email_address@domain.invalid wrote:

The links are broken. Are you referring to
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/28235 ?

Sorry, I corrected the links in the interface, here they are again:

http://url.ba/00z0

I was referring to the discussion of Michael F. with some
Developers. See above link.

But that does not talk about 1.9.2 regexp vs. patched Ruby. Actually
I would believe that if at all 1.9.2 has a richer set.

This is the discussion. Ruby-Devs explicitly say they did not want to
copy all of Onigurumas functions. That created problems for Michael as
well:

http://url.ba/00z0

You really have to read all the four pages, where there is also a PDF of
Matz that says consistency in Ruby is not actually a goal ;).

I am also willing to pay to get this job done. Once it is done, anybody
can use it.

That’s really generous! Question is, whether it’s worth the effort.
1.8.7 seems a better target if any. OTOH since 1.9 is the way to go
nowadays anyway porting to 1.9 might not be a too bad idea. You could
at least try it once and see how far you get. It is not unrealistic
that porting effort is close to zero.

I do believe it is worth the effort.

http://url.ba/7pw3

Many helpful tips of Luis L…

I am already trying myself but this will take forever. I need help here
and I am willing to pay for it.

Porting our application to Ruby 1.9 is a much bigger effort then getting
the Oniguruma Patch into Ruby 1.8.6 for windows. Linux is fine.

What I really want is a Ruby-Installer (.exe) for Ruby 1.8.6 with the
Oniguruma-Patch applied. That installer for windows should install Ruby
1.8.6 _with_the_oniguruma_patch applied, Rubygems and all the other
stuff as normal.

It also seems that the maintainer for Oniguruma has a win32 patch up to
version 1.8.4 (for windows) and the linux version goes up to Version
1.8.6 (that is what we are using at http://ch.oddb.org.

See these files:

http://url.ba/76xv

you will find the Linux and Win32 patches all there, including the
Makefile.

Best
Zeno

#4

We are actually getting somewhere here, thanks to the great people over
at the RubyInstaller for Windows! [[Thank you Jon and Luis L., you
are great - and you totally changed my impression of Ruby on Windows.
There are a lot of practical tools out there on Windows for Ruby -
always considering too that the windows world still is very big]].

http://url.ba/8dzw

Best
Zeno

#5

Ok, as far as I can tell I got a Ruby-1.8.6-Oniguruma Windows Installer
up and ready! :wink: Thanks to the outstanding help of Luis L. Sensei
and Jon over from Ruby-Installer for Windows.

I will double check my results asap.

So if you need Ruby-1.8.6 for Windows with the Oniguruma-Patch applied
please get in touch. I also recommend that the Oniguruma-Patch should
officially be applied for Ruby 1.8.8 to smoothen the road for all the
developers that use the very stable Version of 1.8.6 (to stable, how can
it be to stable http://url.ba/lxah :wink: - but at sometime need to move on
to Ruby 1.9.2.

This road has to be smooth. If it is not smooth then the popularity of
Ruby will suffer and nobody wants that. Version 2.0 of Ruby should be
the new new thing™.

So I am asking Yui Naruse http://url.ba/g8qu as the Ruby-Core people
said they are open for questions.

Best
Zeno