Commit Graph
4911 Commits
Author SHA1 Message Date
Kovid Goyal a796a6cbef Use exponential notation in monotonic.h 2019-12-19 17:22:33 +05:30
Kovid Goyal 4766d7de82 Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty 2019-12-19 17:19:42 +05:30
Luflosi 4a3686c16c X11: Cleanup
From upstream: https://github.com/glfw/glfw/commit/73a8ebb691813ccdc1531c1bd916c352ac0b7574.
2019-12-19 12:38:56 +01:00
Kovid Goyal b49105495c Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty 2019-12-19 17:07:42 +05:30
Luflosi ca2eda2c5b X11: Cleanup
From upstream: https://github.com/glfw/glfw/commit/4e70c95aa3bcb666320e17f2097f33d18a7fc225.
2019-12-19 12:35:44 +01:00
Kovid Goyal 4fc7c4aafc Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty 2019-12-19 17:05:10 +05:30
Luflosi 0981828493 X11: Fix updating GLFW_FLOATING on a hidden window
From upstream: https://github.com/glfw/glfw/commit/9db156421f038e5a269a63d59e509f4fb1e2392b.
2019-12-19 12:31:31 +01:00
Kovid Goyal 6bc4f18a59 Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty 2019-12-19 16:59:26 +05:30
Luflosi 79532a315c X11: Fix invalid read when clearing GLFW_FLOATING
From upstream: https://github.com/glfw/glfw/commit/0b652a44d2afe593d6eca8a0d586c20555a0497c.
2019-12-19 12:27:36 +01:00
Kovid Goyal 7472a992ed Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty 2019-12-19 16:56:48 +05:30
Luflosi e40616a0db X11: Fix missing checks for EWMH attention atoms
From upstream: https://github.com/glfw/glfw/commit/9b6d68ec70da775c4e2bf6481f86117cf9d9f551.
2019-12-19 12:25:09 +01:00
Kovid Goyal dd8b97a86c Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty 2019-12-19 16:53:38 +05:30
Luflosi 5eff3897de X11: Fix maximization of hidden windows
From upstream: https://github.com/glfw/glfw/commit/4837b78ffe48aa9fab7a9657347b77cba104979a.
2019-12-19 12:20:58 +01:00
Kovid Goyal 530cf2eb14 monotonic.h no longer depends on time.h 2019-12-19 16:48:35 +05:30
Kovid Goyal 2baa34beb8 Move a couple of functions to where they are actually needed 2019-12-19 16:43:51 +05:30
Kovid Goyal 87e2f7f86d Missed a couple of macOS timer calls 2019-12-19 16:34:47 +05:30
Kovid Goyal e142083d53 Remove unused code
Strip out the GLFW timer code, since we use our own kitty based
monotonic clock.
2019-12-19 16:27:25 +05:30
Kovid Goyal 2e850a0d0d Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty 2019-12-19 07:56:04 +05:30
Luflosi aec9c31bca Formatting
From upstream: https://github.com/glfw/glfw/commit/506a6aafdee2bb043da5cef6e28377466dda2f09.
2019-12-18 18:34:55 +01:00
Kovid Goyal 598a147500 Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty 2019-12-18 22:51:17 +05:30
Luflosi ba201c4c92 Add curly braces
From upstream: https://github.com/glfw/glfw/commit/9486ec0c0223dc4e5f51a44fdc9c7d28b5a1d059.

The upstream commit mainly changes some cmake stuff, which we don't use and only really adds curly braces to `egl_context.c` (and changes some formatting).
2019-12-18 18:12:48 +01:00
Kovid Goyal 5bc7cfaa43 Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty 2019-12-18 20:33:44 +05:30
Luflosi 2804e1ff81 Cocoa: Update outdated comment
From upstream: https://github.com/glfw/glfw/commit/b3544ca43e2fd328aa084f118789c7eeda5869a8.
2019-12-18 15:41:31 +01:00
Kovid Goyal ae27d36902 Fix previous merge 2019-12-18 18:42:59 +05:30
Kovid Goyal 08182fbe4d Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty 2019-12-18 18:36:31 +05:30
Luflosi 778474f436 Wayland: Unset the cursor shape on border exit
From upstream: https://github.com/glfw/glfw/commit/ef6189f348d7f911afe640e6b817e2e945dc86a1.
2019-12-18 14:01:29 +01:00
Kovid Goyal c6698ce305 Merge branch 'comment' of https://github.com/Luflosi/kitty 2019-12-18 18:15:30 +05:30
Luflosi 21bc215313 Make comment more accurate
Since all the time values use `monotonic_t` now, `maximum_wait` is no longer measured in seconds. Instead of replacing seconds with nanoseconds, I removed it because the definition of `monotonic_t` is supposed to be changed easily, in which case this comment would not be accurate again.
2019-12-18 12:54:14 +01:00
Kovid Goyal 88a9cc42d2 Merge branch 'fix-panel' of https://github.com/natnat-mc/kitty 2019-12-18 07:32:25 +05:30
Kovid Goyal 28f33a67cf Merge branch 'fix_oserror' of https://github.com/Luflosi/kitty 2019-12-18 07:30:37 +05:30
Nathan DECHER 6742fabfba fix kitty +kitten panel -c <config> resulting in no config at all 2019-12-18 00:33:40 +01:00
Luflosi b3806f4533 Fix OSError when failing to create config directory on read-only file system
When calling the completion code, kitty tries to access the config directory and create it if it does not exist. If kitty has no permission to create it, a temporary directory will be created instead. This will fail on a read-only file system because that raises an `OSError` and not a `PermissionError`.
In practice this happens when building kitty on macOS Catalina using Nix because `HOME` is set to `/homeless-shelter` for purity and `/` is a read-only filesystem.
2019-12-17 23:42:31 +01:00
Kovid Goyal 6d5fb4ccc6 Fix docs build warning 2019-12-17 20:44:32 +05:30
Kovid Goyal 2487f18f24 Add a new option active_tab_title_template to specify a different template for active tab titles
Fixes #2198
2019-12-17 20:39:46 +05:30
Kovid Goyal f59afff1d1 Add a new option tab_bar_background to specify a different color for the tab bar
Fixes #2198
2019-12-17 20:08:33 +05:30
Kovid Goyal b92f95b092 NSGL: Fix disabling of Retina resolution
From upstream: https://github.com/glfw/glfw/commit/fa602692455d87e11c9ff5a5fb0681ca6403772a
2019-12-15 20:54:21 +05:30
Kovid Goyal d68ae01448 Make the active window history available when doing kitty @ ls
Fixes #2194
2019-12-13 18:17:13 +05:30
Kovid Goyal 87eda834d3 Use a token for github 2019-12-12 10:05:11 +05:30
Kovid Goyal 7bf0afa621 Fix #2187 2019-12-08 22:37:47 +05:30
Kovid Goyal e3e02c7271 Fix #2180 2019-12-01 22:34:56 +05:30
Kovid Goyal 24e17cb7d8 Fix background_opacity incorrectly applying to selected text and reverse video text
Fixes #2177
2019-12-01 15:14:15 +05:30
Kovid Goyal 769998adca Document valid values for pointer_shape_when_grabbed 2019-12-01 08:22:21 +05:30
Kovid Goyal 9b5d88e92d Fix choose item mapping 2019-11-30 17:18:02 +05:30
Kovid Goyal 6d7bebee3a Merge branch 'master' of https://github.com/l-yc/kitty 2019-11-30 16:58:28 +05:30
lyc 1c38654321 Fixed bug in loading libcanberra when falling back on alternative library names 2019-11-30 14:36:22 +08:00
Kovid Goyal da7a78691f Merge branch 'simplify' of https://github.com/Luflosi/kitty 2019-11-29 09:21:32 +05:30
Luflosi 1eaf7083ef Simplify expression 2019-11-28 23:38:42 +01:00
Kovid Goyal 79a6fcdc5c Oops 2019-11-28 10:12:21 +05:30
Kovid Goyal 90bcbbf426 No need to add index to titles when using hits kitten to choose tab/os_window 2019-11-28 10:11:14 +05:30
Kovid Goyal 41049e2a40 Avoid traceback when cancelling tab selection 2019-11-28 09:42:55 +05:30