happydoc-checkins Mailing List for HappyDoc (Page 10)
Brought to you by:
doughellmann,
krlosaqp
You can subscribe to this list here.
| 2002 |
Jan
(3) |
Feb
(40) |
Mar
(1) |
Apr
|
May
(12) |
Jun
(4) |
Jul
|
Aug
(39) |
Sep
|
Oct
(4) |
Nov
(49) |
Dec
(78) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(54) |
Feb
|
Mar
(41) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(13) |
|
From: Doug H. <dou...@us...> - 2002-11-17 14:15:18
|
Update of /cvsroot/happydoc/HappyDoc3/TestCases/parseinfo In directory usw-pr-cvs1:/tmp/cvs-serv19215/parseinfo Log Message: Directory /cvsroot/happydoc/HappyDoc3/TestCases/parseinfo added to the repository |
|
From: Doug H. <dou...@us...> - 2002-11-17 14:14:32
|
Update of /cvsroot/happydoc/HappyDoc3/TestCases/testScanner/levelOne/levelTwo In directory usw-pr-cvs1:/tmp/cvs-serv18962/levelTwo Log Message: Directory /cvsroot/happydoc/HappyDoc3/TestCases/testScanner/levelOne/levelTwo added to the repository |
|
From: Doug H. <dou...@us...> - 2002-11-17 14:14:25
|
Update of /cvsroot/happydoc/HappyDoc3/TestCases/testScanner/levelOne In directory usw-pr-cvs1:/tmp/cvs-serv18925/levelOne Log Message: Directory /cvsroot/happydoc/HappyDoc3/TestCases/testScanner/levelOne added to the repository |
|
From: Doug H. <dou...@us...> - 2002-11-17 14:14:15
|
Update of /cvsroot/happydoc/HappyDoc3/TestCases/testScanner In directory usw-pr-cvs1:/tmp/cvs-serv18865/testScanner Log Message: Directory /cvsroot/happydoc/HappyDoc3/TestCases/testScanner added to the repository |
|
From: Doug H. <dou...@us...> - 2002-11-17 14:12:37
|
Update of /cvsroot/happydoc/HappyDoc3/TestCases In directory usw-pr-cvs1:/tmp/cvs-serv18381/TestCases Log Message: Directory /cvsroot/happydoc/HappyDoc3/TestCases added to the repository |
|
From: Doug H. <dou...@us...> - 2002-11-17 14:12:16
|
Update of /cvsroot/happydoc/HappyDoc3/TestCase/testScanner/levelOne In directory usw-pr-cvs1:/tmp/cvs-serv18240/TestCase/testScanner/levelOne Removed Files: __init__.py ignoreme.py one.py Log Message: Renaming TestCase to TestCases. --- __init__.py DELETED --- --- ignoreme.py DELETED --- --- one.py DELETED --- |
|
From: Doug H. <dou...@us...> - 2002-11-17 14:12:16
|
Update of /cvsroot/happydoc/HappyDoc3/TestCase/testScanner/levelOne/levelTwo In directory usw-pr-cvs1:/tmp/cvs-serv18240/TestCase/testScanner/levelOne/levelTwo Removed Files: __init__.py two.py Log Message: Renaming TestCase to TestCases. --- __init__.py DELETED --- --- two.py DELETED --- |
|
From: Doug H. <dou...@us...> - 2002-11-17 00:26:30
|
Update of /cvsroot/happydoc/HappyDoc3 In directory usw-pr-cvs1:/tmp/cvs-serv3793 Log Message: Starting HappyDoc version 3.0, a major rewrite. Status: Vendor Tag: HappyDoc3 Release Tags: initial N HappyDoc3/README.txt N HappyDoc3/INSTALL.txt N HappyDoc3/LICENSE.txt N HappyDoc3/happydoc N HappyDoc3/.coverage N HappyDoc3/happydoclib/CommandLineApp.py N HappyDoc3/happydoclib/__init__.py N HappyDoc3/happydoclib/appclass.py N HappyDoc3/happydoclib/cvsversion.py N HappyDoc3/happydoclib/optiontools.py N HappyDoc3/happydoclib/pluginloader.py N HappyDoc3/happydoclib/trace.py N HappyDoc3/happydoclib/happydocstring.py N HappyDoc3/happydoclib/scanner.py N HappyDoc3/happydoclib/test_scanner.py N HappyDoc3/happydoclib/docstring/MML.py N HappyDoc3/happydoclib/docstring/__init__.py N HappyDoc3/happydoclib/docstring/docstring_ClassicStructuredText.py N HappyDoc3/happydoclib/docstring/docstring_PlainText.py N HappyDoc3/happydoclib/docstring/docstring_RawText.py N HappyDoc3/happydoclib/docstring/docstring_StructuredText.py N HappyDoc3/happydoclib/docstring/StructuredText/ClassicDocumentClass.py N HappyDoc3/happydoclib/docstring/StructuredText/ClassicStructuredText.py N HappyDoc3/happydoclib/docstring/StructuredText/DocBookClass.py N HappyDoc3/happydoclib/docstring/StructuredText/DocumentClass.py N HappyDoc3/happydoclib/docstring/StructuredText/DocumentWithImages.py N HappyDoc3/happydoclib/docstring/StructuredText/HTMLClass.py N HappyDoc3/happydoclib/docstring/StructuredText/HTMLWithImages.py N HappyDoc3/happydoclib/docstring/StructuredText/ST.py N HappyDoc3/happydoclib/docstring/StructuredText/STDOM.py N HappyDoc3/happydoclib/docstring/StructuredText/STNG.txt N HappyDoc3/happydoclib/docstring/StructuredText/STletters.py N HappyDoc3/happydoclib/docstring/StructuredText/StructuredText.py N HappyDoc3/happydoclib/docstring/StructuredText/Zwiki.py N HappyDoc3/happydoclib/docstring/StructuredText/__init__.py N HappyDoc3/happydoclib/docstring/StructuredText/ts_regex.py N HappyDoc3/happydoclib/docstring/StructuredText/tests/testStructuredText.py N HappyDoc3/happydoclib/docstring/StructuredText/regressions/Acquisition.ref N HappyDoc3/happydoclib/docstring/StructuredText/regressions/Acquisition.stx N HappyDoc3/happydoclib/docstring/StructuredText/regressions/ExtensionClass.ref N HappyDoc3/happydoclib/docstring/StructuredText/regressions/ExtensionClass.stx N HappyDoc3/happydoclib/docstring/StructuredText/regressions/MultiMapping.ref N HappyDoc3/happydoclib/docstring/StructuredText/regressions/MultiMapping.stx N HappyDoc3/happydoclib/docstring/StructuredText/regressions/examples.ref N HappyDoc3/happydoclib/docstring/StructuredText/regressions/examples.stx N HappyDoc3/happydoclib/docstring/StructuredText/regressions/index.ref N HappyDoc3/happydoclib/docstring/StructuredText/regressions/index.stx N HappyDoc3/TestCase/testScanner/levelOne/__init__.py N HappyDoc3/TestCase/testScanner/levelOne/one.py N HappyDoc3/TestCase/testScanner/levelOne/ignoreme.py N HappyDoc3/TestCase/testScanner/levelOne/levelTwo/__init__.py N HappyDoc3/TestCase/testScanner/levelOne/levelTwo/two.py No conflicts created by this import ***** Bogus filespec: - Imported sources |
|
From: Doug H. <dou...@us...> - 2002-11-16 21:57:12
|
Update of /cvsroot/happydoc/HappyDoc/happydoclib/docstring In directory usw-pr-cvs1:/tmp/cvs-serv7991/happydoclib/docstring Modified Files: .cvsignore Log Message: Ignore the file used to update the structured text code. Index: .cvsignore =================================================================== RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/docstring/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .cvsignore 24 Oct 2001 21:27:35 -0000 1.1 --- .cvsignore 16 Nov 2002 21:57:09 -0000 1.2 *************** *** 1 **** --- 1,2 ---- *.pyc + ST.tar.gz |
|
From: Doug H. <dou...@us...> - 2002-11-16 19:55:01
|
Update of /cvsroot/happydoc/HappyDoc In directory usw-pr-cvs1:/tmp/cvs-serv1759 Modified Files: Package.mak Log Message: Use the extracted version of HappyDoc to generate the docs that go into the package being built, so the docs have the version number in them. Index: Package.mak =================================================================== RCS file: /cvsroot/happydoc/HappyDoc/Package.mak,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** Package.mak 18 Nov 2001 22:09:58 -0000 1.22 --- Package.mak 16 Nov 2002 19:54:58 -0000 1.23 *************** *** 120,128 **** # ifeq ($(PRODUCT_NAME),HappyDoc) ! HAPPYDOC="$(CWD)/$(PACKAGE_DIR)/$(EXTRACT_DIR)/happydoc" else ! HAPPYDOC="/usr/bin/happydoc" endif DOC_OUTPUT_DIR="srcdocs" --- 120,136 ---- # ifeq ($(PRODUCT_NAME),HappyDoc) ! ifneq ($(REV),) ! HAPPYDOC="$(CWD)/$(PACKAGE_DIR)/$(EXTRACT_DIR)/happydoc" ! else ! HAPPYDOC="$(CWD)/happydoc" ! endif else ! HAPPYDOC="/usr/bin/happydoc" endif DOC_OUTPUT_DIR="srcdocs" + + which_happydoc: + echo $(HAPPYDOC) + |
|
From: Doug H. <dou...@us...> - 2002-11-16 19:51:07
|
Update of /cvsroot/happydoc/HappyDoc In directory usw-pr-cvs1:/tmp/cvs-serv32095 Modified Files: .cvsignore Log Message: Clean up ignore file. Index: .cvsignore =================================================================== RCS file: /cvsroot/happydoc/HappyDoc/.cvsignore,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** .cvsignore 4 Aug 2002 10:48:21 -0000 1.12 --- .cvsignore 16 Nov 2002 19:51:04 -0000 1.13 *************** *** 1,28 **** *.diff - build *.pyc ! test.py.ast ! trace.txt ! doc ! dist ! test_trace.txt ! TestOutput ! regression_test_run.txt ! updates.txt RegressionBaseline RegressionTest - docs - regression_test_differences.txt - cvs_diff.txt RegressionTest ! PackageTarFiles Zope-2.2.2-API ! tmp diff.txt happydoc.prof ! ReleaseChecklist ! InProgress test.sh tmp.dps ! notes.txt ! announce_notes.txt \ No newline at end of file --- 1,30 ---- *.diff *.pyc ! InProgress ! PackageTarFiles RegressionBaseline RegressionTest RegressionTest ! ReleaseChecklist ! TestOutput Zope-2.2.2-API ! announce_notes.txt ! build ! cvs_diff.txt diff.txt + dist + doc + docs happydoc.prof ! log.txt ! notes.txt ! regression_test_differences.txt ! regression_test_run.txt ! test.py.ast test.sh + test_trace.txt + tmp tmp.dps ! tmpfile.test ! trace.txt ! updates.txt |
|
From: Doug H. <dou...@us...> - 2002-11-16 19:50:42
|
Update of /cvsroot/happydoc/HappyDoc/happydoclib
In directory usw-pr-cvs1:/tmp/cvs-serv31877/happydoclib
Modified Files:
happydom.py
Log Message:
Trace code for debugging.
Index: happydom.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/happydom.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** happydom.py 24 Aug 2002 19:47:48 -0000 1.5
--- happydom.py 16 Nov 2002 19:50:39 -0000 1.6
***************
*** 121,126 ****
--- 121,128 ----
parent = self.getParent()
if parent:
+ happydoclib.TRACE.write('getting parent path from %s' % str(parent))
path = parent.getPath()
else:
+ happydoclib.TRACE.write('no parent')
path = []
name = self.getName()
|
|
From: Doug H. <dou...@us...> - 2002-11-16 19:50:18
|
Update of /cvsroot/happydoc/HappyDoc/happydoclib
In directory usw-pr-cvs1:/tmp/cvs-serv31614/happydoclib
Modified Files:
happydocset.py
Log Message:
Get the README file for a package from the first name in the package
contents list. If the name is a directory, use the directory. If it
is a file, use the parent directory of the file.
Index: happydocset.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/happydocset.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** happydocset.py 8 Oct 2002 13:03:37 -0000 1.11
--- happydocset.py 16 Nov 2002 19:50:14 -0000 1.12
***************
*** 453,466 ****
description_dir = '.'
if self._contained_names:
first_name = self._contained_names[0]
! if happydoclib.path.isdir(first_name):
description_dir = first_name
elif happydoclib.path.exists(first_name):
description_dir = happydoclib.path.dirname(first_name)
description_filename = happydoclib.path.join( description_dir,
self._description_filename )
! self.statusMessage('Looking for docset description in %s' % \
! description_filename,
3)
description_file = self.getExternalDocumentationFile(description_filename)
--- 453,472 ----
description_dir = '.'
if self._contained_names:
+ happydoclib.TRACE.writeVar(contained_names=self._contained_names)
first_name = self._contained_names[0]
! if (len(self._contained_names) == 1
! and
! happydoclib.path.isdir(first_name)
! ):
! happydoclib.TRACE.write('Taking description dir from first name')
description_dir = first_name
elif happydoclib.path.exists(first_name):
+ happydoclib.TRACE.write('Taking description dir from directory of first name')
description_dir = happydoclib.path.dirname(first_name)
description_filename = happydoclib.path.join( description_dir,
self._description_filename )
! self.statusMessage('Looking for docset description for %s in %s' % \
! (name, description_filename),
3)
description_file = self.getExternalDocumentationFile(description_filename)
***************
*** 649,653 ****
files.append(f)
return files
!
def processFiles(self,
fileNames,
--- 655,664 ----
files.append(f)
return files
!
! def hasContents(self):
! """Returns boolean indicating whether the directory contains anything interesting.
! """
! return len(self._contained_names)
!
def processFiles(self,
fileNames,
***************
*** 695,699 ****
#
init_file = happydoclib.path.join( file_name, '__init__.py' )
! if happydoclib.path.exists( init_file ) and self._use_packages:
self.statusMessage('Detected package %s' % file_name, 2 )
happydoclib.TRACE.write('Detected package %s' % file_name)
--- 706,711 ----
#
init_file = happydoclib.path.join( file_name, '__init__.py' )
! #if happydoclib.path.exists( init_file ) and self._use_packages:
! if self._use_packages:
self.statusMessage('Detected package %s' % file_name, 2 )
happydoclib.TRACE.write('Detected package %s' % file_name)
|
|
From: Doug H. <dou...@us...> - 2002-11-16 19:41:35
|
Update of /cvsroot/happydoc/HappyDoc
In directory usw-pr-cvs1:/tmp/cvs-serv26423
Modified Files:
setup.py
Log Message:
Added discriminators, but commented them out because they are not
supported yet.
Index: setup.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/setup.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** setup.py 26 Oct 2002 12:54:03 -0000 1.12
--- setup.py 16 Nov 2002 19:41:32 -0000 1.13
***************
*** 3,7 ****
# $Id$
#
! # Time-stamp: <02/10/26 08:45:13 dhellmann>
#
# Copyright 2001 Doug Hellmann.
--- 3,7 ----
# $Id$
#
! # Time-stamp: <02/10/27 07:43:10 dhellmann>
#
# Copyright 2001 Doug Hellmann.
***************
*** 156,159 ****
--- 156,168 ----
scripts = platform_specific_scripts,
+
+ # discriminators = [ 'Operating System :: OS Independent',
+ # 'Environment :: Console (Text Based)',
+ # 'Programming Language :: Python',
+ # 'License :: OSI Approved :: BSD License',
+ # 'Development Status :: 5 - Production/Stable',
+ # 'Intended Audience :: Developers',
+ # 'Topic :: Software Development',
+ # ],
)
|
|
From: Doug H. <dou...@us...> - 2002-10-26 12:54:06
|
Update of /cvsroot/happydoc/HappyDoc
In directory usw-pr-cvs1:/tmp/cvs-serv31654
Modified Files:
setup.py
Log Message:
Update setup file to work with catalog
Index: setup.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/setup.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** setup.py 5 Feb 2002 19:59:36 -0000 1.11
--- setup.py 26 Oct 2002 12:54:03 -0000 1.12
***************
*** 3,7 ****
# $Id$
#
! # Time-stamp: <02/02/05 10:00:12 dhellmann>
#
# Copyright 2001 Doug Hellmann.
--- 3,7 ----
# $Id$
#
! # Time-stamp: <02/10/26 08:45:13 dhellmann>
#
# Copyright 2001 Doug Hellmann.
***************
*** 139,143 ****
url = 'http://happydoc.sourceforge.net',
! licence = BSD_LICENSE,
platforms = ('Any',),
--- 139,143 ----
url = 'http://happydoc.sourceforge.net',
! license = BSD_LICENSE,
platforms = ('Any',),
|
|
From: Doug H. <dou...@us...> - 2002-10-08 13:04:04
|
Update of /cvsroot/happydoc/HappyDoc/happydoclib/docstring
In directory usw-pr-cvs1:/tmp/cvs-serv2656/happydoclib/docstring
Modified Files:
docstring_StructuredText.py
Log Message:
Set the project string in the file header.
Index: docstring_StructuredText.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/docstring/docstring_StructuredText.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** docstring_StructuredText.py 25 Aug 2002 18:33:49 -0000 1.8
--- docstring_StructuredText.py 8 Oct 2002 13:04:00 -0000 1.9
***************
*** 37,41 ****
'rcs_id' : '$Id$',
'creator' : 'Doug Hellmann <Dou...@bi...>',
! 'project' : 'UNSPECIFIED',
'created' : 'Wed, 26-Sep-2001 09:52:01 EDT',
--- 37,41 ----
'rcs_id' : '$Id$',
'creator' : 'Doug Hellmann <Dou...@bi...>',
! 'project' : 'HappyDoc',
'created' : 'Wed, 26-Sep-2001 09:52:01 EDT',
|
|
From: Doug H. <dou...@us...> - 2002-10-08 13:03:40
|
Update of /cvsroot/happydoc/HappyDoc/happydoclib
In directory usw-pr-cvs1:/tmp/cvs-serv2470/happydoclib
Modified Files:
happydocset.py
Log Message:
Update test based on new behavior of happydoclib.path.removePrefix().
Index: happydocset.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/happydocset.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** happydocset.py 24 Aug 2002 19:57:07 -0000 1.10
--- happydocset.py 8 Oct 2002 13:03:37 -0000 1.11
***************
*** 875,879 ****
def testOutputDirectory(self):
filename = 'TestCases/test.py'
! test_output_dir = 'c:\\happydoc\\HappyDocTestOut'
import happydoclib.formatter.formatter_Null
docset = DocSet( formatterFactory=happydoclib.formatter.formatter_Null.NullFormatter,
--- 875,886 ----
def testOutputDirectory(self):
filename = 'TestCases/test.py'
! if os.name == 'nt':
! test_output_dir = 'c:\\happydoc\\HappyDocTestOut'
! test_base_dir = 'c:\\happydoc\\HappyDocTestIn'
! else:
! test_output_dir = '/happydoc/HappyDocTestOut'
! test_base_dir = '/happydoc/HappyDocTestIn'
! expected_filename = 'happydoc/HappyDocTestIn'
!
import happydoclib.formatter.formatter_Null
docset = DocSet( formatterFactory=happydoclib.formatter.formatter_Null.NullFormatter,
***************
*** 882,896 ****
inputModuleNames=[ filename ],
outputBaseDirectory=test_output_dir,
statusMessageFunc=self.status_message_func,
)
docset_base_dir = docset.getDocsetBaseDirectory()
! assert docset_base_dir == test_output_dir, 'Docset directory %s does not match %s' % \
! (docset_base_dir, test_output_dir)
! output_base_dir = docset.getOutputBaseDirectory()
! assert docset_base_dir == test_output_dir, 'Output directory %s does not match %s' % \
(docset_base_dir, test_output_dir)
docset_file_name = docset.getFilename()
! assert docset_file_name == test_output_dir, 'File name %s does not match expected %s' % \
! (docset_file_name, test_output_dir)
return
--- 889,908 ----
inputModuleNames=[ filename ],
outputBaseDirectory=test_output_dir,
+ docsetBaseDirectory=test_base_dir,
statusMessageFunc=self.status_message_func,
)
docset_base_dir = docset.getDocsetBaseDirectory()
! assert docset_base_dir == test_base_dir, 'Docset directory "%s" does not match %s' % \
(docset_base_dir, test_output_dir)
+
+ docset_output_dir = docset.getOutputBaseDirectory()
+ assert docset_output_dir == test_output_dir, 'Output directory "%s" does not match %s' % \
+ (docset_output_dir, test_output_dir)
+
docset_file_name = docset.getFilename()
! self.failUnlessEqual(expected_filename, docset_file_name,
! 'File name "%s" does not match expected %s' % \
! (docset_file_name, expected_filename)
! )
return
|
|
From: Doug H. <dou...@us...> - 2002-10-08 13:03:16
|
Update of /cvsroot/happydoc/HappyDoc/happydoclib
In directory usw-pr-cvs1:/tmp/cvs-serv2247/happydoclib
Modified Files:
path.py
Log Message:
If the prefix and the path passed to removePrefix() match, return an
empty string.
Index: path.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/path.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** path.py 24 Aug 2002 19:48:25 -0000 1.9
--- path.py 8 Oct 2002 13:03:12 -0000 1.10
***************
*** 142,146 ****
else:
TRACE.write('common prefix (%s)' % common_prefix)
! TRACE.write('does not match specified prefix (%s)' % prefix)
TRACE.writeVar(pathMinusPrefix=path)
--- 142,152 ----
else:
TRACE.write('common prefix (%s)' % common_prefix)
! TRACE.write('does not match specified prefix (%s) for parent dir' % prefix)
!
! common_prefix = commonPrefix(path, prefix)
! TRACE.writeVar(common_prefix=common_prefix)
!
! if common_prefix == prefix:
! path = path[len(common_prefix):]
TRACE.writeVar(pathMinusPrefix=path)
***************
*** 422,425 ****
--- 428,440 ----
expected = 'foo'
actual = removePrefix(os.sep + os.path.join('tmp', 'foo'), os.sep + 'tmp')
+ assert actual == expected, \
+ 'Path modification failed.\n\tExpected "%s",\n\tgot "%s"' \
+ % (expected, actual)
+ return
+
+ def testRemovePrefixMatchFullPath(self):
+ expected = ''
+ path = os.sep + os.path.join('tmp', 'foo')
+ actual = removePrefix(path, path)
assert actual == expected, \
'Path modification failed.\n\tExpected "%s",\n\tgot "%s"' \
|
|
From: Doug H. <dou...@us...> - 2002-08-25 18:33:51
|
Update of /cvsroot/happydoc/HappyDoc/happydoclib/docstring
In directory usw-pr-cvs1:/tmp/cvs-serv24488/happydoclib/docstring
Modified Files:
docstring_StructuredText.py
Log Message:
Do not print string.letters as part of the test.
Index: docstring_StructuredText.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/docstring/docstring_StructuredText.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** docstring_StructuredText.py 25 Aug 2002 18:29:40 -0000 1.7
--- docstring_StructuredText.py 25 Aug 2002 18:33:49 -0000 1.8
***************
*** 563,568 ****
def testBug594026(self):
- import string
- print string.letters
input_text = '*marié* or **marié**'
expected_text = '''
--- 563,566 ----
|
|
From: Doug H. <dou...@us...> - 2002-08-25 18:33:32
|
Update of /cvsroot/happydoc/HappyDoc
In directory usw-pr-cvs1:/tmp/cvs-serv24396
Modified Files:
test_happydoc.py
Log Message:
Call setlocale() on startup so that string.letters is properly initialized.
Index: test_happydoc.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/test_happydoc.py,v
retrieving revision 1.88
retrieving revision 1.89
diff -C2 -d -r1.88 -r1.89
*** test_happydoc.py 24 Aug 2002 17:54:02 -0000 1.88
--- test_happydoc.py 25 Aug 2002 18:33:29 -0000 1.89
***************
*** 51,54 ****
--- 51,57 ----
__version__ = '0.0'
+ import locale
+ locale.setlocale(locale.LC_ALL, '')
+
#
# Import system modules
|
|
From: Doug H. <dou...@us...> - 2002-08-25 18:33:21
|
Update of /cvsroot/happydoc/HappyDoc
In directory usw-pr-cvs1:/tmp/cvs-serv24347
Modified Files:
happydoc
Log Message:
Call setlocale() on startup so that string.letters is properly initialized.
Index: happydoc
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoc,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** happydoc 27 Oct 2001 19:58:37 -0000 1.7
--- happydoc 25 Aug 2002 18:33:19 -0000 1.8
***************
*** 55,58 ****
--- 55,61 ----
__version__ = '0.0'
+ import locale
+ locale.setlocale(locale.LC_ALL, '')
+
from happydoclib import HappyDoc
|
|
From: Doug H. <dou...@us...> - 2002-08-25 18:29:43
|
Update of /cvsroot/happydoc/HappyDoc/happydoclib/docstring
In directory usw-pr-cvs1:/tmp/cvs-serv23493/happydoclib/docstring
Modified Files:
docstring_StructuredText.py
Log Message:
Add a test for accented characters in ST patterns.
Index: docstring_StructuredText.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/docstring/docstring_StructuredText.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** docstring_StructuredText.py 25 Aug 2002 14:40:58 -0000 1.6
--- docstring_StructuredText.py 25 Aug 2002 18:29:40 -0000 1.7
***************
*** 562,565 ****
--- 562,581 ----
return
+ def testBug594026(self):
+ import string
+ print string.letters
+ input_text = '*marié* or **marié**'
+ expected_text = '''
+ <p><em>marié</em> or <strong>marié</strong></p>
+ '''
+ self._testConversion(input_text,
+ 'StructuredText',
+ 'html',
+ expected_text,
+ 'StructuredText-to-HTML with accented characters failed.',
+ )
+ return
+
+
def testBug471981(self):
input_text1 = """ any text
|
|
From: Doug H. <dou...@us...> - 2002-08-25 18:29:19
|
Update of /cvsroot/happydoc/HappyDoc/happydoclib
In directory usw-pr-cvs1:/tmp/cvs-serv23417/happydoclib
Modified Files:
happydocstring.py
Log Message:
Ignore whitespace when comparing output text.
Index: happydocstring.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/happydocstring.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** happydocstring.py 25 Aug 2002 14:40:24 -0000 1.4
--- happydocstring.py 25 Aug 2002 18:29:16 -0000 1.5
***************
*** 198,206 ****
for i in range(num_lines):
try:
! e_line = expected_lines[i]
except IndexError:
self.fail('Actual result has more lines than expected.')
try:
! a_line = actual_lines[i]
except IndexError:
self.fail('Expected result has more lines than actual.')
--- 198,206 ----
for i in range(num_lines):
try:
! e_line = expected_lines[i].strip()
except IndexError:
self.fail('Actual result has more lines than expected.')
try:
! a_line = actual_lines[i].strip()
except IndexError:
self.fail('Expected result has more lines than actual.')
|
|
From: Doug H. <dou...@us...> - 2002-08-25 14:54:54
|
Update of /cvsroot/happydoc/HappyDoc
In directory usw-pr-cvs1:/tmp/cvs-serv3766
Modified Files:
CHANGES.txt
Log Message:
Started release notes for 2.1.1.
Index: CHANGES.txt
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/CHANGES.txt,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** CHANGES.txt 24 Aug 2002 20:56:36 -0000 1.31
--- CHANGES.txt 25 Aug 2002 14:54:50 -0000 1.32
***************
*** 1,4 ****
--- 1,15 ----
HappyDoc Change History
+ Version 2.1.1 --
+
+ - **New Features**
+
+ - **Bug Fixes**
+
+ - **Other Changes**
+
+ - Updated the 'StructuredText' package to the latest version in
+ the Zope CVS tree.
+
Version 2.1 --
|
|
From: Doug H. <dou...@us...> - 2002-08-25 14:52:22
|
Update of /cvsroot/happydoc/HappyDoc
In directory usw-pr-cvs1:/tmp/cvs-serv3105
Modified Files:
README.txt
Log Message:
Corrected reference to docstring package for information on writing
docstrings as input.
Index: README.txt
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/README.txt,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** README.txt 24 Aug 2002 20:45:42 -0000 1.49
--- README.txt 25 Aug 2002 14:52:19 -0000 1.50
***************
*** 120,124 ****
not attempt to resolve the issue.
! *Refer to the 'happydoclib.docset' package for more details.*
Formatters
--- 120,124 ----
not attempt to resolve the issue.
! *Refer to the 'happydoclib.docstring' package for more details.*
Formatters
|