mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-11 14:45:31 +03:00
Convert HTTP URLs to HTTPS URLs where possible
This commit is contained in:
parent
e5afc5297a
commit
d8eeed2296
8
LICENSE
8
LICENSE
@ -1,7 +1,7 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 3, 29 June 2007
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
|
|||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
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 this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
|
|||||||
You should also get your employer (if you work as a programmer) or school,
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
For more information on this, and how to apply and follow the GNU GPL, see
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
<http://www.gnu.org/licenses/>.
|
<https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
The GNU General Public License does not permit incorporating your program
|
The GNU General Public License does not permit incorporating your program
|
||||||
into proprietary programs. If your program is a subroutine library, you
|
into proprietary programs. If your program is a subroutine library, you
|
||||||
may consider it more useful to permit linking proprietary applications with
|
may consider it more useful to permit linking proprietary applications with
|
||||||
the library. If this is what you want to do, use the GNU Lesser General
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
Public License instead of this License. But first, please read
|
Public License instead of this License. But first, please read
|
||||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
<https://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||||
|
@ -88,7 +88,7 @@ def setup_openssl_environment():
|
|||||||
# Workaround for Linux distros that have still failed to get their heads
|
# Workaround for Linux distros that have still failed to get their heads
|
||||||
# out of their asses and implement a common location for SSL certificates.
|
# out of their asses and implement a common location for SSL certificates.
|
||||||
# It's not that hard people, there exists a wonderful tool called the symlink
|
# It's not that hard people, there exists a wonderful tool called the symlink
|
||||||
# See http://www.mobileread.com/forums/showthread.php?t=256095
|
# See https://www.mobileread.com/forums/showthread.php?t=256095
|
||||||
if 'SSL_CERT_FILE' not in os.environ and 'SSL_CERT_DIR' not in os.environ:
|
if 'SSL_CERT_FILE' not in os.environ and 'SSL_CERT_DIR' not in os.environ:
|
||||||
if os.access('/etc/pki/tls/certs/ca-bundle.crt', os.R_OK):
|
if os.access('/etc/pki/tls/certs/ca-bundle.crt', os.R_OK):
|
||||||
os.environ['SSL_CERT_FILE'] = '/etc/pki/tls/certs/ca-bundle.crt'
|
os.environ['SSL_CERT_FILE'] = '/etc/pki/tls/certs/ca-bundle.crt'
|
||||||
|
@ -107,7 +107,7 @@ without needing to install all of |kitty|.
|
|||||||
development package of :file:`ncurses`. Also, if you are building from
|
development package of :file:`ncurses`. Also, if you are building from
|
||||||
a git checkout instead of the released source code tarball, you will
|
a git checkout instead of the released source code tarball, you will
|
||||||
need :file:`sphinx-build` from the `Sphinx documentation generator
|
need :file:`sphinx-build` from the `Sphinx documentation generator
|
||||||
<http://www.sphinx-doc.org/>`_.
|
<https://www.sphinx-doc.org/>`_.
|
||||||
|
|
||||||
This applies to creating packages for |kitty| for macOS package managers such as
|
This applies to creating packages for |kitty| for macOS package managers such as
|
||||||
brew or MacPorts as well.
|
brew or MacPorts as well.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# This file does only contain a selection of the most common options. For a
|
# This file does only contain a selection of the most common options. For a
|
||||||
# full list see the documentation:
|
# full list see the documentation:
|
||||||
# http://www.sphinx-doc.org/en/master/config
|
# https://www.sphinx-doc.org/en/master/config
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
@ -96,7 +96,7 @@ How do I change the colors in a running kitty instance?
|
|||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
You can either use the
|
You can either use the
|
||||||
`OSC terminal escape codes <http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Operating-System-Commands>`_
|
`OSC terminal escape codes <https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Operating-System-Commands>`_
|
||||||
to set colors or you can enable :doc:`remote control <remote-control>`
|
to set colors or you can enable :doc:`remote control <remote-control>`
|
||||||
for |kitty| and use :ref:`at_set-colors`.
|
for |kitty| and use :ref:`at_set-colors`.
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ The motivation for this extension is the various problems with the existing
|
|||||||
solution for erasing to background color, namely the *background color erase
|
solution for erasing to background color, namely the *background color erase
|
||||||
(bce)* capability. See
|
(bce)* capability. See
|
||||||
`this discussion <https://github.com/kovidgoyal/kitty/issues/160#issuecomment-346470545>`_
|
`this discussion <https://github.com/kovidgoyal/kitty/issues/160#issuecomment-346470545>`_
|
||||||
and `this FAQ <http://invisible-island.net/ncurses/ncurses.faq.html#bce_mismatches>`_
|
and `this FAQ <https://invisible-island.net/ncurses/ncurses.faq.html#bce_mismatches>`_
|
||||||
for a summary of problems with *bce*.
|
for a summary of problems with *bce*.
|
||||||
|
|
||||||
For example, to set the background color to blue in a
|
For example, to set the background color to blue in a
|
||||||
|
2
kitty/charsets.c
generated
2
kitty/charsets.c
generated
@ -211,7 +211,7 @@ translation_table(uint32_t which) {
|
|||||||
|
|
||||||
uint32_t *latin1_charset = charset_translations[0];
|
uint32_t *latin1_charset = charset_translations[0];
|
||||||
|
|
||||||
// UTF-8 decode taken from: http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
|
// UTF-8 decode taken from: https://bjoern.hoehrmann.de/utf-8/decoder/dfa/
|
||||||
|
|
||||||
static const uint8_t utf8_data[] = {
|
static const uint8_t utf8_data[] = {
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, // 00..1f
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, // 00..1f
|
||||||
|
@ -85,9 +85,9 @@ def uniq(vals, result_type=list):
|
|||||||
_('Keyboard shortcuts'),
|
_('Keyboard shortcuts'),
|
||||||
_('''\
|
_('''\
|
||||||
For a list of key names, see: :link:`GLFW keys
|
For a list of key names, see: :link:`GLFW keys
|
||||||
<http://www.glfw.org/docs/latest/group__keys.html>`. The name to use is the part
|
<https://www.glfw.org/docs/latest/group__keys.html>`. The name to use is the part
|
||||||
after the :code:`GLFW_KEY_` prefix. For a list of modifier names, see:
|
after the :code:`GLFW_KEY_` prefix. For a list of modifier names, see:
|
||||||
:link:`GLFW mods <http://www.glfw.org/docs/latest/group__mods.html>`
|
:link:`GLFW mods <https://www.glfw.org/docs/latest/group__mods.html>`
|
||||||
|
|
||||||
On Linux you can also use XKB key names to bind keys that are not supported by
|
On Linux you can also use XKB key names to bind keys that are not supported by
|
||||||
GLFW. See :link:`XKB keys
|
GLFW. See :link:`XKB keys
|
||||||
|
2
kitty/khrplatform.h
generated
2
kitty/khrplatform.h
generated
@ -38,7 +38,7 @@
|
|||||||
*
|
*
|
||||||
* See the Implementer's Guidelines for information about where this file
|
* See the Implementer's Guidelines for information about where this file
|
||||||
* should be located on your system and for more details of its use:
|
* should be located on your system and for more details of its use:
|
||||||
* http://www.khronos.org/registry/implementers_guide.pdf
|
* https://www.khronos.org/registry/implementers_guide.pdf
|
||||||
*
|
*
|
||||||
* This file should be included as
|
* This file should be included as
|
||||||
* #include <KHR/khrplatform.h>
|
* #include <KHR/khrplatform.h>
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
#define ALTERNATE_SCREEN (1049 << 5)
|
#define ALTERNATE_SCREEN (1049 << 5)
|
||||||
|
|
||||||
// Bracketed paste mode
|
// Bracketed paste mode
|
||||||
// http://cirw.in/blog/bracketed-paste
|
// https://cirw.in/blog/bracketed-paste
|
||||||
#define BRACKETED_PASTE (2004 << 5)
|
#define BRACKETED_PASTE (2004 << 5)
|
||||||
#define BRACKETED_PASTE_START "200~"
|
#define BRACKETED_PASTE_START "200~"
|
||||||
#define BRACKETED_PASTE_END "201~"
|
#define BRACKETED_PASTE_END "201~"
|
||||||
|
@ -459,7 +459,7 @@ screen_align(Screen *self) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
screen_alignment_display(Screen *self) {
|
screen_alignment_display(Screen *self) {
|
||||||
// http://www.vt100.net/docs/vt510-rm/DECALN.html
|
// https://www.vt100.net/docs/vt510-rm/DECALN.html
|
||||||
screen_cursor_position(self, 1, 1);
|
screen_cursor_position(self, 1, 1);
|
||||||
self->margin_top = 0; self->margin_bottom = self->lines - 1;
|
self->margin_top = 0; self->margin_bottom = self->lines - 1;
|
||||||
for (unsigned int y = 0; y < self->linebuf->ynum; y++) {
|
for (unsigned int y = 0; y < self->linebuf->ynum; y++) {
|
||||||
|
@ -29,7 +29,7 @@ alloc_sprite_map(unsigned int cell_width, unsigned int cell_height) {
|
|||||||
glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &(max_array_texture_layers));
|
glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &(max_array_texture_layers));
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
// Since on Apple we could have multiple GPUs, with different capabilities,
|
// Since on Apple we could have multiple GPUs, with different capabilities,
|
||||||
// upper bound the values according to the data from http://developer.apple.com/graphicsimaging/opengl/capabilities/
|
// upper bound the values according to the data from https://developer.apple.com/graphicsimaging/opengl/capabilities/
|
||||||
max_texture_size = MIN(8192, max_texture_size);
|
max_texture_size = MIN(8192, max_texture_size);
|
||||||
max_array_texture_layers = MIN(512, max_array_texture_layers);
|
max_array_texture_layers = MIN(512, max_array_texture_layers);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user