Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 77409 Details for
Bug 119406
code2html produces inconsistent color codes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix the bug
consistent-color-codes-1.diff (text/plain), 19.26 KB, created by
Erik
on 2006-01-18 04:20:52 UTC
(
hide
)
Description:
patch to fix the bug
Filename:
MIME Type:
Creator:
Erik
Created:
2006-01-18 04:20:52 UTC
Size:
19.26 KB
patch
obsolete
>--- /usr/bin/code2html 2006-01-18 11:24:07.000000000 +0100 >+++ code2html 2006-01-18 11:52:38.000000000 +0100 >@@ -1386,5 +1386,5 @@ > 'esc character' => { 'start' => '<font color="#77dd77">', > 'stop' => '</font>' }, >- 'numeric' => { 'start' => '<font color="#FF0000">', >+ 'numeric' => { 'start' => '<font color="#ff0000">', > 'stop' => '</font>' }, > >@@ -1401,25 +1401,25 @@ > 'reserved word' => { 'start' => '<strong>', > 'stop' => '</strong>' }, >- 'library function' => { 'start' => '<font color="a52a2a"><strong>', >+ 'library function' => { 'start' => '<font color="#a52a2a"><strong>', > 'stop' => '</strong></font>' }, > >- 'include' => { 'start' => '<font color="0000ff"><strong>', >+ 'include' => { 'start' => '<font color="#0000ff"><strong>', > 'stop' => '</strong></font>' }, >- 'preprocessor' => { 'start' => '<font color="0000ff"><strong>', >+ 'preprocessor' => { 'start' => '<font color="#0000ff"><strong>', > 'stop' => '</strong></font>' }, > >- 'braces' => { 'start' => '<font color="4444FF"><strong>', >+ 'braces' => { 'start' => '<font color="#4444ff"><strong>', > 'stop' => '</strong></font>' }, >- 'symbol' => { 'start' => '<font color="4444FF">', >+ 'symbol' => { 'start' => '<font color="#4444ff">', > 'stop' => '</font>' }, > > 'function header' => { 'start' => '<strong>', > 'stop' => '</strong>' }, >- 'function header name' => { 'start' => '<font color="ff0000">', >+ 'function header name' => { 'start' => '<font color="#ff0000">', > 'stop' => '</font>' }, >- 'function header args' => { 'start' => '<font color="2040a0">', >+ 'function header args' => { 'start' => '<font color="#2040a0">', > 'stop' => '</font>' }, > >- 'regex' => { 'start' => '<font color="b000d0">', >+ 'regex' => { 'start' => '<font color="#b000d0">', > 'stop' => '</font>' }, > >@@ -1428,33 +1428,33 @@ > > # HTML >- 'entity' => { 'start' => '<font color="ff0000">', >+ 'entity' => { 'start' => '<font color="#ff0000">', > 'stop' => '</font>' }, > > # MAKEFILE >- 'assignment' => { 'start' => '<font color="2040a0">', >+ 'assignment' => { 'start' => '<font color="#2040a0">', > 'stop' => '</font>' }, >- 'dependency line' => { 'start' => '<font color="8b2252">', >+ 'dependency line' => { 'start' => '<font color="#8b2252">', > 'stop' => '</font>' }, > 'dependency target' => { 'start' => '<strong>', > 'stop' => '</strong>' }, >- 'dependency continuation'=> { 'start' => '<font color="000000"><strong>', >+ 'dependency continuation'=> { 'start' => '<font color="#000000"><strong>', > 'stop' => '</strong></font>' }, > 'continuation' => { 'start' => '<strong>', > 'stop' => '</strong>' }, >- 'macro' => { 'start' => '<font color="2040a0">', >+ 'macro' => { 'start' => '<font color="#2040a0">', > 'stop' => '</font>' }, >- 'int macro' => { 'start' => '<font color="4080ff">', >+ 'int macro' => { 'start' => '<font color="#4080ff">', > 'stop' => '</font>' }, >- 'esc $$$' => { 'start' => '<font color="444444">', >+ 'esc $$$' => { 'start' => '<font color="#444444">', > 'stop' => '</font>' }, > > # PATCH >- 'separator' => { 'start' => '<font color="00A040"><strong>', >+ 'separator' => { 'start' => '<font color="#00a040"><strong>', > 'stop' => '</strong></font>' }, >- 'line spec' => { 'start' => '<font color="A0A000"><strong>', >+ 'line spec' => { 'start' => '<font color="#a0a000"><strong>', > 'stop' => '</strong></font>' }, >- 'deletion' => { 'start' => '<font color="FF0000"><strong>', >+ 'deletion' => { 'start' => '<font color="#ff0000"><strong>', > 'stop' => '</strong></font>' }, >- 'insertion' => { 'start' => '<font color="0000FF"><strong>', >+ 'insertion' => { 'start' => '<font color="#0000ff"><strong>', > 'stop' => '</strong></font>' } > >@@ -1496,5 +1496,5 @@ > <title>%%title%%</title> > </head> >-<body bgcolor="#000000" text="#C0C0C0" vlink="#FFFFFF" alink="#00FF00" link="#FFFFFF"> >+<body bgcolor="#000000" text="#c0c0c0" vlink="#ffffff" alink="#00ff00" link="#ffffff"> > <pre> > %%code%% >@@ -1518,8 +1518,8 @@ > 'esc character' => { 'start' => '<font color="#77dd77">', > 'stop' => '</font>' }, >- 'numeric' => { 'start' => '<font color="#FF0000">', >+ 'numeric' => { 'start' => '<font color="#ff0000">', > 'stop' => '</font>' }, > >- 'identifier' => { 'start' => '<font color="#B0B0B0">', >+ 'identifier' => { 'start' => '<font color="#b0b0b0">', > 'stop' => '</font>' }, > 'predefined identifier' => { 'start' => '<font color="#2040a0"><strong>', >@@ -1533,10 +1533,10 @@ > 'reserved word' => { 'start' => '<strong>', > 'stop' => '</strong>' }, >- 'library function' => { 'start' => '<font color="a52a2a"><strong>', >+ 'library function' => { 'start' => '<font color="#a52a2a"><strong>', > 'stop' => '</strong></font>' }, > >- 'include' => { 'start' => '<font color="#00FF00">', >+ 'include' => { 'start' => '<font color="#00ff00">', > 'stop' => '</font>' }, >- 'preprocessor' => { 'start' => '<font color="#00FF00">', >+ 'preprocessor' => { 'start' => '<font color="#00ff00">', > 'stop' => '</font>' }, > >@@ -1548,10 +1548,10 @@ > 'function header' => { 'start' => '<strong>', > 'stop' => '</strong>' }, >- 'function header name' => { 'start' => '<font color="ff0000">', >+ 'function header name' => { 'start' => '<font color="#ff0000">', > 'stop' => '</font>' }, >- 'function header args' => { 'start' => '<font color="2040a0">', >+ 'function header args' => { 'start' => '<font color="#2040a0">', > 'stop' => '</font>' }, > >- 'regex' => { 'start' => '<font color="b000d0">', >+ 'regex' => { 'start' => '<font color="#b000d0">', > 'stop' => '</font>' }, > >@@ -1560,33 +1560,33 @@ > > # HTML >- 'entity' => { 'start' => '<font color="ff0000">', >+ 'entity' => { 'start' => '<font color="#ff0000">', > 'stop' => '</font>' }, > > # MAKEFILE >- 'assignment' => { 'start' => '<font color="2040a0">', >+ 'assignment' => { 'start' => '<font color="#2040a0">', > 'stop' => '</font>' }, >- 'dependency line' => { 'start' => '<font color="8b2252">', >+ 'dependency line' => { 'start' => '<font color="#8b2252">', > 'stop' => '</font>' }, > 'dependency target' => { 'start' => '<strong>', > 'stop' => '</strong>' }, >- 'dependency continuation'=> { 'start' => '<font color="000000"><strong>', >+ 'dependency continuation'=> { 'start' => '<font color="#000000"><strong>', > 'stop' => '</strong></font>' }, > 'continuation' => { 'start' => '<strong>', > 'stop' => '</strong>' }, >- 'macro' => { 'start' => '<font color="2040a0">', >+ 'macro' => { 'start' => '<font color="#2040a0">', > 'stop' => '</font>' }, >- 'int macro' => { 'start' => '<font color="4080ff">', >+ 'int macro' => { 'start' => '<font color="#4080ff">', > 'stop' => '</font>' }, >- 'esc $$$' => { 'start' => '<font color="444444">', >+ 'esc $$$' => { 'start' => '<font color="#444444">', > 'stop' => '</font>' }, > > # PATCH >- 'separator' => { 'start' => '<font color="00FF00"><strong>', >+ 'separator' => { 'start' => '<font color="#00ff00"><strong>', > 'stop' => '</strong></font>' }, >- 'line spec' => { 'start' => '<font color="FFFF00"><strong>', >+ 'line spec' => { 'start' => '<font color="#ffff00"><strong>', > 'stop' => '</strong></font>' }, >- 'deletion' => { 'start' => '<font color="FF0000"><strong>', >+ 'deletion' => { 'start' => '<font color="#ff0000"><strong>', > 'stop' => '</strong></font>' }, >- 'insertion' => { 'start' => '<font color="0000FF"><strong>', >+ 'insertion' => { 'start' => '<font color="#0000ff"><strong>', > 'stop' => '</strong></font>' } > }; >@@ -1776,5 +1776,5 @@ > <title>%%title%%</title> > </head> >-<body bgcolor="#ffffff" text="#000000" vlink="#0000ff" alink="#00FF00" link="#000000"> >+<body bgcolor="#ffffff" text="#000000" vlink="#0000ff" alink="#00ff00" link="#000000"> > <pre> > %%code%% >@@ -1786,7 +1786,7 @@ > '; > ${ $STYLESHEET{'html-fntlck'}} {'tags'} = { >- 'comment' => { 'start' => '<font color="bb0000">', >+ 'comment' => { 'start' => '<font color="#bb0000">', > 'stop' => '</font>' }, >- 'doc comment' => { 'start' => '<font color="bb0000"><i>', >+ 'doc comment' => { 'start' => '<font color="#bb0000"><i>', > 'stop' => '</i></font>' }, > 'string' => { 'start' => '<font color="#bb7766">', >@@ -1798,5 +1798,5 @@ > 'esc character' => { 'start' => '<font color="#cc8877">', > 'stop' => '</font>' }, >- 'numeric' => { 'start' => '<font color="#FF0000">', >+ 'numeric' => { 'start' => '<font color="#ff0000">', > 'stop' => '</font>' }, > >@@ -1811,27 +1811,27 @@ > 'stop' => '</strong></font>' }, > >- 'reserved word' => { 'start' => '<font color="b000e0">', >+ 'reserved word' => { 'start' => '<font color="#b000e0">', > 'stop' => '</font>' }, >- 'library function' => { 'start' => '<font color="a52a2a"><strong>', >+ 'library function' => { 'start' => '<font color="#a52a2a"><strong>', > 'stop' => '</strong></font>' }, > >- 'include' => { 'start' => '<font color="0000ff"><strong>', >+ 'include' => { 'start' => '<font color="#0000ff"><strong>', > 'stop' => '</strong></font>' }, >- 'preprocessor' => { 'start' => '<font color="0000ff"><strong>', >+ 'preprocessor' => { 'start' => '<font color="#0000ff"><strong>', > 'stop' => '</strong></font>' }, > >- 'braces' => { 'start' => '<font color="4444FF"><strong>', >+ 'braces' => { 'start' => '<font color="#4444ff"><strong>', > 'stop' => '</strong></font>' }, >- 'symbol' => { 'start' => '<font color="000000">', >+ 'symbol' => { 'start' => '<font color="#000000">', > 'stop' => '</font>' }, > > 'function header' => { 'start' => '<strong>', > 'stop' => '</strong>' }, >- 'function header name' => { 'start' => '<font color="ff0000">', >+ 'function header name' => { 'start' => '<font color="#ff0000">', > 'stop' => '</font>' }, >- 'function header args' => { 'start' => '<font color="2040a0">', >+ 'function header args' => { 'start' => '<font color="#2040a0">', > 'stop' => '</font>' }, > >- 'regex' => { 'start' => '<font color="b000d0">', >+ 'regex' => { 'start' => '<font color="#b000d0">', > 'stop' => '</font>' }, > >@@ -1840,33 +1840,33 @@ > > # HTML >- 'entity' => { 'start' => '<font color="ff0000">', >+ 'entity' => { 'start' => '<font color="#ff0000">', > 'stop' => '</font>' }, > > # MAKEFILE >- 'assignment' => { 'start' => '<font color="2040a0">', >+ 'assignment' => { 'start' => '<font color="#2040a0">', > 'stop' => '</font>' }, >- 'dependency line' => { 'start' => '<font color="8b2252">', >+ 'dependency line' => { 'start' => '<font color="#8b2252">', > 'stop' => '</font>' }, > 'dependency target' => { 'start' => '<strong>', > 'stop' => '</strong>' }, >- 'dependency continuation'=> { 'start' => '<font color="000000"><strong>', >+ 'dependency continuation'=> { 'start' => '<font color="#000000"><strong>', > 'stop' => '</strong></font>' }, > 'continuation' => { 'start' => '<strong>', > 'stop' => '</strong>' }, >- 'macro' => { 'start' => '<font color="2040a0">', >+ 'macro' => { 'start' => '<font color="#2040a0">', > 'stop' => '</font>' }, >- 'int macro' => { 'start' => '<font color="4080ff">', >+ 'int macro' => { 'start' => '<font color="#4080ff">', > 'stop' => '</font>' }, >- 'esc $$$' => { 'start' => '<font color="444444">', >+ 'esc $$$' => { 'start' => '<font color="#444444">', > 'stop' => '</font>' }, > > # PATCH >- 'separator' => { 'start' => '<font color="00A040"><strong>', >+ 'separator' => { 'start' => '<font color="#00a040"><strong>', > 'stop' => '</strong></font>' }, >- 'line spec' => { 'start' => '<font color="A0A000"><strong>', >+ 'line spec' => { 'start' => '<font color="#a0a000"><strong>', > 'stop' => '</strong></font>' }, >- 'deletion' => { 'start' => '<font color="FF0000"><strong>', >+ 'deletion' => { 'start' => '<font color="#ff0000"><strong>', > 'stop' => '</strong></font>' }, >- 'insertion' => { 'start' => '<font color="0000FF"><strong>', >+ 'insertion' => { 'start' => '<font color="#0000ff"><strong>', > 'stop' => '</strong></font>' } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 119406
: 77409