Commit graph

5863 commits

Author SHA1 Message Date
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
Marius Gedminas
03dfe3d3a1 Fix "operation on ... may be undefined" [-Wsequence-point] warnings
Fixes a bunch of warnings like

  htmlparse.y:509:25: warning: operation on ‘self->userData->buf’ may be undefined [-Wsequence-point]
  htmlparse.y:518:29: warning: operation on ‘self->userData->tmp_buf’ may be undefined [-Wsequence-point]

which were a result of (macro-expanded) code like this (simplified):

  if ((tmp = (tmp = PyMem_Realloc(...))) == NULL) return NULL;

The PyMem_Resize(p, ...) macro assigns the new value to p before
returning it, so there's no need to assign it again.

See http://bugs.python.org/issue1668036 for evidence (from 2007) that
this is indeed a documented side-effect of the macro API.
2017-02-13 15:20:33 +02:00
anarcat
bf66006375 Merge pull request #32 from linkcheck/coc-refactor
add code of conduct and community guidelines
2017-02-10 12:05:47 -05:00
Antoine Beaupré
f56f6a3071 fix typo 2017-02-10 12:04:32 -05:00
Antoine Beaupré
ede76dcee7 fix weird line ending issue 2017-02-10 10:42:32 -05:00
Antoine Beaupré
74487aec5b use more consistently "maintainer" instead of "member"
tough call, but i think it actually matters... In the code of conduct,
a "community member" is not necessarily an official status. by
conflating the "maintainer" and "member" status, we would have
diminished the role of non-official members... People are a member of
the community when they participate, regardless of their official
status, and deserve the same respect as anyone else.

also use "administrator" instead of "owner". i do not "own" this
project, i administer it. we do not have to comply with GitHub's
proprietary vocabulary
2017-02-10 09:11:47 -05:00
Antoine Beaupré
df82d8c878 add exception that changes to the contribution document must have consensus among the owners 2017-02-10 09:04:16 -05:00
Antoine Beaupré
11025103b6 explicitely state that all PRs must be reviewed before merge 2017-02-10 09:04:00 -05:00
Antoine Beaupré
d097567a50 allow urgent self-merges 2017-02-10 09:02:42 -05:00
Antoine Beaupré
7731f098ee remove double-negative 2017-02-10 09:01:53 -05:00
Antoine Beaupré
f07b581517 remove another duplicate sentence 2017-02-10 09:01:26 -05:00
Antoine Beaupré
b20b2949b0 s/Github/GitHub/ 2017-02-10 09:00:22 -05:00
Antoine Beaupré
8ed6c0cc26 remove duplicate sentence 2017-02-10 09:00:01 -05:00
Antoine Beaupré
92cbe36742 clarify that all supported platforms should test 2017-02-10 08:59:30 -05:00
Antoine Beaupré
c8dab7d08c rephrase and expand timeframe 2017-02-10 08:58:46 -05:00
Antoine Beaupré
7162371140 clarify that labeling is privileged 2017-02-10 08:57:22 -05:00
Antoine Beaupré
fad1b72c31 clarify who regular users are 2017-02-10 08:56:16 -05:00
Antoine Beaupré
a9cb943c38 also build sdist files 2017-02-10 08:52:54 -05:00
Antoine Beaupré
c84621eb79 move code of conduct to a separate document, add other guidelines 2017-02-10 08:51:26 -05:00
Antoine Beaupré
a2fce98262 adapt the code of conduct to our community, add myself as contact 2017-02-09 18:27:22 -05:00
Antoine Beaupré
9d2cec525f import Covenant's Code of Conduct 1.4 2017-02-09 17:52:44 -05:00
Antoine Beaupré
bcacd8bd21 fix file extension for development file, it's markdown 2017-02-09 17:50:16 -05:00
Graham Seaman
45bca29a1e Merge pull request #23 from seamang/wayback_urls 2017-02-09 14:17:43 +00:00