Commit graph

291 commits

Author SHA1 Message Date
Daniel Collin a97362d314 Added travis status 2016-01-04 22:58:47 +01:00
Daniel Collin 4fd994be20 Another one 2016-01-04 22:51:24 +01:00
Daniel Collin f74f2b8354 Push to test travis 2016-01-04 22:50:06 +01:00
Daniel Collin f41674820c Added travis config 2016-01-04 22:44:24 +01:00
Daniel Collin dbbeaebd72 Added crates.io banner and documentation link 2016-01-04 22:40:38 +01:00
Daniel Collin d6cbb705c1 Mac fixes
* Removed resizing of window as that isn't supported
* Fixed issue that content view would be too small and top of window wouldn't be visible
* Removed some code that isn't needed

Bump lib version to 0.2.3
2016-01-04 21:14:06 +01:00
Daniel Collin 3f1b8e244a Updated to correct version 2016-01-03 15:35:17 +01:00
Daniel Collin 4cdfa04208 Updated *nix status 2016-01-03 15:33:28 +01:00
Daniel Collin 479088dab9 Bump to 0.2.2 and added homepage link 2016-01-03 15:30:33 +01:00
Daniel Collin 63966e4a68 Removed unused file 2016-01-03 15:29:30 +01:00
Daniel Collin 20e1b228cd Make sure we handle *nix correctly 2016-01-03 15:28:00 +01:00
Daniel Collin 264a630c39 Handle scaling and window close 2016-01-03 15:11:18 +01:00
Daniel Collin fa8101b885 Added X11 keyboard support 2016-01-03 13:37:17 +01:00
Daniel Collin 9c07aaae60 WIP on X11 version 2016-01-03 11:25:05 +01:00
Daniel Collin 424e913521 Correct link to example 2016-01-03 08:31:51 +01:00
Daniel Collin ad31097798 Fixed example and added Cargo dep 2016-01-03 08:29:37 +01:00
Daniel Collin bfff11abbf Bump to 0.2.1 2016-01-02 22:16:00 +01:00
Daniel Collin ae5917741f Fixed bad usage of incorrect Window 2016-01-02 22:07:38 +01:00
Daniel Collin 4e6d53deab Updated licence 2016-01-02 22:01:09 +01:00
Daniel Collin 894da55768 Merge branch 'wip'
# Conflicts:
#	README.md
2016-01-02 21:46:28 +01:00
Daniel Collin a90edcafb5 Updated current status 2016-01-02 21:45:57 +01:00
Daniel Collin 46982b4795 Added documentation link 2016-01-02 21:42:50 +01:00
Daniel Collin c5f45664ef More documentation 2016-01-02 21:42:37 +01:00
Daniel Collin 4b87f68125 Moved stuff around + documentation 2016-01-02 21:26:13 +01:00
Daniel Collin a7e1df51ad Use the new key_handler code 2016-01-02 19:40:56 +01:00
Daniel Collin 66c36fb6c6 Proper error handling if window create fail 2016-01-02 19:40:41 +01:00
Daniel Collin 867daf1ca9 Added working keyboard support for Mac
Also moved all code out from windows.rs to a shared key_handler impl
2016-01-02 18:55:46 +01:00
Daniel Collin 8e9f8d33a1 Add support for scaling 2016-01-02 15:49:53 +01:00
Daniel Collin 946aa5ec14 Mac fixes
* Removed hard coded global values for width, height, buffer - These are now tracked on a per window basis.
* Fixed multi-window support
* Various cleanup and fixes
2016-01-02 15:37:50 +01:00
Daniel Collin 092965cb49 Removed VSync flag 2016-01-02 15:36:08 +01:00
Daniel Collin a996f9b865 Removed Windows part as it's fully in Rust now 2016-01-02 12:00:19 +01:00
Daniel Collin 3e9ebe119b Updated various things
* Only depend on Win32 APIs on Windows
* Only depend on Cocoa/etc APIs on Mac
* Bump to 0.2.0
* Added description, keywords, etc
2016-01-02 11:59:59 +01:00
Daniel Collin 6c6d611599 Merge branch 'windows-rs' into wip
# Conflicts:
#	Cargo.toml
#	README.md
#	examples/noise.rs
#	src/lib.rs
#	src/windows.rs
2016-01-02 11:33:08 +01:00
Daniel Collin 1e477cd47f Rust format 2016-01-02 11:32:05 +01:00
Daniel Collin d4ca056adc New version running with keyboard support 2016-01-02 11:32:04 +01:00
Daniel Collin 60e28c4a74 Removed double Key0 2016-01-02 11:31:54 +01:00
Daniel Collin b66fbe709a WIP on Windows version 2016-01-02 11:31:54 +01:00
Daniel Collin 3415eb269d Update README.md 2016-01-02 11:31:35 +01:00
Daniel Collin 22cd61aabc Merge pull request #6 from kondrak/windows-rs
Ignore the "Class already exists" error in multiple-window application
2015-12-28 17:19:58 +01:00
Krzysztof Kondrak bd5ac066a2 fixed braces formatting + dropped err_code variable 2015-12-28 17:17:23 +01:00
Krzysztof Kondrak de47861fe3 Ignore the "Class already exists" error in multiple-window application 2015-12-28 16:50:51 +01:00
Daniel Collin c5aca23e78 Updated README with correct example 2015-12-25 10:37:13 +01:00
Daniel Collin ab849a63d4 Merge pull request #5 from kondrak/windows-rs
Added backquote/tilde key
2015-12-22 12:56:53 +01:00
Krzysztof Kondrak 6fd476783c Added backquote/tilde key 2015-12-22 12:54:06 +01:00
Daniel Collin 1455bd375e WIP on Mac version 2015-12-19 14:47:34 +01:00
Daniel Collin 026be10b8b Finally a visible window! 2015-12-19 11:44:36 +01:00
Daniel Collin 08028c1e54 WIP on Mac version 2015-12-19 08:25:04 +01:00
Daniel Collin aa5d84eb2b Added support for key repeat
* Added get_keys_pressed(KeyRepeat::Yes/No) in order for the user to
decide if repeat should be used or not
* added is_key_pressed(key, KeyRepeat::Yes/No)
* Added set_key_repeat_delay/rate in order to control the rate/delays of
keys
2015-12-18 20:21:47 +01:00
Daniel Collin 2a05ff3659 Merge pull request #4 from kondrak/windows-rs
added ScrollLock and numeric keypad
2015-12-17 12:44:01 +01:00
Krzysztof Kondrak 3bbbd46dd9 remove println\ 2015-12-17 12:33:21 +01:00