Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests #31

Merged
merged 5 commits into from
Feb 17, 2021
Merged

Add tests #31

merged 5 commits into from
Feb 17, 2021

Conversation

notgull
Copy link
Member

@notgull notgull commented Feb 17, 2021

Adds tests that should hopefully allow us to run a real CI cycle here.

@notgull notgull merged commit e36c837 into master Feb 17, 2021
@notgull notgull deleted the test-harness branch February 17, 2021 19:39
notgull added a commit that referenced this pull request May 22, 2022
author not_a_seagull <notaseagull048@gmail.com> 1591390176 -0700
committer jtnunley <jtnunley01@gmail.com> 1653257473 -0700

Fix cargo toml

No wildcards

v0.1.1

Clippy lints

Start no_std process

v0.2.0, with no_std support

Actually use maybe_uninit

No more bindings

No more target

logos

Commit beofre I delete some stuff

It's working!

Past the point of no return

0.3.0

rework parts

Archival commit

Rebuilt generator

At least I'm back to where I was...

No dice

Unpin generator from nightly

The program actually works!

Fix async errors

Improve docs

Got the background default as it is in XLIB working

Optimize the literals somewhat

debug1

Got replies working now

Events and properties

Adding licenses to nip that potential issue in the bud

ChangeGcRequest

GC drawing functions

Geometry and window attribute functions

Fix example

Beginning the quest of feature parity with Xlib

More Xlib features

Begin work on images part

CI

Cargo initial publish

Azure fixes

Azure fix 2

Custom xorg server vm install

Rolling back the CI a bit

Update README.md

Roll  back some more

Fix up the docs

[skip ci] update readme

Fix a minor API wart before it becomes a problem

Progress on image code

Further image code progress

Finished the image-sending code draft 1

Create pixmap from image function

Added all xproto events

Begin tutorials

0.4.0

Forgot image support is broken

0.0.5

Formatting

Added more to basics tutorial

garbage

Remove dependency on async_trait and bump version to 0.1.0

Fix rustfmt and clippy

typo [skip ci]

Pushing css file for testing purposes

Fixed tutorials

bump to v0.1.1

Add authorization error

Fix display bug

Fix async compile error

Bump to 0.1.2

Add authorization info parser

Nipping a potential bug in the bud

Bump to 0.1.3

Minor fixes trying to get `put_image` working

Image example, pixmaps dont work for some reason

Add hooks for extension support

async ref hack

Add support for sending file descriptors over protocol on Unix systems (#16)

* [skip ci] lay down groundwork

* [skip ci] Don't unwrap there

* [skip ci] Fixed some compile errors

* Implement FD's into the generator

* add OSX to CI pipeline

* Fix clippy

Add some extensions and fix FDs

Fix clippy

Fix rustfmt

Mention x11rb as an alternative

Ensure memchr doesn't link to the standard library when the std feature is disabled

Sync extension

Remove garbage

We now support every extensions except for xkb and xinput

Generator can now process XKB, but badly

Added the XKB extension

All extensions are now supported, but there are bugs I probably haven't caught yet

Garbage

Remove our dependency on the const_fn crate

0.1.9

Update README.md

Add a handful of bug fixes and QOL improvements (#17)

* Been adding features to this branch, might as well push

* clippy and rustfmt

Fix a bug where not all of the data was read from a "recvmsg" call (#18)

* Been adding features to this branch, might as well push

* clippy and rustfmt

* Traced the bug to recvmsg and fixed it

* 0.1.11

* rustfmt and clippy

Fix the issue where dropping a send request future de-syncs the client and server (#21)

Bump to 0.1.12

Fix the fd bug psychon (#22)

Hey, what do I and Sherlock Holmes have in common? We forgot about the files! (Well, the file descriptors in my case).

Split the Connection trait into Connection and AsyncConnection (#23)

* [skip ci] Rewire the connection setup

* [skip ci] Implement the split for xproto.rs, window.rs, and drawable.rs

* [skip ci] All the xproto stuff is done now

* Finish everything else

* version bump

* unix tag

* Forgot a couple of traits

* Fix non-unix errors

Remodel the error handling system to correspond more directly to they function they originate from (#24)

* Implemented synchronize(), but it's broken for async

* Add checked mode and fix the async blocking issue

[skip ci] bump to 0.2.1

Change repo url

Fix a trait bounds error on Image::new

0.2.3

Fix the one character that prevented XGE events from working (#26)

* Fix the one character that prevented XGE events from working

* 0.2.4

std => alloc

sync

I don't know how I forgot about that

Add basic keyboard support using xproto (#27)

* Working demo of key pressing

* Change the API to be more sensible

* Fix async errors

* Fix clippy lint

Update azure badge

Replace hashmaps in generator with btreemaps to make it more consistent (#29)

Add tests (#31)

* Add some real tests

* left an swp file in there

* Clippy's acting weird so I'm not using it for now

* fix windows ci

* rustfmt

Basic support for the xrender extension (#32)

* foundation

* Bare minumum xrender

[skip ci] bump to 0.2.9

mod generator

Add Quote to keysym.json (#33)

run make

0.3.0

unmap function

stop depending on ref_slice

Bump lodash from 4.17.20 to 4.17.21 in /css_regenerator (#35)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Extended 'PropertyType' with the complete list (#37)

* Extended 'PropertyType' with the complete list

* Removed 'Any' and 'None' variants from 'PropertyType'

Add some of the "xproto" API to the Display (#40)

* off-stream modifications

* forgot to push 0.3.0, lol

* Fix xrender example

* whoops

* Fix CI

Change "Display" into a trait (#42)

* off-stream modifications

* forgot to push 0.3.0, lol

* [skip ci] break ground

* [skip ci] Most of the ground-work is done now

* [skip ci] add CellXidGenerator and From impl for CellDisplay

* [skip ci] reorganization

* [skip ci] All the ground work should be done. Now time for the hard part...

* [skip ci] add map future

* [skip ci] beginning conversion

* [skip ci] continuing conversion

* [skip ci] traits

* [skip ci] finished! now time to deal with errors

* [skip ci] saving progress

* [skip ci] fixed non-async, non-extension errors!

* [skip ci] fixed errors related to the xrender extension

* [skip ci] made a decent dent into the async errors

* [skip ci] some async progress

* [skip ci] async now compiles

* seems to compile alright now

* [skip ci] whoops forgot about the examples

* Wait cycle is definitely broken for sync users somehow

* Forgot to pad to multiple of 4, most examples work now [skip ci]

* fixed the issue where extensions dont work [skip ci]

* everything seems to compile now, but async doesn't seem to work...

* solved that error, but there seems to be another

* async stuff is now up and running

* fix CI errors

* forgot to fix the doctests

Add bigreq support to both current display types (#43)

* initial implementation

* fix breaking bugs

* fix clippy

confirm MSRV (#44)

Add the `sync-display` feature and the `SyncDisplay` object (#46)

* realized something I have to do [skip ci]

* [skip ci] getting started

* [skip ci] partial implementation

* finish sync implementation

* fix all targets

* rustfmtg

grab requests (#47)

push 0.3.0

Reduce unnecessary cloning (#48)

* [skip ci] break ground

* [skip ci] implementation of lifetimes in autogen should be done, time to adjust the rest of the codebase

* [skip ci] core stuff is working

* [skip ci] we need to fix lifetimes

* finish async

* fix examples

create DummyConnection

document stuff in the display module's floor

fix test

fix more doctests

rustfmt

periphery

Implement some of xproto (#51)

* Implement some of xproto

* rustfmt

replicate the get-image pr (#52)

1.0 (#53)

Add support for tokio (#54)

* add tokio

* fix ci

* fix connection on windows

Update README.md

Fix the tesselation algorithm (#55)

* Update RenderDisplay to be able to use unsized values

* offstream adjustments

* Update tesselation algorithm

* We need to switch to a different trapezoidification algorithm

* I fixed the tesselation algorithm, but it doesn't seem to be rendering trapezoids properly

* need to figure out better way of calculating x intercept

* I cant figure this out

* I have a feeling we're getting closer

* Examples are now fixed

* Touch up warnings

* [skip ci] update readme

Ensure that `put_image_async` does not require a static lifetime. (#58)

* Update RenderDisplay to be able to use unsized values

* offstream adjustments

* Update tesselation algorithm

* We need to switch to a different trapezoidification algorithm

* I fixed the tesselation algorithm, but it doesn't seem to be rendering trapezoids properly

* need to figure out better way of calculating x intercept

* I cant figure this out

* I have a feeling we're getting closer

* Examples are now fixed

* Touch up warnings

* [skip ci] update readme

* Does this fix it?

* prevent put_image_async from requiring 'static

* Fix windows build

[skip ci] bump to 1.2.1

Fixed bug in AsByteSequence implementation for String (#59)

Add error messages to the Error::FailedToConnect and Error::FailedToAuthorize enum (#61)

Breaking change? This is a fixing change, what are you talking about?

Redo authorization mechanism (#64)

* checking out

* progress

* Should be fixed now

* Get rid of the dummy test for now

* Fix tests

* Reformatting

* ensure tests are fixed

Add benchmarking utilities (#65)

* Add benchmarks

* Remove helper files

* fix issues

* Fix no_std build

* Fixies?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant