aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix the default value for OpenGL flag againPierre Krieger2015-04-021-1/+1
|
* Merge pull request #340 from tomaka/winimpl-platformtomaka2015-04-021-7/+7
|\ | | | | Rename "winimpl" module to "platform"
| * Rename "winimpl" to "platform"Pierre Krieger2015-04-021-7/+7
| |
* | Fix default OpenGL debug flag being the opposite of what it should bePierre Krieger2015-04-021-1/+1
|/
* Update for winapiPierre Krieger2015-03-301-2/+2
|
* choose_pixel_format now returns a ResultPierre Krieger2015-03-281-2/+2
|
* Fix compilation on win32Pierre Krieger2015-03-281-1/+1
|
* Change grab_cursor and ungrab_cursor to set_cursor_statePierre Krieger2015-03-261-0/+17
|
* Merge pull request #321 from SSheldon/objc_libBrendan Zabarauskas2015-03-261-0/+3
|\ | | | | Use objc crate for Objective-C runtime functionality
| * Updated to use objc lib.Steven Sheldon2015-03-251-0/+3
| |
* | RustupPierre Krieger2015-03-251-6/+6
|/
* Merge pull request #316 from binsoftware/cocoa-fixesBrendan Zabarauskas2015-03-241-0/+19
|\ | | | | Cocoa fixes: memory leaks, monitor handling, is_current()
| * fix headless build by ensuring NativeMonitorId enum is available internally ↵Ryan Stewart2015-03-181-1/+20
| | | | | | | | even without the window feature; add Eq/PartialEq to NativeMonitorId
| * expose platform-native monitor identifierRyan Stewart2015-03-161-1/+1
| |
* | RustupPierre Krieger2015-03-211-1/+3
|/
* Pull all dependencies from crates.ioPierre Krieger2015-03-131-1/+1
|
* Allow using non-hardware-accelerated pixel formatsPierre Krieger2015-03-011-7/+8
|
* Fix creating non-hardware-accelerated contextsPierre Krieger2015-03-011-0/+5
|
* Use the WGL API to determine extended pixel format, plus fix creationPierre Krieger2015-03-011-0/+1
|
* Remove deprecated 'allow' lintCorey Farwell2015-02-211-1/+0
|
* Opt into features to silence warningsCorey Farwell2015-02-211-1/+1
|
* Deref before matchingCorey Farwell2015-02-211-3/+3
| | | | rust-guidelines encourages this
* Improve the OpenGL context request systemPierre Krieger2015-02-181-2/+26
|
* Implement better handling for pixel formatsPierre Krieger2015-02-161-1/+52
|
* Cleanup crate root by moving headless and window to modulesPierre Krieger2015-02-161-589/+9
|
* Merge pull request #70 from tomaka/fix-iteratorstomaka2015-02-101-28/+6
|\ | | | | Use platform-specific iterators instead
| * Win32: use platform-specific iterators insteadTomaka172015-02-101-28/+6
| |
* | Implement win32 initialization in a cleaner wayPierre Krieger2015-02-101-0/+27
|/
* Add WebGL in the APIs listPierre Krieger2015-01-291-0/+2
|
* fix for rust nightlyAndrew Kelley2015-01-281-1/+1
|
* Merge pull request #231 from bjz/osx-windowtomaka2015-01-261-2/+2
|\ | | | | Implement some more Cocoa stuff
| * Rename osx->cocoaBrendan Zabarauskas2015-01-261-2/+2
| |
* | Upgrade to latest winapiPeter Atashian2015-01-251-0/+6
|/ | | | Signed-off-by: Peter Atashian <retep998@gmail.com>
* fix for latest rustcAndrew Kelley2015-01-231-5/+17
|
* Merge pull request #219 from bjwbell/remove-deadcode-warningtomaka2015-01-231-0/+1
|\ | | | | Remove deadcode warning in BuilderAttribs
| * Remove deadcode warning in BuilderAttribsBryan Bell2015-01-231-0/+1
| | | | | | | | | | | | In src/lib.rs remove the deadcode warning about the 'headless' builder attribute. Headless is /actually/ set to false or true depending on if HeadlessRendererBuilder is used.
* | Disable compiler unstable warningsBryan Bell2015-01-221-0/+1
|/ | | | | To cleanup the compiler output when building, disable warnings about using unstable crates/features.
* Merge pull request #213 from tomaka/permanent-iteratorstomaka2015-01-191-8/+30
|\ | | | | Iterators returned by wait_events and poll_events are now persistent
| * Iterators returned by wait_events and poll_events are now persistentPierre Krieger2015-01-191-8/+30
| |
* | Add missing get_api stubs.Glenn Watson2015-01-191-0/+7
|/ | | | | | | Add hidpi_factor() support for retina displays. Fix Resize and MouseMoved events to handle retina displays. Fix inverted y position for MouseMoved events on mac. Fix initial painting on retina display.
* Change &mut self to &self in set_cursorBryan Bell2015-01-171-1/+1
|
* x11, android, win32: [ui]size, [u]int -> [ui]32Andrey Lesnikov2015-01-131-14/+14
|
* Merge pull request #192 from bjwbell/mouse-cursorstomaka2015-01-131-0/+62
|\ | | | | Add mouse cursor support
| * Code review commentsBryan Bell2015-01-131-0/+1
| | | | | | | | | | - Revert version back to 0.0.4 - Add comment that set_cursor has no effect on Android
| * Add mouse cursor supportBryan Bell2015-01-121-0/+61
| | | | | | | | | | | | | | Add a new api, window.set_cursor, for setting the cursor. The enum MouseCursor lists the possible cursors. Only X11 is implemented. On OSX, Android, & Win32 the window.set_cursor function either does nothing or calls the "unimplemented!" macro.
* | Change uint/int to usize/isizeBryan Bell2015-01-121-14/+14
|/ | | | | From https://github.com/rust-lang/rfcs/pull/544 the types uint/int were renamed to usize/isize.
* Update to latest Rust nightlyAustin Bonander2015-01-081-3/+0
|
* fix for Iterator now using associated typesMike Dilger2015-01-051-3/+7
|
* Update for RustcPierre Krieger2015-01-031-3/+3
|
* Change the way that events are represented.Ty Overby2015-01-011-10/+11
| | | | | | | | | | The bulk of this commit is changing instances of Vec to RingBuf which is optimized for the push_back() / pop_front() strategy that is used internaly in the event system. The glutin custom iterators are now just wrappers around the RingBuf iterator type. This will bring the running time of iterator traversal from O(n^2) to O(n) because shifting-on-delete won't be performed.