aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add missing `with_*` functionsPierre Krieger2014-12-311-0/+35
|
* Add `build_strict` function on buildersPierre Krieger2014-12-311-0/+20
|
* Unify WindowBuilder and HeadlessRendererBuilder for easier implementationsPierre Krieger2014-12-311-29/+46
|
* Removed 'extern crate gl_generator'Andrey Lesnikov2014-12-261-2/+0
|
* Add experimental attribute since this API will need to be cleaned up.Glenn Watson2014-12-191-0/+2
|
* Add resize example, fix warnings, make callback an option so it can be removed.Glenn Watson2014-12-191-2/+2
|
* Add callback function to allow resize messages to be sent on mac.Glenn Watson2014-12-191-0/+10
|
* Introduce a WindowProxy for accessing a subset of functionalityGlenn Watson2014-12-171-0/+31
| | | | | | | from other threads. This currently provides a way for other threads to wakeup a blocked event loop on X11. Other platforms have stub functions that need to be implemented. This is similar to the functionality of glfwPostEmptyEvent.
* Update for RustcPierre Krieger2014-12-131-0/+1
|
* Avoid warning; if_let and tuple_indexing now part of language.Jakob Fries2014-12-081-2/+0
|
* Add get_api() functionPierre Krieger2014-12-071-0/+24
|