paultremblay | 5 Apr 04:36 2012
Picon
Picon

SF.net SVN: docutils:[7391] trunk/sandbox/docbook/scripts/rstxml2xml.py

Revision: 7391
          http://docutils.svn.sourceforge.net/docutils/?rev=7391&view=rev
Author:   paultremblay
Date:     2012-04-05 02:36:05 +0000 (Thu, 05 Apr 2012)
Log Message:
-----------
Making script work with python 3.0.

Modified Paths:
--------------
    trunk/sandbox/docbook/scripts/rstxml2xml.py

Modified: trunk/sandbox/docbook/scripts/rstxml2xml.py
===================================================================
--- trunk/sandbox/docbook/scripts/rstxml2xml.py	2012-03-30 13:07:45 UTC (rev 7390)
+++ trunk/sandbox/docbook/scripts/rstxml2xml.py	2012-04-05 02:36:05 UTC (rev 7391)
 <at>  <at>  -1,10 +1,10  <at>  <at> 
-#!/usr/bin/python
+#!/usr/bin/env python
 #   $Id: sax_complete_copy.py 54 2011-04-17 15:44:41Z cynthia $

 import os, sys, argparse, io
 import xml.sax.handler
 from xml.sax.handler import feature_namespaces
-from StringIO import StringIO
+from io import StringIO

 
 import asciitomathml.asciitomathml 
 <at>  <at>  -20,11 +20,11  <at>  <at> 
(Continue reading)

paultremblay | 5 Apr 04:38 2012
Picon
Picon

SF.net SVN: docutils:[7392] trunk/sandbox/docbook/examples/report2/tables

Revision: 7392
          http://docutils.svn.sourceforge.net/docutils/?rev=7392&view=rev
Author:   paultremblay
Date:     2012-04-05 02:38:14 +0000 (Thu, 05 Apr 2012)
Log Message:
-----------
Tables needed for example.

Added Paths:
-----------
    trunk/sandbox/docbook/examples/report2/tables/all.csv
    trunk/sandbox/docbook/examples/report2/tables/carousel_picking.csv
    trunk/sandbox/docbook/examples/report2/tables/carousel_putaway.csv
    trunk/sandbox/docbook/examples/report2/tables/extra_hours_inbound.csv
    trunk/sandbox/docbook/examples/report2/tables/extra_hours_outbound.csv
    trunk/sandbox/docbook/examples/report2/tables/foot.csv
    trunk/sandbox/docbook/examples/report2/tables/multis.csv
    trunk/sandbox/docbook/examples/report2/tables/outbound.csv
    trunk/sandbox/docbook/examples/report2/tables/projected_exceptions_volume.csv
    trunk/sandbox/docbook/examples/report2/tables/projected_rates_receive.csv
    trunk/sandbox/docbook/examples/report2/tables/projected_rates_returns.csv
    trunk/sandbox/docbook/examples/report2/tables/projected_rates_static_picking.csv
    trunk/sandbox/docbook/examples/report2/tables/projected_summary_costs.csv
    trunk/sandbox/docbook/examples/report2/tables/receive.csv
    trunk/sandbox/docbook/examples/report2/tables/receive_rate_adj.csv
    trunk/sandbox/docbook/examples/report2/tables/returns.csv
    trunk/sandbox/docbook/examples/report2/tables/shipping.csv
    trunk/sandbox/docbook/examples/report2/tables/singles.csv
    trunk/sandbox/docbook/examples/report2/tables/singulate.csv
    trunk/sandbox/docbook/examples/report2/tables/static_picking.csv
(Continue reading)

paultremblay | 5 Apr 04:42 2012
Picon
Picon

SF.net SVN: docutils:[7393] trunk/sandbox/docbook/examples

Revision: 7393
          http://docutils.svn.sourceforge.net/docutils/?rev=7393&view=rev
Author:   paultremblay
Date:     2012-04-05 02:42:15 +0000 (Thu, 05 Apr 2012)
Log Message:
-----------
Needed files for examples.

Modified Paths:
--------------
    trunk/sandbox/docbook/examples/report1/charts/problem_solve.R
    trunk/sandbox/docbook/examples/report1/charts/receive_rates_with_adj.R
    trunk/sandbox/docbook/examples/report1/docbook_fo.xsl
    trunk/sandbox/docbook/examples/report1/make_title_page.xsl
    trunk/sandbox/docbook/examples/report1/makefile
    trunk/sandbox/docbook/examples/report2/docbook_fo.xsl
    trunk/sandbox/docbook/examples/report2/make_title_page.xsl
    trunk/sandbox/docbook/examples/report2/makefile
    trunk/sandbox/docbook/examples/report2/report.rst

Added Paths:
-----------
    trunk/sandbox/docbook/examples/glossary1/
    trunk/sandbox/docbook/examples/glossary1/docbook_fo.xsl
    trunk/sandbox/docbook/examples/glossary1/document.rst
    trunk/sandbox/docbook/examples/glossary1/makefile
    trunk/sandbox/docbook/examples/glossary1/rst_docbook.xsl
    trunk/sandbox/docbook/examples/graphics/.Rprofile
    trunk/sandbox/docbook/examples/graphics/make_x_axis.R
    trunk/sandbox/docbook/examples/graphics/problem_solve.R
(Continue reading)

paultremblay | 7 Apr 07:05 2012
Picon
Picon

SF.net SVN: docutils:[7394] trunk/sandbox/docbook/scripts

Revision: 7394
          http://docutils.svn.sourceforge.net/docutils/?rev=7394&view=rev
Author:   paultremblay
Date:     2012-04-07 05:05:10 +0000 (Sat, 07 Apr 2012)
Log Message:
-----------
Modififed script to work better; added test files just for script.

Modified Paths:
--------------
    trunk/sandbox/docbook/scripts/rstxml2xml.py

Added Paths:
-----------
    trunk/sandbox/docbook/scripts/test/
    trunk/sandbox/docbook/scripts/test/final/
    trunk/sandbox/docbook/scripts/test/final/math1.xml
    trunk/sandbox/docbook/scripts/test/final/math2.xml
    trunk/sandbox/docbook/scripts/test/final/simple.xml
    trunk/sandbox/docbook/scripts/test/final/utf8.xml
    trunk/sandbox/docbook/scripts/test/makefile
    trunk/sandbox/docbook/scripts/test/math1.xml
    trunk/sandbox/docbook/scripts/test/math2.xml
    trunk/sandbox/docbook/scripts/test/simple.xml
    trunk/sandbox/docbook/scripts/test/utf8.xml

Modified: trunk/sandbox/docbook/scripts/rstxml2xml.py
===================================================================
--- trunk/sandbox/docbook/scripts/rstxml2xml.py	2012-04-05 02:42:15 UTC (rev 7393)
+++ trunk/sandbox/docbook/scripts/rstxml2xml.py	2012-04-07 05:05:10 UTC (rev 7394)
(Continue reading)

paultremblay | 8 Apr 19:55 2012
Picon
Picon

SF.net SVN: docutils:[7395] trunk/sandbox/docbook/xsl/raw.xsl

Revision: 7395
          http://docutils.svn.sourceforge.net/docutils/?rev=7395&view=rev
Author:   paultremblay
Date:     2012-04-08 17:55:03 +0000 (Sun, 08 Apr 2012)
Log Message:
-----------
File processes raw XML.

Added Paths:
-----------
    trunk/sandbox/docbook/xsl/raw.xsl

Added: trunk/sandbox/docbook/xsl/raw.xsl
===================================================================
--- trunk/sandbox/docbook/xsl/raw.xsl	                        (rev 0)
+++ trunk/sandbox/docbook/xsl/raw.xsl	2012-04-08 17:55:03 UTC (rev 7395)
 <at>  <at>  -0,0 +1,12  <at>  <at> 
+<xsl:stylesheet 
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:d="http://docbook.org/ns/docbook"
+    version="1.1"
+    >
+    <xsl:template match="raw[ <at> format='xml']">
+        <xsl:copy-of select="child::*"/>
+    </xsl:template>
+    
+</xsl:stylesheet> 
+    
+

(Continue reading)

grubert | 29 Apr 11:18 2012
Picon
Picon

SF.net SVN: docutils:[7396] trunk/sandbox/infrastructure/README.txt

Revision: 7396
          http://docutils.svn.sourceforge.net/docutils/?rev=7396&view=rev
Author:   grubert
Date:     2012-04-29 09:18:23 +0000 (Sun, 29 Apr 2012)
Log Message:
-----------
typo

Modified Paths:
--------------
    trunk/sandbox/infrastructure/README.txt

Modified: trunk/sandbox/infrastructure/README.txt
===================================================================
--- trunk/sandbox/infrastructure/README.txt	2012-04-08 17:55:03 UTC (rev 7395)
+++ trunk/sandbox/infrastructure/README.txt	2012-04-29 09:18:23 UTC (rev 7396)
 <at>  <at>  -27,7 +27,7  <at>  <at> 
 Everything below this needs rework.

 :`<docutils-update.local>`_: The script to update the `web site`_
-    from a developer machine. *The* current way of to go.
+    from a developer machine. *The* current way to go.

 :`<release.sh>`_: The script to make releases_ of Docutils.

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

------------------------------------------------------------------------------
Live Security Virtual Conference
(Continue reading)

grubert | 29 Apr 15:53 2012
Picon
Picon

SF.net SVN: docutils:[7397] trunk/docutils/docutils/utils/punctuation_chars .py

Revision: 7397
          http://docutils.svn.sourceforge.net/docutils/?rev=7397&view=rev
Author:   grubert
Date:     2012-04-29 13:53:38 +0000 (Sun, 29 Apr 2012)
Log Message:
-----------
Fix: list comprehension for python 2.3 requires bracketts

Modified Paths:
--------------
    trunk/docutils/docutils/utils/punctuation_chars.py

Modified: trunk/docutils/docutils/utils/punctuation_chars.py
===================================================================
--- trunk/docutils/docutils/utils/punctuation_chars.py	2012-04-29 09:18:23 UTC (rev 7396)
+++ trunk/docutils/docutils/utils/punctuation_chars.py	2012-04-29 13:53:38 UTC (rev 7397)
 <at>  <at>  -68,8 +68,8  <at>  <at> 
     # (may shorten the search time considerably if there are many
     # categories with not too high characters):
     if cp_max is None:
-        cp_max = max(x for x in xrange(sys.maxunicode + 1)
-                     if unicodedata.category(unichr(x)) in categories)
+        cp_max = max([x for x in xrange(sys.maxunicode + 1)
+                     if unicodedata.category(unichr(x)) in categories])
         # print cp_max # => 74867 for unicode_punctuation_categories
     charlists = {}
     for cat in categories:

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

smerten | 29 Apr 16:50 2012
Picon
Picon

SF.net SVN: docutils:[7398] trunk/docutils/tools/editors/emacs

Revision: 7398
          http://docutils.svn.sourceforge.net/docutils/?rev=7398&view=rev
Author:   smerten
Date:     2012-04-29 14:50:25 +0000 (Sun, 29 Apr 2012)
Log Message:
-----------
User visible changes:

* Symbols follow reStructuredText syntax more closely

  This implies that role and directive names with internal
  underscores, plus signs and colons are handled correctly. This is
  particularly important for Sphinx users where embedded colons are
  used frequently for this purpose.

* `rst-compile-toolsets` is now customizable

  In addition the default value first looks for a `rst2*.py` and uses
  it if found or uses the `rst2*` command.

  Thanks to Emacs developers for this.

* Use faces not variables for font-lock customization

  There are now customizable `rst-*` faces which are used. The old
  `rst-*-face` variables are still there but deprecated.

  Thanks to Emacs developers for this.

* Font-locking revised again slightly
(Continue reading)

smerten | 29 Apr 17:01 2012
Picon
Picon

SF.net SVN: docutils:[7399] trunk/docutils/tools/editors/emacs/rst.el

Revision: 7399
          http://docutils.svn.sourceforge.net/docutils/?rev=7399&view=rev
Author:   smerten
Date:     2012-04-29 15:01:05 +0000 (Sun, 29 Apr 2012)
Log Message:
-----------
Corrected version.

Modified Paths:
--------------
    trunk/docutils/tools/editors/emacs/rst.el

Modified: trunk/docutils/tools/editors/emacs/rst.el
===================================================================
--- trunk/docutils/tools/editors/emacs/rst.el	2012-04-29 14:50:25 UTC (rev 7398)
+++ trunk/docutils/tools/editors/emacs/rst.el	2012-04-29 15:01:05 UTC (rev 7399)
 <at>  <at>  -119,7 +119,7  <at>  <at> 
 ;; Use CVSHeader to really get information from CVS and not other version
 ;; control systems
 (defconst rst-cvs-header
-  "$CVSHeader: sm/rst_el/rst.el,v 1.254 2012-04-29 14:49:50 stefan Exp $")
+  "$CVSHeader: sm/rst_el/rst.el,v 1.256 2012-04-29 15:00:50 stefan Exp $")
 (defconst rst-cvs-rev
   (rst-extract-version "\\$" "CVSHeader: \\S + " "[0-9]+\\(?:\\.[0-9]+\\)+"
 		       " .*" rst-cvs-header "0.0")
 <at>  <at>  -144,11 +144,11  <at>  <at> 
 ;; Maintained by the release process
 (defconst rst-official-version
   (rst-extract-version "%" "OfficialVersion: " "[0-9]+\\(?:\\.[0-9]+\\)+" " "
-		       "%OfficialVersion: 1.2.0 %")
(Continue reading)

grubert | 1 May 10:34 2012
Picon
Picon

SF.net SVN: docutils:[7400] trunk/docutils/test

Revision: 7400
          http://docutils.svn.sourceforge.net/docutils/?rev=7400&view=rev
Author:   grubert
Date:     2012-05-01 08:34:41 +0000 (Tue, 01 May 2012)
Log Message:
-----------
python 2.3 alias unittest.TestCase.assertTrue (possibly reverted on next release)

Modified Paths:
--------------
    trunk/docutils/test/DocutilsTestSupport.py
    trunk/docutils/test/test_io.py
    trunk/docutils/test/test_nodes.py
    trunk/docutils/test/test_settings.py
    trunk/docutils/test/test_statemachine.py
    trunk/docutils/test/test_traversals.py
    trunk/docutils/test/test_viewlist.py

Modified: trunk/docutils/test/DocutilsTestSupport.py
===================================================================
--- trunk/docutils/test/DocutilsTestSupport.py	2012-04-29 15:01:05 UTC (rev 7399)
+++ trunk/docutils/test/DocutilsTestSupport.py	2012-05-01 08:34:41 UTC (rev 7400)
 <at>  <at>  -123,6 +123,10  <at>  <at> 
             raise self.failureException, \
                   (msg or '%s == %s' % _format_str(first, second))

+    # python 2.3
+    if not hasattr(unittest.TestCase, "assertTrue"):
+        assertTrue = unittest.TestCase.failUnless
+
(Continue reading)


Gmane