Commit Graph

13719 Commits

Author SHA1 Message Date
Ryan Farley
af8a5c58da use sys.exit 2017-10-17 14:48:56 -05:00
Ryan Farley
73c5666ff9 various importer fixes
* Line breaks reinserted
* None in place of ''
* Check for browser before selecting default input format (to fix
KeyError)
* Remove redundant -S option and clarify help to make it slightly more
obvious what output formats make sense
* Added long-form arguments and slightly more sensible names (not really a
fix, but I personally like having them)
2017-10-17 14:48:56 -05:00
Ryan Farley
a6ed079011 make browser argument optional 2017-10-17 14:48:56 -05:00
Ryan Farley
84b2b05254 help text mod
Browser choices are now formatted in the help text rather than listed
manually. Redundant line regarding output default removed from epilogue
2017-10-17 14:48:56 -05:00
Ryan Farley
d85a15f0a2 style, variable name typo 2017-10-17 14:48:56 -05:00
Ryan Farley
aa0613c6d8 support multiple input formats
This restructures things to better support future implementations of
other input formats. The default formats are specified in a global dict
of browsers, which prevents duplicating the list of choices for browser
in bother get_args() and main(), and a new option enables overriding of
the default.
2017-10-17 14:48:56 -05:00
Ryan Farley
799fe5deb3 default to new search format 2017-10-17 14:48:56 -05:00
Ryan Farley
898dde566d fix whitespace issues 2017-10-17 14:48:56 -05:00
Ryan Farley
c163f702c2 fix config.val in format 2017-10-17 14:48:56 -05:00
Ryan Farley
31bbc8c5b3 importer support for keywords and search engines
This allows importer.py to process Netscape HTML exports from Firefox
(and other Mozilla browsers) with three distinct types:
	* bookmarks (sans shortcuturl attribute)
	* keywords (bookmarks with a shortcuturl attribute)
	* searches (keywords with a URL containing a %s substitution)
The first two can be combined at will in either quickmark or bookmark
output formats, the only difference being that keywords will be used in
place of titles when exporting to quickmark format. Searches are
exported to qutebrowser.conf format, or the new config.py format.

Dictionaries are used in the import function for readability's sake, but
the command line arguments follow the same general formula of true-false
flags used to select input bookmark types and the output format.
2017-10-17 14:48:55 -05:00
Florian Bruhin
828ffd4979 Update changelog 2017-10-17 21:19:46 +02:00
Florian Bruhin
11f97f71f4 Merge remote-tracking branch 'origin/pr/3150' 2017-10-17 21:19:11 +02:00
Florian Bruhin
807b7701d5 Re-add blank line 2017-10-17 21:11:14 +02:00
Jay Kamat
62b6d62cd7
Clean up sub-module import and unneeded + 2017-10-17 14:22:18 -04:00
Jay Kamat
5d11a1fd75
Prevent :home from bypassing pinned tab warnings
Closes #3138
2017-10-17 11:37:37 -04:00
Jay Kamat
95761c5023
Fix crashes on qute_pylint module when not running in the root
Useful for editors that run from non-root directories for
integrations, but skips some tests. Shouldn't impact tests run normally.
2017-10-17 10:36:37 -04:00
Florian Bruhin
5c6a821b1e Update changelog 2017-10-17 15:35:58 +02:00
Florian Bruhin
96bec9f9d7 Fix error code for "database is locked"
See #2930
2017-10-17 15:35:23 +02:00
Florian Bruhin
12c9590524 Always use shortest match for completion.use_best_match 2017-10-17 15:01:37 +02:00
Florian Bruhin
4984c9d05c Update docs 2017-10-17 14:57:41 +02:00
Florian Bruhin
161b96be1e Fix long line 2017-10-17 13:10:00 +02:00
Florian Bruhin
bf1af698bd Merge pull request #3147 from fiete201/Fix_debian_install_instructions_for1.0.2
fix debian install instructions to fit debian9 and new apt
2017-10-17 13:10:40 +02:00
Fritz Reichwald
2fccc083af fix debian install instructions to fit debian9 and new apt 2017-10-17 12:03:27 +02:00
Florian Bruhin
4f263505ee Improve tests for partial matching 2017-10-17 11:49:46 +02:00
Florian Bruhin
2e64dda592 Clean up getting matching commands 2017-10-17 11:40:34 +02:00
Florian Bruhin
52423fa426 Remove unneeded variable 2017-10-17 11:37:19 +02:00
Florian Bruhin
c3441ae4a8 Update changelog 2017-10-17 11:34:46 +02:00
Florian Bruhin
c233099bca Merge remote-tracking branch 'origin/pr/3063' 2017-10-17 11:34:35 +02:00
Florian Bruhin
44e5dc1c5a Add a comment to @xfail_norun 2017-10-17 10:45:58 +02:00
Florian Bruhin
458a45c172 Remove old deprecated commands 2017-10-17 10:44:22 +02:00
Florian Bruhin
f1ddf58260 Add a deprecated :tab-detach 2017-10-17 10:30:47 +02:00
Florian Bruhin
f84af0a6fb Fix docstring 2017-10-17 09:33:20 +02:00
Florian Bruhin
ced4713fda Reverse if/else 2017-10-17 09:14:59 +02:00
Florian Bruhin
2c86788901 Update changelog 2017-10-17 09:14:02 +02:00
Florian Bruhin
cce4ff6d53 Merge remote-tracking branch 'origin/pr/3054' 2017-10-17 09:10:45 +02:00
Florian Bruhin
8d169597ae Fix lint for standardpaths_tester 2017-10-17 09:06:52 +02:00
Florian Bruhin
9470bff464 Merge pull request #3137 from qutebrowser/pyup-scheduled-update-10-16-2017
Scheduled weekly dependency update for week 42
2017-10-17 08:13:19 +02:00
Florian Bruhin
a8eae03ee9 Update release checklist 2017-10-17 07:52:43 +02:00
Florian Bruhin
373ad28d2e Release v1.0.2
(cherry picked from commit 55a88ceea674fdfaf5577c255bc704e41e3353a3)
2017-10-17 07:46:02 +02:00
Florian Bruhin
14a63b8a82 Include appdata file in MANIFEST 2017-10-17 07:39:44 +02:00
Florian Bruhin
6bc35a1842 Remove blank lines 2017-10-17 07:39:09 +02:00
Florian Bruhin
dd683ea08c Merge remote-tracking branch 'origin/pr/3139' 2017-10-17 07:38:48 +02:00
Florian Bruhin
db874d8bba Show apps with/without QApplication in standardpaths_tester 2017-10-17 06:34:08 +02:00
Florian Bruhin
1a7612e559 Bump up yaml timeout a bit 2017-10-17 06:28:22 +02:00
Florian Bruhin
d8384ced0a Show better error message when trying to toggle with :set 2017-10-17 06:26:42 +02:00
Florian Bruhin
544c508fac Add standardpaths_tester.py 2017-10-17 06:22:40 +02:00
Florian Bruhin
8acd014d39 Ignore new Qt 5.10 debug build messages 2017-10-17 06:22:26 +02:00
suve
2ad7bafcdf Add "faq" and "help" links in appdata.xml file 2017-10-16 22:30:51 +02:00
suve
914d72a216 Remove the .desktop suffix from <id> in appdata.xml
This used to be required by the standard, but is no longer the case.
2017-10-16 22:26:46 +02:00
suve
30f7f7b03c Change <id> in appdata.xml to match the {tld}.{vendor}.{product} scheme 2017-10-16 22:05:07 +02:00