Florian Bruhin
10298e9692
Don't connect destroyed signal in log_signals.
...
This causes weird segfaults and is probably not that important to log.
Fixes #867 .
2015-08-11 14:29:06 +02:00
Thorsten Wißmann
da6d12a657
Make tab-focus (bound to gt) behave as in VIM
...
If no count or index is given, tab-focus switches to the next tab (using
tab-next internally). So the keychain gt behaves as gt in vim:
- gt focuses the next tab
- 1gt focuses the first tab
- <n>gt (e.g. 5gt) focuses the n'th (e.g. fith) tab
2015-08-11 10:50:27 +02:00
Alexander Cogneau
8be433f5f6
Add tests:
...
- sum of column widths equals 100
- column widths tuple has 3 elements
2015-08-11 09:17:46 +02:00
Florian Bruhin
7412e4f723
Reorganize utils.debug tests and add some more.
2015-08-11 07:41:25 +02:00
Florian Bruhin
dcaae51b4f
Remove unused imports.
2015-08-10 19:47:19 +02:00
Florian Bruhin
c8679d6544
100% coverage for browser.webelem.
2015-08-10 19:37:16 +02:00
Florian Bruhin
9cabd4828c
Skip test_guiprocess:test_error on Windows.
...
Waiting for a new pytest-qt release which will probably fix this.
2015-08-10 06:54:11 +02:00
Florian Bruhin
69f6822c82
Fix lint.
2015-08-09 23:09:48 +02:00
Florian Bruhin
2fe1bcfc2b
Skip GUI tests when no DISPLAY is available.
...
Fixes #851 .
2015-08-09 22:45:24 +02:00
Florian Bruhin
fbf53168c2
Skip test_double_start_finished on Windows.
...
It seems the process sometimes crashes...
2015-08-09 20:00:45 +02:00
Florian Bruhin
c4ebfcd4b3
Make tests fail on unexpected logging messages.
2015-08-09 20:00:36 +02:00
Florian Bruhin
aed915b1ec
Handle invalid URLs when checking for same domain.
...
The old code only checked whether current_url is invalid, but the request URL
can be invalid as well, e.g. on http://www.playstation.com/
/cc @Carpetsmoker
2015-08-09 18:52:11 +02:00
Florian Bruhin
fe3eb30892
Reorganize exceptions in urlutils.
...
- Instead of ValueError, a new InvalidUrlError is raised with invalid URLs.
- FuzzyUrlError got removed as it's basically the same as InvalidUrlError.
2015-08-09 18:48:32 +02:00
Antoni Boucher
052d18147e
Added permission check.
2015-08-09 11:29:18 -04:00
Florian Bruhin
0bf651d1fa
tox: Don't run smoke environment.
2015-08-09 11:35:34 +02:00
Antoni Boucher
4d2a55190f
Removed useless method.
2015-08-08 19:52:13 -04:00
Antoni Boucher
0896d7a8b3
Fixed file scheme handler.
2015-08-08 19:45:00 -04:00
Antoni Boucher
e5779d0775
Fixed tests.
2015-08-08 19:32:47 -04:00
Alexander Cogneau
753f87aa15
Default size of third column is now 0
2015-08-08 23:49:54 +02:00
Florian Bruhin
a28b0c3386
Remove .coverage.ini in check_coverage.py.
2015-08-08 22:55:37 +02:00
Florian Bruhin
409b32122e
Don't generate HTML coverage by default.
2015-08-08 22:55:13 +02:00
Florian Bruhin
3179455e69
Reorganize tox.ini.
...
- The environment to run unittests is now called py34 as that's the common
thing used, and will also allow us to run the tests with Python 3.5.
- The default tests now also run coverage.py and do a coverage check (on
Linux).
- The smoke tests are now part of the default environment.
2015-08-08 22:33:29 +02:00
Antoni Boucher
a6010e3ead
Renamed test function.
2015-08-08 15:40:18 -04:00
Antoni Boucher
14ae308279
Added a file:// scheme.
2015-08-08 15:16:48 -04:00
Antoni Boucher
7e20d77bdf
Switch to SVG file and tango theme.
2015-08-08 14:43:55 -04:00
Antoni Boucher
2969599390
Use toLocalFile function instead of slicing.
2015-08-08 14:13:09 -04:00
Antoni Boucher
e6521b047d
Added get_file_list function and tests.
2015-08-08 14:10:27 -04:00
Antoni Boucher
b8809f879d
Added resource_filename function and tests.
2015-08-08 13:47:47 -04:00
Antoni Boucher
ec5049f801
Renamed url to urlstring.
2015-08-08 13:32:04 -04:00
Alexander Cogneau
e29c642bc2
Fix wrong propertyname
2015-08-08 18:12:51 +02:00
Alexander Cogneau
f2c3cc6a3e
Module import of completion.models instead of class.
2015-08-08 17:58:12 +02:00
Alexander Cogneau
0e9f268817
CompletionView:
...
- column_widths -> _column_widths
- removed if-statement to verify if source model has 'column_widths'-property
2015-08-08 17:47:18 +02:00
Alexander Cogneau
36372418ca
Added the default column_widths as a class attribute instead of a config option.
2015-08-08 17:27:21 +02:00
Alexander Cogneau
5c2d3ec96a
Add a column_widths property to the base class for completion models.
2015-08-08 16:46:57 +02:00
Florian Bruhin
06a82c5566
Merge branch 'Kingdread-master'
2015-08-08 15:16:24 +02:00
Florian Bruhin
cef0ac46b8
Update authors.
2015-08-08 15:16:18 +02:00
Florian Bruhin
f76b741fb6
Merge branch 'master' of git://github.com/Kingdread/qutebrowser into Kingdread-master
2015-08-08 15:14:08 +02:00
Florian Bruhin
f6c1d355e3
Pass $HOME to misc testenv.
...
Fixes #860 .
2015-08-08 14:46:23 +02:00
Daniel
bb6d6e51f6
Remove trailing whitespace in test_urlutils.py
2015-08-08 13:59:43 +02:00
Daniel
72c65a812f
Move incdec_number tests to own class
...
and add tests for numbers in anchors
2015-08-08 13:47:17 +02:00
Antoni Boucher
2be0743378
Added images.
2015-08-07 23:28:24 -04:00
Antoni Boucher
fedf9d9c72
Replaced tuple by dict.
2015-08-07 22:45:54 -04:00
Antoni Boucher
4c1ed35390
Removed .. when in root folder.
2015-08-07 22:45:42 -04:00
Antoni Boucher
c8d3fc57c2
First version of directory browser.
2015-08-07 21:57:19 -04:00
Daniel
c3f6246274
Update CHANGELOG.asciidoc
2015-08-08 00:57:17 +02:00
Daniel
9e98ab181a
Add URL validity check + tests to incdec_number
2015-08-08 00:57:16 +02:00
Daniel
c4c3a83ac0
rename url_incdec_number to incdec_number
2015-08-08 00:57:16 +02:00
Florian Bruhin
0acbd77ada
Merge branch 'acogneau-launch_time'
2015-08-07 22:32:30 +02:00
Florian Bruhin
6e52b789ed
Update authors.
2015-08-07 22:32:20 +02:00
Florian Bruhin
3a85afe1f4
Use datetime.ctime().
2015-08-07 22:32:02 +02:00