bors-servo
6cf6e00ffb
Auto merge of #112 - paulrouget:pressureEvent, r=jdm
...
add NSEventTypePressure event type
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/112 )
<!-- Reviewable:end -->
2016-02-16 19:16:53 +05:30
Paul Rouget
f21ffe6dc1
add NSEventTypePressure event type
2016-02-16 13:09:30 +01:00
Josh Matthews
f51d247d0f
Merge pull request #111 from pcwalton/window-buttons
...
Add bindings to -[NSWindow standardWindowButton:] and -[NSView removeFromSuperview].
2016-02-03 17:58:32 -05:00
Patrick Walton
bf4879fa00
Add bindings to -[NSWindow standardWindowButton:] and -[NSView
...
removeFromSuperview].
2016-02-03 14:53:45 -08:00
Josh Matthews
648c65392f
Merge pull request #110 from pcwalton/superview
...
Add a binding to -[NSView superview].
2016-02-03 17:21:24 -05:00
Patrick Walton
3d09c6517a
Add a binding to -[NSView superview].
2016-02-03 14:15:18 -08:00
Josh Matthews
712efcc25d
Merge pull request #109 from hnry/master
...
status bar button (icon)
2016-02-02 08:51:25 -05: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
bors-servo
727e5dc6e2
Auto merge of #108 - servo:strings-arrays-and-values-oh-my, r=metajack
...
Add various initializing methods for NSString, NSArray, and NSValue.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/108 )
<!-- Reviewable:end -->
2015-11-28 01:34:47 +05:30
Josh Matthews
c21f19bba2
Add various initializing methods for NSString, NSArray, and NSValue.
2015-11-27 10:26:39 -05:00
bors-servo
302aa86a54
Auto merge of #107 - metajack:crate-bump, r=pcwalton
...
Bump version for publish.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/107 )
<!-- Reviewable:end -->
2015-11-18 01:02:33 +05:30
Jack Moffitt
08eaff8efa
Bump version for publish.
2015-11-17 12:29:53 -07:00
bors-servo
2d48fd540e
Auto merge of #106 - sgnr:nsrect-encoding, r=metajack
...
Implement objc::Encode for NSRect.
This PR implements `objc::Encode` for `NSRect`, `NSSize` and `NSPoint`. The goal is to be able to send messages that take `NSRect` arguments such as `initWithFrame:`.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/106 )
<!-- Reviewable:end -->
2015-11-18 00:51:29 +05:30
Simon Génier
fe8cc9fcdf
Implement objc::Encode for NSRect.
2015-11-16 22:09:00 -05:00
bors-servo
e2787fae8f
Auto merge of #105 - mbrubeck:libc0.2, r=metajack
...
Upgrade to libc 0.2
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/105 )
<!-- Reviewable:end -->
2015-11-06 22:38:31 +05:30
Matt Brubeck
cb2842a171
Upgrade to libc 0.2
2015-11-06 09:07:59 -08:00
bors-servo
018e989379
Auto merge of #104 - ddrmanxbxfr:NSStringImprovements, r=metajack
...
Implement NSString Len + init_str use initWithBytes:length:encoding
Hi guys,
this PR makes a few improvements to the NSString bindings.
It adds the following :
1. solves issue #73 to use initWithBytes:length:encoding in init_str.
2. Adds cargo tests on append_string, utf8 conversion and init string.
3. Adds a length function.
Thanks for looking into it.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/104 )
<!-- Reviewable:end -->
2015-09-28 09:31:15 -06:00
Mathieu Rheaume
e8d5c36740
Implement NSString Len + init_str use initWithBytes:length:encoding
2015-09-28 02:42:22 -04:00
bors-servo
7630bbeeb2
Auto merge of #103 - trombonehero:patch-1, r=jdm
...
Bump version number
Expose recent `NSRunningApplication` changes to Cargo.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/103 )
<!-- Reviewable:end -->
2015-09-23 08:48:36 -06:00
Jonathan Anderson
bd8a1dc64b
Bump version number
...
Expose recent `NSRunningApplication` changes to Cargo.
2015-09-23 12:13:42 -02:30
bors-servo
2ecce3da1e
Auto merge of #102 - codesmythe:issue-98, r=metajack
...
Do app activation in example through NSRunningApplication to get menubar to work
Issue #98 and a comment in issue #30 both note that the example app has no menu bar when the app starts. This PR changes the activation logic to use NSRunningApplication instead of NSApplication to do the activation. On my Yosemite machine, this causes the menu bar to appear when the example app is started.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/102 )
<!-- Reviewable:end -->
2015-09-23 06:26:20 -06:00
Rob Gowin
d694e3b801
Delete no longer used value
2015-09-23 07:05:29 -05:00
Rob.Gowin
d56b150d2d
Activate the example app via NSRunningApplication
...
This fixes #98 , at least on my Yosemite machine.
2015-09-22 22:35:20 -05: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
bors-servo
1874dfba83
Auto merge of #101 - paulrouget:v14, r=metajack
...
Bump version to 0.1.4
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/101 )
<!-- Reviewable:end -->
2015-09-22 09:34:49 -06:00
Paul Rouget
a22b035d91
Bump version to 0.1.4
2015-09-22 17:25:21 +02:00
bors-servo
ed0d018f6a
Auto merge of #100 - paulrouget:addSubView, r=metajack
...
add addSubview method
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/100 )
<!-- Reviewable:end -->
2015-09-22 08:48:41 -06:00
Paul Rouget
99cf2944cb
add addSubview method
2015-09-22 09:27:56 +02:00
bors-servo
50087816af
Auto merge of #99 - paulrouget:yosemiteTitle, r=metajack
...
Add support for titleVisibility and titlebarAppearsTransparent
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/99 )
<!-- Reviewable:end -->
2015-09-21 09:58:32 -06: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
bors-servo
df2fbb67ce
Auto merge of #95 - mbrubeck:bump0.1.3, r=pcwalton
...
Bump version to 0.1.3
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/95 )
<!-- Reviewable:end -->
2015-07-24 15:17:16 -06:00
Matt Brubeck
aff6c3d5db
Bump version to 0.1.3
2015-07-24 14:14:58 -07:00
bors-servo
3dc74c2ac5
Auto merge of #79 - servo:travis, r=metajack
...
Travisify
None
2015-07-10 05:00:05 -06:00
Manish Goregaokar
af7b70751d
Travisify
2015-07-10 10:59:44 -06:00
Ms2ger
1a9bdf4f57
Merge pull request #94 from servo/unpin
...
Unpin the bitflags dependency; r=jdm
2015-07-06 09:35:53 +02:00
Ms2ger
c927576e8b
Unpin the bitflags dependency.
...
It causes Servo to depend on two versions of the bitflags crate (0.1 and 0.2).
2015-07-05 22:32:19 +02:00
Felix Kaaman
d9d30643ac
Add various methods related to menubars
2015-06-29 09:23:48 +02:00
Josh Matthews
86c8d5fa8a
Merge pull request #92 from SSheldon/core_graphics
...
Add core-graphics dependency
2015-06-06 09:16:20 -04:00
Steven Sheldon
297a2bf749
Add core-graphics dependency.
2015-06-06 01:12:05 -07:00
Glenn Watson
10df8a788f
Merge pull request #91 from metajack/crate-io2
...
Bring repo and package naming in line with Rust conventions.
2015-06-04 13:44:48 +10:00
Jack Moffitt
8f278a74ef
Bring repo and package naming in line with Rust conventions.
2015-06-03 21:43:09 -06:00
Josh Matthews
bad95eba97
Merge pull request #90 from metajack/cargo-license
...
Use correct shorthand for apache license since Cargo checks this.
2015-06-03 17:53:30 -04:00
Jack Moffitt
e55a8b7fe4
Use correct shorthand for apache license since Cargo checks this.
2015-06-03 14:44:49 -06:00