Please merge Debian patches #1

Closed
wants to merge 137 commits into
from

Projects

None yet

1 participant

@nijel
nijel commented Jan 4, 2012

Hi

I've merged patches which are applied in Debian package for utidylib.

Michal

nijel and others added some commits Jan 4, 2012
@nijel @nijel nijel Fix handling of unicode strings c3e2adb
@nijel nijel Fix handling of 64-bit pointer 961f0bc
@nijel Igor Stroh Add 'tidy' to the list of lib names, so it can be imported correctly …
…in debian
4d16189
@nijel nijel Remove defaults, these are never used anyway
Signed-off-by: Michal Čihař <michal@cihar.com>
c99d6aa
@nijel nijel Add landscape.io configuration
Signed-off-by: Michal Čihař <michal@cihar.com>
96ecb96
@nijel nijel Various PEP-8 fixes
Signed-off-by: Michal Čihař <michal@cihar.com>
35cce31
@nijel nijel Cleanup imports
Signed-off-by: Michal Čihař <michal@cihar.com>
bd7fdd0
@nijel nijel Add git ignore list
Signed-off-by: Michal Čihař <michal@cihar.com>
498007c
@nijel nijel Ignore test file
Signed-off-by: Michal Čihař <michal@cihar.com>
49100ca
@nijel nijel Fix test suite constructor
Signed-off-by: Michal Čihař <michal@cihar.com>
5e8e3cd
@nijel nijel Few pylint fixes
Signed-off-by: Michal Čihař <michal@cihar.com>
a948a33
@nijel nijel Fix string escaping
Signed-off-by: Michal Čihař <michal@cihar.com>
aa509d2
@nijel nijel Explicit listing of imports and exports
Signed-off-by: Michal Čihař <michal@cihar.com>
619a4f3
@nijel nijel Add Travis CI setup
Signed-off-by: Michal Čihař <michal@cihar.com>
7614892
@nijel nijel Fix installation
Signed-off-by: Michal Čihař <michal@cihar.com>
b955282
@nijel nijel Fix dependency name
Signed-off-by: Michal Čihař <michal@cihar.com>
df7142c
@nijel nijel Install tidy library for tests
Signed-off-by: Michal Čihař <michal@cihar.com>
c8f5cd4
@nijel nijel Add test requirements
Signed-off-by: Michal Čihař <michal@cihar.com>
32c1940
@nijel nijel Use unittest from Python
Signed-off-by: Michal Čihař <michal@cihar.com>
d55873c
@nijel nijel Ignore not used variables
Signed-off-by: Michal Čihař <michal@cihar.com>
b3c2853
@nijel nijel Do not build for Python versions not supported by deps
Signed-off-by: Michal Čihař <michal@cihar.com>
27052b8
@nijel nijel Use markdown for readme
Signed-off-by: Michal Čihař <michal@cihar.com>
0667de5
@nijel nijel Reformat readme to markdown
Signed-off-by: Michal Čihař <michal@cihar.com>
cae6a24
@nijel nijel Add status badges
Signed-off-by: Michal Čihař <michal@cihar.com>
952d559
@nijel nijel Use SVG for badges
Signed-off-by: Michal Čihař <michal@cihar.com>
9592b97
@nijel nijel Do not check for Python version
Assume anything is runnig some recent version now.

Signed-off-by: Michal Čihař <michal@cihar.com>
fe5311d
@nijel nijel Do not use variables as method shortcuts
Signed-off-by: Michal Čihař <michal@cihar.com>
0e2d5da
@nijel nijel Simplified indentation
Signed-off-by: Michal Čihař <michal@cihar.com>
6e8add6
@nijel nijel Fix title
Signed-off-by: Michal Čihař <michal@cihar.com>
30b39e0
@nijel nijel Better variable name
Signed-off-by: Michal Čihař <michal@cihar.com>
85f89f0
@nijel nijel Add docblocks
Signed-off-by: Michal Čihař <michal@cihar.com>
d738790
@nijel nijel Share code in inherited classes
Signed-off-by: Michal Čihař <michal@cihar.com>
45abdbc
@nijel nijel Fix commented out test
Signed-off-by: Michal Čihař <michal@cihar.com>
30be395
@nijel nijel Remove support for builtin ctypes extension
Let's rely on system one in all cases.

Signed-off-by: Michal Čihař <michal@cihar.com>
42329f9
@nijel nijel Remove support for bundling tidy library
Let's support only system wide installation.

Signed-off-by: Michal Čihař <michal@cihar.com>
16048c5
@nijel nijel Remove evil workaround for installing data first
We no longer use data list to install shipped dlls, so we don't really
care when data gets installed.

Signed-off-by: Michal Čihař <michal@cihar.com>
7bc66da
@nijel nijel Do not optionally include apidocs in the dist
Signed-off-by: Michal Čihař <michal@cihar.com>
d49bdb9
@nijel nijel Remove no longer used path module
Signed-off-by: Michal Čihař <michal@cihar.com>
f4bf041
@nijel nijel Remove unused imports
Signed-off-by: Michal Čihař <michal@cihar.com>
167db35
@nijel nijel Simplify setup.py
Signed-off-by: Michal Čihař <michal@cihar.com>
4a051bc
@nijel nijel Include license and some classifiers
Signed-off-by: Michal Čihař <michal@cihar.com>
ea1f763
@nijel nijel Ignore build directories
Signed-off-by: Michal Čihař <michal@cihar.com>
4ef906c
@nijel nijel Remove unused import
Signed-off-by: Michal Čihař <michal@cihar.com>
cd80e86
@nijel nijel Use setuptools to install
Signed-off-by: Michal Čihař <michal@cihar.com>
51d07c3
@nijel nijel ctypes is part of Python since 2.5...
Signed-off-by: Michal Čihař <michal@cihar.com>
6ee3802
@nijel nijel Revert "Do not build for Python versions not supported by deps"
This reverts commit 27052b8.
2c1945e
@nijel nijel Use six for Python compatibility
Signed-off-by: Michal Čihař <michal@cihar.com>
731447f
@nijel nijel Remove no longer needed future import
Signed-off-by: Michal Čihař <michal@cihar.com>
69ba1a0
@nijel nijel Do not use deprecated failIf/failUnless
Signed-off-by: Michal Čihař <michal@cihar.com>
be363fa
@nijel nijel Use assertRaises instead of implementing this on our own
Signed-off-by: Michal Čihař <michal@cihar.com>
639e33a
@nijel nijel Simplify exception code
Signed-off-by: Michal Čihař <michal@cihar.com>
0db4069
@nijel nijel Remove unused code
Signed-off-by: Michal Čihař <michal@cihar.com>
0dee76f
@nijel nijel Simplify code
Signed-off-by: Michal Čihař <michal@cihar.com>
2298ea5
@nijel nijel Distribute test file, do not write it to current directory
Signed-off-by: Michal Čihař <michal@cihar.com>
273a774
@nijel nijel Initial support for unicode literals
Signed-off-by: Michal Čihař <michal@cihar.com>
21a7c53
@nijel nijel Simplify imports
Signed-off-by: Michal Čihař <michal@cihar.com>
edd7d22
@nijel nijel Use CDLL for loading dll, it is cleaner than using getattr
Signed-off-by: Michal Čihař <michal@cihar.com>
2cb4d8c
@nijel nijel Separate list of possible library names
Signed-off-by: Michal Čihař <michal@cihar.com>
ee6050d
@nijel nijel Move library loading and initialization to the class
There is no need to have this in separate code block, it really belongs
to the class constructor.

Signed-off-by: Michal Čihař <michal@cihar.com>
7f816d9
@nijel nijel Document library names
Signed-off-by: Michal Čihař <michal@cihar.com>
2911223
@nijel nijel Fix PEP-8 violations
Signed-off-by: Michal Čihař <michal@cihar.com>
1980294
@nijel nijel Start Sphinx based documentation
Signed-off-by: Michal Čihař <michal@cihar.com>
84c3c73
@nijel nijel Real docs
Signed-off-by: Michal Čihař <michal@cihar.com>
e9543f5
@nijel nijel Run doctests as well
Signed-off-by: Michal Čihař <michal@cihar.com>
5790705
@nijel nijel Add documentation badge
Signed-off-by: Michal Čihař <michal@cihar.com>
1b00f1b
@nijel nijel Allow import with missing library
This is needed for generating docs without installed libtidy (eg on
readthedocs.org).

Signed-off-by: Michal Čihař <michal@cihar.com>
1425901
@nijel nijel We have no static files
Signed-off-by: Michal Čihař <michal@cihar.com>
dab0485
@nijel nijel pypy now works
Signed-off-by: Michal Čihař <michal@cihar.com>
01f2440
@nijel nijel Use open() function instead of file()
Signed-off-by: Michal Čihař <michal@cihar.com>
0ceb135
@nijel nijel Remove debugging code
Signed-off-by: Michal Čihař <michal@cihar.com>
7bab303
@nijel nijel Some basic py 3 compatibility
Signed-off-by: Michal Čihař <michal@cihar.com>
2f5d449
@nijel nijel Ignore docs for landscape
Signed-off-by: Michal Čihař <michal@cihar.com>
54b56a8
@nijel nijel Better parameter name
Signed-off-by: Michal Čihař <michal@cihar.com>
753b9bc
@nijel nijel Remove not used parameters
Signed-off-by: Michal Čihař <michal@cihar.com>
ac6b634
@nijel nijel Remove unused parameter
Signed-off-by: Michal Čihař <michal@cihar.com>
316a468
@nijel nijel Fix spacing
Signed-off-by: Michal Čihař <michal@cihar.com>
23b7ddb
@nijel nijel Better formatting
Signed-off-by: Michal Čihař <michal@cihar.com>
b6f1643
@nijel nijel Remove epydoc integration for building docs
Signed-off-by: Michal Čihař <michal@cihar.com>
a3a64d5
@nijel nijel Document how to build docs using Sphinx
Signed-off-by: Michal Čihař <michal@cihar.com>
7b1efc9
@nijel nijel Remove custom install class
Signed-off-by: Michal Čihař <michal@cihar.com>
90f38a6
@nijel nijel Better method names
Signed-off-by: Michal Čihař <michal@cihar.com>
84eae26
@nijel nijel Simplify dictionary declaration
Signed-off-by: Michal Čihař <michal@cihar.com>
6162d20
@nijel nijel Get rid of dict calls
Signed-off-by: Michal Čihař <michal@cihar.com>
0d94d88
@nijel nijel Get rid of one **magic
Signed-off-by: Michal Čihař <michal@cihar.com>
40d0f5a
@nijel nijel Test handling of non existing files
Signed-off-by: Michal Čihař <michal@cihar.com>
cca1825
@nijel nijel Remove unused code
Signed-off-by: Michal Čihař <michal@cihar.com>
e0ca5a6
@nijel nijel Move severities declaration
Signed-off-by: Michal Čihař <michal@cihar.com>
4c1db00
@nijel nijel Test for error
Signed-off-by: Michal Čihař <michal@cihar.com>
c8bee58
@nijel nijel Better variable name
Signed-off-by: Michal Čihař <michal@cihar.com>
7a346a5
@nijel nijel Better parameter name
Signed-off-by: Michal Čihař <michal@cihar.com>
cbfa83f
@nijel nijel Use class attribute
Signed-off-by: Michal Čihař <michal@cihar.com>
2ca688f
@nijel nijel Use .format instead of % operator
Signed-off-by: Michal Čihař <michal@cihar.com>
99cfd5c
@nijel nijel Fix typo
Signed-off-by: Michal Čihař <michal@cihar.com>
b113225
@nijel nijel Simplify error handling
Signed-off-by: Michal Čihař <michal@cihar.com>
e95c5a2
@nijel nijel Better variable names
Signed-off-by: Michal Čihař <michal@cihar.com>
18545a7
@nijel nijel Setting version to 0.3
Signed-off-by: Michal Čihař <michal@cihar.com>
8fdf0f4
@nijel nijel Update links and copyright
Signed-off-by: Michal Čihař <michal@cihar.com>
ed4e4bd
@nijel nijel Remove not needed file
Signed-off-by: Michal Čihař <michal@cihar.com>
0726527
@nijel nijel Remove not used part of code
Signed-off-by: Michal Čihař <michal@cihar.com>
3eaa2e4
@nijel nijel Document all user visible classes
Signed-off-by: Michal Čihař <michal@cihar.com>
790a346
@nijel nijel Simplify errors parsing
Signed-off-by: Michal Čihař <michal@cihar.com>
1410c5e
@nijel nijel Test parsing of big document which needs reallocation of memory
Signed-off-by: Michal Čihař <michal@cihar.com>
72f96ad
@nijel nijel Test writing of a document
Signed-off-by: Michal Čihař <michal@cihar.com>
82a2ff5
@nijel nijel Test error pretty printing
Signed-off-by: Michal Čihař <michal@cihar.com>
30899ec
@nijel nijel Ignore coverage reports
Signed-off-by: Michal Čihař <michal@cihar.com>
e9c819f
@nijel nijel Test repr method as well
Signed-off-by: Michal Čihař <michal@cihar.com>
a759238
@nijel nijel Add test for failed library loading
Signed-off-by: Michal Čihař <michal@cihar.com>
714ebce
@nijel nijel Avoid name collision
Signed-off-by: Michal Čihař <michal@cihar.com>
341386d
@nijel nijel Submit to coveralls even in case of failed build
Signed-off-by: Michal Čihař <michal@cihar.com>
dc6c141
@nijel nijel Document package docs
Signed-off-by: Michal Čihař <michal@cihar.com>
9d487f9
@nijel nijel Support for running testsuite from setup.py
Signed-off-by: Michal Čihař <michal@cihar.com>
2305abf
@nijel nijel Add proper link to class
Signed-off-by: Michal Čihař <michal@cihar.com>
f03b9cf
@nijel nijel Update test matrix
Signed-off-by: Michal Čihař <michal@cihar.com>
c431315
@nijel nijel Avoid syntax error with Python 3
Signed-off-by: Michal Čihař <michal@cihar.com>
b725376
@nijel nijel Move imports to top (PEP-8)
Signed-off-by: Michal Čihař <michal@cihar.com>
d0f6aa1
@nijel nijel Ignore releases and cache dir
Signed-off-by: Michal Čihař <michal@cihar.com>
75ec59d
@nijel nijel Make test pass on libtidy5
Signed-off-by: Michal Čihař <michal@cihar.com>
1fc3552
@nijel nijel Adjust tests to html-tidy library
The new tidy behaves slightly differently (most importantly having
different defaults), so expect incompatibilities when using it.

Signed-off-by: Michal Čihař <michal@cihar.com>
81a1dc5
@nijel nijel Document support for HTML 5 Tidy
Signed-off-by: Michal Čihař <michal@cihar.com>
7fc69df
@nijel nijel Remove unused import
Signed-off-by: Michal Čihař <michal@cihar.com>
4b3fb1e
@nijel nijel Remove Python 2.6 support from test matrix
The code still works with it, but sticking with 2.6 unittest is
problematic, so testsuite no longer works there.

Signed-off-by: Michal Čihař <michal@cihar.com>
1e29e12
@nijel nijel Simplify tests by using assertIn
This also produces way better error message in case of failure.

Signed-off-by: Michal Čihař <michal@cihar.com>
1bc008d
@nijel nijel Fix segfault with libtidy5
This seems to be incorrect API usage, see
htacg/tidy-html5#429

Signed-off-by: Michal Čihař <michal@cihar.com>
2e89b3e
@nijel nijel Adjust home page
Signed-off-by: Michal Čihař <michal@cihar.com>
fe018d4
@nijel nijel Consistent naming of the library
Signed-off-by: Michal Čihař <michal@cihar.com>
3546755
@nijel nijel Move README to rst
Signed-off-by: Michal Čihař <michal@cihar.com>
dfa2763
@nijel nijel Add codecov support
Signed-off-by: Michal Čihař <michal@cihar.com>
0443843
@nijel nijel Fix readme markup
Signed-off-by: Michal Čihař <michal@cihar.com>
20bcbae
@nijel nijel Fix documentation link
Signed-off-by: Michal Čihař <michal@cihar.com>
444d601
@nijel nijel Migrate install, docs build and testsuite instructions to docs
Signed-off-by: Michal Čihař <michal@cihar.com>
1ba0321
@nijel nijel Fix distutils setup
Signed-off-by: Michal Čihař <michal@cihar.com>
a46e65b
@nijel nijel Add contributing docs
Signed-off-by: Michal Čihař <michal@cihar.com>
3b880a2
@nijel nijel Include license in the docs
Signed-off-by: Michal Čihař <michal@cihar.com>
6567dd5
@nijel nijel Include __version__ in the module
Signed-off-by: Michal Čihař <michal@cihar.com>
dcea5c5
@nijel nijel Add release script
Signed-off-by: Michal Čihař <michal@cihar.com>
984bf92
@nijel nijel Set version to 0.4
Signed-off-by: Michal Čihař <michal@cihar.com>
e09d996
@nijel nijel Set version to 0.4
Signed-off-by: Michal Čihař <michal@cihar.com>
c2a055f
@nijel nijel closed this Jul 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment