Ryan Roden-Corrent
12112e0fc7
Implement command-accept --rapid.
...
command-accept --rapid will run the command without clearing the prompt,
allowing "rapid fire" commands. For example, one could open completion
for `open -t` and open several tabs in a row.
The default binding is ctrl+enter.
Resolves #588 .
2017-12-13 16:30:42 -05:00
Florian Bruhin
0a612db733
Rename/move encoding test
2017-12-13 21:13:47 +01:00
Florian Bruhin
ddcdfa54aa
Fix test for invalid guiprocess encoding
2017-12-13 21:12:56 +01:00
Kevin Velghe
cc4e8c1aae
fix password_fill using libsecret
2017-12-13 21:06:09 +01:00
Florian Bruhin
922b1e8f10
Use system locale to decode subprocess output
2017-12-13 20:09:56 +01:00
Florian Bruhin
07d07c7fae
Update changelog
2017-12-13 20:06:43 +01:00
Florian Bruhin
2b3250144b
Merge remote-tracking branch 'origin/pr/3388'
2017-12-13 20:06:00 +01:00
Florian Bruhin
cdb90cbee7
Regenerate docs
2017-12-13 19:59:54 +01:00
Florian Bruhin
afb0807064
Update changelog
2017-12-13 19:58:01 +01:00
Florian Bruhin
f32b4d88ba
Merge remote-tracking branch 'origin/pr/3385'
2017-12-13 19:56:53 +01:00
George Edward Bulmer
84e0ce757a
Fix erroneous docstring in a recently added test.
2017-12-13 14:50:25 +00:00
Ryan Roden-Corrent
6420037dd9
Fix histcategory query reuse logic.
...
I mistakenly checked the length of wheres instead of words. This fixes
that check, renames 'wheres' to 'where_clause' to be clear
that it is a string and not an array, and adds a test.
2017-12-13 08:39:34 -05:00
Ryan Roden-Corrent
2e36e5151e
Fix comment in histcategory.
2017-12-13 08:21:48 -05:00
George Edward Bulmer
28961ab177
Add a test with invalid unicode in spawned stdout.
...
stderr features identical behaviour, so is currently untested.
2017-12-13 12:46:46 +00:00
Florian Bruhin
4caf2fd8b7
Update changelog
2017-12-13 09:27:25 +01:00
Florian Bruhin
c8aef015b0
Merge remote-tracking branch 'origin/pr/3201'
2017-12-13 09:22:36 +01:00
Florian Bruhin
31e3356d01
Merge remote-tracking branch 'origin/pr/3382'
2017-12-13 08:43:21 +01:00
Florian Bruhin
bea71ed3a2
Remove :session-save --quiet test
...
When nothing gets logged, we can't check whether the session was already saved.
2017-12-13 08:41:29 +01:00
Ryan Roden-Corrent
ae294e92ad
Remove unused re import
2017-12-12 20:27:06 -05:00
Ryan Roden-Corrent
8358c76f86
Fix casing of LIKE in comment
2017-12-12 20:26:30 -05:00
Ryan Roden-Corrent
158cfa1194
Clean up "any order" SQL query code.
...
- Replace a list with a generator
- Add commments to the less obvious parts
- Simplify the binding variable names
2017-12-12 17:28:38 -05:00
George Edward Bulmer
16a9948759
Replace malformed utf-8 characters in spawn output.
...
Previously this simply crashed if there was ever malformed utf-8 in the
stderr or stdout streams, perhaps as a result of an incorrectly spawned
command. See e.g. #3222
2017-12-12 22:23:33 +00:00
Florian Bruhin
19596e3104
Make qute://log lines darker
2017-12-12 22:52:35 +01:00
George Edward Bulmer
4844a68bfc
Change a rogue re.fullmatch into a re.search.
...
Sometimes tests were timing out. Perhaps with fullmatch these tests were
rarely failing to parse the logs for the information.
2017-12-12 21:42:10 +00:00
Justin Partain
8f5394934f
Fix bad merge when rebasing incremental_search feature
2017-12-12 11:32:52 -05:00
Justin Partain
aff6510e35
Refactor _incremental_search() based on PR review
2017-12-12 11:31:28 -05:00
Justin Partain
bcd9d13684
Update tests to use search.ignore_case
2017-12-12 11:31:28 -05:00
Justin Partain
9f511fe18c
pylint fix, change if len(text) to if text
2017-12-12 11:31:28 -05:00
Justin Partain
8451899a76
Add block for ignore_case
2017-12-12 11:31:28 -05:00
Justin Partain
4eebd2a85d
Create config.search.* group with ignore_case and incremental
2017-12-12 11:31:28 -05:00
Justin Partain
bb2fcddcd4
Update incremental_search PR with changes from review
2017-12-12 11:31:28 -05:00
Justin Partain
77054cc063
Make 'Text not found on page!' warnings replace
2017-12-12 11:31:28 -05:00
Justin Partain
c1094b6660
Feature - incremental_search
...
Added config option to find on a page incrementally, renewing the search
each time a new character is entered.
2017-12-12 11:31:28 -05:00
George Edward Bulmer
9ca6baca4f
Modify instances of re.match to fullmatch or search.
...
This applies the changes to the tests directory only.
2017-12-12 15:07:37 +00:00
Florian Bruhin
22434f4d1b
Merge pull request #3386 from ykgmfq/patch-1
...
Fedora instructions for non-free codecs
2017-12-12 15:57:39 +01:00
ykgmfq
dadf6c0e0a
Fedora instructions for non-free codecs
2017-12-12 15:53:17 +01:00
George Edward Bulmer
b07a4c8c28
Add explicit left anchor to directory check regex.
2017-12-12 13:25:35 +00:00
George Edward Bulmer
3cf4e8ba67
Merge remote-tracking branch 'upstream/master' into regex-match
2017-12-12 13:22:11 +00:00
Ryan Roden-Corrent
6a20f9d4c9
Cache url query when possible.
...
We don't need to regenerate a new query every keystroke, but rather
every time the user adds a new word.
2017-12-12 07:37:31 -05:00
Florian Bruhin
5fe91c30cc
Fix :click-element with an ID containing non-alphanumeric characters
...
See #3201
2017-12-12 11:33:59 +01:00
Florian Bruhin
2e8acf4825
Improve terminating of test processes
...
There are various small changes here:
- If the process is already finished, we don't try to terminate it.
- On Windows, we use QProcess::kill instead of QProcess::terminate, as terminate
will only work with processes which have a GUI loop.
- We assert that quitting the suprocess actually worked.
Fixes #3384
2017-12-12 09:36:28 +01:00
Florian Bruhin
6655793e6a
Use 'terminate' to clean up webserver subprocess
...
We already have TestProcess.terminate which does exactly the same
WebserverProcess.cleanup does.
See #3384
2017-12-12 09:33:34 +01:00
Florian Bruhin
5a97e79099
Update changelog
2017-12-12 07:05:55 +01:00
Florian Bruhin
12f6304659
Fix indent
2017-12-12 07:03:48 +01:00
Florian Bruhin
8e319a762f
Merge remote-tracking branch 'origin/pr/3374'
2017-12-12 07:03:10 +01:00
Florian Bruhin
4f2f1a6494
Make sure editor test doesn't run on Windows
2017-12-12 06:57:39 +01:00
Florian Bruhin
1587181a76
Merge remote-tracking branch 'origin/pr/3380'
2017-12-12 06:51:53 +01:00
Florian Bruhin
81bfa81448
Don't run end2end tests on macOS anymore
...
They are just too flaky on macOS to be useful, and I have no idea how to make
things more stable there
2017-12-12 06:45:47 +01:00
George Edward Bulmer
f74832328f
Modify re.match usage in scripts directory.
2017-12-11 23:06:52 +00:00
George Edward Bulmer
747a9bc5b6
Modify usage of re.match to fit re.fullmatch or re.search.
...
re.match features an implicit left anchor, which can be surprising.
re.fullmatch features implicit anchors on both sides, but is aptly named
and unsurprising.
re.search has no such implicit anchors, which ought to be the default
even if a single anchor is needed.
2017-12-11 21:32:55 +00:00