Claude
75d6b82453
added an importer.py
...
for importing bookmarks n stuff
currently supports chromium bookmarks
usage:
in chromium: export your bookmarks to html file (bookmark manager)
./importer.py chromium bookmarks_10_11_14.html >> ~/.config/qutebrowser/quickmarks
2014-10-11 23:32:50 +02:00
Florian Bruhin
0e771db7f1
Use annotation instead of special argument names.
...
Explicit is better than implicit.
Fixes #161 .
2014-10-09 06:33:24 +02:00
Florian Bruhin
6b9af36993
Improve asciidoc script output
2014-10-08 22:24:05 +02:00
Florian Bruhin
7ca8c12c48
Docs update
2014-10-03 08:32:37 +02:00
Florian Bruhin
d674b90240
Clean up FIXMEs and add github URLs
2014-10-01 22:23:27 +02:00
Florian Bruhin
4ca441e136
Print better error when asciidoc is missing.
2014-09-30 16:29:16 +02:00
Florian Bruhin
144421226b
Update ez_setup to 6.0.2
2014-09-30 10:36:29 +02:00
Florian Bruhin
03e809a230
Update ez_setup to 6.0.1
2014-09-27 17:37:26 +02:00
Florian Bruhin
f4876c7f4f
Split docutils from utils
2014-09-23 04:22:51 +02:00
Florian Bruhin
42826a2214
scripts: chmod +x for asciidoc2html.py
2014-09-22 20:45:04 +02:00
Florian Bruhin
8095de6c59
Get rid of the getcwd hack in scripts.
2014-09-22 20:41:12 +02:00
Florian Bruhin
bd11913a4a
Add colorama to scripts.utils
2014-09-22 20:31:54 +02:00
Florian Bruhin
a7c1f38344
Use scripts.utils for colors in scripts.
2014-09-22 20:29:37 +02:00
Florian Bruhin
e26606b0d6
Add /usr/bin/env to shebangs
2014-09-22 20:21:00 +02:00
Florian Bruhin
660b05899c
Fix lint
2014-09-22 20:11:28 +02:00
Florian Bruhin
812a0fdd41
Merge branch 'newcmd'
...
Conflicts:
.flake8
pkg/PKGBUILD.qutebrowser-git
qutebrowser/browser/commands.py
qutebrowser/browser/hints.py
qutebrowser/config/configdata.py
qutebrowser/network/qutescheme.py
qutebrowser/test/config/test_configtypes.py
qutebrowser/utils/utils.py
2014-09-22 19:09:48 +02:00
Florian Bruhin
c393a375d0
Remove README/manpage from asciidoc2html.py
2014-09-22 18:34:40 +02:00
Florian Bruhin
e552b62feb
Revert "Start patching setuptools commands"
...
This reverts commit 42e8e800aa
.
2014-09-22 18:31:19 +02:00
Florian Bruhin
42e8e800aa
Start patching setuptools commands
2014-09-22 07:07:09 +02:00
Florian Bruhin
ce6778f1d5
doc: Fix settings anchors
2014-09-21 21:23:16 +02:00
Florian Bruhin
36e916e247
Update ez_setup
2014-09-18 22:36:47 +02:00
Florian Bruhin
c9a24f32f5
Use new utils module for colors in asciidoc2html.
2014-09-18 08:31:36 +02:00
Florian Bruhin
69d1d130ce
scripts: segfault_test: Don't test harfbuzz if unnecessary
2014-09-18 06:45:09 +02:00
Florian Bruhin
e6b81c86b5
scripts: Annotate pages with bug reports in segfault_test
2014-09-16 22:39:49 +02:00
Florian Bruhin
47a2857640
scripts: Add more pages to segfault_test
2014-09-16 22:22:44 +02:00
Florian Bruhin
a1e257ac4a
scripts: Add qutebrowser/html/doc to cleanup
2014-09-16 20:12:14 +02:00
Florian Bruhin
e0c0db68f6
scripts: Rename generate_doc to src2asciidoc
2014-09-16 20:08:34 +02:00
Florian Bruhin
3bfc555075
Split generate_doc.py
2014-09-16 20:08:08 +02:00
Florian Bruhin
5eef6d422d
Better exception formatting and handling.
2014-09-16 08:20:19 +02:00
Florian Bruhin
14cc77ff42
Add pygments as dependency.
2014-09-15 17:59:33 +02:00
Florian Bruhin
e1d93fa3fa
Move inspect stuff from cmdutils to command.
2014-09-15 07:42:21 +02:00
Florian Bruhin
f2e68685d2
Fix doc generation with overridden argument names.
2014-09-15 00:03:39 +02:00
Florian Bruhin
38c341e3ea
Add count info in commands.
2014-09-13 00:33:54 +02:00
Florian Bruhin
80ef0782d5
Improve some docstrings.
2014-09-13 00:22:27 +02:00
Florian Bruhin
95f73f0dc6
Add segfault_test script
2014-09-12 07:08:36 +02:00
Florian Bruhin
070d5ae300
Add more documentation.
2014-09-08 12:21:47 +02:00
Florian Bruhin
880758d04e
Make generate_doc work on Windows
2014-09-08 11:40:27 +02:00
Florian Bruhin
381b06e967
Fix lint
2014-09-08 07:44:32 +02:00
Florian Bruhin
0267dac2be
Add --help documentation
2014-09-08 07:36:18 +02:00
Florian Bruhin
2cc41081b3
Add newline in settings doc.
2014-09-08 07:36:18 +02:00
Florian Bruhin
02e4fdd867
generate_doc: Call asciidoc
2014-09-08 07:36:17 +02:00
Florian Bruhin
8d9dd8e83d
doc: Remove some newlines
2014-09-08 07:36:17 +02:00
Florian Bruhin
e416228713
doc: Add missing blank lines
2014-09-08 07:36:17 +02:00
Florian Bruhin
04c77d4d90
Adjust formatting for arg descriptions
2014-09-08 07:36:17 +02:00
Florian Bruhin
9e3f5e28bc
docs: Fix heading levels
2014-09-08 07:36:17 +02:00
Florian Bruhin
dcfb52847f
Nicer flag output in docs.
2014-09-08 07:36:17 +02:00
Florian Bruhin
9f23e9aa36
Many improvements for generate_doc
2014-09-08 07:36:17 +02:00
Florian Bruhin
02292d8518
generate_doc: Remove unneeded whitespace
2014-09-08 07:36:17 +02:00
Florian Bruhin
a1fabcc5c2
Start rewriting manpage generation
2014-09-08 07:36:17 +02:00
Florian Bruhin
b03b0a173c
generate_doc: Use argparse for command syntax
2014-09-08 07:36:17 +02:00
Florian Bruhin
b453ae563e
Clean up docstring parsing and move it into qutebrowser for commands.
2014-09-08 07:36:17 +02:00
Florian Bruhin
ccfc0b3c19
Get rid of most @property's.
...
They were problematic because they're executing hidden code, and also PyQt
hides exceptions happening inside them.
2014-09-02 23:37:47 +02:00
Florian Bruhin
2fdf241da2
Add dependency on jinja2.
2014-08-28 20:14:40 +02:00
Florian Bruhin
f6c1c8b73b
generate_doc: Order authors correctly.
2014-08-27 13:16:01 +02:00
Florian Bruhin
ce4a5affa4
Rename commands.utils to commands.cmdutils.
2014-08-26 20:48:39 +02:00
Florian Bruhin
d625cde28c
Clean up imports
2014-08-26 19:10:14 +02:00
Florian Bruhin
66a09f6993
pylint_checkers: Don't check binary open in openencoding.
2014-08-20 20:33:34 +02:00
Florian Bruhin
17dd4732ae
Add explicit encoding to open() calls.
2014-08-20 20:33:14 +02:00
Florian Bruhin
fb8ef69a63
pylint: Add checker for open() without encoding.
2014-08-20 18:51:55 +02:00
Florian Bruhin
7f6b44e4b0
run_checks: Add PWD to os.path.
...
Without this change, running checkers when not running unittests failed,
because qutebrowser couldn't be imported.
2014-08-20 07:14:12 +02:00
Florian Bruhin
7d219a2529
ez_setup: Update to 5.8
2014-08-17 11:50:22 +02:00
Florian Bruhin
7512d766d4
run_checks: Colorize exit status
2014-08-14 20:58:39 +02:00
Florian Bruhin
0f1c819b89
run_checks: Add some colors
2014-08-14 20:42:11 +02:00
Florian Bruhin
cc4fd46c6f
run_checks: Refactor checks if checker is enabled.
2014-08-14 20:08:30 +02:00
Florian Bruhin
c62586a3dd
ez_setup: Update to 5.6.
2014-08-14 19:28:07 +02:00
Florian Bruhin
0f00ce244e
run_checks: More refactoring
2014-08-14 18:02:38 +02:00
Florian Bruhin
dbc9a53e1c
run_checks: Refactor running of checkers
2014-08-14 16:14:21 +02:00
Florian Bruhin
9281f30c7b
run_checks: Use argparse
2014-08-14 15:32:42 +02:00
Florian Bruhin
c7bfe784e4
Adjust the rest of the code for rfc6266 -> pypeg2
2014-08-14 13:37:27 +02:00
Florian Bruhin
b610a968cc
run_checks: Re-enable pylint plugins.
2014-08-12 22:38:36 +02:00
Florian Bruhin
e248c53358
run_checks: Rename CONFIG to config.
2014-08-12 22:38:28 +02:00
Florian Bruhin
dc00f346f4
run_checks: Add docstring to main
2014-08-12 21:12:31 +02:00
Florian Bruhin
01ec30cda3
run_checks: Add main block
2014-08-12 18:48:31 +02:00
Florian Bruhin
2d1f84e7f0
run_checks: Always run pep257
2014-08-12 18:47:11 +02:00
Florian Bruhin
720e56cdc1
run_checks: Add configfile
2014-08-12 18:46:54 +02:00
Florian Bruhin
50604de24d
Update ez_setup to 5.5.1
2014-08-11 14:48:58 +02:00
Florian Bruhin
75b4fe9ce2
Use tokenize.open for run_checks and add note to TODO
2014-08-07 14:56:27 +02:00
Florian Bruhin
debc76ce79
run_checks: Refactor VCS commit checking.
2014-08-07 00:40:20 +02:00
Florian Bruhin
e05975aff3
Use pylint to check for set_trace calls.
2014-08-07 00:07:01 +02:00
Florian Bruhin
c7ee655750
Use pylint to check modelines and fix them.
2014-08-06 23:51:44 +02:00
Florian Bruhin
be21296b38
Use pylint for CRLF checking.
2014-08-06 21:56:10 +02:00
Florian Bruhin
2b058b36ea
Remove whitespace line ending checker (handled by pylint)
2014-08-06 21:55:43 +02:00
Florian Bruhin
1cb7b447b7
run_checks: Remove tab-space-checker
2014-08-06 21:17:06 +02:00
Florian Bruhin
4491e7db3e
Replace tabs with spaces in quit_segfault_test.sh
2014-08-06 21:03:46 +02:00
Florian Bruhin
eae81fa560
Cleanup
2014-08-06 14:44:00 +02:00
Florian Bruhin
2f1b92aff5
Add custom pylint checker for config.
2014-08-06 14:42:05 +02:00
Florian Bruhin
60d4dafbbb
Replace cgi.escape by html.escape.
...
cgi.escape is deprecated:
https://docs.python.org/3.4/library/cgi.html#cgi.escape
2014-08-05 23:20:26 +02:00
Florian Bruhin
b2d24a4435
Exclude tkinter when freezing.
...
This is only needed if PyQt5 is unavailable, and that won't be the case when
we're freezed.
2014-08-04 19:49:17 +02:00
Florian Bruhin
c9436bbaef
Fix noconv in scripts.run_profile
2014-08-04 18:15:15 +02:00
Florian Bruhin
ee1b136807
Clean up pylint/noqa comments.
2014-08-04 03:47:09 +02:00
Florian Bruhin
dea7e35b92
generate_doc: Nicer syntax.
2014-08-03 01:00:25 +02:00
Florian Bruhin
f451d7b98c
generate_doc: Handle empty lines correctly.
2014-08-03 00:58:46 +02:00
Florian Bruhin
ebb9e270d3
Avoid None values in documentation.
2014-08-02 23:57:34 +02:00
Florian Bruhin
cbafd0dbf2
generate_doc: Support multi-line argument description.
2014-08-02 23:34:50 +02:00
Florian Bruhin
61c23f4684
generate_doc: Add varargs to syntax.
2014-08-02 23:03:35 +02:00
Florian Bruhin
f4edb5e9d1
generate_doc: Strip leading * for vararg docs.
2014-08-02 23:03:19 +02:00
Florian Bruhin
55650969b6
generate_doc: Use OrderedDict for argument docs.
2014-08-02 23:02:54 +02:00
Florian Bruhin
f8c995d58d
Support multiline setting descriptions.
2014-08-02 22:53:57 +02:00
Florian Bruhin
44df5754d9
Add shebang to scripts/generate_docs
2014-08-02 21:13:14 +02:00
Florian Bruhin
142fe19d11
Update ez_setup to 5.4.2.
2014-08-01 22:51:52 +02:00