John Nunley
34d52bd350
Fix MSRV CI issue by pinning half to v2.2.1 ( #198 )
...
This commit fixes the MSRV CI failure by pinning the half crate to
version 2.2.1 when MSRV CI is active.
Signed-off-by: John Nunley <dev@notgull.net>
2024-01-28 12:29:54 -08:00
dependabot[bot]
f47f92a1f0
build(deps): bump hecrj/setup-rust-action from 1 to 2
...
Bumps [hecrj/setup-rust-action](https://github.com/hecrj/setup-rust-action ) from 1 to 2.
- [Release notes](https://github.com/hecrj/setup-rust-action/releases )
- [Commits](https://github.com/hecrj/setup-rust-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: hecrj/setup-rust-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-10 21:47:32 -07:00
dependabot[bot]
f244cb56b9
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-10 21:25:16 -07:00
Ian Douglas Scott
36618b63eb
Merge pull request #149 from rust-windowing/update-wayland
...
wayland: Update to wayland-client 0.31
2023-09-09 16:42:57 -07:00
John Nunley
1b2aaa2e16
ci: Temporarily disable Windows GNU CI
...
They are currently failing due to what we believe is a bug in the
Windows bindings for Rust. For now, disable these until this bug is
resolved.
Closes #142
Signed-off-by: John Nunley <dev@notgull.net>
2023-09-09 13:40:39 -07:00
Ian Douglas Scott
a9d7e159e0
wayland: Update to wayland-client 0.31
...
Updates `rust-version` from 1.64 to 1.65.
2023-09-07 19:12:01 -07:00
John Nunley
ac0b7f5e14
feat: Add a DRM/KMS backend
...
This adds a DRM/KMS based backend to the system, as per #42 . This system finds a CRTC and a connector, then uses that to create a frame buffer and a DUMB buffer that it can render to.
There's much more to do, and is left as an exercise for anyone with a significant DRM-based use case to pick up and fix.
Signed-off-by: John Nunley <dev@notgull.net>
2023-08-12 13:39:13 -07:00
John Nunley
3404953bdb
m: Use tiny-xlib instead of x11-dl
...
My new tiny-xlib crate takes up a fraction of the space that the x11-dl crate uses, supports
feature-based static linking and involves less of Xlib's ridiculous surface.
2023-07-02 15:08:01 -07:00
dAxpeDDa
6be186b47c
Reference correct branch name in CI
2023-06-02 11:18:10 +02:00
John Nunley
44248477be
feat: Add a function for retrieving the window contents
...
This function is useful for testing the window contents in certain cases. In addition,
this means that we can now have reliable tests for softbuffer's actual functionality.
Signed-off-by: John Nunley <jtnunley01@gmail.com>
Co-authored-by: dAxpeDDa <daxpedda@gmail.com>
2023-06-01 20:09:30 -07:00
daxpedda
fcda747ddf
Add from_canvas() to Surface for Wasm ( #76 )
...
Co-authored-by: Toniman575 <toniman575@gmail.com>
2023-05-08 15:43:34 +02:00
jtnunley
ecfae194ce
Add @daxpedda as web maintainer
2023-05-05 16:44:59 +02:00
dependabot[bot]
a958a18346
Bump actions/cache from 1 to 3 ( #93 )
...
* Bump actions/cache from 1 to 3
Bumps [actions/cache](https://github.com/actions/cache ) from 1 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Empty commit to re-run CI
That CI failure looks spurious to me.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jtnunley <jtnunley01@gmail.com>
2023-04-18 15:05:23 -07:00
dependabot[bot]
6da649e8a1
Bump actions/checkout from 2 to 3 ( #92 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 10:32:37 -07:00
John Nunley
027f944ece
Add dependabot support to this repo ( #91 )
2023-04-10 10:00:41 -07:00
dAxpeDDa
24db0ad453
Fix atomic Wasm CI
2023-04-06 20:21:42 +02:00
dAxpeDDa
c0af587718
Fix multi-threaded Wasm
2023-04-06 17:35:14 +02:00
Ian Douglas Scott
a09e4cf679
Owned pixel buffer for no-copy presentation
...
This is based on the API that will be used for no-copy presentation. But
wraps it in `set_buffer`.
This also fixes the Wayland buffer code to set `self.width` and
`self.height` on resize, and set the length of the shared memory file
when the buffer is created.
Co-authored-by: jtnunley <jtnunley01@gmail.com>
2023-04-06 10:30:59 +03:00
John Nunley
77f9f68f45
Bump MSRV to 1.64 ( #81 )
...
raw-window-handle bumped MSRV, so should we
2023-03-17 19:56:10 -07:00
Ian Douglas Scott
4f6542ceaa
Add support and CI tests for BSDs
...
This adds a fallback using `shm_open`/`shm_unlink` for platforms where
`memfd_create` doesn't exist. This seems to be how this is normally
handled, though it's a bit ugly.
This also builds the wayland/x11 code for NetBSD/OpenBSD/DragonFlyBSD.
Add CI builds for FreeBSD and NetBSD. We would need some kind of
virtualisation though to actually run tests on such targets.
I've tested the `shm_open` logic on Linux, but haven't run it on any
BSDs.
2023-01-03 12:45:15 -08:00
Mads Marquart
f754bdaf37
Merge pull request #47 from rust-windowing/clarify-maintainership
...
Clarify maintainership
2022-12-23 06:34:06 +01:00
Mads Marquart
4d1a7a1216
Add @john01dav as core maintainer
2022-12-23 01:12:01 +01:00
John Nunley
cf0b435790
Add rustfmt/clippy to the CI ( #22 )
2022-12-22 14:15:09 -08:00
Ian Douglas Scott
58d4fd41b7
Add Github Actions CI, based on winit
2022-12-21 19:45:27 -07:00
Mads Marquart
24fd9ed77a
Add @ids1024 as Wayland maintainer
2022-12-22 00:01:48 +01:00
Mads Marquart
fe80194d69
Add @notgull as Windows and X11 maintainer
2022-12-22 00:01:46 +01:00
Mads Marquart
b8e8437345
Add @jackpot51 as Redox/Orbital maintainer
2022-12-21 14:44:41 +01:00
Mads Marquart
3e42b0589b
Add myself as Core Graphics maintainer
2022-12-21 14:43:46 +01:00
Mads Marquart
e5d8bcf03b
Add CODEOWNERS file
2022-12-21 14:43:34 +01:00