bi4k8
a585e36d93
wayland: permit unused parameters
...
the Wayland callbacks have many params that we don't use; it isn't worthwhile to individually annotate these
2022-12-24 09:42:04 -05:00
bi4k8
a6c52ee73f
wayland: clamp text width
2022-12-24 09:42:03 -05:00
bi4k8
06c33cc3b0
ci: update for Wayland build
2022-12-24 09:42:03 -05:00
bi4k8
6b0c194515
x11: do not treat init failure as fatal with Wayland
2022-12-24 09:42:03 -05:00
bi4k8
b556f17648
x11: early-return from use_xdbe_setting::set_up if X11 not initialized
2022-12-24 09:42:03 -05:00
bi4k8
1eb88aeb43
x11, imlib2: early-exit in some X functions if X is not available at runtime
2022-12-24 09:42:03 -05:00
bi4k8
a30cc64a98
x11: update x11.cc for functionality moved into gui.cc
2022-12-24 09:42:03 -05:00
bi4k8
8973b58299
gui: remove background_color from gui.cc and window_type/window_hints from gui.h
2022-12-24 09:42:03 -05:00
bi4k8
2a4f5216c1
x11, gui: update display-x11.cc to account for some code moved into gui.h/gui.cc
2022-12-24 09:42:03 -05:00
bi4k8
5859d76741
core: fix misbehavior in specials handling that fails badly with Wayland backend
2022-12-24 09:42:03 -05:00
bi4k8
d183ad3f6f
core: fix segfault when no display outputs are enabled
2022-12-24 09:42:02 -05:00
bi4k8
d856e397d7
core: fix right-alignment with wayland
...
I'm not sure why this is necessary (or what it might break), but it seems to work
2022-12-24 09:42:02 -05:00
bi4k8
20ac59b0b1
doc: document out_to_wayland setting
2022-12-24 09:42:02 -05:00
bi4k8
e5413a22d7
config: add out_to_wayland to bool setting list for config converter
2022-12-24 09:42:02 -05:00
bi4k8
343f4545cd
wayland: rework window destruction/resizing
2022-12-24 09:42:02 -05:00
bi4k8
0b00ff487f
wayland: respond to xdg_wm_base.ping
2022-12-24 09:42:02 -05:00
bi4k8
03d9c25491
wayland: fix crash after 5 minutes
2022-12-24 09:42:02 -05:00
bi4k8
65f4d4f7eb
colours: define manually_get_x11_color for usage outside X11
2022-12-24 09:42:02 -05:00
bi4k8
e914128c32
colours: parse X11 colors under Wayland
2022-12-24 09:42:02 -05:00
bi4k8
35b874de65
wayland: switch to zwlr_layer_shell_v1 and implement proper window placement
...
this vendors the wlr-layer-shell-unstable-v1 protocol XML file
2022-12-24 09:42:02 -05:00
bi4k8
4c71e4527b
wayland: implement buffer scaling
2022-12-24 09:42:01 -05:00
bi4k8
9ce6ffbb87
wl: declare desktop/monitor info functions as weak symbols
...
these are implemented on both Wayland and X11, as stubs on the former. we need
to properly dispatch these based on the backend, but for now this resolves the
conflict
2022-12-24 09:42:01 -05:00
bi4k8
d11742ae18
build, colours, core, gui, wayland, wl, x11: implement wayland display backend
2022-12-24 09:42:01 -05:00
Brenden Matthews
4622c0e336
Change assert in set_font to check w/ debug.
...
This resolves #1292 .
2022-12-24 09:35:30 -05:00
Gene Carlson
93c38c60af
docs/variables.yaml: A better description for memlaundry.
2022-12-24 08:55:20 -05:00
Gene Carlson
4e45224c9e
src/common.cc: Fix accidental whitespace change
2022-12-24 08:55:20 -05:00
Gene Carlson
14bae13f81
FreeBSD: Additional memory reporting variables.
2022-12-24 08:55:20 -05:00
Brenden Matthews
1524755968
Bump web deps.
2022-12-14 08:17:30 -05:00
bi4k8
f3ffd17007
linux: remove nonsensical ip_addr loop break cond
...
This checks if a pointer offset from a heap-allocated buffer is NULL,
which is only true if the buffer is NULL and the offset is zero.
It appears to be attempting to check if an entry in an array of
pointers is zero before dereferencing that entry, but the SIOCGIFCONF
ioctl actually writes `struct ifreq` entries (not pointers to them)
into the `ifc_buf` buffer.
Furthermore, because `ifc_buf` is in a union with `struct ifreq
*ifc_req`, we can simply access `ifc_req` instead of casting `ifc_buf`
each time.
2022-12-12 14:39:49 -05:00
François Revol
990c8277a5
X11 cleanup: Some more obvious BUILD_X11 -> BUILD_GUI
2022-12-09 11:23:23 -05:00
François Revol
7bbf948fc3
X11 cleanup: out_to_x -> display_output()->graphical()
2022-12-09 11:23:23 -05:00
Johannes Halaoui
de298f0d80
Add an option to disable storing graph data explicitly
...
This option (store_graph_data_explicitly) can be disabled to use graphs
indirectly via execpi or lua_parse. Otherwise the graph stays empty. The
default value is true to keep avoiding resets while using conditional
colors.
2022-12-07 11:28:00 -05:00
Brenden Matthews
fd8dd2e1f8
Bump web deps.
2022-11-14 14:51:19 -05:00
Brenden Matthews
8c6257d925
Update Lua cairo bindings.
...
This adds 2 missing functions: cairo_surface_set_device_scale and
cairo_surface_get_device_scale, and also requires cario 1.14 or newer.
This addresses the comments in #1083 .
2022-11-11 12:58:04 -05:00
dependabot[bot]
d09b8ff08c
Bump eslint-config-next from 13.0.0 to 13.0.2 in /web
...
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next ) from 13.0.0 to 13.0.2.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/commits/v13.0.2/packages/eslint-config-next )
---
updated-dependencies:
- dependency-name: eslint-config-next
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 07:41:02 -05:00
dependabot[bot]
38f6ccbed1
Bump @tailwindcss/typography from 0.5.7 to 0.5.8 in /web
...
Bumps [@tailwindcss/typography](https://github.com/tailwindcss/typography ) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/tailwindcss/typography/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tailwindcss/typography/compare/v0.5.7...v0.5.8 )
---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 07:40:52 -05:00
dependabot[bot]
91c9f45f2f
Bump @netlify/plugin-nextjs from 4.28.3 to 4.28.5 in /web
...
Bumps [@netlify/plugin-nextjs](https://github.com/netlify/next-runtime ) from 4.28.3 to 4.28.5.
- [Release notes](https://github.com/netlify/next-runtime/releases )
- [Changelog](https://github.com/netlify/next-runtime/blob/main/CHANGELOG.md )
- [Commits](https://github.com/netlify/next-runtime/compare/plugin-nextjs-v4.28.3...plugin-nextjs-v4.28.5 )
---
updated-dependencies:
- dependency-name: "@netlify/plugin-nextjs"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 08:38:51 -05:00
dependabot[bot]
73262db619
Bump next from 13.0.0 to 13.0.2 in /web
...
Bumps [next](https://github.com/vercel/next.js ) from 13.0.0 to 13.0.2.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v13.0.0...v13.0.2 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 08:38:40 -05:00
dependabot[bot]
88668f4844
Bump eslint from 8.26.0 to 8.27.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.26.0 to 8.27.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.26.0...v8.27.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 08:38:27 -05:00
dependabot[bot]
8142c699ce
Bump cypress from 10.10.0 to 10.11.0 in /web
...
Bumps [cypress](https://github.com/cypress-io/cypress ) from 10.10.0 to 10.11.0.
- [Release notes](https://github.com/cypress-io/cypress/releases )
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/cypress-io/cypress/compare/v10.10.0...v10.11.0 )
---
updated-dependencies:
- dependency-name: cypress
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 18:51:58 -04:00
dependabot[bot]
b68511aa16
Bump eslint-config-next from 12.3.1 to 13.0.0 in /web
...
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next ) from 12.3.1 to 13.0.0.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/commits/v13.0.0/packages/eslint-config-next )
---
updated-dependencies:
- dependency-name: eslint-config-next
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 16:14:00 -04:00
dependabot[bot]
3467841797
Bump autoprefixer from 10.4.12 to 10.4.13 in /web
...
Bumps [autoprefixer](https://github.com/postcss/autoprefixer ) from 10.4.12 to 10.4.13.
- [Release notes](https://github.com/postcss/autoprefixer/releases )
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.12...10.4.13 )
---
updated-dependencies:
- dependency-name: autoprefixer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 16:13:46 -04:00
dependabot[bot]
1cda7ee8d7
Bump @netlify/plugin-nextjs from 4.27.3 to 4.28.3 in /web
...
Bumps [@netlify/plugin-nextjs](https://github.com/netlify/next-runtime ) from 4.27.3 to 4.28.3.
- [Release notes](https://github.com/netlify/next-runtime/releases )
- [Changelog](https://github.com/netlify/next-runtime/blob/main/CHANGELOG.md )
- [Commits](https://github.com/netlify/next-runtime/compare/plugin-nextjs-v4.27.3...plugin-nextjs-v4.28.3 )
---
updated-dependencies:
- dependency-name: "@netlify/plugin-nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 16:08:53 -04:00
dependabot[bot]
86498299d4
Bump next from 12.3.1 to 13.0.0 in /web
...
Bumps [next](https://github.com/vercel/next.js ) from 12.3.1 to 13.0.0.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v12.3.1...v13.0.0 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 16:08:37 -04:00
dependabot[bot]
f7d494b001
Bump @netlify/plugin-nextjs from 4.26.0 to 4.27.3 in /web
...
Bumps [@netlify/plugin-nextjs](https://github.com/netlify/next-runtime ) from 4.26.0 to 4.27.3.
- [Release notes](https://github.com/netlify/next-runtime/releases )
- [Changelog](https://github.com/netlify/next-runtime/blob/main/CHANGELOG.md )
- [Commits](https://github.com/netlify/next-runtime/compare/plugin-nextjs-v4.26.0...plugin-nextjs-v4.27.3 )
---
updated-dependencies:
- dependency-name: "@netlify/plugin-nextjs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 14:58:56 -04:00
dependabot[bot]
3668edff5b
Bump eslint from 8.25.0 to 8.26.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.25.0 to 8.26.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.25.0...v8.26.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 14:58:25 -04:00
dependabot[bot]
cba913d22a
Bump @types/react from 18.0.21 to 18.0.22 in /web
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.0.21 to 18.0.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 14:58:06 -04:00
dependabot[bot]
bd241357b6
Bump tailwindcss from 3.1.8 to 3.2.1 in /web
...
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss ) from 3.1.8 to 3.2.1.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.8...v3.2.1 )
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 14:51:23 -04:00
dependabot[bot]
08a8165dd0
Bump @types/node from 18.11.0 to 18.11.4 in /web
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.11.0 to 18.11.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 14:50:29 -04:00
dependabot[bot]
5db57753ed
Bump @fontsource/newsreader from 4.5.8 to 4.5.9 in /web
...
Bumps [@fontsource/newsreader](https://github.com/fontsource/fontsource/tree/HEAD/fonts/google/newsreader ) from 4.5.8 to 4.5.9.
- [Release notes](https://github.com/fontsource/fontsource/releases )
- [Changelog](https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fontsource/fontsource/commits/HEAD/fonts/google/newsreader )
---
updated-dependencies:
- dependency-name: "@fontsource/newsreader"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 19:46:16 -04:00