Changeset 0464153 in rtems-source-builder


Ignore:
Timestamp:
Mar 3, 2013, 4:58:11 AM (7 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, master
Children:
26595c7
Parents:
dac9502
Message:

Change asciidoc to the 8.6.4 release package because Windows was broken.

Location:
source-builder/sb/asciidoc
Files:
202 added
2 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/asciidoc/asciidoc.conf

    rdac9502 r0464153  
    4343two-colons=::
    4444two-semicolons=;;
    45 plus=&#43;
    4645# DEPRECATED: underscore attribute names.
    4746two_colons=::
     
    221220
    222221# Macros using default syntax.
    223 (?su)(?<!\w)[\\]?(?P<name>http|https|ftp|file|irc|mailto|callto|image|link|anchor|xref|indexterm|indexterm2):(?P<target>\S*?)\[(?P<attrlist>.*?)(?<!\\)\]=
     222(?su)(?<!\w)[\\]?(?P<name>http|https|ftp|file|irc|mailto|callto|image|link|anchor|xref|indexterm):(?P<target>\S*?)\[(?P<attrlist>.*?)(?<!\\)\]=
    224223
    225224# These URL types don't require any special attribute list formatting.
  • source-builder/sb/asciidoc/asciidoc.py

    rdac9502 r0464153  
    36333633        # input) which are replaced after template attribute substitution.
    36343634        headrows = footrows = bodyrows = None
    3635         for option in self.parameters.options:
    3636             self.attributes[option+'-option'] = ''
    36373635        if self.rows and 'header' in self.parameters.options:
    36383636            headrows = self.subs_rows(self.rows[0:1],'header')
     
    48104808    def load_miscellaneous(self,d):
    48114809        """Set miscellaneous configuration entries from dictionary 'd'."""
    4812         def set_if_int_ge(name, d, min_value):
     4810        def set_if_int_gt_zero(name, d):
    48134811            if name in d:
    48144812                try:
    48154813                    val = int(d[name])
    4816                     if not val >= min_value:
    4817                         raise ValueError, "not >= " + str(min_value)
    4818                     setattr(self, name, val)
     4814                    if not val > 0:
     4815                        raise ValueError, "not > 0"
     4816                    if val > 0:
     4817                        setattr(self, name, val)
    48194818                except ValueError:
    48204819                    raise EAsciiDoc, 'illegal [miscellaneous] %s entry' % name
    4821         set_if_int_ge('tabsize', d, 0)
    4822         set_if_int_ge('textwidth', d, 1) # DEPRECATED: Old tables only.
     4820        set_if_int_gt_zero('tabsize', d)
     4821        set_if_int_gt_zero('textwidth', d) # DEPRECATED: Old tables only.
    48234822
    48244823        if 'pagewidth' in d:
     
    60016000        document.attributes.update(AttributeEntry.attributes)
    60026001        document.update_attributes()
    6003         # Set the default embedded icons directory.
    6004         if 'data-uri' in  document.attributes and not os.path.isdir(document.attributes['iconsdir']):
    6005             document.attributes['iconsdir'] = os.path.join(
    6006                      document.attributes['asciidoc-confdir'], 'images/icons')
    60076002        # Configuration is fully loaded.
    60086003        config.expand_all_templates()
  • source-builder/sb/asciidoc/filters/code/code-filter.py

    rdac9502 r0464153  
    4444URLS
    4545    http://sourceforge.net/projects/asciidoc/
    46     http://asciidoc.org/
     46    http://www.methods.co.nz/asciidoc/
    4747
    4848COPYING
  • source-builder/sb/asciidoc/help.conf

    rdac9502 r0464153  
    190190   SourceForge: [4]http://sourceforge.net/projects/asciidoc/
    191191
    192    Main web site: [5]http://asciidoc.org/
     192   Main web site: [5]http://www.methods.co.nz/asciidoc/
    193193
    194194COPYING
  • source-builder/sb/asciidoc/html4.conf

    rdac9502 r0464153  
    1212basebackend-html=
    1313basebackend-html4=
    14 hr=<hr>
    1514
    1615[replacements2]
     
    4140<a href="{link}"{role? class="{role}"}>
    4241# src attribute must be first attribute for blogpost compatibility.
    43 {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" style="border-width: 0; vertical-align: text-bottom;" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}>
    44 {data-uri#}<img style="border-width: 0; vertical-align: text-bottom;" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}
    45 {data-uri#}{sys:"{python}" -u -c "import mimetypes,base64,sys; print 'src=\"data:'+mimetypes.guess_type(r'{target}')[0]+';base64,'; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}">
     42<img src="{imagesdir=}{imagesdir?/}{target}" style="border-width: 0;" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}>
    4643{link#}</a>
    4744
     
    5047<a name="{id}"></a>
    5148<a href="{link}">
    52 {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" style="border-width: 0;" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}>
    53 {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}
    54 {data-uri#}{sys:"{python}" -u -c "import mimetypes,base64,sys; print 'src=\"data:'+mimetypes.guess_type(r'{target}')[0]+';base64,'; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}">
     49<img src="{imagesdir=}{imagesdir?/}{target}" style="border-width: 0;" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}>
    5550{link#}</a>
    5651<p><b>{caption={figure-caption} {counter:figure-number}. }</b>{title}</p>
     
    227222<a name="{id}"></a>
    228223<p><b>{title}</b></p>
    229 <table border="0" bgcolor="#e8e8e8" width="100%" cellpadding="4"{role? class="{role}"}><tr><td>
     224<table border="0" bgcolor="#e8e8e8" width="100%" cellpadding="10"{role? class="{role}"}><tr><td>
    230225<pre><code>
    231226|
     
    242237[sidebarblock]
    243238<a name="{id}"></a>
    244 <table frame="border" bgcolor="#ffffee" width="100%" cellpadding="4"{role? class="{role}"}>
     239<table frame="border" bgcolor="#ffffee" width="100%" cellpadding="15"{role? class="{role}"}>
    245240<tr><td>
    246241<p><em>{title}</em></p>
     
    287282[exampleblock]
    288283<a name="{id}"></a>
    289 <table frame="void" width="100%" cellpadding="4"{role? class="{role}"}>
     284<p><b>{caption={example-caption} {counter:example-number}. }</b>{title}</p>
     285<table frame="border" width="100%" cellpadding="15"{role? class="{role}"}>
    290286<tr><td style="border-left: 2px solid silver;">
    291287|
    292288</td></tr></table>
    293 <p><b>{caption={example-caption} {counter:example-number}. }</b>{title}</p>
    294289
    295290[admonitionblock]
    296291<a name="{id}"></a>
    297 <table frame="void" cellpadding="4"{role? class="{role}"}>
    298 <tr valign="top">
    299 <td>
    300 {data-uri%}{icons#}<img src="{icon={iconsdir}/{name}.png}" alt="{caption}">
    301 {data-uri#}{icons#}<img alt="{caption}" src="data:image/png;base64,
    302 {data-uri#}{icons#}{sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{icon={iconsdir}/{name}.png}")}"}">
    303 {icons%}<p><b><u>{caption}</u></b></p>
    304 </td>
     292<table frame="void" cellpadding="8"{role? class="{role}"}>
     293<tr valign="top"><td><p><b><u>{caption}</u></b></p></td>
    305294<td style="border-left: 1px solid silver;">
    306295<p><b>{title}</b></p>
     
    359348frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
    360349cellspacing="0" cellpadding="4">
     350<caption><b>{caption={table-caption} {counter:table-number}. }</b>{title}</caption>
    361351{headrows#}<thead>
    362352{headrows}
     
    369359</tbody>
    370360</table>
    371 <p><b>{caption={table-caption} {counter:table-number}. }</b>{title}</p>
    372361</div>
    373362
     
    418407
    419408[sect0]
    420 {doctype-manpage%}{hr}
     409{doctype-manpage%}<hr>
    421410<h1>{id?<a name="{id}"></a>}{title}</h1>
    422411|
    423412
    424413[sect1]
    425 {doctype-manpage%}{hr}
     414{doctype-manpage%}<hr>
    426415<h2{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h2>
    427416|
     
    440429
    441430[appendix]
    442 {hr}
     431<hr>
    443432<h2{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h2>
    444433|
     
    500489template::[header-declarations]
    501490<body>
    502 {hr}
     491<hr>
    503492<h1>
    504493    {doctitle} Manual Page
    505494</h1>
    506 {hr}
     495<hr>
    507496
    508497[name]
  • source-builder/sb/asciidoc/html5.conf

    rdac9502 r0464153  
    8181<a class="image" href="{link}">
    8282{data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}>
    83 {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}
    84 {data-uri#}{sys:"{python}" -u -c "import mimetypes,base64,sys; print 'src=\"data:'+mimetypes.guess_type(r'{target}')[0]+';base64,'; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}">
     83{data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"} src="data:image/{eval:os.path.splitext(r'{target}')[1][1:]};base64,
     84{data-uri#}{sys3:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}">
    8585{link#}</a>
    8686</span>
     
    9191<a class="image" href="{link}">
    9292{data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}>
    93 {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}
    94 {data-uri#}{sys:"{python}" -u -c "import mimetypes,base64,sys; print 'src=\"data:'+mimetypes.guess_type(r'{target}')[0]+';base64,'; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}">
     93{data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} src="data:image/{eval:os.path.splitext(r'{target}')[1][1:]};base64,
     94{data-uri#}{sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}">
    9595{link#}</a>
    9696</div>
     
    669669<div id="footer-badges">
    670670ifndef::icons[]
    671 Valid <a href="http://validator.w3.org/check?uri=referer">HTML5</a>
     671Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
    672672and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
    673673endif::icons[]
    674674ifdef::icons[]
    675675<a href="http://validator.w3.org/check?uri=referer">
    676   <img src="http://www.w3.org/html/logo/badge/html5-badge-h-solo.png"
    677        width="30" alt="HTML5 Powered" title="HTML5 Powered">
     676  <img style="border:0;width:88px;height:31px"
     677    src="http://www.w3.org/Icons/valid-xhtml11-blue"
     678    alt="Valid XHTML 1.1" height="31" width="88">
    678679</a>
    679 <a href="http://jigsaw.w3.org/css-validator/check/referer">
     680<a href="http://jigsaw.w3.org/css-validator/">
    680681  <img style="border:0;width:88px;height:31px"
    681     src="http://www.w3.org/Icons/valid-css"
     682    src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
    682683    alt="Valid CSS!">
    683684</a>
  • source-builder/sb/asciidoc/stylesheets/asciidoc.css

    rdac9502 r0464153  
    8787  margin: 0;
    8888}
    89 pre {
    90   white-space: pre-wrap;
    91 }
     89
    9290
    9391#author {
     
    218216
    219217div.imageblock div.content { padding-left: 0; }
    220 span.image img { border-style: none; vertical-align: text-bottom; }
     218span.image img { border-style: none; }
    221219a.image:visited { color: white; }
    222220
  • source-builder/sb/asciidoc/stylesheets/pygments.css

    rdac9502 r0464153  
     1/*
     2  pygmentize filter
     3*/
    14.highlight .hll { background-color: #ffffcc }
    2 .highlight  { background: #f8f8f8; }
    3 .highlight .c { color: #408080; font-style: italic } /* Comment */
     5.highlight  { background: #f4f4f4; }
     6.highlight .c { color: #008800; font-style: italic } /* Comment */
    47.highlight .err { border: 1px solid #FF0000 } /* Error */
    5 .highlight .k { color: #008000; font-weight: bold } /* Keyword */
     8.highlight .k { color: #AA22FF; font-weight: bold } /* Keyword */
    69.highlight .o { color: #666666 } /* Operator */
    7 .highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
    8 .highlight .cp { color: #BC7A00 } /* Comment.Preproc */
    9 .highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
    10 .highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
     10.highlight .cm { color: #008800; font-style: italic } /* Comment.Multiline */
     11.highlight .cp { color: #008800 } /* Comment.Preproc */
     12.highlight .c1 { color: #008800; font-style: italic } /* Comment.Single */
     13.highlight .cs { color: #008800; font-weight: bold } /* Comment.Special */
    1114.highlight .gd { color: #A00000 } /* Generic.Deleted */
    1215.highlight .ge { font-style: italic } /* Generic.Emph */
     
    1922.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
    2023.highlight .gt { color: #0040D0 } /* Generic.Traceback */
    21 .highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
    22 .highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
    23 .highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
    24 .highlight .kp { color: #008000 } /* Keyword.Pseudo */
    25 .highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
    26 .highlight .kt { color: #B00040 } /* Keyword.Type */
     24.highlight .kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */
     25.highlight .kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */
     26.highlight .kn { color: #AA22FF; font-weight: bold } /* Keyword.Namespace */
     27.highlight .kp { color: #AA22FF } /* Keyword.Pseudo */
     28.highlight .kr { color: #AA22FF; font-weight: bold } /* Keyword.Reserved */
     29.highlight .kt { color: #00BB00; font-weight: bold } /* Keyword.Type */
    2730.highlight .m { color: #666666 } /* Literal.Number */
    28 .highlight .s { color: #BA2121 } /* Literal.String */
    29 .highlight .na { color: #7D9029 } /* Name.Attribute */
    30 .highlight .nb { color: #008000 } /* Name.Builtin */
    31 .highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
     31.highlight .s { color: #BB4444 } /* Literal.String */
     32.highlight .na { color: #BB4444 } /* Name.Attribute */
     33.highlight .nb { color: #AA22FF } /* Name.Builtin */
     34.highlight .nc { color: #0000FF } /* Name.Class */
    3235.highlight .no { color: #880000 } /* Name.Constant */
    3336.highlight .nd { color: #AA22FF } /* Name.Decorator */
    3437.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
    3538.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
    36 .highlight .nf { color: #0000FF } /* Name.Function */
     39.highlight .nf { color: #00A000 } /* Name.Function */
    3740.highlight .nl { color: #A0A000 } /* Name.Label */
    3841.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
    3942.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
    40 .highlight .nv { color: #19177C } /* Name.Variable */
     43.highlight .nv { color: #B8860B } /* Name.Variable */
    4144.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
    4245.highlight .w { color: #bbbbbb } /* Text.Whitespace */
     
    4548.highlight .mi { color: #666666 } /* Literal.Number.Integer */
    4649.highlight .mo { color: #666666 } /* Literal.Number.Oct */
    47 .highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
    48 .highlight .sc { color: #BA2121 } /* Literal.String.Char */
    49 .highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
    50 .highlight .s2 { color: #BA2121 } /* Literal.String.Double */
     50.highlight .sb { color: #BB4444 } /* Literal.String.Backtick */
     51.highlight .sc { color: #BB4444 } /* Literal.String.Char */
     52.highlight .sd { color: #BB4444; font-style: italic } /* Literal.String.Doc */
     53.highlight .s2 { color: #BB4444 } /* Literal.String.Double */
    5154.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
    52 .highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
     55.highlight .sh { color: #BB4444 } /* Literal.String.Heredoc */
    5356.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
    5457.highlight .sx { color: #008000 } /* Literal.String.Other */
    5558.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
    56 .highlight .s1 { color: #BA2121 } /* Literal.String.Single */
    57 .highlight .ss { color: #19177C } /* Literal.String.Symbol */
    58 .highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
    59 .highlight .vc { color: #19177C } /* Name.Variable.Class */
    60 .highlight .vg { color: #19177C } /* Name.Variable.Global */
    61 .highlight .vi { color: #19177C } /* Name.Variable.Instance */
     59.highlight .s1 { color: #BB4444 } /* Literal.String.Single */
     60.highlight .ss { color: #B8860B } /* Literal.String.Symbol */
     61.highlight .bp { color: #AA22FF } /* Name.Builtin.Pseudo */
     62.highlight .vc { color: #B8860B } /* Name.Variable.Class */
     63.highlight .vg { color: #B8860B } /* Name.Variable.Global */
     64.highlight .vi { color: #B8860B } /* Name.Variable.Instance */
    6265.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
     66
  • source-builder/sb/asciidoc/xhtml11.conf

    rdac9502 r0464153  
    8080<a class="image" href="{link}">
    8181{data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"} />
    82 {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}
    83 {data-uri#}{sys:"{python}" -u -c "import mimetypes,base64,sys; print 'src=\"data:'+mimetypes.guess_type(r'{target}')[0]+';base64,'; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}" />
     82{data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"} src="data:image/{eval:os.path.splitext(r'{target}')[1][1:]};base64,
     83{data-uri#}{sys3:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}" />
    8484{link#}</a>
    8585</span>
     
    9090<a class="image" href="{link}">
    9191{data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} />
    92 {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}
    93 {data-uri#}{sys:"{python}" -u -c "import mimetypes,base64,sys; print 'src=\"data:'+mimetypes.guess_type(r'{target}')[0]+';base64,'; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}" />
     92{data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} src="data:image/{eval:os.path.splitext(r'{target}')[1][1:]};base64,
     93{data-uri#}{sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}" />
    9494{link#}</a>
    9595</div>
Note: See TracChangeset for help on using the changeset viewer.