From murphy at rubychan.de Mon May 12 18:59:19 2008
From: murphy at rubychan.de (Kornelius Kalnbach)
Date: Tue, 13 May 2008 00:59:19 +0200
Subject: Please weigh in to RubyGems developers!
In-Reply-To: <48C4DA63-C804-4249-B672-848D538BFEC7@jasongarber.com>
References: <48C4DA63-C804-4249-B672-848D538BFEC7@jasongarber.com>
Message-ID: <4828CBC7.9060109@rubychan.de>
Jason Garber schrieb:
> Eric evidently isn't willing to consider making gem names case-
> insensitive when you install
why? did he explain his decision/refusal?
[murphy]
From jeanbaptiste.barth at gmail.com Tue May 13 16:53:28 2008
From: jeanbaptiste.barth at gmail.com (Jean-Baptiste BARTH)
Date: Tue, 13 May 2008 22:53:28 +0200
Subject: hard_breaks issues
Message-ID: <4829FFC8.5080807@gmail.com>
Hello,
I'm new to this list, so first of all, many thanks to RedCloth's
developers, it really helps me in many ruby apps :-)
I post here because I'd like to have a clear view on "hard_breaks"
related issues. I saw old references on the web and on the archives on
this ML, I'd like a fresh view !
It seems that RedCloth 3.0.4 does not handle "\n" as my previous
reference (here : http://textism.com/tools/textile/index.php). Actually,
"hobix.com" website (quoted in the redcloth doc) differs on the "
"
point. So first, can you confirm which is the real reference for the
Textile "language", and what spec Redcloth follow ?
The latest stable release does everything well for me except "\n" =>
"
", it leaves "\n" as is.
I use a very basic code : @blah = RedCloth.new(text_to_parse).to_html
I tried to add the array [:hard_breaks] as a second parameter, but not
only it does not parse \n "well" (see below), but other features
disappear, except bold, underline, links and some other transformations.
Maybe it's the standard behaviour, but in that case, I think I don't
really understand the second parameter usage...
When I say "does not parse \n well", I mean :
- the sample given on the link above is visually parsed the same way,
except the "That was a line break" paragraph and some tabulations in
pre/code sections
- I tried "test\nblah\nbleh" on both, original textile result is
"\t
test
\nblah
\nbleh
" while RedCloth 3.0.4 result is
"test\nblah\nbleh
"
Here are the questions :
- is this behaviour normal (according to developper point of view /
principles) ?
- if not, is it corrected on dev version, or about to be (I saw the name
"SuperRedCloth" ??) ? and how to test it ?
- would you be interested in a patch that make redcloth 3.0.4 behaviour
similar to textile php implementation, or it is to be outdated ? I've
one, strongly inspired from the php class by Alex Shiels. I think it
works well, but I'm a ruby beginner, the code may be ugly.. Moreover, it
appears that it is not affected by bug #36 (seen on
https://code.whytheluckystiff.net/redcloth/, if it is up to date)
Thank you,
Cheers,
--
Jean-Baptiste BARTH
From jg at jasongarber.com Tue May 20 09:26:06 2008
From: jg at jasongarber.com (Jason Garber)
Date: Tue, 20 May 2008 09:26:06 -0400
Subject: Please weigh in to RubyGems developers!
In-Reply-To: <4828CBC7.9060109@rubychan.de>
References: <48C4DA63-C804-4249-B672-848D538BFEC7@jasongarber.com>
<4828CBC7.9060109@rubychan.de>
Message-ID:
He didn't say. See: http://rubyforge.org/tracker/index.php?
func=detail&aid=16937&group_id=126&atid=575
Eric closed the ticket, saying:
> Date: 2008-02-20 14:42
> Sender: Eric Hodel
>
> Use `gem list` to get the correct capitalization.
Then someone re-opened the ticket, plus I have a ticket suggesting
not case-insensitivity, but rather a prompt when you use the wrong
case: http://rubyforge.org/tracker/index.php?
func=detail&aid=19525&group_id=126&atid=575
I've tried digging into RubyGems source to make a patch, but I
couldn't figure out how to use their mock UI testing interface to
create a unit test.
On May 12, 2008, at 6:59 PM, Kornelius Kalnbach wrote:
> Jason Garber schrieb:
>> Eric evidently isn't willing to consider making gem names case-
>> insensitive when you install
> why? did he explain his decision/refusal?
>
> [murphy]
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jg at jasongarber.com Tue May 20 11:16:49 2008
From: jg at jasongarber.com (Jason Garber)
Date: Tue, 20 May 2008 11:16:49 -0400
Subject: hard_breaks issues
In-Reply-To: <4829FFC8.5080807@gmail.com>
References: <4829FFC8.5080807@gmail.com>
Message-ID: <31CFB28C-4584-4089-BF2F-63EC827C6716@jasongarber.com>
This issue will very soon be corrected with the release of RedCloth
4.0 (was the SuperRedCloth branch). We've kicked around the idea of
releasing a patched version of 3.x simultaneously, but I'm not
planning to spend any time on it, so I doubt it will happen. I'm
afraid it would just complicate things unnecessarily.
I'm back from my honeymoon, so I hope we can get some final issues
worked out and release 4.0 soon.
Thanks!
Jason
On May 13, 2008, at 4:53 PM, Jean-Baptiste BARTH wrote:
> Hello,
>
> I'm new to this list, so first of all, many thanks to RedCloth's
> developers, it really helps me in many ruby apps :-)
>
> I post here because I'd like to have a clear view on "hard_breaks"
> related issues. I saw old references on the web and on the archives
> on this ML, I'd like a fresh view !
> It seems that RedCloth 3.0.4 does not handle "\n" as my previous
> reference (here : http://textism.com/tools/textile/index.php).
> Actually, "hobix.com" website (quoted in the redcloth doc) differs
> on the "
" point. So first, can you confirm which is the real
> reference for the Textile "language", and what spec Redcloth follow ?
>
> The latest stable release does everything well for me except "\n"
> => "
", it leaves "\n" as is.
> I use a very basic code : @blah = RedCloth.new(text_to_parse).to_html
> I tried to add the array [:hard_breaks] as a second parameter, but
> not only it does not parse \n "well" (see below), but other
> features disappear, except bold, underline, links and some other
> transformations. Maybe it's the standard behaviour, but in that
> case, I think I don't really understand the second parameter usage...
>
> When I say "does not parse \n well", I mean :
> - the sample given on the link above is visually parsed the same
> way, except the "That was a line break" paragraph and some
> tabulations in pre/code sections
> - I tried "test\nblah\nbleh" on both, original textile result is
> "\ttest
\nblah
\nbleh
" while RedCloth 3.0.4 result
> is "test\nblah\nbleh
"
>
> Here are the questions :
> - is this behaviour normal (according to developper point of view /
> principles) ?
> - if not, is it corrected on dev version, or about to be (I saw the
> name "SuperRedCloth" ??) ? and how to test it ?
> - would you be interested in a patch that make redcloth 3.0.4
> behaviour similar to textile php implementation, or it is to be
> outdated ? I've one, strongly inspired from the php class by Alex
> Shiels. I think it works well, but I'm a ruby beginner, the code
> may be ugly.. Moreover, it appears that it is not affected by bug
> #36 (seen on https://code.whytheluckystiff.net/redcloth/, if it is
> up to date)
>
> Thank you,
>
> Cheers,
>
> --
> Jean-Baptiste BARTH
>
>
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards
From jeanbaptiste.barth at gmail.com Wed May 21 04:28:16 2008
From: jeanbaptiste.barth at gmail.com (Jean-Baptiste Barth)
Date: Wed, 21 May 2008 10:28:16 +0200
Subject: hard_breaks issues
In-Reply-To: <31CFB28C-4584-4089-BF2F-63EC827C6716@jasongarber.com>
References: <4829FFC8.5080807@gmail.com>
<31CFB28C-4584-4089-BF2F-63EC827C6716@jasongarber.com>
Message-ID:
Ok thanks, I understand your position.
Actually I took a look at the upcoming version and it looks like it resolves
the great majority of the bugs I found in version 3.0.4...
Hope the final version will be released soon ;-)
--
Jean-Baptiste
2008/5/20 Jason Garber :
> This issue will very soon be corrected with the release of RedCloth 4.0
> (was the SuperRedCloth branch). We've kicked around the idea of releasing a
> patched version of 3.x simultaneously, but I'm not planning to spend any
> time on it, so I doubt it will happen. I'm afraid it would just complicate
> things unnecessarily.
>
> I'm back from my honeymoon, so I hope we can get some final issues worked
> out and release 4.0 soon.
>
> Thanks!
> Jason
>
>
> On May 13, 2008, at 4:53 PM, Jean-Baptiste BARTH wrote:
>
> Hello,
>>
>> I'm new to this list, so first of all, many thanks to RedCloth's
>> developers, it really helps me in many ruby apps :-)
>>
>> I post here because I'd like to have a clear view on "hard_breaks" related
>> issues. I saw old references on the web and on the archives on this ML, I'd
>> like a fresh view !
>> It seems that RedCloth 3.0.4 does not handle "\n" as my previous reference
>> (here : http://textism.com/tools/textile/index.php). Actually, "hobix.com"
>> website (quoted in the redcloth doc) differs on the "
" point. So first,
>> can you confirm which is the real reference for the Textile "language", and
>> what spec Redcloth follow ?
>>
>> The latest stable release does everything well for me except "\n" => "
> />", it leaves "\n" as is.
>> I use a very basic code : @blah = RedCloth.new(text_to_parse).to_html
>> I tried to add the array [:hard_breaks] as a second parameter, but not
>> only it does not parse \n "well" (see below), but other features disappear,
>> except bold, underline, links and some other transformations. Maybe it's the
>> standard behaviour, but in that case, I think I don't really understand the
>> second parameter usage...
>>
>> When I say "does not parse \n well", I mean :
>> - the sample given on the link above is visually parsed the same way,
>> except the "That was a line break" paragraph and some tabulations in
>> pre/code sections
>> - I tried "test\nblah\nbleh" on both, original textile result is
>> "\ttest
\nblah
\nbleh
" while RedCloth 3.0.4 result is
>> "test\nblah\nbleh
"
>>
>> Here are the questions :
>> - is this behaviour normal (according to developper point of view /
>> principles) ?
>> - if not, is it corrected on dev version, or about to be (I saw the name
>> "SuperRedCloth" ??) ? and how to test it ?
>> - would you be interested in a patch that make redcloth 3.0.4 behaviour
>> similar to textile php implementation, or it is to be outdated ? I've one,
>> strongly inspired from the php class by Alex Shiels. I think it works well,
>> but I'm a ruby beginner, the code may be ugly.. Moreover, it appears that it
>> is not affected by bug #36 (seen on
>> https://code.whytheluckystiff.net/redcloth/, if it is up to date)
>>
>> Thank you,
>>
>> Cheers,
>>
>> --
>> Jean-Baptiste BARTH
>>
>>
>> _______________________________________________
>> Redcloth-upwards mailing list
>> Redcloth-upwards at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/redcloth-upwards
>>
>
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From why at hobix.com Thu May 22 12:09:55 2008
From: why at hobix.com (_why)
Date: Thu, 22 May 2008 11:09:55 -0500
Subject: hard_breaks issues
In-Reply-To: <31CFB28C-4584-4089-BF2F-63EC827C6716@jasongarber.com>
References: <4829FFC8.5080807@gmail.com>
<31CFB28C-4584-4089-BF2F-63EC827C6716@jasongarber.com>
Message-ID: <20080522160955.GU70833@beekeeper.hobix.com>
On Tue, May 20, 2008 at 11:16:49AM -0400, Jason Garber wrote:
> I'm back from my honeymoon, so I hope we can get some final issues worked
> out and release 4.0 soon.
Oh, hey, welcome back, Jason. I'm busy with a Shoes release for the
next week, but after that I can concentrate on getting the RedCloth
release all smoothed out with you. It looks like all the tickets
left in Trac were all RedCloth 3?
_why
From jg at jasongarber.com Fri May 23 10:57:51 2008
From: jg at jasongarber.com (Jason Garber)
Date: Fri, 23 May 2008 10:57:51 -0400
Subject: hard_breaks issues
In-Reply-To: <20080522160955.GU70833@beekeeper.hobix.com>
References: <4829FFC8.5080807@gmail.com>
<31CFB28C-4584-4089-BF2F-63EC827C6716@jasongarber.com>
<20080522160955.GU70833@beekeeper.hobix.com>
Message-ID: <6383BDE9-029C-43D2-AE48-C41CB0472A99@jasongarber.com>
Not all the tickets in Trac are RedCloth 3. There are some marked
SUPER: http://code.whytheluckystiff.net/redcloth/report/2
I'm stumped on #50, 54 and 55. Could you try to fix them?
Jason
On May 22, 2008, at 12:09 PM, _why wrote:
> On Tue, May 20, 2008 at 11:16:49AM -0400, Jason Garber wrote:
>> I'm back from my honeymoon, so I hope we can get some final issues
>> worked
>> out and release 4.0 soon.
>
> Oh, hey, welcome back, Jason. I'm busy with a Shoes release for the
> next week, but after that I can concentrate on getting the RedCloth
> release all smoothed out with you. It looks like all the tickets
> left in Trac were all RedCloth 3?
>
> _why
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards
From jg at jasongarber.com Fri May 23 10:59:10 2008
From: jg at jasongarber.com (Jason Garber)
Date: Fri, 23 May 2008 10:59:10 -0400
Subject: Strip out RedCloth markup?
In-Reply-To:
References: <61d0c437ffa0621e0462c46f6a6ba3e6@ruby-forum.com>
<981F5E89-E3FB-4537-B94C-3EC8FFDE8C6A@jasongarber.com>
<4e9babf21204bd0f777d2a1fa63d9d63@ruby-forum.com>
Message-ID: <08E756E4-14B7-4B0D-B8B6-6E31C233CD66@jasongarber.com>
Cayce, any luck building that plain text formatter? I've got a
"base" module that the other formatters build off of, but I'm
thinking, "Hey, why not let them build off of a plain text formatter?"
On Apr 24, 2008, at 10:59 AM, Cayce Balara wrote:
> Not so much _I_ didn't want the asterisks, but client does not like
> the
> output that way.
>
> I think I see what you're getting at, though - would this be a
> matter of
> setting up custom RedCloth rules to apply the "plain text" formatting
> they want to end up with, and then perhaps a custom method to apply
> those rules instead of the normal ones, such as ".to_plain_formatted"?
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards
From lists at ruby-forum.com Fri May 23 13:56:02 2008
From: lists at ruby-forum.com (Cayce Balara)
Date: Fri, 23 May 2008 19:56:02 +0200
Subject: Strip out RedCloth markup?
In-Reply-To: <08E756E4-14B7-4B0D-B8B6-6E31C233CD66@jasongarber.com>
References: <61d0c437ffa0621e0462c46f6a6ba3e6@ruby-forum.com>
<981F5E89-E3FB-4537-B94C-3EC8FFDE8C6A@jasongarber.com>
<4e9babf21204bd0f777d2a1fa63d9d63@ruby-forum.com>
<08E756E4-14B7-4B0D-B8B6-6E31C233CD66@jasongarber.com>
Message-ID: <979d23cc3f757fccccacfa7308d4b4c8@ruby-forum.com>
Excuses, excuses, where's that box of excuses I keep around here
somewhere...
No, I haven't. The particular client I was working with when I posted
the question decided to go with plain text for their email function. The
project for me to work on that formatter subsequently got moved to the
back-burner behind some higher priority work. I still have aims to do
it, because I know it'll be needed in the future - I'll notify on this
thread when I get there.
Jason Garber wrote:
> Cayce, any luck building that plain text formatter? I've got a
> "base" module that the other formatters build off of, but I'm
> thinking, "Hey, why not let them build off of a plain text formatter?"
--
Posted via http://www.ruby-forum.com/.