Patrick Walton
2028cee801
Add the venerable NSRectFill.
2016-05-09 11:02:38 -07:00
Patrick Walton
f461b65eda
Add autosizing-related methods and constants to NSView.
2016-05-09 11:01:02 -07:00
Corey Farwell
976e6dbc70
Derive common traits for AppKit integer repr enums.
2016-04-28 19:15:23 -04:00
Corey Farwell
f037498244
Add NSApplicationActivationPolicyProhibited.
...
https://developer.apple.com/library/mac/documentation/AppKit/Reference/NSRunningApplication_Class/#//apple_ref/c/tdef/NSApplicationActivationPolicy
2016-04-28 10:35:50 -04:00
Conrad Kramer
d874e1d9d8
Added basic NSFastEnumeration implementation
2016-03-31 13:08:05 -07:00
Josh Matthews
768538d630
Merge pull request #116 from fkaa/foundation-nsrange
...
Add NSRange
2016-02-27 16:48:30 -05:00
Felix Kaaman
ff18c50631
Add NSRange
2016-02-27 22:12:50 +01:00
Felix Kaaman
e403c78fee
Add NSView functions
2016-02-27 22:02:09 +01:00
Paul Rouget
f21ffe6dc1
add NSEventTypePressure event type
2016-02-16 13:09:30 +01:00
Patrick Walton
bf4879fa00
Add bindings to -[NSWindow standardWindowButton:] and -[NSView
...
removeFromSuperview].
2016-02-03 14:53:45 -08:00
Patrick Walton
3d09c6517a
Add a binding to -[NSView superview].
2016-02-03 14:15:18 -08:00
hc
20c994ecaa
NSImage methods and version bump
...
added some methods to NSImage and version bump to 0.2.3
2016-01-29 22:22:01 -05:00
hc
36f4d4cab3
NSStatusBar
...
mostly complete, missing `thickness` property, unsure how to access
this property
2016-01-29 21:29:53 -05:00
hc
5d3fd95607
forgot _ for NSStatusItem setLength
...
whoops forget to add _ for setLength
2016-01-29 21:06:46 -05:00
hc
94efc59d57
NSStatusItem
...
NSStatusItem fully implemented
2016-01-29 21:04:49 -05:00
hc
a96019726c
init status bar button (icon)
...
the minimum to get a status bar button (icon) to appear
2016-01-29 12:19:51 -05:00
Josh Matthews
c21f19bba2
Add various initializing methods for NSString, NSArray, and NSValue.
2015-11-27 10:26:39 -05:00
Simon Génier
fe8cc9fcdf
Implement objc::Encode for NSRect.
2015-11-16 22:09:00 -05:00
Mathieu Rheaume
e8d5c36740
Implement NSString Len + init_str use initWithBytes:length:encoding
2015-09-28 02:42:22 -04:00
Rob.Gowin
b82bcbe5c5
Added NSRunningApplication and two associated functions.
...
Added ability to call [[NSRunningApplication currentApplication]
activateWithOptions: NSApplicationActivateIgnoringOtherApps]
which is used in the example to fix the missing menu bar when
the example app starts.
2015-09-22 22:34:31 -05:00
bors-servo
22791ddd4d
Auto merge of #93 - fkaa:menubar-stuff, r=metajack
...
Add various methods related to menubars
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/93 )
<!-- Reviewable:end -->
2015-09-22 13:43:41 -06:00
bors-servo
e0f37a07a5
Auto merge of #97 - sgnr:nswindow-managing-responders, r=metajack
...
Add responder management to NSWindow.
As described [in the documentation for `NSWindow`](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/ ).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/97 )
<!-- Reviewable:end -->
2015-09-22 13:38:07 -06:00
Paul Rouget
99cf2944cb
add addSubview method
2015-09-22 09:27:56 +02:00
Paul Rouget
06d64a18c8
Add support for titleVisibility and titlebarAppearsTransparent
2015-09-21 11:28:11 +02:00
Simon Génier
fd19702e84
Add responder management to NSWindow.
2015-09-12 14:18:58 -04:00
Felix Kaaman
d9d30643ac
Add various methods related to menubars
2015-06-29 09:23:48 +02:00
Steven Sheldon
297a2bf749
Add core-graphics dependency.
2015-06-06 01:12:05 -07:00
Jack Moffitt
f85d87826e
Minor cleanups.
2015-06-03 10:49:18 -06:00
Felix Kaaman
27a09caba9
Add NSAppKitVersionNumber
2015-05-24 15:29:14 +02:00
Felix Kaaman
b78a1b828c
Add remaining functions to NSOpenGLPixelFormat
2015-04-30 11:20:11 +02:00
Steven Sheldon
8f7351571f
Fixed overflow in NSTouchPhase definition.
2015-04-02 08:59:57 -07:00
Steven Sheldon
a67cc837b5
Remove unused std_misc feature.
2015-03-28 13:31:16 -07:00
Steven Sheldon
89f0929acf
Split a foundation mod from appkit.
2015-03-26 22:18:45 -07: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
Coeuvre Wong
621242eb22
Added more methods
2015-03-19 09:21:51 +08:00
Jack Moffitt
e3f85ff51c
Use objc_msgSend_fpret consistently.
2015-03-06 16:12:58 -07: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
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
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
Ivan Ukhov
549f168f26
Fix letter case in NSEventMask
2015-02-10 21:27:30 +01:00
Brendan Zabarauskas
3c737a9f16
Fix NSOpenGLContext init methods
...
These are instance methods, not class methods
2015-02-10 20:05:18 +11:00
Brendan Zabarauskas
587657ec8e
Fix silly copy-paste mistake
...
Fixes #67 .
2015-02-10 08:48:32 +11: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
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
5c2a2b2a9e
Use consistent naming style
2015-02-04 07:58:54 +11:00