Commit Graph

188 Commits

Author SHA1 Message Date
Brendan Zabarauskas 3c737a9f16 Fix NSOpenGLContext init methods
These are instance methods, not class methods
2015-02-10 20:05:18 +11:00
Jack Moffitt fa61633a8b Merge pull request #68 from servo/silly-mistake
Fix silly copy-paste mistake
2015-02-09 14:49:43 -07:00
Brendan Zabarauskas 587657ec8e Fix silly copy-paste mistake
Fixes #67.
2015-02-10 08:48:32 +11:00
Jack Moffitt 98bcca5906 Merge pull request #66 from bjz/nsopenglcontext
Add NSOpenGLContext methods
2015-02-09 10:31:59 -07:00
Brendan Zabarauskas c4b1941432 Add NSOpenGLContext methods 2015-02-09 19:38:56 +11:00
Brendan Zabarauskas c77d7b5edb Merge pull request #64 from SkylerLipthay/runtime-base-improvements
Completed Objective-C runtime FFI
2015-02-09 17:28:48 +11:00
Skyler Lipthay d23a4a177f Use libc::ptrdiff_t instead of defining ptrdiff_t manually 2015-02-08 17:16:40 -08:00
Manish Goregaokar 26b8fd626c Merge pull request #63 from SkylerLipthay/nightly-fix
Fixes for compiling on recent nightly (2015-02-04) without warnings
2015-02-08 17:26:46 +05:30
Skyler Lipthay 7a2e87a0df Flushed out the entirety of the Objective-C runtime. Added some extra documentation. 2015-02-08 01:29:11 -08:00
Skyler Lipthay f7c8ef9d62 Silence warnings by adding std_misc and hash features and removing the unstable warning allowance. 2015-02-08 01:18:26 -08:00
Brendan Zabarauskas c59c4cb750 Merge pull request #61 from tomaka/patch-1
Use libc from crates.io
2015-02-07 14:29:41 +11:00
tomaka cbab45e908 Use libc from crates.io 2015-02-06 20:36:34 +01:00
Lars Bergstrom 7f976d9566 Merge pull request #60 from bjz/fixes
Some fixes
2015-02-03 18:07:13 -06:00
Brendan Zabarauskas 5c2a2b2a9e Use consistent naming style 2015-02-04 07:58:54 +11:00
Brendan Zabarauskas 9b542ec8c3 Use correct selector name 2015-02-04 07:58:36 +11:00
Brendan Zabarauskas cab89193ad Use correct msg_send function 2015-02-04 07:58:02 +11:00
Lars Bergstrom 1b7134a7c0 Merge pull request #59 from bjz/master
More methods added
2015-01-29 11:53:47 -06:00
Brendan Zabarauskas 9b44050455 Use standard indentation 2015-01-29 21:25:40 +11:00
Brendan Zabarauskas e11ad6e525 Add NSScreen methods 2015-01-26 20:40:18 +11:00
Brendan Zabarauskas 78509d02d8 Add missing NSEvent methods 2015-01-26 20:35:35 +11:00
Brendan Zabarauskas 6f62456824 More NSWindow methods added 2015-01-26 13:12:57 +11:00
Lars Bergstrom 6cff0d42ce Merge pull request #58 from bjz/window_methods
Add lots of missing window methods
2015-01-25 07:36:20 -06:00
Lars Bergstrom 77c7f7c7aa Merge pull request #57 from bjz/master
Use faithful BOOL type in bindings
2015-01-24 18:07:59 -06:00
Brendan Zabarauskas 807beb8dcf Add lots of missing window methods 2015-01-25 00:35:27 +11:00
Brendan Zabarauskas 90d66dc8a0 Use faithful BOOL type in bindings 2015-01-23 22:43:49 +11:00
Brendan Zabarauskas 67dc6b7c8b Add Nil 2015-01-23 22:42:51 +11:00
Josh Matthews 57b80f2480 Merge pull request #56 from IvanUkhov/rust-master
Update to Rust 1.0 Alpha and Rust Nightly
2015-01-20 10:34:19 -05:00
Ivan Ukhov 3372dec93a Update to Rust Nightly 2015-01-20 15:50:49 +01:00
Ivan Ukhov 84a405ba9f Update to Rust 1.0 Alpha 2015-01-20 15:50:35 +01:00
Jack Moffitt 06ad6e2863 Merge pull request #55 from sbward/word-size-cargo
Cargo compatibility (target_pointer_width)
2015-01-12 17:17:17 -07:00
Sam Ward d44a1b8520 Replace target_word_size with target_pointer_width 2015-01-12 14:04:40 -08:00
Jack Moffitt aa99a3260b Merge pull request #53 from sbward/master
Update for 1.0.0-alpha compatibility
2015-01-12 12:52:35 -07:00
Sam Ward 816fa02a28 Change NSEventMask enum to 32 bit representation 2015-01-10 12:00:31 -08:00
Sam Ward 604141a324 Update for 1.0.0-alpha compatibility 2015-01-09 21:59:17 -08:00
Jack Moffitt bf53a53ce3 Merge pull request #51 from poiru/fix-rustc-fc2ba1393
Fix build failure with latest Rust nightly
2015-01-05 09:42:58 -07:00
Josh Matthews a93d2a7d89 Merge pull request #52 from poiru/fix-to_c_str-dangling-ptr
Fix dangling pointer with `to_c_str().as_mut_ptr()`
2015-01-04 12:13:10 -05:00
Birunthan Mohanathas 4996cf5ab2 Fix dangling pointer with to_c_str().as_mut_ptr() 2015-01-04 17:59:59 +02:00
Birunthan Mohanathas 9f9705df62 Fix build failure with latest Rust nightly 2015-01-04 17:56:32 +02:00
Brendan Zabarauskas aeb4db571a Merge pull request #50 from PixelPirate/master
Added NSOpenGLPFAOpenGLProfile values
2014-12-30 00:19:44 +11:00
Patrick Horlebein f04542effc Added NSOpenGLPFAOpenGLProfile values 2014-12-29 12:36:46 +01:00
Lars Bergstrom 7412734e04 Merge pull request #48 from glennw/fix-stret
Revert "Fix more obj-c method calls."
2014-12-23 16:00:11 -06:00
Glenn Watson 45cef1badf Revert "Fix more obj-c method calls."
This reverts commit fc1f0360f9.
2014-12-24 07:51:57 +10:00
Jack Moffitt 595f5ad982 Merge pull request #47 from glennw/fix-segfault
Use correct msg send function to fix segfault.
2014-12-23 14:10:17 -07:00
Glenn Watson fc1f0360f9 Fix more obj-c method calls. 2014-12-24 05:27:41 +10:00
Glenn Watson 5303c54297 Use correct msg send function to fix segfault. 2014-12-23 14:02:22 +10:00
Patrick Walton 8f47f126fe Merge pull request #46 from glennw/mouse-wheel
Add method to get scroll delta from NSEvent.
2014-12-17 21:13:45 -08:00
Glenn Watson d55dd11e77 Add method to get scroll delta from NSEvent. 2014-12-18 15:04:06 +10:00
Brendan Zabarauskas 19d6f6977d Merge pull request #45 from DavidPartouche/context_parameters
Added the option to set context parameter values to an NSOpenGLContext
2014-11-27 00:51:52 +11:00
David Partouche b43d03fb9a Fixed merge issue 2014-11-26 14:50:52 +01:00
David Partouche 43783e50fc Added the option to set context parameter values to an NSOpenGLContext 2014-11-26 14:31:58 +01:00