[sage-devel] Re: trac ticket width and hgrc tips?

2009-04-24 Thread Burcin Erocal

On Wed, 22 Apr 2009 14:42:21 -0700 (PDT)
mabshoff mabsh...@googlemail.com wrote:


 On Apr 22, 12:52 pm, Nick Alexander ncalexan...@gmail.com wrote:
   To override this in Firefox on Linux, I put
 
   #content.ticket { width: 100% !important; }
 
   Hmm, that seems to be a worthwhile change to me since these days
   most people should not be limited by 800x600 displays any more?
   Is anyone opposed to this change for some reason?
 
  +1.
 
 Hehe, if Nick likes it I think we are good to go :)
 
 For the record: I changed site-packages/Trac-0.11.3-py2.5.egg/trac/
 htdocs/css/ticket.css, but kept the orignial ticket.css as
 ticket.css.orig.

On tickets which have a traceback, this screws up my display. The page
width grows to accommodate the longest line in the traceback, forcing me
to scroll right/left to read long lines.

See here for an example:

http://trac.sagemath.org/sage_trac/ticket/1158


Of course, I could just put the modified line back by using Pat's
userContent.css trick.

Cheers,
Burcin

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: trac ticket width and hgrc tips?

2009-04-24 Thread Burcin Erocal

On Fri, 24 Apr 2009 14:56:51 +0200
Burcin Erocal bur...@erocal.org wrote:

 On Wed, 22 Apr 2009 14:42:21 -0700 (PDT)
 mabshoff mabsh...@googlemail.com wrote:
 
  For the record: I changed site-packages/Trac-0.11.3-py2.5.egg/trac/
  htdocs/css/ticket.css, but kept the orignial ticket.css as
  ticket.css.orig.
 
 On tickets which have a traceback, this screws up my display. The page
 width grows to accommodate the longest line in the traceback, forcing
 me to scroll right/left to read long lines.
 
 See here for an example:
 
 http://trac.sagemath.org/sage_trac/ticket/1158

The problem seems to appear only with preview displays.

Sorry for the noise.


I still prefer the limited width though. I find text much easier to
read when it doesn't span the whole screen. I'll put in Pat's
customization to fix this.


Burcin

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: trac ticket width and hgrc tips?

2009-04-24 Thread mabshoff



On Apr 24, 5:56 am, Burcin Erocal bur...@erocal.org wrote:
 On Wed, 22 Apr 2009 14:42:21 -0700 (PDT)

SNIP

Hi Burcin,

 On tickets which have a traceback, this screws up my display. The page
 width grows to accommodate the longest line in the traceback, forcing me
 to scroll right/left to read long lines.

 See here for an example:

 http://trac.sagemath.org/sage_trac/ticket/1158

Hmm, what browser are you using? Neither with FF 3 nor Safari I am
seeing this problem.

 Of course, I could just put the modified line back by using Pat's
 userContent.css trick.

Well, 100% seems to be overkill for me with a wide screen display, so
I would compromise on 1024 pixels :)

 Cheers,
 Burcin

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: trac ticket width and hgrc tips?

2009-04-23 Thread John Cremona

2009/4/22 mabshoff mabsh...@googlemail.com:



 On Apr 22, 12:52 pm, Nick Alexander ncalexan...@gmail.com wrote:
  To override this in Firefox on Linux, I put

  #content.ticket { width: 100% !important; }

  Hmm, that seems to be a worthwhile change to me since these days most
  people should not be limited by 800x600 displays any more? Is anyone
  opposed to this change for some reason?

 +1.

 Hehe, if Nick likes it I think we are good to go :)

 For the record: I changed site-packages/Trac-0.11.3-py2.5.egg/trac/
 htdocs/css/ticket.css, but kept the orignial ticket.css as
 ticket.css.orig.

 For the last trac install we had also changed the color scheme for the
 diffs due to problems for people with red-green color blindness, so I
 will try to restore that fix today since I assume it is still desired,

Yes please -- much appreciated.  I put in Pat's 100% width fix as soon
as I saw it and it's great: +1 from me.

John

 too.

 Nick

 Cheers,

 Michael
 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: trac ticket width and hgrc tips?

2009-04-22 Thread Carlo Hamalainen

On Tue, Apr 21, 2009 at 8:44 PM, Pat LeSmithe qed...@gmail.com wrote:
 Besides username, and

 [diff]
 git = true

 for binary patches, are there other useful bits I should put in ~/.hgrc?

I have these bits to turn on Mercurial queues (not enabled by default
in Debian) and colordiff  (install on Debian/Ubuntu with
sudo apt-get install colordiff):

[extensions]
hgext.churn=
extdiff =
hgk=
hgext.mq=

[extdiff]
cmd.cdiff = colordiff
opts.cdiff = -uprN

[defaults]
# suppress noisy extdiff header message
cdiff = -q

-- 
Carlo Hamalainen
http://carlo-hamalainen.net

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: trac ticket width and hgrc tips?

2009-04-22 Thread mabshoff



On Apr 21, 11:44 am, Pat LeSmithe qed...@gmail.com wrote:

Hi Pat,

 Sage trac's stylesheet sets the width of a ticket's description, change
 history, etc., to 700 pixels:

 http://trac.sagemath.org/sage_trac/chrome/common/css/ticket.css

 contains

 #content.ticket { width: 700px; max-width: 100% }

 To override this in Firefox on Linux, I put

 #content.ticket { width: 100% !important; }

Hmm, that seems to be a worthwhile change to me since these days most
people should not be limited by 800x600 displays any more? Is anyone
opposed to this change for some reason?

 in

 ~/.mozilla/firefox/secret code.profile name/chrome/userContent.css

 Note: I haven't tested this with other trac sites.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: trac ticket width and hgrc tips?

2009-04-22 Thread Nick Alexander

 To override this in Firefox on Linux, I put

 #content.ticket { width: 100% !important; }

 Hmm, that seems to be a worthwhile change to me since these days most
 people should not be limited by 800x600 displays any more? Is anyone
 opposed to this change for some reason?

+1.

Nick

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: trac ticket width and hgrc tips?

2009-04-22 Thread mabshoff



On Apr 22, 12:52 pm, Nick Alexander ncalexan...@gmail.com wrote:
  To override this in Firefox on Linux, I put

  #content.ticket { width: 100% !important; }

  Hmm, that seems to be a worthwhile change to me since these days most
  people should not be limited by 800x600 displays any more? Is anyone
  opposed to this change for some reason?

 +1.

Hehe, if Nick likes it I think we are good to go :)

For the record: I changed site-packages/Trac-0.11.3-py2.5.egg/trac/
htdocs/css/ticket.css, but kept the orignial ticket.css as
ticket.css.orig.

For the last trac install we had also changed the color scheme for the
diffs due to problems for people with red-green color blindness, so I
will try to restore that fix today since I assume it is still desired,
too.

 Nick

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---