Commit Graph

198 Commits

Author SHA1 Message Date
Hyeon Kim 2e4e155aed Fix compile error
'NSEventMask', 'NSEventModifierFlags' are not module, so commands like
below is not valid anymore.

    pub use self::NSEventMask::*;
    pub use self::NSEventModifierFlags::*;
2015-02-27 09:39:45 +09:00
Brendan Zabarauskas 458971cb11 Merge pull request #75 from mitchmindtree/master
Fixed runtime error in example by removing unnecessary null terminator
2015-02-24 22:31:23 +11:00
mitchmindtree 55cae60f78 Fixed runtime error in example by removing unnecessary null terminator 2015-02-22 16:11:19 +11:00
Brendan Zabarauskas bb12c9c403 Merge pull request #74 from pcwalton/fpret
Use `objc_msgSend_fpret` for `backingStoreFactor`.
2015-02-22 07:53:17 +11:00
Patrick Walton b8a33f19a1 Use objc_msgSend_fpret for backingStoreFactor.
This mistake led to a bizarre chain reaction in Servo that ultimately
led to a hang only when optimization was enabled.
2015-02-20 22:17:53 -08:00
Brendan Zabarauskas 7768a8f6af Merge pull request #72 from glennw/fix-nswindow-crash
Fix an osx internal assertion in NSWindow - ensure the C string is null terminated.
2015-02-19 07:27:16 +11:00
Glenn Watson d7e68cf6bb Fix an osx internal assertion in NSWindow - ensure the C string is null terminated. 2015-02-18 14:39:15 +10:00
Josh Matthews fdc033e2ed Merge pull request #70 from IvanUkhov/event-mask-letter-case
Fix letter case in NSEventMask
2015-02-10 15:29:45 -05:00
Ivan Ukhov 549f168f26 Fix letter case in NSEventMask 2015-02-10 21:27:30 +01:00
glennw acbc5ca1d8 Merge pull request #69 from bjz/init-methods
Fix NSOpenGLContext init methods
2015-02-10 19:19:26 +10:00
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