Commit graph

223 commits

Author SHA1 Message Date
Chris West ac624f5a26 raise shared_data update (#68)
This helps the check_buffer_size run against the actual
window size, which stops us from segfaulting if the
window size has changed unexpectedly, e.g. because a
window manager is evil.
2019-03-14 16:29:59 +01:00
Nagy Tibor ceadd15e6c Bump orbclient to 0.3.20 on Redox, remove alpha handling hacks (#67) 2019-01-15 06:10:05 +01:00
Holden 0b5e39c396 Add additional derived traits to Key enum (#65)
* Add partial ord and partial eq to keys enum

* Derive eq on key

* Derive ord
2018-12-29 08:37:56 +01:00
tdaffin fb403498f0 Bump version to 0.11.2 (#64) 2018-12-20 07:22:36 +01:00
tdaffin 95d0e6f5e5 Update appveyor.yml to use starkat99's version (#63) 2018-12-18 17:41:14 +01:00
tdaffin 3aaf613edd Added Window.is_key_released (#62)
* Added Window.is_key_released

* Add is_key_released for the other platforms
2018-12-18 11:20:32 +01:00
Daniel Collin 6137568ef5 Updated to 0.11.1 2018-11-13 21:41:00 +01:00
Daniel Collin a8a969afee Fixed broken menu example 2018-11-13 21:38:55 +01:00
Daniel Collin 301da1c544
Removed broken screenshot 2018-10-25 11:00:38 +02:00
Daniel Collin d8918f39c8 Fixed incorrect version 2018-10-23 20:52:56 +02:00
Daniel Collin 79608b38a2 merge macos-metal -> master
commit 2d8e0c1692120e9997bd8d376be8a7cc2536429d
Author: Daniel Collin <daniel@collin.com>
Date:   Tue Oct 23 20:51:09 2018 +0200

    Bump to 0.11 and added info about macOS Metal

commit 0f77968317194f2f72b86da287c04484aeee762a
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Oct 21 17:44:26 2018 +0200

    Tripple buffer textures

commit d268c10576c7e9063bd4605aed4a939d956eeb6b
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Oct 21 16:59:20 2018 +0200

    Some cleanup

commit 5544773e62afec6f69d0c3b6309e60a543905fef
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Oct 21 16:24:45 2018 +0200

    Working but no proper sync yet

commit 843a6625cfddac5a6e2d8e61170f796e763e4002
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Oct 21 15:26:45 2018 +0200

    Working texture

commit 1d4446f1f10c497dde07e0d20c92eb8bb6f836ec
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Oct 21 14:45:52 2018 +0200

    Removed vertex data

    We construct this in the shader instead

commit 2e8027d73a1635e26e412dbda6494193fd04a060
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Oct 21 14:42:36 2018 +0200

    Fullscreen triangle setup

commit 5efd974704c11577944ffdeff9eb9dd4fa40bde0
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Oct 21 14:16:23 2018 +0200

    Triangle on screen

commit d9cf4eb7557f73adfbe1764f3da94a837a4ef8d3
Author: Daniel Collin <daniel@collin.com>
Date:   Sun Oct 21 12:17:04 2018 +0200

    Some hacky metal with clear screen
2018-10-23 20:51:50 +02:00
Daniel Collin 335f505ef2 Removed updateLayer 2018-10-20 09:33:21 +02:00
Daniel Collin 2e2bd93a1c fixed tabs 2018-10-20 09:31:46 +02:00
Daniel Collin 450502f672 Fixed macOS warnings 2018-10-19 22:05:15 +02:00
Daniel Collin 6a92232b75 Updated to 0.10.7 2018-08-10 09:23:30 +02:00
Lukas Kalbertodt 87e742047d Add debug impls (#56)
* Add missing `Debug` impls to public types

In one case, a missing Clone and Copy impl was added, too.

* Remove several `doc(hidden)` & make some modules private

I'm not quite sure why it was done the way it was. This change makes
items that were used in the public API visible in the documentation. It
also makes modules not used in the public API private.

* Add `#![deny(missing_debug_implementations)]` to crate root
2018-08-10 09:14:14 +02:00
Daniel Collin 9b835f9331 Bump to 0.10.6 2018-05-18 22:14:53 +02:00
Daniel Collin 3d70a5c7dc Added x16 and x32 scale to X11 2018-05-18 21:59:19 +02:00
Daniel Collin 8d7eb6b000 Updated gcc -> cc 1.0 2018-05-18 21:58:55 +02:00
Nagy Tibor 5e16895b7d Update orbclient to 0.3.14 on Redox (#55) 2018-05-16 07:12:32 +01:00
Daniel Collin f1bd963821 Updated to 0.10.5 2018-05-05 15:21:46 +02:00
Daniel Collin 26e6eca208 Fixed auto scaling and added X8 on Linux
Closes #51
Closes #52
2018-05-05 15:14:57 +02:00
Jonas Schievink a48cffc2ac Cargo.toml: Remove homepage link (#49)
The `homepage` key is meant for dedicated library websites, a link to the repository is already provided by the `repository` key.
2018-02-15 16:46:36 -08:00
Daniel Collin ef748e8aa3 Bump to 0.10.4 because of kernel32 crate fix. 2018-01-08 14:13:36 +01:00
Thomas Versteeg 52d42a7115 Update kernel32-sys to 0.2.2 on Windows (#46)
* Update kernel32-sys to 0.2.2 on Windows GNU

kernel32-sys 0.1.4 won't compile on my system:

rustc 1.24.0-nightly (8503b3ff8 2017-12-04)
binary: rustc
commit-hash: 8503b3ff822c1ed01c89773d30e4e10b886d77a5
commit-date: 2017-12-04
host: x86_64-pc-windows-gnu
release: 1.24.0-nightly
LLVM version: 4.0

* Bump kernel32-sys to 0.2.2 for MSVC as well
2018-01-08 12:26:06 +01:00
Alexandru Ene 89f4d4ddd2 Fix Travis-CI build (#43) 2017-10-04 06:45:19 +02:00
Daniel Collin d643efeaef Bump to 0.10.3 2017-10-01 15:56:16 +02:00
Daniel Collin 9c7e700697 Fixed incorrect badges paths 2017-10-01 15:54:00 +02:00
Daniel Collin e03af08306 Updated some metadata for crates.io 2017-10-01 15:48:57 +02:00
Daniel Collin 89c38d8e64 Bump to 0.10.1 2017-08-15 22:09:31 +02:00
Nagy Tibor 3ffa7ad684 Fix Redox build (#41) 2017-08-15 19:28:44 +02:00
Daniel Collin 7860c66aec Updated readme and changelog 2017-08-11 12:57:18 +02:00
Daniel Collin 5d70e6fc5c Another linux fix 2017-08-11 12:51:04 +02:00
Daniel Collin eaa0440e8c Another linux fix 2017-08-11 12:49:06 +02:00
Daniel Collin ca264a7b9a Linux fix 2017-08-11 12:46:34 +02:00
Daniel Collin 900deba9a7 Implemented bounds checking for update_with_buffer 2017-08-11 12:41:24 +02:00
Daniel Collin 6db90d717f Bumped to 0.9.2 2017-07-31 16:39:02 +02:00
Daniel Collin 5cec5afc6a Upgraded x11-dll to 2.14 2017-07-31 16:14:19 +02:00
Krzysztof Kondrak 600749fd8a Support period key on *nix. (#37) 2017-07-08 13:57:34 +02:00
xTibor f4bd8b7704 Redox support (#35) 2017-04-24 09:09:05 +02:00
Daniel Collin 4d0aa028c2 Updated to 0.9.1 2017-04-02 12:24:21 +02:00
Daniel Collin c9aaf7beeb Merge branch 'master' of https://github.com/emoon/rust_minifb 2017-04-02 12:20:29 +02:00
Daniel Collin c3f6b9cac7 Updated to correct link for docs 2017-04-02 12:20:12 +02:00
FlyingGaz 933d7662fb Use to_vec in windows/update_with_buffer (#33) 2017-01-15 17:46:02 +01:00
Daniel Collin a8e5215f55 Fixed incorrect title
Closes #32
2017-01-06 15:33:47 +01:00
Daniel Collin 8cca773a68 Fixed example code
Closes #31
2016-11-20 07:37:49 +01:00
Daniel Collin 219065a8c4 Make example code a bit smaller 2016-09-18 10:25:08 +02:00
Daniel Collin 804f86a878 Use docs on docs.rs
Also correct link to changelog
2016-09-18 10:18:11 +02:00
Daniel Collin f77e9c7095 Bump to 0.9.0
Added get_unscaled_mouse_pos

Closes #27
2016-08-02 18:24:25 +02:00
Daniel Collin 76d9351dc2 Fixed warning 2016-08-02 18:20:19 +02:00