Re: [Radiant] Re: Line Breaks in Textile

2008-04-22 Thread Jason Garber
Part Ruby, part C.  It could also be Java—Ragel outputs Ruby, C,  
Java, and many others—but someone has to write the Java glue.  So  
far, no one has stepped forward. :-)


On Apr 21, 2008, at 9:26 PM, Sean Cribbs wrote:


Jason,

You seem really up-to-date on the progress of RedCloth.  Since it's  
being reimplemented in Ragel, will the code still be pure Ruby, or  
will it be part-Ruby, part-C?


Sean

Jason Garber wrote:

Ben,

Well, if it's not working with the 3.290 gem, it won't work any  
better with 4.0.  The problem is with Radiant.  I'll try it  
tomorrow with 0.6.6 and see what I can come up with.


Jason

On Apr 21, 2008, at 7:19 PM, Ben Morrow wrote:


Jason,

Thanks for that information! I attempted the hack, however after
following your instructions, the RedCloth version still appears  
to be
3.04. I checked the console on a regular rails directory just to  
make
sure I had correctly installed the newer version of the RedCloth  
gem...

and indeed I had.

That said, it's not really a time-critical app, so if  4.0 will  
indeed

be out by the 1st, that'll work just fine.
--
Posted via http://www.ruby-forum.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



___
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] Re: Line Breaks in Textile

2008-04-22 Thread Peter Berkenbosch
Hi Jason,

As Java developer I could take a look at it, I'm don't have alot of free
time at the moment, but I can always give a look !

Could you send me some information / documentation ?

Regards

Peter.

On Tue, Apr 22, 2008 at 1:20 PM, Jason Garber [EMAIL PROTECTED] wrote:

 Part Ruby, part C.  It could also be Java—Ragel outputs Ruby, C, Java, and
 many others—but someone has to write the Java glue.  So far, no one has
 stepped forward. :-)


 On Apr 21, 2008, at 9:26 PM, Sean Cribbs wrote:

  Jason,
 
  You seem really up-to-date on the progress of RedCloth.  Since it's
  being reimplemented in Ragel, will the code still be pure Ruby, or will it
  be part-Ruby, part-C?
 
  Sean
 
  Jason Garber wrote:
 
   Ben,
  
   Well, if it's not working with the 3.290 gem, it won't work any better
   with 4.0.  The problem is with Radiant.  I'll try it tomorrow with 0.6.6 
   and
   see what I can come up with.
  
   Jason
  
   On Apr 21, 2008, at 7:19 PM, Ben Morrow wrote:
  
Jason,
   
Thanks for that information! I attempted the hack, however after
following your instructions, the RedCloth version still appears to
be
3.04. I checked the console on a regular rails directory just to
make
sure I had correctly installed the newer version of the RedCloth
gem...
and indeed I had.
   
That said, it's not really a time-critical app, so if  4.0 will
indeed
be out by the 1st, that'll work just fine.
--
Posted via http://www.ruby-forum.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
  
  
  ___
  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




-- 
met vriendelijke groet,

Peter Berkenbosch
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] Re: Re: Line Breaks in Textile

2008-04-22 Thread Ben Morrow
Jason Garber wrote:

 Well, if it's not working with the 3.290 gem, it won't work any
 better with 4.0. 

Sorry for the confusion, I meant that line breaks DO work with the 3.29 
gem. However, I couldn't get Radiant to use 3.29.

After using the hack you posted my Radiant console still reports 
RedCloth's version is 3.04.

-- 
Posted via http://www.ruby-forum.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] Re: Re: Line Breaks in Textile

2008-04-22 Thread Sean Cribbs

Ben,

Try adding the path to the gem to the front of config.load_paths in 
environment.rb.  Example:


config.load_paths.unshift /path/to/gems/RedCloth-3.2.9.0/lib

Sean

Ben Morrow wrote:

Jason Garber wrote:

  

Well, if it's not working with the 3.290 gem, it won't work any
better with 4.0. 



Sorry for the confusion, I meant that line breaks DO work with the 3.29 
gem. However, I couldn't get Radiant to use 3.29.


After using the hack you posted my Radiant console still reports 
RedCloth's version is 3.04.


  


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Radiant 0.6.6 - WYMeditor not working

2008-04-22 Thread David Piehler
Mark Gallop wrote:
 I am getting the same. See the comments at the bottom of the maintainers
 post - http://gorilla-webdesign.be/artikel/48-WYM+on+Radiant.

It looks like the issue is 0.6.6 is outputting filter select tags with 
id=part_0_filter_id while WYMeditor is looking for the old style of 
id=part[0][filter_id]. I've fixed this for Pages and am working on 
Snippets. I'll paste the necessary code changes as a pastie when I'm 
done.

- David
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Radiant 0.6.6 - WYMeditor not working

2008-04-22 Thread David Piehler
David Piehler wrote:
 It looks like the issue is 0.6.6 is outputting filter select tags with 
 id=part_0_filter_id while WYMeditor is looking for the old style of 
 id=part[0][filter_id]. I've fixed this for Pages and am working on 
 Snippets. I'll paste the necessary code changes as a pastie when I'm 
 done.

It looks like fixing Snippets compatibility with WYMeditor is a bigger 
issue, so I need to leave that alone for now, sorry.

Here are the code fixes to get WYMeditor back up and editing Pages:

http://pastie.caboo.se/184897
http://pastie.caboo.se/184899

- David


-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Radiant 0.6.6 - admin JavaScript issues

2008-04-22 Thread David Piehler
David Piehler wrote:
 I found a few issues relating to the admin JavaScript file move in
 Radiant 0.6.6.
 
 This problem prevents the +/- icons along the page tree from working.
 Adding back the old (or new) sitemap.js file to public/javascripts/
 solves this problem.

An alternate solution for people using Radiant 0.6.6 and Shards...
vendor/extensions/shards/app/views/admin/page/index.html.erb

Change the first line to...
% include_javascript 'admin/sitemap' -%

- David

-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant