diff options
author | Florian Bruhin <me@the-compiler.org> | 2019-08-01 18:24:47 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2019-08-01 18:24:47 +0200 |
commit | 6e0c17b510ed167ffdf054e359d33881427f46fc (patch) | |
tree | 538270ab87ee7e1dcbe928c3519c8a10d7ca7ef9 | |
parent | c14f646198645c670419b202c6e8a44e0ad51aa4 (diff) | |
download | qutebrowser-6e0c17b510ed167ffdf054e359d33881427f46fc.tar.gz qutebrowser-6e0c17b510ed167ffdf054e359d33881427f46fc.zip |
Fix some typos
-rw-r--r-- | doc/faq.asciidoc | 4 | ||||
-rwxr-xr-x | misc/userscripts/qute-keepass | 2 | ||||
-rw-r--r-- | qutebrowser/javascript/greasemonkey_wrapper.js | 2 | ||||
-rw-r--r-- | qutebrowser/javascript/webelem.js | 2 | ||||
-rw-r--r-- | scripts/dev/check_coverage.py | 6 | ||||
-rw-r--r-- | tests/unit/scripts/test_check_coverage.py | 6 | ||||
-rw-r--r-- | www/media/OpenSans-License.asciidoc | 4 |
7 files changed, 13 insertions, 13 deletions
diff --git a/doc/faq.asciidoc b/doc/faq.asciidoc index a044cdfb5..9d4c928df 100644 --- a/doc/faq.asciidoc +++ b/doc/faq.asciidoc @@ -79,7 +79,7 @@ QtWebEngine is based on Google's https://www.chromium.org/Home[Chromium]. While Qt only updates to a new Chromium release on every minor Qt release (all ~6 months), every patch release backports security fixes from newer Chromium versions. In other words: As long as you're using an up-to-date Qt, you should -be recieving security updates on a regular basis, without qutebrowser having to +be receiving security updates on a regular basis, without qutebrowser having to do anything. Chromium's process isolation and https://chromium.googlesource.com/chromium/src/+/master/docs/design/sandbox.md[sandboxing] features are also enabled as a second line of defense. @@ -314,7 +314,7 @@ Lastly, set your `qt.args` to point to that directory and restart qutebrowser: Unable to use `spawn` on MacOS.:: When running qutebrowser from the prebuilt binary (`qutebrowser.app`) it *will not* read any files that would alter your `$PATH` (e.g. `.profile`, `.bashrc`, -etc). This is not a bug, just that `.profile` is not propogated to GUI +etc). This is not a bug, just that `.profile` is not propagated to GUI applications in MacOS. + See https://github.com/qutebrowser/qutebrowser/issues/4273[Issue #4273] for diff --git a/misc/userscripts/qute-keepass b/misc/userscripts/qute-keepass index 071a8e95e..03f9152cc 100755 --- a/misc/userscripts/qute-keepass +++ b/misc/userscripts/qute-keepass @@ -244,7 +244,7 @@ def run(args): # Enter username and password using insert-key and fake-key <Tab> # (which supports more passwords than fake-key only), then switch back # into insert-mode, so the form can be directly submitted by hitting - # enter afterwards. It dosen't matter when we go into insert mode, but + # enter afterwards. It doesn't matter when we go into insert mode, but # the other commands need to be be executed sequentially, so we add # delays with later. qute_command('insert-text {} ;;' diff --git a/qutebrowser/javascript/greasemonkey_wrapper.js b/qutebrowser/javascript/greasemonkey_wrapper.js index f8c36151a..440a11904 100644 --- a/qutebrowser/javascript/greasemonkey_wrapper.js +++ b/qutebrowser/javascript/greasemonkey_wrapper.js @@ -100,7 +100,7 @@ const head = document.getElementsByTagName("head")[0]; if (head === undefined) { - // no head yet, stick it whereever + // no head yet, stick it wherever document.documentElement.appendChild(oStyle); } else { head.appendChild(oStyle); diff --git a/qutebrowser/javascript/webelem.js b/qutebrowser/javascript/webelem.js index 0bf65907c..516fde352 100644 --- a/qutebrowser/javascript/webelem.js +++ b/qutebrowser/javascript/webelem.js @@ -250,7 +250,7 @@ window._qutebrowser.webelem = (function() { }; // Runs a function in a frame until the result is not null, then return - // If no frame succeds, return null + // If no frame succeeds, return null function run_frames(func) { for (let i = 0; i < window.frames.length; ++i) { const frame = window.frames[i]; diff --git a/scripts/dev/check_coverage.py b/scripts/dev/check_coverage.py index 6c770adfa..0ef498955 100644 --- a/scripts/dev/check_coverage.py +++ b/scripts/dev/check_coverage.py @@ -46,7 +46,7 @@ class Message: text = attr.ib() -MsgType = enum.Enum('MsgType', 'insufficent_coverage, perfect_file') +MsgType = enum.Enum('MsgType', 'insufficient_coverage, perfect_file') # A list of (test_file, tested_file) tuples. test_file can be None. @@ -276,7 +276,7 @@ def check(fileobj, perfect_files): if filename in perfect_src_files and is_bad: text = "{} has {:.2f}% line and {:.2f}% branch coverage!".format( filename, line_cov, branch_cov) - messages.append(Message(MsgType.insufficent_coverage, filename, + messages.append(Message(MsgType.insufficient_coverage, filename, text)) elif (filename not in perfect_src_files and not is_bad and filename not in WHITELISTED_FILES): @@ -339,7 +339,7 @@ def main_check_all(): os.remove('coverage.xml') messages = [msg for msg in messages - if msg.typ == MsgType.insufficent_coverage] + if msg.typ == MsgType.insufficient_coverage] if messages: for msg in messages: print(msg.text) diff --git a/tests/unit/scripts/test_check_coverage.py b/tests/unit/scripts/test_check_coverage.py index 86e4ece4e..c526ac740 100644 --- a/tests/unit/scripts/test_check_coverage.py +++ b/tests/unit/scripts/test_check_coverage.py @@ -130,7 +130,7 @@ def test_untested(covtest): """) covtest.run() expected = check_coverage.Message( - check_coverage.MsgType.insufficent_coverage, + check_coverage.MsgType.insufficient_coverage, 'module.py', 'module.py has 75.00% line and 100.00% branch coverage!') assert covtest.check() == [expected] @@ -159,7 +159,7 @@ def test_untested_floats(covtest): """) covtest.run() expected = check_coverage.Message( - check_coverage.MsgType.insufficent_coverage, + check_coverage.MsgType.insufficient_coverage, 'module.py', 'module.py has 58.33% line and 100.00% branch coverage!') assert covtest.check() == [expected] @@ -178,7 +178,7 @@ def test_untested_branches(covtest): """) covtest.run() expected = check_coverage.Message( - check_coverage.MsgType.insufficent_coverage, + check_coverage.MsgType.insufficient_coverage, 'module.py', 'module.py has 100.00% line and 50.00% branch coverage!') assert covtest.check() == [expected] diff --git a/www/media/OpenSans-License.asciidoc b/www/media/OpenSans-License.asciidoc index eee8aa73c..9d8122f39 100644 --- a/www/media/OpenSans-License.asciidoc +++ b/www/media/OpenSans-License.asciidoc @@ -15,7 +15,7 @@ MANIFEST.json ------------- Here's an excerpt of the https://github.com/google/fonts/blob/master/apache/opensans/METADATA.json[MANIFEST.json] file -from https://github.com/google/fonts/blob/master/apache/opensans/[the offical repository]: +from https://github.com/google/fonts/blob/master/apache/opensans/[the official repository]: ---- { @@ -252,4 +252,4 @@ The Apache 2.0 License text WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -----
\ No newline at end of file +---- |