gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1034558 - in /gump/trunk/python/gump: actor/document/xdocs/documenter.py actor/document/xdocs/xdoc.py actor/notify/notification.py actor/syndication/atom.py actor/syndication/rss.py core/commandLine.py tool/svg/svg.py
Date Fri, 12 Nov 2010 20:36:07 GMT
Author: bodewig
Date: Fri Nov 12 20:36:07 2010
New Revision: 1034558

URL: http://svn.apache.org/viewvc?rev=1034558&view=rev
Log:
Make generated pages adhere to trademark part of branding requirements

Modified:
    gump/trunk/python/gump/actor/document/xdocs/documenter.py
    gump/trunk/python/gump/actor/document/xdocs/xdoc.py
    gump/trunk/python/gump/actor/notify/notification.py
    gump/trunk/python/gump/actor/syndication/atom.py
    gump/trunk/python/gump/actor/syndication/rss.py
    gump/trunk/python/gump/core/commandLine.py
    gump/trunk/python/gump/tool/svg/svg.py

Modified: gump/trunk/python/gump/actor/document/xdocs/documenter.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/actor/document/xdocs/documenter.py?rev=1034558&r1=1034557&r2=1034558&view=diff
==============================================================================
--- gump/trunk/python/gump/actor/document/xdocs/documenter.py (original)
+++ gump/trunk/python/gump/actor/document/xdocs/documenter.py Fri Nov 12 20:36:07 2010
@@ -260,7 +260,7 @@ class XDocDocumenter(Documenter):
         #
         spec = self.resolver.getFileSpec(self.run)
 
-        document = XDocDocument('Apache Gump(tm) Run',
+        document = XDocDocument('Apache Gump™ Run',
                                 spec.getFile(),
                                 self.config,
                                 spec.getRootPath())
@@ -271,7 +271,7 @@ class XDocDocumenter(Documenter):
             self.documentPartial(definitionSection)
 
         definitionTable = definitionSection.createTable()
-        definitionTable.createEntry('Apache Gump Run GUID', self.run.getRunGuid())
+        definitionTable.createEntry('Apache Gump(TM) Run GUID', self.run.getRunGuid())
         definitionTable.createEntry('Gump Run (Hex) GUID',
                                     self.run.getRunHexGuid())
         definitionTable.createEntry('Gump Version', setting.VERSION)
@@ -778,7 +778,7 @@ class XDocDocumenter(Documenter):
         # buildLog.xml -- Modules/Projects in build order
         #
         spec = self.resolver.getFileSpec(self.workspace, 'buildLog')
-        document = XDocDocument('Gump Build Log',
+        document = XDocDocument('Apache Gump™ Build Log',
                                 spec.getFile(),
                                 self.config,
                                 spec.getRootPath())
@@ -790,7 +790,7 @@ class XDocDocumenter(Documenter):
             projects = len(self.gumpSet.getCompletedProjects())
 
             document.createWarning(
-                """This Gump run is currently in progress.
+                """This Apache Gump(TM) run is currently in progress.
             It started at %s. As of this moment (%s), %s modules have been updated, and %s
projects built.""" \
                     % (self.run.getStart().getLocal(),
                        time.strftime('%H:%M:%S'), modules, projects ))
@@ -800,7 +800,7 @@ class XDocDocumenter(Documenter):
 #            (e.g a recent change of state, a failure, etc.) are listed at runtime.""")
 
         else:
-            document.createNote("""This Gump run is complete.
+            document.createNote("""This Apache Gump(TM) run is complete.
             It started at %s and ended at %s."""
                 % (self.run.getStart().getLocal(),
                     self.run.getEnd().getLocal()))
@@ -3133,7 +3133,7 @@ This page helps Gumpmeisters (and others
                                 spec.getRootPath())
 
         document.createParagraph("""
-        Statistics from Apache Gump show the depth and health of inter-relationships.
+        Statistics from Apache Gump(TM) show the depth and health of inter-relationships.
         """)
 
         overviewSection = document.createSection('Overview')

Modified: gump/trunk/python/gump/actor/document/xdocs/xdoc.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/actor/document/xdocs/xdoc.py?rev=1034558&r1=1034557&r2=1034558&view=diff
==============================================================================
--- gump/trunk/python/gump/actor/document/xdocs/xdoc.py (original)
+++ gump/trunk/python/gump/actor/document/xdocs/xdoc.py Fri Nov 12 20:36:07 2010
@@ -739,7 +739,7 @@ class XDocDocument(XDocPiece):
         if self.config.isXhtml():
             self.context.writeLine('<?xml version="1.0" encoding="ISO-8859-1"?>')
             self.context.writeLine('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">')
-            self.context.writeLine('<!-- Automatically Generated by Apache  Gump(tm):
http://gump.apache.org/ -->')
+            self.context.writeLine('<!-- Automatically Generated by Apache  Gump(TM):
http://gump.apache.org/ -->')
             self.context.writeLine('<html>')
             self.context.writeLine(' <head>')
             self.context.writeLine('  <title>%s</title>' % (self.title))
@@ -768,7 +768,7 @@ class XDocDocument(XDocPiece):
         else: 
             self.context.writeLine('<?xml version="1.0" encoding="ISO-8859-1"?>')
             self.context.writeLine('<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation
V1.1//EN" "./dtd/document-v11.dtd">')
-            self.context.writeLine('<!-- Automatically Generated by Apache  Gump(tm):
http://gump.apache.org/ -->')
+            self.context.writeLine('<!-- Automatically Generated by Apache  Gump(TM):
http://gump.apache.org/ -->')
             self.context.writeLine('<document>')
             self.context.writeLine(' <header>')
             self.context.writeLine('  <title>%s</title>' % (self.title))
@@ -785,6 +785,7 @@ class XDocDocument(XDocPiece):
             self.context.writeLine('</document>')            
         else:
             from gump.core.config import default
+            self.context.writeLine('<p align="left" style="font-size:smaller">Apache
Gump, Gump, Apache, the Apache feather logo, and the Apache Gump project logos are trademarks
of The Apache Software Foundation.')
             self.context.writeLine('<p align="right">Last Updated: %s.<A TARGET="_new"
HREF="http://python.org"><img border ="0" align="right" src="%s/images/PythonPowered.gif"
alt="Python Logo"/></A></p>' \
                                     % (default.datetime_sp, self.rootpath)) 
             self.context.writeLine('</html>')            

Modified: gump/trunk/python/gump/actor/notify/notification.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/actor/notify/notification.py?rev=1034558&r1=1034557&r2=1034558&view=diff
==============================================================================
--- gump/trunk/python/gump/actor/notify/notification.py (original)
+++ gump/trunk/python/gump/actor/notify/notification.py Fri Nov 12 20:36:07 2010
@@ -257,7 +257,7 @@ and/or contact the folk at general@gump.
         Resolve footer (Gump identification information)
         """
         stream.write('\n============================== Gump Tracking Only ===\n')
-        stream.write('Produced by Apache Gump(tm) version %s.\n' % setting.VERSION)
+        stream.write('Produced by Apache Gump(TM) version %s.\n' % setting.VERSION)
         stream.write('Gump Run %s, %s\n' %    \
                         (   default.datetime_s, self.run.getRunGuid() ))
         if id:

Modified: gump/trunk/python/gump/actor/syndication/atom.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/actor/syndication/atom.py?rev=1034558&r1=1034557&r2=1034558&view=diff
==============================================================================
--- gump/trunk/python/gump/actor/syndication/atom.py (original)
+++ gump/trunk/python/gump/actor/syndication/atom.py Fri Nov 12 20:36:07 2010
@@ -57,7 +57,7 @@ class Entry:
         
         # Write the header part...
         stream.write("""		<entry>
-        <author><name>Apache Gump(tm)</name></author>
+        <author><name>Apache Gump(TM)</name></author>
         <id>gump:%s:%s-%s</id>
         <title>%s</title>
         <link rel="alternate" type="text/html" href="%s"/>

Modified: gump/trunk/python/gump/actor/syndication/rss.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/actor/syndication/rss.py?rev=1034558&r1=1034557&r2=1034558&view=diff
==============================================================================
--- gump/trunk/python/gump/actor/syndication/rss.py (original)
+++ gump/trunk/python/gump/actor/syndication/rss.py Fri Nov 12 20:36:07 2010
@@ -131,7 +131,7 @@ class Channel:
         self.rssStream.write('  <channel>\n')
         
         # Mandatory Fields
-        self.rssStream.write(('  <title>Apache Gump(tm): %s</title>\n') %(escape(self.title)))
+        self.rssStream.write(('  <title>Apache Gump(TM): %s</title>\n') %(escape(self.title)))
         self.rssStream.write(('  <link>%s</link>\n') %(escape(self.link)))
         self.rssStream.write(('  <description>%s</description>\n') %(escape(self.description)))
         

Modified: gump/trunk/python/gump/core/commandLine.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/commandLine.py?rev=1034558&r1=1034557&r2=1034558&view=diff
==============================================================================
--- gump/trunk/python/gump/core/commandLine.py (original)
+++ gump/trunk/python/gump/core/commandLine.py Fri Nov 12 20:36:07 2010
@@ -66,7 +66,7 @@ class CommandLine:
                 print "Mandatory arguments to long options are mandatory for short options
too."
                 print 
                 print "Startup:"
-                print "  -V,  --version           display the version of Apache Gump(tm)
and exit."
+                print "  -V,  --version           display the version of Apache Gump(TM)
and exit."
                 print "  -h,  --help              print this help."
                 print "  -w,  --workspace         use this workspace for Gump."
                 print 

Modified: gump/trunk/python/gump/tool/svg/svg.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/tool/svg/svg.py?rev=1034558&r1=1034557&r2=1034558&view=diff
==============================================================================
--- gump/trunk/python/gump/tool/svg/svg.py (original)
+++ gump/trunk/python/gump/tool/svg/svg.py Fri Nov 12 20:36:07 2010
@@ -34,7 +34,7 @@ def writeHeader(stream):
 
 # Write a document Footer
 def writeFooter(stream):
-    stream.write("""<!-- Produced by Apache Gump(tm) -->
+    stream.write("""<!-- Produced by Apache Gump(TM) -->
 """)
         
 # Write an SVG Header



Mime
View raw message