2016-01-29 20:16:00 +01:00
# Changelog
This project follows semantic versioning.
2021-01-19 20:33:13 +01:00
### v0.19.2 (2021-01-18)
TODO:
2020-09-22 21:00:36 +02:00
### v0.19 (2020-09-22)
- [fixed] Removed dummy logging
2020-09-16 08:49:47 +02:00
### v0.19 (2020-09-16)
2020-09-16 08:47:42 +02:00
- [added] Added char_callback example on how to capture data.
- [added] Support for topmost on Windows (Thanks phillvancejr!)
- [fixed] ARM (Raspberry Pi) now builds and runs. (Thanks derpeter!)
- [changed] Removed a bunch of dependencies not needed anymore (Thanks RazrFalcon!)
2020-08-14 11:56:29 +02:00
### v0.18 (2020-08-14)
- [fixed] get_released_keys wasn't working under Wayland.
2020-07-09 13:50:16 +02:00
### v0.17 (2020-07-09)
- [changed] unix renamed to posix. (Thanks LoganDark)
- [changed] bunch of Linux/x11 fixes by Antonino Siena. Such as Transparency support, Borderless, Cursor Visibility. Thanks!
- [changed] use `std::ptr::null_mut()` to Windows `PeekMessageW` it fix alt-tab stall on Window 7. Thanks lynnux for the report!
- [added] Implemented std::error::Error for minifb::Error. (Thanks Christofer Nolander!)
2020-04-05 07:34:50 +02:00
### v0.16 (2020-04-05)
- [added] Wayland support. (Big thanks to Antonino Siena add this support with assistance by Cole Helbling!)
- [added] Added `get_released_keys` (Thanks to Alex Melville!)
- [added] Added Topmost/Always on Top functionality to macOS (Thanks phillvancejr!)
- [fixed] Removed left over logging on macOS (Thanks phillvancejr!)
2020-01-21 22:13:19 +01:00
### v0.15.3 (2020-01-21)
- [Added] On macOS NSView (MTKView) is supplied with raw_window_handle now
2020-01-21 21:35:53 +01:00
### v0.15.2 (2020-01-21)
- [fixed] Fixed forever block on macOS when using `update` and not `update_with_buffer`
2019-12-27 13:28:49 +01:00
### v0.15.1 (2019-12-27)
- [fixed] Fixed access to raw_window_handle()
2019-12-16 08:24:48 +01:00
### v0.15 (2019-12-16)
2019-12-16 09:49:52 +01:00
- [API BREAKAGE] - `update_with_buffer` now always take width and height parameters.
2019-12-16 08:24:48 +01:00
- [added] scale_mode in WindowOptions now allow for aspect correct scaling, center of non-scaled buffers and more.
2019-12-16 09:49:52 +01:00
- [added] Added `limit_update_rate(..)` in order to reduce CPU usage and not hammer the native system calls.
2019-12-16 08:24:48 +01:00
- [changed] x11 now uses C for it's scaling in software mode in order to always have opts on even in debug build.
- [changed] Several fixes with rescaling on all platforms
2019-12-16 08:27:44 +01:00
- [changed] on x11 some window mangers will resize a non-resizable windows and minifb handles this now correctly.
2019-12-16 08:24:48 +01:00
- [fixed] Cursor was behaving bad on Windows. This has now been fixed
- [known issues] There are some flickering and various issues when resizing on most platforms. PRs/ideas welcome for this.
2019-12-03 15:24:03 +01:00
### v0.14 (2019-12-03)
- [changed] Deprecated update_with_buffer on favor of update_with_buffer_size. The idea is that a size in of the buffer will be more robust and allow for aspect scaling as well.
- [changed] Improved macOS resizing support.
- [changed] Better modifier handling on macOS.
- [changed] Moved CI over to Github Actions
- [changed] Formatted all code with rustfmt
- [changed] Documentation improvments (Thanks Gary Guo & Arif Roktim!)
- [fixed] 'attempt to subtract with overflow' bug (Thanks Venceslas!)
- [fixed] Window close handling & missing Alt keys for X11 (Thanks Gary Guo!)
- [added] Juila example added (Thanks mishazawa!)
- [added] Add support for raspberry pi (Thanks Florian Blasius!)
- [added] Added support for raw-window-handle trait
2019-08-30 17:43:42 +02:00
### v0.13 (2019-08-30)
- [changed] unix: replaced scale functions with macro and added missing invocations (Thanks Johannes Stölp!)
2019-07-21 11:06:04 +02:00
### v0.12 (2019-07-21)
- [changed] Linux/Unix backend rewritten in Rust (thanks Chris West!)
- [changed] WinAPI updated to 0.3 (Thanks Richard Hozák!)
- [changed] Bump orbclient to 0.3.20 on Redox, remove alpha handling hacks (Thanks Nagy Tibor!)
2018-12-19 23:22:36 -07:00
### v0.11.2 (2018-12-19)
- [added] Window.is_key_released
2018-11-13 21:41:00 +01:00
### v0.11.1 (2018-11-13)
- [fixed] Fixed bad window size in menu example
2018-10-23 20:51:50 +02:00
### v0.11 (2018-10-23)
- [changed] macOS now uses Metal for rendering the buffer.
2018-08-10 09:23:30 +02:00
### v0.10.7 (2018-08-10)
Thanks to Lukas Kalbertodt for these changes!
- [added] Debug impls for public types
- [fixed] Removed several `doc(hidden)`
2018-05-18 22:14:53 +02:00
### v0.10.6 (2018-05-18)
- [added] Scale x16 and x32 added for Unix
2018-05-05 15:21:46 +02:00
### v0.10.5 (2018-05-05)
- [added] Scale x8 added for Unix
- [fixed] Auto scaling now works correct if scale up is >= screen size
2018-01-08 14:13:36 +01:00
### v0.10.4 (2018-01-08)
- [fixed] Bumped kernel32 to 0.2.2 due to compile errors on Windows. Thanks to Thomas Versteeg for this fix.
2017-08-15 22:09:31 +02:00
### v0.10.1 (2017-08-15)
- [fixed] Typo in the Redox implementation was fixed after changes in 0.10.0
2017-08-11 12:57:18 +02:00
### v0.10.0 (2017-08-11)
- [changed] ```update_with_buffer` `` Now make sures that input buffer will be large enough. As of this it now returns ` ``Result<>` `` to indicate the status of the call.
2017-07-31 16:39:02 +02:00
### v0.9.2 (2017-07-31)
- [fixed] Bumped x11-dll to 2.14 as it was causing issues on nightly.
2017-04-02 12:24:21 +02:00
### v0.9.1 (2017-04-02)
- [fixed] Correct link to docs in Cargo.toml
2016-08-02 18:24:25 +02:00
### v0.9.0 (2016-08-02)
- [added] ```get_unscaled_mouse_pos` `` Can be used the get actual mouse pos on a scaled window
2016-07-31 18:06:50 +02:00
### v0.8.4 (2016-07-31)
2016-08-02 18:24:25 +02:00
- [fixed] Mac: Fixed crash on large window sizes
2016-07-31 18:06:50 +02:00
2016-07-29 11:05:30 +02:00
### v0.8.3 (2016-07-29)
- [fixed] Mac: "Plonk sound" when pressing keys
- [fixed] Mac: incorrect size for ``get_size()` `
2016-07-08 20:29:21 +02:00
### v0.8.2 (2016-07-07)
- [fixed] Fixed so keypad keys works on Linux
2016-07-08 14:32:44 +02:00
### v0.8.1 (2016-07-07)
- [fixed] Character callback wouldn't get called on Mac and Linux
- [fixed] Resize cursors on Windows was swapped
2016-06-24 13:14:46 +02:00
### v0.8.0 (2016-06-24)
- [added] ```window.set_title` `` Can now change title after creation
- [added] ```window.set_cursor_style` `` Can now change the style of the cursor with a number of (OS supported types)
- [added] Added cursor_title example code to show the newly added features
2016-05-27 18:19:09 +02:00
### v0.7.1 (2016-05-27)
- [fixed] Character callback wouldn't get called on Mac.
2016-05-12 20:08:37 +02:00
### v0.7.0 (2016-05-12)
- [changed] - Fully rewrote the Menu API. See the documentation/menu example for the changes.
- [added] - Added ```Window::get_unix_menus` `` to get data access to menus on Linux/x11
2016-05-01 10:35:27 +02:00
### v0.6.0 (2016-05-01)
- [added] added ```get_size()` `` to retrive the size of the window.
2016-04-29 08:57:55 +02:00
### v0.5.2 (2016-04-29)
- [fixed] On Mac shortcuts using F1-F12 wasn't working correctly.
2016-04-25 18:18:33 +02:00
### v0.5.1 (2016-04-25)
- [fixed] ```get_window_handle` `` would return an invalid value on Unix. Now fixed.
2016-03-04 17:36:28 +01:00
### v0.5.0 (2016-03-04)
- [changed] - Proper Errors which uses ```std::Error` `` as base. ` ``Window::new` `` uses this but the API itself hasn't changed.
- [added] - Menu support on Mac and Windows. See the Menu API functions [here ](http://prodbg.com/minifb/minifb/struct.Window.html#method.add_menu )
- [known issue] - ```remove_menu` `` doesn't work on Windows [issue ](https://github.com/emoon/rust_minifb/issues/16 )
- [known issue] - On Mac when running an application from terminal on has to switch to another application and back to get menu focus. [issue ](https://github.com/emoon/rust_minifb/issues/17 )
2016-01-31 18:34:05 +01:00
### v0.4.0 (2016-01-31)
This release breaks some of the API by changing names and parameters to some functions.
- [changed] ```Window::new(...)` `` now takes WindowOptions struct to configure the creation of the Window. [doc ](http://prodbg.com/minifb/minifb/struct.Window.html#method.new )
- [changed] ```window.update()` `` Doesn't take a buffer anymore. See ` ``window.update_with_buffer` `` [doc ](http://prodbg.com/minifb/minifb/struct.Window.html#method.update )
- [added] ```window.update_with_buffer()` `` Old update version that takes buffer as input parameter [doc ](http://prodbg.com/minifb/minifb/struct.Window.html#method.update_with_buffer )
- [added] ```window.get_window_handle()` `` Returns the native handle (os dependant) [doc ](http://prodbg.com/minifb/minifb/struct.Window.html#method.get_window_handle )
2016-01-29 20:56:26 +01:00
### v0.3.1 (2016-01-29)
2016-01-31 18:34:05 +01:00
- [fixed] ```get_mouse_pos(Clamp)` `` clamps to ` ``[(0, 0) - (width - 1, height - 1)]` `` instead of ` ``(width, height)` ``
2016-01-29 20:56:26 +01:00
2016-01-29 20:16:00 +01:00
### v0.3.0 (2016-01-29)
2016-01-31 18:34:05 +01:00
This release adds support for mouse input. See the documentation and the examples for usage
- [added] [get_mouse_pos ](http://prodbg.com/minifb/minifb/struct.Window.html#method.get_mouse_pos )
- [added] [get_mouse_down ](http://prodbg.com/minifb/minifb/struct.Window.html#method.get_mouse_down )
- [added] [get_scroll_wheel ](http://prodbg.com/minifb/minifb/struct.Window.html#method.get_scroll_wheel )
2016-01-29 20:16:00 +01:00