Commit Graph

130 Commits

Author SHA1 Message Date
David Partouche 54ea87fdc8 Added a window level static 2014-11-11 23:39:02 +01:00
David Partouche 5de9d1742d Added NSScreen class 2014-11-11 23:39:02 +01:00
Patrick Walton 292b051edc Merge pull request #38 from bjz/remove-traits
Remove method traits
2014-11-10 17:19:20 -08:00
Brendan Zabarauskas 274a5f9e87 Remove method traits 2014-11-11 12:18:02 +11:00
Brendan Zabarauskas a01fd681fa Merge pull request #34 from DavidPartouche/glutin
Added some functions and types used for glutin
2014-11-11 04:57:36 +11:00
David Partouche ad2f33054e Removed NSEventSubtype, as it's only available from 10.10 2014-11-10 18:52:21 +01:00
David Partouche 27b5307956 Fixed some merge issues 2014-11-10 18:42:21 +01:00
David Partouche 51d6a9b463 Added more functions to grab NSEvent keycodes 2014-11-10 18:25:21 +01:00
David Partouche f3a488d98a Added more NSEvent functions for glutin 2014-11-10 18:23:14 +01:00
David Partouche f9f7161c4c Added some functions used for mouse events 2014-11-10 18:21:48 +01:00
David Partouche b821489e9b Added NSDate and NSEvent functions to handle events in the glutin crate 2014-11-10 18:18:39 +01:00
David Partouche 36966ddf74 Added some functions and types used for glutin 2014-11-10 18:15:21 +01:00
David Partouche 51a5137a20 Added some functions and types used for glutin 2014-11-10 18:11:38 +01:00
Patrick Walton 06c3c4a0f7 Merge pull request #36 from bjz/add-methods
Add some more methods to NSWindow and remove msgsend.m
2014-11-10 08:53:15 -08:00
Brendan Zabarauskas 4946936733 Eliminate some warnings 2014-11-11 01:19:30 +11:00
Brendan Zabarauskas ce40173504 Fix doc tests 2014-11-11 01:17:10 +11:00
Brendan Zabarauskas 0c58565978 Remove msgsend.m 2014-11-11 00:59:47 +11:00
Brendan Zabarauskas 7e03559544 Add window main status methods 2014-11-10 23:52:06 +11:00
Brendan Zabarauskas c59bce4bf0 Add window key status methods 2014-11-10 23:50:18 +11:00
Brendan Zabarauskas d7ea3c627a Add window edit status method 2014-11-10 23:42:34 +11:00
Brendan Zabarauskas ed90a72ba0 Add winidow minimization methods 2014-11-10 23:39:25 +11:00
Brendan Zabarauskas c82326fc1a Add window close methods 2014-11-10 23:32:35 +11:00
Brendan Zabarauskas 63f4265593 Add window movement methods 2014-11-10 23:32:35 +11:00
Brendan Zabarauskas f1b2041268 Add title management methods 2014-11-10 23:32:35 +11:00
Brendan Zabarauskas 05ed03136b Add window size methods 2014-11-10 23:32:34 +11:00
Brendan Zabarauskas 3614ac893b Add window layer and coordinate methods 2014-11-10 23:06:51 +11:00
Jack Moffitt f926323d30 Merge pull request #35 from shadowmint/bugfix-pub-traits
Bugfix pub traits
2014-10-17 23:28:25 -06:00
doug ab69c4a3d2 bump version number 2014-10-18 12:51:22 +08:00
doug 24e7b38bc6 Makes traits public to fix the build 2014-10-18 12:50:16 +08:00
Jack Moffitt 39ae55c8d3 Merge pull request #31 from alexchandel/hello_world
Added hello_world example, expanded appkit
2014-10-04 12:53:53 -06:00
Simon Sapin acb9b4efc7 Upgrade to rustc d2b30f7d3 2014-09-23 2014-09-27 10:25:40 +01:00
Alex Chandel 01d8c72f32 Use autorelease in hello_world 2014-09-23 00:23:22 -04:00
Justin Grimes 86144041e5 Fixed segfaul with invoke_msg_NSPoint_NSPoint. The issue was using objc_msgSend_stret instead of objc_msgSend. 2014-09-23 00:23:22 -04:00
Alex Chandel b14fa888cf Switch class implementation to traits/impls. 2014-09-23 00:21:26 -04:00
Alex Chandel 1c0bcd8fa6 Provide NSWindow -(void)center
This is to demonstrate moving the window in hello_world.rs as an
alternative to cascadeTopLeftFromPoint.
2014-09-23 00:21:26 -04:00
Alex Chandel be0f6bd4d7 Added hello_world example, expanded appkit
This commit adds a Hello World program, which creates and displays a
minimalist Cocoa app with a Menu Bar, a Quit menu, and a Window.

It also wraps the Cocoa methods used in hello_world in static functions
in appkit, inside separate modules for different classes. Later on,
Cocoa methods could be implemented as traits on `id` if that turns out
to be easier.
2014-09-23 00:21:26 -04:00
Keegan McAllister cfbf6d9d5a Merge pull request #33 from servo/rustup
Make invoke_msg bindings public for rust-alert
2014-09-19 11:39:14 -07:00
Keegan McAllister 8cda2336fc Make invoke_msg bindings public for rust-alert 2014-09-19 09:59:44 -07:00
Simon Sapin 2c40276cc2 Merge pull request #32 from servo/rustup
Rust upgrade
2014-09-18 17:50:17 +01:00
Keegan McAllister b7fef8665d Rust upgrade 2014-09-16 11:33:53 -07:00
glennw f5da9ccfae Merge pull request #29 from metajack/fix-msgsend-build
Fix Makefile omission post-Cargoification
2014-08-26 14:39:50 +10:00
Jack Moffitt 835b416c72 Fix Makefile omission post-Cargoification 2014-08-25 22:35:56 -06:00
glennw 005f33f06f Merge pull request #28 from metajack/cargoify
Cargoify rust-cocoa
2014-08-26 13:25:18 +10:00
Jack Moffitt 55a92e9985 Cargoify rust-cocoa
This must build on non-mac platform too, since Cargo doesn't have
support for conditional dependencies yet.
2014-08-25 18:26:08 -06:00
Cameron Zwarich 0d1ac254b4 Merge pull request #27 from servo/mac-32bit
Fixes for building 32bit.
2014-08-14 14:15:56 -07:00
Jack Moffitt f24aa3e1c8 Fixes for building 32bit. 2014-08-11 18:37:04 -06:00
Lars Bergstrom 140df9dfb1 Merge pull request #26 from servo/rustup-20140716
Update Rust.
2014-08-01 10:41:25 -05:00
Jack Moffitt 49c7f86370 Update Rust. 2014-08-01 09:39:21 -06:00
Patrick Walton 9516a94b8b Merge pull request #25 from metajack/rustup-20140624
Warning police.
2014-06-27 11:42:49 -07:00
Jack Moffitt c70a1902ba Warning police. 2014-06-27 12:26:31 -06:00