Florian Bruhin
e35d284282
Remove blank line.
2015-05-13 06:32:09 +02:00
Florian Bruhin
9fde38d96a
Reset CaretBrowsingEnabled to original value.
2015-05-13 06:31:48 +02:00
Florian Bruhin
e62ba57291
Always save last window session.
...
len(objreg.window_registry) can actually lag behind because single-shot QTimers
are used to remove the windows from the registry - but actually it doesn't even
matter if this is the last window or not. We just always save to
SessionManager._last_window_session, and it gets used in SessionManager.save.
Fixes #650 .
2015-05-12 21:04:18 +02:00
Florian Bruhin
2775f2b2ee
Add some more tests.
2015-05-12 19:15:27 +02:00
Florian Bruhin
7edfdaa271
Add test for invisible elements.
2015-05-12 19:08:54 +02:00
Florian Bruhin
54ae6a63ee
Fix lint.
2015-05-12 17:58:53 +02:00
Florian Bruhin
2b440bc8db
Handle QWebPage javascript methods.
2015-05-12 17:44:06 +02:00
Florian Bruhin
27a34d5499
Close anchor.
2015-05-12 17:32:33 +02:00
Florian Bruhin
aa2e5a35d6
Add javascript tests for position_caret.js.
2015-05-12 17:05:01 +02:00
Florian Bruhin
ae512f451e
Fix lint.
2015-05-12 09:10:02 +02:00
Florian Bruhin
c88393ccfd
Add minimal key tester script.
...
See #658 .
2015-05-12 09:03:25 +02:00
Florian Bruhin
d9655f5eb9
Merge branch 'Zach-Button-master'
2015-05-12 07:50:09 +02:00
Florian Bruhin
3cb756699f
Regenerate authors.
2015-05-12 07:50:03 +02:00
Florian Bruhin
785f948bc7
Correct typo.
2015-05-12 07:49:53 +02:00
Florian Bruhin
38ac2c6598
Merge branch 'master' of https://github.com/Zach-Button/qutebrowser into Zach-Button-master
2015-05-12 07:49:29 +02:00
Florian Bruhin
a960658617
js: Fix more lint.
2015-05-12 07:16:16 +02:00
Florian Bruhin
28ec7b4698
js: Fix radix parameters.
2015-05-12 07:16:13 +02:00
Florian Bruhin
d1e88c5e8d
js: Add 'var'.
2015-05-12 07:16:10 +02:00
Florian Bruhin
3f21ac6b6a
js: Use an IIFE.
2015-05-12 07:16:10 +02:00
Florian Bruhin
7a67af24f0
js: Fix some lint.
2015-05-12 07:16:08 +02:00
Florian Bruhin
f36a7444d7
js: Add .eslintrc.
2015-05-12 07:16:05 +02:00
Florian Bruhin
418934644b
Improve docstrings.
2015-05-11 22:29:44 +02:00
Florian Bruhin
8b435ec88f
doc: Improve Arch install instructions.
2015-05-11 22:23:03 +02:00
Florian Bruhin
756aa3e16f
Fix tests because of new '0' key handling.
2015-05-11 21:10:18 +02:00
Florian Bruhin
1f94e0fee6
js: Remove obsolete argument to createTreeWalker.
...
"createNodeIterator() and createTreeWalker() now have optional arguments and
lack a fourth argument which is no longer relevant given entity references
never made it into the DOM."
2015-05-11 20:33:42 +02:00
Florian Bruhin
37050c49fc
Include .js files in MANIFEST.
2015-05-11 20:33:16 +02:00
Florian Bruhin
a36c0fcd4c
Fix lint.
2015-05-11 20:32:27 +02:00
Florian Bruhin
d3c6ebcf15
Rename caret_selection to caret-selection.
2015-05-11 20:21:01 +02:00
Florian Bruhin
012e124eaf
Merge pull request #653 from artur-shaik/visual
...
Visual
2015-05-11 20:19:01 +02:00
Florian Bruhin
9fadc78e4d
Update changelog.
2015-05-11 19:51:49 +02:00
Florian Bruhin
6f620a6a9e
Handle title correctly for pages without title.
...
Fixes #667 .
2015-05-11 19:11:49 +02:00
Florian Bruhin
21dcf73e38
Add testresults.html to .gitignore.
2015-05-10 22:10:30 +02:00
Florian Bruhin
18eace37f8
tox: Add pytest-html.
2015-05-10 21:47:05 +02:00
Florian Bruhin
452e03f9af
Rewrite test_lineparser.py to use pytest.
...
See #660 .
2015-05-10 16:19:30 +02:00
Florian Bruhin
db0a54b03f
Rewrite test_crashdialog.py to use pytest.
...
See #660 .
2015-05-10 16:19:30 +02:00
Florian Bruhin
392fb3e1d7
Rewrite test_neighborlist.py to use pytest.
...
See #660 .
2015-05-10 16:19:30 +02:00
Florian Bruhin
021c94eece
Rewrite test_enum.py to use pytest.
...
See #660 .
2015-05-10 16:19:30 +02:00
Florian Bruhin
8398fe3bdd
Rewrite test_log.py to use pytest.
...
See #660 .
2015-05-10 16:19:30 +02:00
Florian Bruhin
99a4765e75
Fix confusing websetting log output.
2015-05-10 14:50:56 +02:00
Florian Bruhin
41ecc0ad3d
Merge remote-tracking branch 'github/master'
2015-05-07 22:57:19 +02:00
Florian Bruhin
f9876823b8
Add a new config_stub fixture.
...
This replaces various other constructs:
- The default_config fixture - this means the config values used by
test_progress.py are set explicitly and the (rather complex) default config
is mocked out.
- stubs.ConfigStub which was created by the tests manually before.
2015-05-07 22:56:31 +02:00
Florian Bruhin
7975bd8796
Remove unused import.
2015-05-07 22:55:21 +02:00
Florian Bruhin
8837abc208
Merge pull request #659 from The-Compiler/config-stub
...
Add a new config_stub fixture.
2015-05-07 22:17:56 +02:00
Florian Bruhin
ad822b72c7
tox: Update py to 1.27.
...
Upstream changelog:
- fix issue59: point to new repo site
- allow a new ensuresyspath="append" mode for py.path.local.pyimport()
so that a neccessary import path is appended instead of prepended to
sys.path
- strike undocumented, untested argument to py.path.local.pypkgpath
- speed up py.path.local.dirpath by a factor of 10
2015-05-07 14:50:32 +02:00
Florian Bruhin
ec43aab999
Add a new config_stub fixture.
...
This replaces various other constructs:
- The default_config fixture - this means the config values used by
test_progress.py are set explicitly and the (rather complex) default config
is mocked out.
- stubs.ConfigStub which was created by the tests manually before.
2015-05-07 09:50:25 +02:00
Florian Bruhin
3b5b49daac
Move quitter/signal/crash_handler out of qApp.
2015-05-07 09:23:34 +02:00
Artur Shaik
57cad14714
Move JS snippet in external js file.
2015-05-07 12:41:02 +06:00
Artur Shaik
778ad5df3a
Comment clean.
2015-05-07 12:23:33 +06:00
Artur Shaik
d936be450b
Add jumps through text blocks in caret mode.
2015-05-07 12:19:35 +06:00
Artur Shaik
178d0dfa58
Add count for actions. Zero key treat as command.
2015-05-07 11:51:10 +06:00