Ticket #125 (closed patch: wontfix)

Opened 14 months ago

Last modified 13 months ago

Plus.py - Little patch to get flat color on shaded nicks instead of code [c=..]..[/c=..]

Reported by: anonymous Owned by: somebody
Priority: minor Milestone: 1.0
Component: plugins Version:
Keywords: plus color risk1.0 Cc:

Description

Hi I changed Plus.py in a way that shaded nicks gets colored with the first color (the one in the opening code [c=xx]) instead of having the code displayed without any colorization.

The patch is simple, I just edited the regex at the end of each of this line adding a ".*" to make the regex catch any character in closing code between "and ""

colorCodesHex = re.compile('[[cC]=#([0-9A-Fa-f]{6})](.*?)[/[cC].*]')
colorCodesCode = re.compile('[[cC]=([0-9]{1,2})](.*?)[/[cC].*]')

Attachments

Change History

Changed 14 months ago by anonymous

The patch is simple, I just edited the regex at the end of each of this line adding a ".*" to make the regex catch any character in closing code between "[c=" and "]"

Changed 14 months ago by ln@…

Same should be done for [a=X]../a=X

Changed 14 months ago by FMulder

Yes you are right.. but background codes don't work for me, I don't know why.. i just see [a=x]... so I didn't write that two lines in my patch

Changed 14 months ago by ln@…

strange... well I don't know much about MSN Plus.. I'd love to know how the gradients in MSN look like...

Changed 14 months ago by FMulder

I found this screenshot on google so you can see here ;) Look at "hely commentate il mio blog"...

or did you mean background gradients?

anyway it's not a real gradient, every character is rendered in a flat different color... if you have a gradient from red to black of a nick with just 3 characters, you will see the first character in red, the last in black, and the middle in a dark-red color. And the same happens with background gradients.

Changed 14 months ago by ln@…

I already knew about that pseudo-gradients... Would be cool to get that working in plus.py :]

Changed 14 months ago by C10uD

alencool got gradients working in LABELS (where you write your nick, personal status... hidden option) while alen is busy if someone can extend the same code in the whole userlist it won't be bad.. :)

Changed 14 months ago by dx

omg lots of comments bikeshed omg omg

Changed 14 months ago by dx

  • priority changed from normal to minor

Changed 13 months ago by dx

  • keywords risk1.0 added

just because i see no reason to apply this..

Changed 13 months ago by dx

  • status changed from new to closed
  • resolution set to wontfix

hey, we have WONTFIX!

Add/Change #125 (Plus.py - Little patch to get flat color on shaded nicks instead of code [c=..]..[/c=..])

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.