Florian Bruhin
7dc03710b1
bdd: Only check logs for "... should be loaded".
...
Checking the requests from the webserver proved problematic, as often there's
some kind of caching going on. Instead, we only check the log, as this is used
for things like :navigate anyways, so if the log says the page got loaded, we
can trust it.
There's still "... should be requested" to check the actual requests.
2016-01-06 22:57:49 +01:00
Florian Bruhin
b1bf75f069
bdd: Add a test for :drop-selection.
2016-01-06 22:15:13 +01:00
Florian Bruhin
2d9900a5ad
bdd: Add test for :paste with invalid URL.
2016-01-06 22:07:19 +01:00
Milan Svoboda
20cdb45da5
use greedy highlighting
2016-01-06 21:52:56 +01:00
Florian Bruhin
bd611b7ee4
bdd: Skip :print test.
...
This sometimes seem to cause the following warning:
QPainter:🔚 Painter ended with 2 saved states
2016-01-06 18:27:14 +01:00
Florian Bruhin
275f1ede82
bdd: Add test for :undo.
2016-01-06 18:27:14 +01:00
Florian Bruhin
4bb38f1488
bdd: Handle some more corner cases in commands.py.
2016-01-06 18:27:14 +01:00
Florian Bruhin
3f15186a64
Add some coverage pragmas for caret workarounds.
2016-01-06 17:52:44 +01:00
Florian Bruhin
9720d879ad
Remove dead code.
2016-01-06 17:52:11 +01:00
Florian Bruhin
56766acf18
Add /qutebrowser/3rdparty/ to .gitignore.
2016-01-06 08:50:46 +01:00
Florian Bruhin
4099a40e35
Fix lint.
2016-01-06 08:50:22 +01:00
Florian Bruhin
d2a1282c0b
tests: Split up testprocess.wait_for.
2016-01-06 08:49:30 +01:00
Florian Bruhin
b1b767ed96
tests: Don't start Xvfb for unittests-nodisp.
2016-01-06 08:36:40 +01:00
Florian Bruhin
b0f001d3f1
Skip :print test when window can't be focused.
...
For some reason the window doesn't get focused on Travis. If that happens,
let's just skip the test instead of failing it.
2016-01-06 08:29:53 +01:00
Florian Bruhin
29dd6af976
tests: Optionally skip a test when waiting for log.
2016-01-06 08:29:46 +01:00
Florian Bruhin
6a97e98007
Fix lint.
2016-01-06 07:55:42 +01:00
Florian Bruhin
02e30873e1
Only test :print on Linux.
2016-01-06 07:54:54 +01:00
Florian Bruhin
fc755c104b
bdd: Add test for exception with :pyeval.
2016-01-06 07:42:33 +01:00
Milan Svoboda
ec8dc35a68
rename patternre, use ignorecase in re instead of casefold
2016-01-06 07:38:55 +01:00
Florian Bruhin
03ebdfd641
bdd: Add tests for :pyeval.
2016-01-06 07:15:42 +01:00
Florian Bruhin
677dcd6748
bdd: Add tests for :print.
2016-01-06 07:15:34 +01:00
Florian Bruhin
2cadac6b6e
bdd: Add tests for :stop/:reload with wrong count.
2016-01-06 07:15:20 +01:00
Florian Bruhin
e2994e9375
bdd: Add "the page should contain the plaintext".
2016-01-06 07:15:06 +01:00
Florian Bruhin
c7edb8e1f2
Make QApplication available to :debug-pyeval.
2016-01-06 07:14:49 +01:00
Florian Bruhin
1619b89df7
pytest: Add a skip mark for use with bdd.
2016-01-06 07:14:30 +01:00
Florian Bruhin
1db662fbff
Update docs.
2016-01-06 06:31:56 +01:00
Florian Bruhin
05281a7d1f
Add a --quiet argument to :debug-pyeval.
...
Closes #1156 .
2016-01-06 06:19:37 +01:00
Florian Bruhin
f943891ce6
Fix :reload test when :stop is skipped.
...
I don't know why, but :stop being skipped causes something to be cached with
hello2.txt.
2016-01-05 22:46:52 +01:00
Felix Van der Jeugt
362db3d986
fix remarks
2016-01-05 22:45:52 +01:00
Felix Van der Jeugt
8873aba09f
rename strng to more sensible names
2016-01-05 21:44:29 +01:00
Felix Van der Jeugt
e28c1bf9b8
allow config files to be optional
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
32de5b76a9
urgh be awake
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
12cc96a94b
fix most of the-compiler's remarks
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
b89e0f8803
refactor all the things
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
9f81a9c3c6
lines also hey, a useful suggestion
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
cb8b16ecc5
yes, this looks less complex
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
aa9e58b520
take this, pep8
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
fc06283d91
fix more pep8/pylint complaints
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
d0979b9fac
fix pep8 and pylint errors
...
Though I quite disagree on some remarks, as usual.
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
4814abe286
refactor tag extraction and fix string shadowing
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
38803375f5
add dictionary config value and fix wrong variable
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
351420310d
fix some of the style warnings and errors
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
766a94a539
fixed when new hints are prefixes of existing
...
good thing I used this some days before any merging
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
1dfcf99d22
more extensive smart hinting
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
2f9051c6e1
shorten unique word hints
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
50b7f260c7
use link text as hints
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
86828930a2
use object state in stead of class state to store hint words
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
aaad8588b6
include dictionary parsing in first hinting
...
I though this would be to slow, but it's actually OK
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
f549b4aa1e
add word hint generator script
2016-01-05 20:43:29 +01:00
Felix Van der Jeugt
3be81ba62a
word hints should be generated on first call
2016-01-05 20:43:29 +01:00