Commit Graph

9045 Commits

Author SHA1 Message Date
Florian Bruhin
b98d970393 Merge branch 'flv0-savefile_open-flush' 2016-07-27 10:11:51 +02:00
Florian Bruhin
fbac4cb95f Regenerate authors 2016-07-27 10:11:44 +02:00
Florian Bruhin
ccbd47a0cd Merge branch 'savefile_open-flush' of https://github.com/flv0/qutebrowser into flv0-savefile_open-flush 2016-07-27 10:11:33 +02:00
Florian Bruhin
2970bbcf03 codeov/test requirements: Update coverage to 4.2
Version 4.2
------------

- Since concurrency=multiprocessing uses subprocesses, options specified
  on the coverage.py command line will not be communicated down to them.
  Only options in the configuration file will apply to the subprocesses.
  Previously, the options didn't apply to the subprocesses, but there
  was no indication. Now it is an error to use
  --concurrency=multiprocessing and other run-affecting options on the
  command line. This prevents failures like those reported in issue 495.
- Filtering the HTML report is now faster, thanks to Ville Skyttä.

Version 4.2b1
-------------

Work from the PyCon 2016 Sprints!

- BACKWARD INCOMPATIBILITY: the coverage combine command now ignores an
  existing .coverage data file. It used to include that file in its
  combining. This caused confusing results, and extra tox "clean" steps.
  If you want the old behavior, use the new coverage combine --append
  option.
- The concurrency option can now take multiple values, to support
  programs using multiprocessing and another library such as eventlet.
  This is only possible in the configuration file, not from the command
  line. The configuration file is the only way for sub-processes to all
  run with the same options.
- Using a concurrency setting of multiprocessing now implies --parallel
  so that the main program is measured similarly to the sub-processes.
- When using automatic subprocess measurement, running coverage commands
  would create spurious data files. This is now fixed.
- A new configuration option, report:sort, controls what column of the
  text report is used to sort the rows.
- The HTML report has a more-visible indicator for which column is being
  sorted.
- If the HTML report cannot find the source for a file, the message now
  suggests using the -i flag to allow the report to continue.
- When reports are ignoring errors, there's now a warning if a file
  cannot be parsed, rather than being silently ignored.
- A new option for coverage debug is available: coverage debug config
  shows the current configuration.
- Running coverage as a module (python -m coverage) no longer shows the
  program name as __main__.py.
- The test_helpers module has been moved into a separate pip-installable
  package: unittest-mixins.
2016-07-27 06:37:02 +02:00
Florian Bruhin
94f006a675 pylint requirements: Update astroid to 1.4.8
* Add `returns` into the proper order in FunctionDef._astroid_fields

  The order is important, since it determines the last child,
  which in turn determines the last line number of a scoped node.
2016-07-27 06:32:29 +02:00
Florian Bruhin
f460a225ef Merge branch 'paretje-focuspass' 2016-07-27 00:15:38 +02:00
Florian Bruhin
5da67a677d Regenerate authors 2016-07-27 00:15:27 +02:00
Florian Bruhin
8f42fcf627 Merge branch 'focuspass' of https://github.com/paretje/qutebrowser into paretje-focuspass 2016-07-27 00:15:15 +02:00
Florian Bruhin
cd905841e0 Don't log on_focus_changed warning if new is None 2016-07-26 23:27:20 +02:00
Florian Bruhin
2121865bdd Show jsret value in update_scroll_pos callback 2016-07-26 23:26:20 +02:00
Florian Bruhin
414f09f648 Merge branch 'mlochbaum-bookmark-load-delete' 2016-07-26 21:28:24 +02:00
Florian Bruhin
0405a05d34 Update docs 2016-07-26 21:28:14 +02:00
Kevin Velghe
8d091b2ae8 Drop focus after field has been filled 2016-07-26 21:25:04 +02:00
Marshall Lochbaum
826d0befe0 Update number files 2016-07-26 13:57:35 -04:00
Marshall Lochbaum
b2c2d5a4f4 Add --delete option to bookmark-load 2016-07-26 13:49:17 -04:00
Florian Bruhin
1ac45d8971 travis: Switch bot to #qutebrowser-dev 2016-07-26 18:18:53 +02:00
Florian Bruhin
55f4777d72 build_release: Fix call_tox with no python on Win 2016-07-26 17:55:26 +02:00
Florian Bruhin
24f3703615 Merge branch 'mlochbaum-bookmark-add-toggle' 2016-07-26 17:30:17 +02:00
Florian Bruhin
29fd292aa4 Update docs 2016-07-26 17:30:07 +02:00
Florian Bruhin
84cfbced05 Merge branch 'bookmark-add-toggle' of https://github.com/mlochbaum/qutebrowser into mlochbaum-bookmark-add-toggle 2016-07-26 17:27:40 +02:00
Florian Bruhin
311f531d88 build_release: Fix tox call 2016-07-26 17:00:32 +02:00
Florian Bruhin
a6af9d7d35 flake8 reqs: Undo accidental pep8 downgrade 2016-07-26 16:51:45 +02:00
Florian Bruhin
d19c7012a5 flake8 reqs: Update flake8-docstrings to 1.0.2
- Use pycodestyle to get standard-in.
2016-07-26 16:51:19 +02:00
Florian Bruhin
180d113914 build_release: Fix running smoke test on OS X 2016-07-26 16:49:44 +02:00
Florian Bruhin
901ccebca6 Revert "build_release: Use -quiet for hdiutil"
This reverts commit e2ea04691e.

Otherwise we don't get any information on errors...
2016-07-26 16:49:07 +02:00
Florian Bruhin
e2ea04691e build_release: Use -quiet for hdiutil 2016-07-26 16:39:10 +02:00
Florian Bruhin
86bd42ec93 build_release: Rebuild tox environments
This way we can be sure we have updated dependencies installed.
2016-07-26 16:38:32 +02:00
Florian Bruhin
12007dd0d0 DMG Makefile: Don't generate template.dmg.bz2
Let's not have this in the workingdir, instead just regenerate it every
time.
2016-07-26 16:30:34 +02:00
Florian Bruhin
ed67b988f9 DMG Makefile: Increase template size to 300 MB
Otherwise QtWebEngine wouldn't fit.
2016-07-26 16:29:29 +02:00
Florian Bruhin
b30773aa68 flake8 requirements: Add comment for pep8 pin 2016-07-26 16:14:21 +02:00
Florian Bruhin
54b9ead0d0 flake8 reqs: Update flake8-docstrings to 1.0.1
1.0.1
-----

Make sure this works out of the box (is enabled by default) with
Flake8 3.0

1.0.0
-----

Switch dependency name to pydocstyle. pep257 was renamed to pydocstyle,
this update switches the requirement to that new package name. Since
we’re swapping out dependencies, we’ve issued a major version bump.
2016-07-26 16:12:23 +02:00
Kevin Velghe
e9e780ac56 Focus fields before filling them 2016-07-26 16:12:19 +02:00
Florian Bruhin
fb20352e3f build_release: Add smoke test for OS X
This should prevent something like #1686 in the future.
2016-07-26 16:10:25 +02:00
Marshall Lochbaum
d9247c15a4 Coding style fixes 2016-07-26 09:48:35 -04:00
Marshall Lochbaum
ae7fe2ee33 Update number files 2016-07-26 09:14:51 -04:00
Marshall Lochbaum
28842c90b6 Add --toggle flag to bookmark-add (fixes #1667) 2016-07-26 09:07:21 -04:00
Florian Bruhin
614794a62a link_pyqt: Use PyQt5.QtCore to find PyQt5 path
For some reason on OS X, PyQt5.__file__ does not exist as it's a
namespace package.
2016-07-26 13:59:25 +02:00
Florian Bruhin
b12c984846 Release v0.8.0 2016-07-26 13:30:41 +02:00
Florian Bruhin
3801960c61 tests: Add v0.8.0 to old_configs 2016-07-26 13:30:41 +02:00
Florian Bruhin
07e0ae5584 Un-hide --backend argument 2016-07-26 13:30:41 +02:00
Florian Bruhin
3ccb691e9f tab API: Rename scroll to scroller
The scroll attribute did overwrite QWidget.scroll which is unfortunate.
2016-07-26 13:19:07 +02:00
Florian Bruhin
878fa26247 Use real slots for QtWebKit signals
Otherwise we can get this when immediately quitting:

Traceback (most recent call last):
  File ".../qutebrowser/browser/webkit/webkittab.py", line 580, in <lambda>
    not self._widget.page().error_occurred))
RuntimeError: wrapped C/C++ object of type WebView has been deleted
2016-07-26 12:55:40 +02:00
Florian Bruhin
214641301c Improve test_smoke
There's currently an error on exit which doesn't get caught with
--nowindow and not with ":later 500 quit".

We also need to check the output as there's an additional segfault when
that happens...
2016-07-26 12:51:12 +02:00
Florian Bruhin
7f9af096cd Clean up changelog 2016-07-26 12:34:02 +02:00
Florian Bruhin
99ea20d0d1 Merge branch 'paretje-bash' 2016-07-26 12:14:42 +02:00
Florian Bruhin
9bd48c4277 Merge branch 'bash' of https://github.com/paretje/qutebrowser into paretje-bash 2016-07-26 12:13:15 +02:00
Florian Bruhin
3ea6d4c527 Add KeyConfigStub.get_reverse_bindings_for 2016-07-26 12:06:42 +02:00
Kevin Velghe
0f07198271 Don't pass 2 arguments to shebang
On most platforms (according to shellcheck), you can't pass two
arguments in a shebang. I.e. on Debian you get:
/usr/bin/env: ‘bash -e’: No such file or directory
2016-07-26 11:48:26 +02:00
Florian Bruhin
49977a32c4 Remove unused imports 2016-07-26 11:09:24 +02:00
Florian Bruhin
70d6f90f08 Display key hint for :prompt-download-open
This also splits up _display_question into one method per mode.
2016-07-26 11:08:03 +02:00