Commit graph

5885 commits

Author SHA1 Message Date
anarcat
b3cc3c1911
Merge pull request #123 from PetrDlouhy/python3-easy
Add Python3 support - easiest changes
2018-01-23 14:18:03 -05:00
Petr Dlouhý
e615480850 Python3: fix reading Safari bookmarks 2018-01-19 09:52:43 +01:00
Petr Dlouhý
256202a20b fixes for Python 3: fix proxysuport 2018-01-19 09:52:43 +01:00
Petr Dlouhý
d6f39b4e1a Python3: use file descriptors 2018-01-19 09:52:43 +01:00
Petr Dlouhý
f128c9c168 Python3: fix gzip2 format 2018-01-19 09:52:43 +01:00
Petr Dlouhý
1cdc974e6d Python3: fix prints 2018-01-19 09:52:43 +01:00
Petr Dlouhý
a1b300c892 Python3: fix imports 2018-01-19 09:52:43 +01:00
anarcat
b84a2a8c2a
Merge pull request #118 from PetrDlouhy/feature/remove-third-party
Remove third party libraries from repository
2018-01-10 09:43:38 -05:00
Petr Dlouhý
4382215a75 update .travis.yml to test in Pyhon3 in allow-failures mode 2018-01-10 09:37:36 -05:00
Petr Dlouhý
0a13fae3b4 remove third party packages and use them as dependency 2018-01-09 23:25:27 +01:00
Marius Gedminas
ba60abb3bd
Merge pull request #116 from reinholdfuereder/issue-115-fix-version-warning
Do not fail to mkdir ~/.local/share/linkchecker/plugins when ~/.local/share is missing
2018-01-06 11:33:23 +02:00
Reinhold Füreder
e864bbdabf
Use os.makedirs(...) instead of os.mkdir(...) 2018-01-03 11:33:53 +01:00
Mark Goodhand
87f713ea01 Update README.rst (#109)
* Update README.rst

Discourage use of PyPI until it's been updated to use the new version (#108).
2017-11-10 08:26:13 -05:00
anarcat
4f35861d72
Merge pull request #103 from linkcheck/fix-mo-file-installation
Install .mo files correctly
2017-11-10 08:25:43 -05:00
Marius Gedminas
6cbd0c3782 Install .mo files correctly
Fixes #102.
2017-11-10 15:09:02 +02:00
Philipp Hahn
1368643a50 Fix fragment identifier quoting
According to <https://tools.ietf.org/html/rfc3986>:
 fragment    = *( pchar / "/" / "?" )
 pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
 unreserved  = ALPHA / DIGIT / "-" / "." / "_" / "~"
 pct-encoded = "%" HEXDIG HEXDIG
 sub-delims  = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="

Fixes #96
2017-11-10 08:03:03 -05:00
anarcat
9838ef78e9
Merge pull request #104 from anarcat/incorrect-warn
fix incorrect call to the logging module (Closes: #847208)
2017-11-06 21:46:11 -05:00
Antoine Beaupré
71be9b941b
fix incorrect call to the logging module (Closes: #847208) 2017-11-03 09:47:01 -04:00
Marius Gedminas
17bd5f5e89 Revert "Install .mo files correctly"
This reverts commit d94bd0ee06.

Reason for reverting: it was committed to master by accident, without
proper code review.
2017-11-02 19:00:00 +02:00
Marius Gedminas
d94bd0ee06 Install .mo files correctly
Fixes #102.
2017-11-02 11:42:12 +02:00
anarcat
6919dc8c4c
Merge pull request #90 from konstin/document-python3
Document missing python 3 compatibility; Fixes #88
2017-10-29 09:50:16 -04:00
konstin
f8967d236f Document missing python 3 compatibility; Fixes #88 2017-10-24 21:20:29 +02:00
anarcat
4e3909dbae Merge pull request #87 from legrostdg/xdg
use xdg dirs for config & data
2017-10-22 11:07:48 -04:00
Félix Sipma
e94fd3b4d8 mention #44 in changelog entry 2017-10-18 16:10:05 +02:00
Félix Sipma
7344a3c40b update changelog 2017-10-18 16:02:56 +02:00
Félix Sipma
c8d9038ae8 improve get_plugin_folders() docstring 2017-10-18 15:58:18 +02:00
Félix Sipma
deca8c667e introduce linkcheck.configuration.get_user_data() 2017-10-18 15:55:55 +02:00
Félix Sipma
0a6661d171 use pyxdg instead of xdg 2017-10-18 12:11:01 +02:00
Félix Sipma
a03e2e4ada use xdg dirs for config & data
~/.linkchecker is used instead of the xdg equivalents if the directory
exists (backward compatibility).
2017-10-17 18:48:07 +02:00
anarcat
231dece9c4 Merge pull request #86 from anarcat/requests-socks
workaround new limitation in requests
2017-10-11 17:23:29 -04:00
Antoine Beaupré
9b12b5d66f
workaround new limitation in requests
newer requests do not expose the internal SSL socket object so we
cannot verify certificates. there was work to allow custom
verification routines which we could use, but this never finished:

https://github.com/shazow/urllib3/pull/257

so right now, just treat missing socket information as if the cert was
missing.

Closes: #76
2017-10-02 20:19:25 -04:00
anarcat
9af06b968b Merge pull request #84 from reinholdfuereder/master
Avoid info log 'Checking intern URLs only…' when calling 'linkchecker --version'
2017-09-11 10:55:49 -04:00
Reinhold Füreder
00456e2095 Merge pull request #1 from reinholdfuereder/reinholdfuereder-version-output-patch
Avoid info log 'Checking intern URLs only…' when when calling 'linkchecker --version'
2017-09-11 15:08:03 +02:00
Reinhold Füreder
a83754a6c8 Avoid info log 'Checking intern URLs only; use --check-extern to check extern URLs.' when solely calling 'linkchecker --version'
Currently:
$ linkchecker --version
INFO linkcheck.cmdline 2017-09-11 12:46:55,167 MainThread Checking intern URLs only; use --check-extern to check extern URLs.
LinkChecker 9.4 released xx.xx.xxxx
Copyright (C) 2000-2014 Bastian Kleineidam
2017-09-11 15:04:15 +02:00
anarcat
2c0d0ce2d5 Merge pull request #82 from linkcheck/anarcat-patch-1
fix typo
2017-08-29 12:47:30 -04:00
anarcat
dde8d798b5 fix typo
see #77
2017-08-29 08:27:17 -04:00
Graham Seaman
195c6b53f7 Merge pull request #77 from harry-wood/patch-1
Remove reference to non existent .dmg file
2017-08-08 16:15:04 +01:00
Harry Wood
36ba1855d2 Remove reference to non existent .dmg file
Pending a resolution to https://github.com/linkcheck/linkchecker/issues/60 

(re-rolling this PR here https://github.com/wummel/linkchecker/pull/640 )
2017-08-01 22:23:18 +01:00
anarcat
8dc2963264 Merge pull request #75 from JAremko/master
Constrain requests dependency while we fix later requests support, see #74.
2017-06-27 08:20:12 -04:00
Eugene Yaremenko
9320d595f2 Temporary fix
Linkchecker doesn't work with the latest requests
2017-06-24 22:09:49 +03:00
Marius Gedminas
4a092c218c Whitespace bigotry 2017-03-14 17:18:27 +02:00
anarcat
5471b63ceb Merge pull request #39 from PetrDlouhy/fix/cache
Fix cache: Don't check one url multiple times
2017-03-14 09:26:07 -04:00
Marius Gedminas
bc06234cb3 Merge pull request #42 from linkcheck/fix-type-mismatch
Fix incompatible pointer type warnings
2017-02-24 23:54:10 +02:00
Marius Gedminas
fb1debaa68 Fix incompatible pointer type warnings
The warnings looked like this:

    htmlparse.c: In function ‘yyparse’:
    htmlparse.c:1810:18: warning: passing argument 1 of ‘yyerror’ from incompatible pointer type [-Wincompatible-pointer-types]
    htmlparse.y:40:13: note: expected ‘PyObject ** {aka struct _object **}’ but argument is of type ‘PyObject * {aka struct _object *}’
    htmlparse.c:1927:12: warning: passing argument 1 of ‘yyerror’ from incompatible pointer type [-Wincompatible-pointer-types]
    htmlparse.y:40:13: note: expected ‘PyObject ** {aka struct _object **}’ but argument is of type ‘PyObject * {aka struct _object *}’

The argument is not used, so it doesn't really matter what pointer type
it is.
2017-02-24 15:04:09 +02:00
Marius Gedminas
d8efc82519 Merge pull request #36 from linkcheck/fix-pymem-resize-warnings
Fix "operation on ... may be undefined" [-Wsequence-point] warnings
2017-02-24 14:55:04 +02:00
anarcat
a48d37f1b6 Merge pull request #41 from PetrDlouhy/feature/coveralls
report coverate to Coveralls
2017-02-14 10:16:08 -05:00
Petr Dlouhý
f5100138ff fix tests that fail because of changed linkchecker output 2017-02-14 10:59:38 +01:00
Petr Dlouhý
3b8fe41206 add tests for urlqueue 2017-02-14 10:23:32 +01:00
Petr Dlouhý
eaa538c814 don't check one url multiple times 2017-02-14 10:23:25 +01:00
Petr Dlouhý
271c592756 report coverate to Coveralls 2017-02-14 09:47:31 +01:00