Re: [Radiant] New RedCloth
On Thu, Jul 24, 2008 at 9:18 PM, Chris Parrish <[EMAIL PROTECTED]> wrote: > I saw somewhere that Luis Lavena was researching porting rDiscount to > Windows but also that it didn't look good (discount depends on some *nix > only libraries, I think) > > Hopefully I'm wrong, though. > > Either way, I didn't mean to hijack a thread. New Redcloth for all! > Thread-hijacking... :-) rDiscount uses some neat posic tricks that allow them use callbacks from file operations in a in-memory file (mapped file). This function is name funopen and fopencookie. There is no way to recreate that in Windows, tried and failed (maybe because my C-fu is not good enough). There are better ways that the same can be accomplished but we should be careful not to exploit with huge memory buffers. Maybe someone can write a ragel for markdown and we all enjoy a BlueCloth like the new RedCloth? ;-) -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. Douglas Adams ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New RedCloth
I saw somewhere that Luis Lavena was researching porting rDiscount to Windows but also that it didn't look good (discount depends on some *nix only libraries, I think) Hopefully I'm wrong, though. Either way, I didn't mean to hijack a thread. New Redcloth for all! -Chris john muhl wrote: On 2008/07/24, at 07:44, Sean Cribbs wrote: How would people feel about switching to a gem dependency on the latest RedCloth (instead of packaging it)? I think it's going to have to happen at some point unless Radiant wants to keep using the same old text parsing libraries from 2004/2005. Waiting for the pure ruby libraries catch back up is the other (wishful) option. On 2008/07/24, at 09:31, Chris Parrish wrote: I understood discoount to be *nix only (no Windows). I'll have to look into it further. That's right. Although there isn't anything really stopping it from being compiled for windows with mingw just like they did RedCloth 4; except of course finding people who use windows to do the work :) There is also PEG markdown (rpeg-markdown in ruby land) but right now it is completely unusable on big (huge?) spans of text and I'm not sure it's any easier to get running in windows. Personally, I'd rather have a PEG based Markdown than a Discount based one. As far as getting a new Markdown parser into core I'd say don't even bother yet. As has been stated Discount doesn't (yet) run on windows, and PEG Markdown is crashy (and probably doesn't run on windows either). I would definitely like to see Radiant upgrade to RedCloth 4 sometime soon. If no one jumps up to take it on in the next week, I'll try to get it running then. p.s. I did put together a standalone Markdown filter that uses rdiscount, so if you can install gems and don't run windows you can use that until something better is in the core. I use it on live sites with no problems (some were even started with the standard Markdown filter and upgraded without issue). http://github.com/johnmuhl/radiant-markdown-extension ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New RedCloth
On 2008/07/24, at 07:44, Sean Cribbs wrote: How would people feel about switching to a gem dependency on the latest RedCloth (instead of packaging it)? I think it's going to have to happen at some point unless Radiant wants to keep using the same old text parsing libraries from 2004/2005. Waiting for the pure ruby libraries catch back up is the other (wishful) option. On 2008/07/24, at 09:31, Chris Parrish wrote: I understood discoount to be *nix only (no Windows). I'll have to look into it further. That's right. Although there isn't anything really stopping it from being compiled for windows with mingw just like they did RedCloth 4; except of course finding people who use windows to do the work :) There is also PEG markdown (rpeg-markdown in ruby land) but right now it is completely unusable on big (huge?) spans of text and I'm not sure it's any easier to get running in windows. Personally, I'd rather have a PEG based Markdown than a Discount based one. As far as getting a new Markdown parser into core I'd say don't even bother yet. As has been stated Discount doesn't (yet) run on windows, and PEG Markdown is crashy (and probably doesn't run on windows either). I would definitely like to see Radiant upgrade to RedCloth 4 sometime soon. If no one jumps up to take it on in the next week, I'll try to get it running then. p.s. I did put together a standalone Markdown filter that uses rdiscount, so if you can install gems and don't run windows you can use that until something better is in the core. I use it on live sites with no problems (some were even started with the standard Markdown filter and upgraded without issue). http://github.com/johnmuhl/radiant-markdown-extension ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New RedCloth
That was my main concern... I'd like to continue packaging the library with Radiant, but it is no longer pure-Ruby and must be compiled. That said, RubyGems has greatly improved since we started down this road. Sean Jim Gay wrote: It's a bit of a detour from Radiant being geared toward shared hosting. John Muhl is working on a branch than uses RDiscount (which is a better Markdown parser). http://github.com/johnmuhl/radiant/tree/markdown On Jul 24, 2008, at 11:05 AM, Chris Parrish wrote: I'm fine with it. Looks like a good improvement too. Now all we need is a better Markdown parser. -Chris Sean Cribbs wrote: How would people feel about switching to a gem dependency on the latest RedCloth (instead of packaging it)? Sean Ollivier Robert wrote: Have you seen this announcement? http://feeds.feedburner.com/~r/RubyInside/~3/342732232/redcloth-4-released-962.html Apart from dropping of Markdown support (does radiant use it?), it could be interesting to update it. Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New RedCloth
I understood discoount to be *nix only (no Windows). I'll have to look into it further. -Chris Jim Gay wrote: It's a bit of a detour from Radiant being geared toward shared hosting. John Muhl is working on a branch than uses RDiscount (which is a better Markdown parser). http://github.com/johnmuhl/radiant/tree/markdown On Jul 24, 2008, at 11:05 AM, Chris Parrish wrote: I'm fine with it. Looks like a good improvement too. Now all we need is a better Markdown parser. -Chris Sean Cribbs wrote: How would people feel about switching to a gem dependency on the latest RedCloth (instead of packaging it)? Sean Ollivier Robert wrote: Have you seen this announcement? http://feeds.feedburner.com/~r/RubyInside/~3/342732232/redcloth-4-released-962.html Apart from dropping of Markdown support (does radiant use it?), it could be interesting to update it. Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New RedCloth
It's a bit of a detour from Radiant being geared toward shared hosting. John Muhl is working on a branch than uses RDiscount (which is a better Markdown parser). http://github.com/johnmuhl/radiant/tree/markdown On Jul 24, 2008, at 11:05 AM, Chris Parrish wrote: I'm fine with it. Looks like a good improvement too. Now all we need is a better Markdown parser. -Chris Sean Cribbs wrote: How would people feel about switching to a gem dependency on the latest RedCloth (instead of packaging it)? Sean Ollivier Robert wrote: Have you seen this announcement? http://feeds.feedburner.com/~r/RubyInside/~3/342732232/redcloth-4- released-962.html Apart from dropping of Markdown support (does radiant use it?), it could be interesting to update it. Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New RedCloth
Someone was working on a branch that uses rdiscount, an improved Markdown parser. Sean Chris Parrish wrote: I'm fine with it. Looks like a good improvement too. Now all we need is a better Markdown parser. -Chris Sean Cribbs wrote: How would people feel about switching to a gem dependency on the latest RedCloth (instead of packaging it)? Sean Ollivier Robert wrote: Have you seen this announcement? http://feeds.feedburner.com/~r/RubyInside/~3/342732232/redcloth-4-released-962.html Apart from dropping of Markdown support (does radiant use it?), it could be interesting to update it. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New RedCloth
I'm fine with it. Looks like a good improvement too. Now all we need is a better Markdown parser. -Chris Sean Cribbs wrote: How would people feel about switching to a gem dependency on the latest RedCloth (instead of packaging it)? Sean Ollivier Robert wrote: Have you seen this announcement? http://feeds.feedburner.com/~r/RubyInside/~3/342732232/redcloth-4-released-962.html Apart from dropping of Markdown support (does radiant use it?), it could be interesting to update it. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New RedCloth
How would people feel about switching to a gem dependency on the latest RedCloth (instead of packaging it)? Sean Ollivier Robert wrote: Have you seen this announcement? http://feeds.feedburner.com/~r/RubyInside/~3/342732232/redcloth-4-released-962.html Apart from dropping of Markdown support (does radiant use it?), it could be interesting to update it. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] New RedCloth
Have you seen this announcement? http://feeds.feedburner.com/~r/RubyInside/~3/342732232/redcloth-4-released-962.html Apart from dropping of Markdown support (does radiant use it?), it could be interesting to update it. -- Ollivier Robert - ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant