Commit Graph

219 Commits

Author SHA1 Message Date
Josh Matthews c5ecf76b3b Merge pull request #88 from metajack/platform-deps
Minor cleanups.
2015-06-03 13:07:21 -04:00
Jack Moffitt f85d87826e Minor cleanups. 2015-06-03 10:49:18 -06:00
Lars Bergstrom 07dcca59b1 Merge pull request #87 from fkaa/version-number
Add `NSAppKitVersionNumber`
2015-05-24 10:32:52 -05:00
Felix Kaaman 27a09caba9 Add NSAppKitVersionNumber 2015-05-24 15:29:14 +02:00
Lars Bergstrom 493594f4e2 Merge pull request #85 from fkaa/pixelformat-funcs
Add remaining functions to NSOpenGLPixelFormat
2015-05-05 13:00:28 -05:00
Felix Kaaman b78a1b828c Add remaining functions to NSOpenGLPixelFormat 2015-04-30 11:20:11 +02:00
Brendan Zabarauskas 26d02e3f36 Merge pull request #83 from SSheldon/overflow_sub
Fix overflow in NSTouchPhase definition
2015-04-03 20:18:48 +11:00
Steven Sheldon 8f7351571f Fixed overflow in NSTouchPhase definition. 2015-04-02 08:59:57 -07:00
Josh Matthews 564d8c603c Merge pull request #82 from SSheldon/stable_rust
Remove unused std_misc feature
2015-03-28 18:00:19 -04:00
Steven Sheldon a67cc837b5 Remove unused std_misc feature. 2015-03-28 13:31:16 -07:00
Brendan Zabarauskas a6ccca3e51 Merge pull request #81 from SSheldon/foundation_mod
Split a foundation mod from appkit
2015-03-29 07:22:10 +11:00
Steven Sheldon 89f0929acf Split a foundation mod from appkit. 2015-03-26 22:18:45 -07:00
Brendan Zabarauskas 8cb4e61cc3 Merge pull request #71 from SSheldon/objc_lib
Replace most of base.rs with the objc crate
2015-03-25 13:26:56 +11:00
Steven Sheldon 0dbaa0502c Removed incorrect casts. 2015-03-21 21:20:01 -07:00
Steven Sheldon 2ba1ebbb36 Use objc crate for runtime functions. 2015-03-21 21:20:01 -07:00
Jack Moffitt 07cb7109b6 Merge pull request #80 from Coeuvre/master
Added more methods
2015-03-19 16:10:18 -06:00
Coeuvre Wong 621242eb22 Added more methods 2015-03-19 09:21:51 +08:00
Patrick Walton ca3441a147 Merge pull request #78 from metajack/consistent-fpret
Use objc_msgSend_fpret consistently.
2015-03-06 15:16:14 -08:00
Jack Moffitt e3f85ff51c Use objc_msgSend_fpret consistently. 2015-03-06 16:12:58 -07:00
Brian Anderson 04a0ba54bc Merge pull request #76 from simnalamburt/master
Fix build error
2015-02-26 17:25:21 -08:00
Hyeon Kim c0e12fdccf Fix compile warning
1.  You don't need `#![feature(hash)]` anymore.
2.  `CString::from_slice` is deprecated now.
2015-02-27 10:03:15 +09:00
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