grubert | 4 Jul 2012 10:10
Picon
Gravatar

SF.net SVN: docutils:[7468] trunk/sandbox/manpage-writer/runtest

Revision: 7468
          http://docutils.svn.sourceforge.net/docutils/?rev=7468&view=rev
Author:   grubert
Date:     2012-07-04 08:10:16 +0000 (Wed, 04 Jul 2012)
Log Message:
-----------
print error count

Modified Paths:
--------------
    trunk/sandbox/manpage-writer/runtest

Modified: trunk/sandbox/manpage-writer/runtest
===================================================================
--- trunk/sandbox/manpage-writer/runtest	2012-06-29 02:14:36 UTC (rev 7467)
+++ trunk/sandbox/manpage-writer/runtest	2012-07-04 08:10:16 UTC (rev 7468)
 <at>  <at>  -4,7 +4,7  <at>  <at> 
 OUT_DIR=output
 EXP_DIR=expected

-if [ -z "`man man|grep -- '^ *-T Format'`" ] ; then
+if [ -z "`man -?|grep -- '^ *-T'`" ] ; then
     echo 'WARNING: your man does not support "-T Format" to specify encoding'
     echo 'SKIPPING encoding tests'
     ENCS=""
 <at>  <at>  -18,6 +18,16  <at>  <at> 
   FILES=$1
 fi

+ERROR_CNT=0
(Continue reading)

grubert | 4 Jul 2012 10:12
Picon
Gravatar

SF.net SVN: docutils:[7469] trunk/sandbox/manpage-writer/runtest

Revision: 7469
          http://docutils.svn.sourceforge.net/docutils/?rev=7469&view=rev
Author:   grubert
Date:     2012-07-04 08:12:21 +0000 (Wed, 04 Jul 2012)
Log Message:
-----------
FIX inc ERROR CNT

Modified Paths:
--------------
    trunk/sandbox/manpage-writer/runtest

Modified: trunk/sandbox/manpage-writer/runtest
===================================================================
--- trunk/sandbox/manpage-writer/runtest	2012-07-04 08:10:16 UTC (rev 7468)
+++ trunk/sandbox/manpage-writer/runtest	2012-07-04 08:12:21 UTC (rev 7469)
 <at>  <at>  -21,7 +21,7  <at>  <at> 
 ERROR_CNT=0

 inc_ERROR_CNT () {
-    $(( ERROR_CNT + 1 ))
+    ERROR_CNT=$(( ERROR_CNT + 1 ))
 }

 report_ERROR_CNT () {

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
(Continue reading)

grubert | 4 Jul 2012 10:13
Picon
Gravatar

SF.net SVN: docutils:[7470] trunk/sandbox/manpage-writer

Revision: 7470
          http://docutils.svn.sourceforge.net/docutils/?rev=7470&view=rev
Author:   grubert
Date:     2012-07-04 08:13:14 +0000 (Wed, 04 Jul 2012)
Log Message:
-----------
Add tests for indentation

Added Paths:
-----------
    trunk/sandbox/manpage-writer/expected/indent-1.man
    trunk/sandbox/manpage-writer/expected/indent-2.man
    trunk/sandbox/manpage-writer/input/indent-1.txt
    trunk/sandbox/manpage-writer/input/indent-2.txt

Added: trunk/sandbox/manpage-writer/expected/indent-1.man
===================================================================
--- trunk/sandbox/manpage-writer/expected/indent-1.man	                        (rev 0)
+++ trunk/sandbox/manpage-writer/expected/indent-1.man	2012-07-04 08:13:14 UTC (rev 7470)
 <at>  <at>  -0,0 +1,48  <at>  <at> 
+.\" Man page generated from reStructuredText.
+.
+.TH EXAMPLE LITERAL BLOCK INDENTATION  "" "1.1" ""
+.SH NAME
+Example literal block indentation \- 
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
(Continue reading)

grubert | 4 Jul 2012 10:16
Picon
Gravatar

SF.net SVN: docutils:[7471] trunk/sandbox/manpage-writer/runtest

Revision: 7471
          http://docutils.svn.sourceforge.net/docutils/?rev=7471&view=rev
Author:   grubert
Date:     2012-07-04 08:16:02 +0000 (Wed, 04 Jul 2012)
Log Message:
-----------
add a header

Modified Paths:
--------------
    trunk/sandbox/manpage-writer/runtest

Modified: trunk/sandbox/manpage-writer/runtest
===================================================================
--- trunk/sandbox/manpage-writer/runtest	2012-07-04 08:13:14 UTC (rev 7470)
+++ trunk/sandbox/manpage-writer/runtest	2012-07-04 08:16:02 UTC (rev 7471)
 <at>  <at>  -1,5 +1,12  <at>  <at> 
 #!/bin/sh

+# manpage tests using man/roff
+#
+# Contact: grubert <at> users.sourceforge.net
+# Revision: $Revision: 7461 $
+# Date: $Date: 2012-06-18 22:05:14 +0200 (Mon, 18. Jun 2012) $
+# Copyright: This script has been placed in the public domain.
+
 IN_DIR=input
 OUT_DIR=output
 EXP_DIR=expected

(Continue reading)

grubert | 4 Jul 2012 10:18
Picon
Gravatar

SF.net SVN: docutils:[7472] trunk/sandbox/manpage-writer/runtest

Revision: 7472
          http://docutils.svn.sourceforge.net/docutils/?rev=7472&view=rev
Author:   grubert
Date:     2012-07-04 08:18:10 +0000 (Wed, 04 Jul 2012)
Log Message:
-----------
svn:keywords

Modified Paths:
--------------
    trunk/sandbox/manpage-writer/runtest

Property Changed:
----------------
    trunk/sandbox/manpage-writer/runtest

Modified: trunk/sandbox/manpage-writer/runtest
===================================================================
--- trunk/sandbox/manpage-writer/runtest	2012-07-04 08:16:02 UTC (rev 7471)
+++ trunk/sandbox/manpage-writer/runtest	2012-07-04 08:18:10 UTC (rev 7472)
 <at>  <at>  -3,8 +3,8  <at>  <at> 
 # manpage tests using man/roff
 #
 # Contact: grubert <at> users.sourceforge.net
-# Revision: $Revision: 7461 $
-# Date: $Date: 2012-06-18 22:05:14 +0200 (Mon, 18. Jun 2012) $
+# Revision: $Revision$
+# Date: $Date$
 # Copyright: This script has been placed in the public domain.

(Continue reading)

grubert | 4 Jul 2012 10:24
Picon
Gravatar

SF.net SVN: docutils:[7473] trunk/sandbox/manpage-writer/docutils/

Revision: 7473
          http://docutils.svn.sourceforge.net/docutils/?rev=7473&view=rev
Author:   grubert
Date:     2012-07-04 08:24:24 +0000 (Wed, 04 Jul 2012)
Log Message:
-----------
remove local docutils directory

Removed Paths:
-------------
    trunk/sandbox/manpage-writer/docutils/

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
grubert | 4 Jul 2012 10:29
Picon
Gravatar

SF.net SVN: docutils:[7474] trunk/sandbox/manpage-writer/README.txt

Revision: 7474
          http://docutils.svn.sourceforge.net/docutils/?rev=7474&view=rev
Author:   grubert
Date:     2012-07-04 08:29:43 +0000 (Wed, 04 Jul 2012)
Log Message:
-----------
userlist

Modified Paths:
--------------
    trunk/sandbox/manpage-writer/README.txt

Modified: trunk/sandbox/manpage-writer/README.txt
===================================================================
--- trunk/sandbox/manpage-writer/README.txt	2012-07-04 08:24:24 UTC (rev 7473)
+++ trunk/sandbox/manpage-writer/README.txt	2012-07-04 08:29:43 UTC (rev 7474)
 <at>  <at>  -4,3 +4,9  <at>  <at> 

 Additionally to standard testing, here we try to include tests that process
 the generated man pages and verify the output.
+
+Before changing functionality check
+
+* mercurial: they have a local modified version of manpage.py
+* mplayer seams to use reST too.
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

(Continue reading)

grubert | 4 Jul 2012 11:15
Picon
Gravatar

SF.net SVN: docutils:[7475] trunk/sandbox/manpage-writer/README.txt

Revision: 7475
          http://docutils.svn.sourceforge.net/docutils/?rev=7475&view=rev
Author:   grubert
Date:     2012-07-04 09:15:13 +0000 (Wed, 04 Jul 2012)
Log Message:
-----------
remove mplayer

Modified Paths:
--------------
    trunk/sandbox/manpage-writer/README.txt

Modified: trunk/sandbox/manpage-writer/README.txt
===================================================================
--- trunk/sandbox/manpage-writer/README.txt	2012-07-04 08:29:43 UTC (rev 7474)
+++ trunk/sandbox/manpage-writer/README.txt	2012-07-04 09:15:13 UTC (rev 7475)
 <at>  <at>  -8,5 +8,4  <at>  <at> 
 Before changing functionality check

 * mercurial: they have a local modified version of manpage.py
-* mplayer seams to use reST too.

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
(Continue reading)

grubert | 4 Jul 2012 15:56
Picon
Gravatar

SF.net SVN: docutils:[7476] trunk/docutils/docutils/writers/manpage.py

Revision: 7476
          http://docutils.svn.sourceforge.net/docutils/?rev=7476&view=rev
Author:   grubert
Date:     2012-07-04 13:56:16 +0000 (Wed, 04 Jul 2012)
Log Message:
-----------
make class Table newstyle (merge from mercurial)

Modified Paths:
--------------
    trunk/docutils/docutils/writers/manpage.py

Modified: trunk/docutils/docutils/writers/manpage.py
===================================================================
--- trunk/docutils/docutils/writers/manpage.py	2012-07-04 09:15:13 UTC (rev 7475)
+++ trunk/docutils/docutils/writers/manpage.py	2012-07-04 13:56:16 UTC (rev 7476)
 <at>  <at>  -107,7 +107,7  <at>  <at> 
         self.output = visitor.astext()

 
-class Table:
+class Table(object):
     def __init__(self):
         self._rows = []
         self._options = ['center']

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
(Continue reading)

grubert | 4 Jul 2012 16:05
Picon
Gravatar

SF.net SVN: docutils:[7477] trunk/docutils/docutils/writers/manpage.py

Revision: 7477
          http://docutils.svn.sourceforge.net/docutils/?rev=7477&view=rev
Author:   grubert
Date:     2012-07-04 14:05:34 +0000 (Wed, 04 Jul 2012)
Log Message:
-----------
enum_char to newstyle class (merge from mercurial)

Modified Paths:
--------------
    trunk/docutils/docutils/writers/manpage.py

Modified: trunk/docutils/docutils/writers/manpage.py
===================================================================
--- trunk/docutils/docutils/writers/manpage.py	2012-07-04 13:56:16 UTC (rev 7476)
+++ trunk/docutils/docutils/writers/manpage.py	2012-07-04 14:05:34 UTC (rev 7477)
 <at>  <at>  -299,7 +299,7  <at>  <at> 
         pass

     def list_start(self, node):
-        class enum_char:
+        class enum_char(object):
             enum_style = {
                     'bullet'     : '\\(bu',
                     'emdash'     : '\\(em',

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
(Continue reading)


Gmane