Various spelling fixes
This commit is contained in:
parent
79935e048c
commit
c8de4675db
@ -1143,7 +1143,7 @@ Added
|
|||||||
- New `:fake-key` command to send a fake keypress to a website or to
|
- New `:fake-key` command to send a fake keypress to a website or to
|
||||||
qutebrowser.
|
qutebrowser.
|
||||||
- New `--mhtml` argument for `:download` to download a page including all
|
- New `--mhtml` argument for `:download` to download a page including all
|
||||||
ressources as MHTML file.
|
resources as MHTML file.
|
||||||
- New option `tabs -> title-alignment` to change the alignment of tab titles.
|
- New option `tabs -> title-alignment` to change the alignment of tab titles.
|
||||||
|
|
||||||
Changed
|
Changed
|
||||||
@ -1343,7 +1343,7 @@ Added
|
|||||||
- New argument `--no-err-windows` to suppress all error windows.
|
- New argument `--no-err-windows` to suppress all error windows.
|
||||||
- New arguments `--top-navigate` and `--bottom-navigate` (`-t`/`-b`) for `:scroll-page` to specify a navigation action (e.g. automatically go to the next page when arriving at the bottom).
|
- New arguments `--top-navigate` and `--bottom-navigate` (`-t`/`-b`) for `:scroll-page` to specify a navigation action (e.g. automatically go to the next page when arriving at the bottom).
|
||||||
- New flag `-d`/`--detach` for `:spawn` to detach the spawned process so it's not closed when qutebrowser is.
|
- New flag `-d`/`--detach` for `:spawn` to detach the spawned process so it's not closed when qutebrowser is.
|
||||||
- New flag `-v`/`--verbose` for `:spawn` to print informations when the process started/exited successfully.
|
- New flag `-v`/`--verbose` for `:spawn` to print information when the process started/exited successfully.
|
||||||
- Many new color settings (foreground setting for every background setting).
|
- Many new color settings (foreground setting for every background setting).
|
||||||
- New setting `ui -> modal-js-dialog` to use the standard modal dialogs for javascript questions instead of using the statusbar.
|
- New setting `ui -> modal-js-dialog` to use the standard modal dialogs for javascript questions instead of using the statusbar.
|
||||||
- New setting `colors -> webpage.bg` to set the background color to use for websites which don't set one.
|
- New setting `colors -> webpage.bg` to set the background color to use for websites which don't set one.
|
||||||
|
@ -375,7 +375,7 @@ The following logging levels are available for every logger:
|
|||||||
|error |There was an issue and some kind of operation was abandoned.
|
|error |There was an issue and some kind of operation was abandoned.
|
||||||
|warning |There was an issue but the operation can continue running.
|
|warning |There was an issue but the operation can continue running.
|
||||||
|info |General informational messages.
|
|info |General informational messages.
|
||||||
|debug |Verbose debugging informations.
|
|debug |Verbose debugging information.
|
||||||
|=======================================================================
|
|=======================================================================
|
||||||
|
|
||||||
[[commands]]
|
[[commands]]
|
||||||
|
@ -254,7 +254,7 @@ Getting the config directory
|
|||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
If you need to get the qutebrowser config directory, you can do so by reading
|
If you need to get the qutebrowser config directory, you can do so by reading
|
||||||
`config.configdir`. Similarily, you can get the qutebrowser data directory via
|
`config.configdir`. Similarly, you can get the qutebrowser data directory via
|
||||||
`config.datadir`.
|
`config.datadir`.
|
||||||
|
|
||||||
This gives you a https://docs.python.org/3/library/pathlib.html[`pathlib.Path`
|
This gives you a https://docs.python.org/3/library/pathlib.html[`pathlib.Path`
|
||||||
|
@ -1580,7 +1580,7 @@ Default: +pass:[true]+
|
|||||||
[[content.headers.referer]]
|
[[content.headers.referer]]
|
||||||
=== content.headers.referer
|
=== content.headers.referer
|
||||||
When to send the Referer header.
|
When to send the Referer header.
|
||||||
The Referer header tells websites from which website you were coming from when visting them.
|
The Referer header tells websites from which website you were coming from when visiting them.
|
||||||
|
|
||||||
Type: <<types,String>>
|
Type: <<types,String>>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ is available in the repositories:
|
|||||||
Archlinux
|
Archlinux
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
|
|
||||||
For Archlinux, no debug informations are provided. You can either compile Qt
|
For Archlinux, no debug information is provided. You can either compile Qt
|
||||||
yourself (which will take a few hours even on a modern machine) or use
|
yourself (which will take a few hours even on a modern machine) or use
|
||||||
debugging symbols compiled/packaged by me (x86_64 only).
|
debugging symbols compiled/packaged by me (x86_64 only).
|
||||||
|
|
||||||
|
@ -134,7 +134,7 @@ class GreasemonkeyManager(QObject):
|
|||||||
Signals:
|
Signals:
|
||||||
scripts_reloaded: Emitted when scripts are reloaded from disk.
|
scripts_reloaded: Emitted when scripts are reloaded from disk.
|
||||||
Any cached or already-injected scripts should be
|
Any cached or already-injected scripts should be
|
||||||
considered obselete.
|
considered obsolete.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
scripts_reloaded = pyqtSignal()
|
scripts_reloaded = pyqtSignal()
|
||||||
|
@ -193,10 +193,10 @@ class Command:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def _inspect_func(self):
|
def _inspect_func(self):
|
||||||
"""Inspect the function to get useful informations from it.
|
"""Inspect the function to get useful information from it.
|
||||||
|
|
||||||
Sets instance attributes (desc, type_conv, name_conv) based on the
|
Sets instance attributes (desc, type_conv, name_conv) based on the
|
||||||
informations.
|
information.
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
How many user-visible arguments the command has.
|
How many user-visible arguments the command has.
|
||||||
|
@ -360,7 +360,7 @@ content.headers.referer:
|
|||||||
When to send the Referer header.
|
When to send the Referer header.
|
||||||
|
|
||||||
The Referer header tells websites from which website you were coming from
|
The Referer header tells websites from which website you were coming from
|
||||||
when visting them.
|
when visiting them.
|
||||||
|
|
||||||
content.headers.user_agent:
|
content.headers.user_agent:
|
||||||
default: null
|
default: null
|
||||||
|
@ -191,7 +191,7 @@ def _handle_nouveau_graphics():
|
|||||||
text="<p>There are two ways to fix this:</p>"
|
text="<p>There are two ways to fix this:</p>"
|
||||||
"<p><b>Forcing software rendering</b></p>"
|
"<p><b>Forcing software rendering</b></p>"
|
||||||
"<p>This allows you to use the newer QtWebEngine backend (based "
|
"<p>This allows you to use the newer QtWebEngine backend (based "
|
||||||
"on Chromium) but could have noticable performance impact "
|
"on Chromium) but could have noticeable performance impact "
|
||||||
"(depending on your hardware). "
|
"(depending on your hardware). "
|
||||||
"This sets the <i>qt.force_software_rendering = True</i> option "
|
"This sets the <i>qt.force_software_rendering = True</i> option "
|
||||||
"(if you have a <i>config.py</i> file, you'll need to set this "
|
"(if you have a <i>config.py</i> file, you'll need to set this "
|
||||||
|
@ -77,7 +77,7 @@ class Saveable:
|
|||||||
Args:
|
Args:
|
||||||
is_exit: Whether we're currently exiting qutebrowser.
|
is_exit: Whether we're currently exiting qutebrowser.
|
||||||
explicit: Whether the user explicitly requested this save.
|
explicit: Whether the user explicitly requested this save.
|
||||||
silent: Don't write informations to log.
|
silent: Don't write information to log.
|
||||||
force: Force saving, no matter what.
|
force: Force saving, no matter what.
|
||||||
"""
|
"""
|
||||||
if (self._config_opt is not None and
|
if (self._config_opt is not None and
|
||||||
@ -157,7 +157,7 @@ class SaveManager(QObject):
|
|||||||
Args:
|
Args:
|
||||||
is_exit: Whether we're currently exiting qutebrowser.
|
is_exit: Whether we're currently exiting qutebrowser.
|
||||||
explicit: Whether this save operation was triggered explicitly.
|
explicit: Whether this save operation was triggered explicitly.
|
||||||
silent: Don't write informations to log. Used to reduce log spam
|
silent: Don't write information to log. Used to reduce log spam
|
||||||
when autosaving.
|
when autosaving.
|
||||||
force: Force saving, no matter what.
|
force: Force saving, no matter what.
|
||||||
"""
|
"""
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""Utilities to show various version informations."""
|
"""Utilities to show various version information."""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
@ -167,7 +167,7 @@ def _git_str_subprocess(gitpath):
|
|||||||
|
|
||||||
|
|
||||||
def _release_info():
|
def _release_info():
|
||||||
"""Try to gather distribution release informations.
|
"""Try to gather distribution release information.
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
list of (filename, content) tuples.
|
list of (filename, content) tuples.
|
||||||
@ -335,7 +335,7 @@ def _uptime() -> datetime.timedelta:
|
|||||||
|
|
||||||
|
|
||||||
def version():
|
def version():
|
||||||
"""Return a string with various version informations."""
|
"""Return a string with various version information."""
|
||||||
lines = ["qutebrowser v{}".format(qutebrowser.__version__)]
|
lines = ["qutebrowser v{}".format(qutebrowser.__version__)]
|
||||||
gitver = _git_str()
|
gitver = _git_str()
|
||||||
if gitver is not None:
|
if gitver is not None:
|
||||||
|
@ -89,7 +89,7 @@ def check_spelling():
|
|||||||
'[Ww]ether', '[Pp]rogramatically', '[Ss]plitted', '[Ee]xitted',
|
'[Ww]ether', '[Pp]rogramatically', '[Ss]plitted', '[Ee]xitted',
|
||||||
'[Mm]ininum', '[Rr]esett?ed', '[Rr]ecieved', '[Rr]egularily',
|
'[Mm]ininum', '[Rr]esett?ed', '[Rr]ecieved', '[Rr]egularily',
|
||||||
'[Uu]nderlaying', '[Ii]nexistant', '[Ee]lipsis', 'commiting',
|
'[Uu]nderlaying', '[Ii]nexistant', '[Ee]lipsis', 'commiting',
|
||||||
'existant', '[Rr]esetted'}
|
'existant', '[Rr]esetted', '[Ss]imilarily', '[Ii]nformations'}
|
||||||
|
|
||||||
# Words which look better when splitted, but might need some fine tuning.
|
# Words which look better when splitted, but might need some fine tuning.
|
||||||
words |= {'[Ww]ebelements', '[Mm]ouseevent', '[Kk]eysequence',
|
words |= {'[Ww]ebelements', '[Mm]ouseevent', '[Kk]eysequence',
|
||||||
|
@ -63,7 +63,7 @@ def pytest_runtest_makereport(item, call):
|
|||||||
if (not hasattr(report.longrepr, 'addsection') or
|
if (not hasattr(report.longrepr, 'addsection') or
|
||||||
not hasattr(report, 'scenario')):
|
not hasattr(report, 'scenario')):
|
||||||
# In some conditions (on macOS and Windows it seems), report.longrepr
|
# In some conditions (on macOS and Windows it seems), report.longrepr
|
||||||
# is actually a tuple. This is handled similarily in pytest-qt too.
|
# is actually a tuple. This is handled similarly in pytest-qt too.
|
||||||
#
|
#
|
||||||
# Since this hook is invoked for any test, we also need to skip it for
|
# Since this hook is invoked for any test, we also need to skip it for
|
||||||
# non-BDD ones.
|
# non-BDD ones.
|
||||||
@ -389,7 +389,7 @@ def clear_ssl_errors(request, quteproc):
|
|||||||
def path_should_be_loaded(quteproc, path):
|
def path_should_be_loaded(quteproc, path):
|
||||||
"""Make sure the given path was loaded according to the log.
|
"""Make sure the given path was loaded according to the log.
|
||||||
|
|
||||||
This is usally the better check compared to "should be requested" as the
|
This is usually the better check compared to "should be requested" as the
|
||||||
page could be loaded from local cache.
|
page could be loaded from local cache.
|
||||||
"""
|
"""
|
||||||
quteproc.wait_for_load_finished(path)
|
quteproc.wait_for_load_finished(path)
|
||||||
|
@ -211,7 +211,7 @@ Feature: Using hints
|
|||||||
And I hint with args "links normal" and follow a
|
And I hint with args "links normal" and follow a
|
||||||
Then "navigation request: url http://localhost:*/data/hello.txt, type NavigationTypeLinkClicked, *" should be logged
|
Then "navigation request: url http://localhost:*/data/hello.txt, type NavigationTypeLinkClicked, *" should be logged
|
||||||
|
|
||||||
### FIXME currenly skipped, see https://github.com/qutebrowser/qutebrowser/issues/1525
|
### FIXME currently skipped, see https://github.com/qutebrowser/qutebrowser/issues/1525
|
||||||
@xfail_norun
|
@xfail_norun
|
||||||
Scenario: Using :follow-hint inside a scrolled iframe
|
Scenario: Using :follow-hint inside a scrolled iframe
|
||||||
When I open data/hints/iframe_scroll.html
|
When I open data/hints/iframe_scroll.html
|
||||||
|
@ -117,7 +117,7 @@ Feature: Miscellaneous utility commands exposed to the user.
|
|||||||
And the message "test2" should be shown
|
And the message "test2" should be shown
|
||||||
And the message "test2" should be shown
|
And the message "test2" should be shown
|
||||||
|
|
||||||
Scenario: :repeat-command with not-normal command inbetween
|
Scenario: :repeat-command with not-normal command in between
|
||||||
When I run :message-info test3
|
When I run :message-info test3
|
||||||
And I run :prompt-accept
|
And I run :prompt-accept
|
||||||
And I run :repeat-command
|
And I run :repeat-command
|
||||||
|
@ -101,7 +101,7 @@ def pytest_runtest_makereport(item, call):
|
|||||||
|
|
||||||
if not hasattr(report.longrepr, 'addsection'):
|
if not hasattr(report.longrepr, 'addsection'):
|
||||||
# In some conditions (on macOS and Windows it seems), report.longrepr
|
# In some conditions (on macOS and Windows it seems), report.longrepr
|
||||||
# is actually a tuple. This is handled similarily in pytest-qt too.
|
# is actually a tuple. This is handled similarly in pytest-qt too.
|
||||||
return
|
return
|
||||||
|
|
||||||
if item.config.getoption('--capture') == 'no':
|
if item.config.getoption('--capture') == 'no':
|
||||||
|
@ -117,7 +117,7 @@ def test_replaced_messages(view, replace1, replace2, length):
|
|||||||
(Qt.BackButton, 2),
|
(Qt.BackButton, 2),
|
||||||
])
|
])
|
||||||
def test_click_messages(qtbot, view, button, count):
|
def test_click_messages(qtbot, view, button, count):
|
||||||
"""Messages should dissappear when we click on them."""
|
"""Messages should disappear when we click on them."""
|
||||||
view.show_message(usertypes.MessageLevel.info, 'test mouse click')
|
view.show_message(usertypes.MessageLevel.info, 'test mouse click')
|
||||||
view.show_message(usertypes.MessageLevel.info, 'test mouse click 2')
|
view.show_message(usertypes.MessageLevel.info, 'test mouse click 2')
|
||||||
qtbot.mousePress(view, button)
|
qtbot.mousePress(view, button)
|
||||||
|
Loading…
Reference in New Issue
Block a user