-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move block
crate into this repo
#18
Commits on Dec 6, 2014
-
Configuration menu - View commit details
-
Copy full SHA for b496627 - Browse repository at this point
Copy the full SHA b496627View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cece3b - Browse repository at this point
Copy the full SHA 1cece3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42a8f8a - Browse repository at this point
Copy the full SHA 42a8f8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b6ea39 - Browse repository at this point
Copy the full SHA 5b6ea39View commit details
Commits on Dec 11, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 046bb79 - Browse repository at this point
Copy the full SHA 046bb79View commit details
Commits on Dec 21, 2014
-
Configuration menu - View commit details
-
Copy full SHA for ad4f35c - Browse repository at this point
Copy the full SHA ad4f35cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6ea817 - Browse repository at this point
Copy the full SHA d6ea817View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1822be4 - Browse repository at this point
Copy the full SHA 1822be4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 993f5dd - Browse repository at this point
Copy the full SHA 993f5ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78c4a00 - Browse repository at this point
Copy the full SHA 78c4a00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b94de2 - Browse repository at this point
Copy the full SHA 7b94de2View commit details -
Made creating ConcreteBlocks safer.
Instead of supplying an extern fn, a simpler native rust fn is supplied and the BlockArguments trait is used to get an extern fn that wraps it.
Configuration menu - View commit details
-
Copy full SHA for 732b197 - Browse repository at this point
Copy the full SHA 732b197View commit details
Commits on Dec 23, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 27c5aef - Browse repository at this point
Copy the full SHA 27c5aefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b0c3b4 - Browse repository at this point
Copy the full SHA 9b0c3b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45cadbd - Browse repository at this point
Copy the full SHA 45cadbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78a4852 - Browse repository at this point
Copy the full SHA 78a4852View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34b5bb4 - Browse repository at this point
Copy the full SHA 34b5bb4View commit details -
Fixed a nasty bug in block_context_copy.
Previous code was just assigning to an uninitialzed field, so the compiler was dropping it; by changing this to a ptr::write the existing value is no longer dropped.
Configuration menu - View commit details
-
Copy full SHA for 0e03246 - Browse repository at this point
Copy the full SHA 0e03246View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c2c447 - Browse repository at this point
Copy the full SHA 0c2c447View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e26f33 - Browse repository at this point
Copy the full SHA 4e26f33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d2a103 - Browse repository at this point
Copy the full SHA 5d2a103View commit details
Commits on Dec 24, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 3573f2e - Browse repository at this point
Copy the full SHA 3573f2eView commit details
Commits on Dec 25, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 942de97 - Browse repository at this point
Copy the full SHA 942de97View commit details
Commits on Dec 28, 2014
-
Configuration menu - View commit details
-
Copy full SHA for f3119f3 - Browse repository at this point
Copy the full SHA f3119f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 186a4cc - Browse repository at this point
Copy the full SHA 186a4ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6670ac - Browse repository at this point
Copy the full SHA d6670acView commit details -
Configuration menu - View commit details
-
Copy full SHA for e250b92 - Browse repository at this point
Copy the full SHA e250b92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32001d6 - Browse repository at this point
Copy the full SHA 32001d6View commit details -
Changed ConcreteBlock to use a generic closure.
The old behavior can be replicated by creating a custom closure with a context and function.
Configuration menu - View commit details
-
Copy full SHA for 8bd035a - Browse repository at this point
Copy the full SHA 8bd035aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03a04fb - Browse repository at this point
Copy the full SHA 03a04fbView commit details
Commits on Dec 29, 2014
-
Configuration menu - View commit details
-
Copy full SHA for d3579e8 - Browse repository at this point
Copy the full SHA d3579e8View commit details
Commits on Dec 30, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 052e479 - Browse repository at this point
Copy the full SHA 052e479View commit details
Commits on Dec 31, 2014
-
Configuration menu - View commit details
-
Copy full SHA for be61ff1 - Browse repository at this point
Copy the full SHA be61ff1View commit details -
Configuration menu - View commit details
-
Copy full SHA for eec21a1 - Browse repository at this point
Copy the full SHA eec21a1View commit details
Commits on Jan 6, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 57daad9 - Browse repository at this point
Copy the full SHA 57daad9View commit details
Commits on Jan 10, 2015
-
Fixed most issues for the latest rust.
Disabled the msg_send! and method! macros.
Configuration menu - View commit details
-
Copy full SHA for 68d2a5d - Browse repository at this point
Copy the full SHA 68d2a5dView commit details -
Add argument and return types back to ConcreteBlock.
This reverts commit 3c6d05c.
Configuration menu - View commit details
-
Copy full SHA for c798cd8 - Browse repository at this point
Copy the full SHA c798cd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 481d374 - Browse repository at this point
Copy the full SHA 481d374View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a552ff - Browse repository at this point
Copy the full SHA 9a552ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0677664 - Browse repository at this point
Copy the full SHA 0677664View commit details -
Configuration menu - View commit details
-
Copy full SHA for 679a8f6 - Browse repository at this point
Copy the full SHA 679a8f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05c17ed - Browse repository at this point
Copy the full SHA 05c17edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5104479 - Browse repository at this point
Copy the full SHA 5104479View commit details
Commits on Jan 11, 2015
-
Configuration menu - View commit details
-
Copy full SHA for e609a10 - Browse repository at this point
Copy the full SHA e609a10View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1efff8 - Browse repository at this point
Copy the full SHA b1efff8View commit details
Commits on Jan 14, 2015
-
Configuration menu - View commit details
-
Copy full SHA for bcb87e9 - Browse repository at this point
Copy the full SHA bcb87e9View commit details
Commits on Jan 17, 2015
-
Configuration menu - View commit details
-
Copy full SHA for d61568b - Browse repository at this point
Copy the full SHA d61568bView commit details
Commits on Jan 18, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 2f7bf9f - Browse repository at this point
Copy the full SHA 2f7bf9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 093ea64 - Browse repository at this point
Copy the full SHA 093ea64View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2be6b7 - Browse repository at this point
Copy the full SHA e2be6b7View commit details
Commits on Jan 30, 2015
-
Configuration menu - View commit details
-
Copy full SHA for efda935 - Browse repository at this point
Copy the full SHA efda935View commit details
Commits on Feb 1, 2015
-
Configuration menu - View commit details
-
Copy full SHA for a159a1b - Browse repository at this point
Copy the full SHA a159a1bView commit details
Commits on Feb 7, 2015
-
Configuration menu - View commit details
-
Copy full SHA for a17ef73 - Browse repository at this point
Copy the full SHA a17ef73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 847aed1 - Browse repository at this point
Copy the full SHA 847aed1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25345a4 - Browse repository at this point
Copy the full SHA 25345a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fc4d69 - Browse repository at this point
Copy the full SHA 7fc4d69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0622f6d - Browse repository at this point
Copy the full SHA 0622f6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4842a2 - Browse repository at this point
Copy the full SHA f4842a2View commit details
Commits on Feb 10, 2015
-
Configuration menu - View commit details
-
Copy full SHA for d621f0f - Browse repository at this point
Copy the full SHA d621f0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d17a48b - Browse repository at this point
Copy the full SHA d17a48bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7a54f3 - Browse repository at this point
Copy the full SHA a7a54f3View commit details
Commits on Feb 11, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 6a8656a - Browse repository at this point
Copy the full SHA 6a8656aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99d285b - Browse repository at this point
Copy the full SHA 99d285bView commit details
Commits on Feb 14, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 7c28aff - Browse repository at this point
Copy the full SHA 7c28affView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59d8e46 - Browse repository at this point
Copy the full SHA 59d8e46View commit details
Commits on Feb 18, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 9ae5059 - Browse repository at this point
Copy the full SHA 9ae5059View commit details
Commits on Feb 22, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 2f8c87f - Browse repository at this point
Copy the full SHA 2f8c87fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 580ff1d - Browse repository at this point
Copy the full SHA 580ff1dView commit details
Commits on Feb 24, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 2ac205a - Browse repository at this point
Copy the full SHA 2ac205aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee154d7 - Browse repository at this point
Copy the full SHA ee154d7View commit details
Commits on Mar 3, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 2d4266d - Browse repository at this point
Copy the full SHA 2d4266dView commit details
Commits on Mar 8, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 313c0a5 - Browse repository at this point
Copy the full SHA 313c0a5View commit details
Commits on Apr 17, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 9949d59 - Browse repository at this point
Copy the full SHA 9949d59View commit details -
Configuration menu - View commit details
-
Copy full SHA for e20aba1 - Browse repository at this point
Copy the full SHA e20aba1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a82e83 - Browse repository at this point
Copy the full SHA 6a82e83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7831e10 - Browse repository at this point
Copy the full SHA 7831e10View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe901fe - Browse repository at this point
Copy the full SHA fe901feView commit details -
Configuration menu - View commit details
-
Copy full SHA for b41dc67 - Browse repository at this point
Copy the full SHA b41dc67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c5dee5 - Browse repository at this point
Copy the full SHA 9c5dee5View commit details
Commits on Apr 18, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 05004aa - Browse repository at this point
Copy the full SHA 05004aaView commit details
Commits on Apr 20, 2015
-
Configuration menu - View commit details
-
Copy full SHA for c93b6a1 - Browse repository at this point
Copy the full SHA c93b6a1View commit details
Commits on Apr 27, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 895e712 - Browse repository at this point
Copy the full SHA 895e712View commit details
Commits on Apr 30, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 7b0fbcd - Browse repository at this point
Copy the full SHA 7b0fbcdView commit details
Commits on May 2, 2015
-
Added documentation link to Cargo metadata.
(cherry picked from commit c93b6a1)
Configuration menu - View commit details
-
Copy full SHA for 4426ca1 - Browse repository at this point
Copy the full SHA 4426ca1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5111e0 - Browse repository at this point
Copy the full SHA a5111e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c8b7a9 - Browse repository at this point
Copy the full SHA 0c8b7a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2b770e - Browse repository at this point
Copy the full SHA e2b770eView commit details
Commits on May 17, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 9c28f61 - Browse repository at this point
Copy the full SHA 9c28f61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d6da41 - Browse repository at this point
Copy the full SHA 8d6da41View commit details -
Configuration menu - View commit details
-
Copy full SHA for c485b40 - Browse repository at this point
Copy the full SHA c485b40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00631d5 - Browse repository at this point
Copy the full SHA 00631d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc918f4 - Browse repository at this point
Copy the full SHA fc918f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13cafce - Browse repository at this point
Copy the full SHA 13cafceView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4cba0b - Browse repository at this point
Copy the full SHA a4cba0bView commit details
Commits on Sep 2, 2015
-
Fix nightly warnings related to lifetimes
The following warnings appear: ``` src/lib.rs:73:5: 73:68 warning: the trait `core::marker::Sized` is not implemented for the type `Self` [E0277] src/lib.rs:73 unsafe fn call_block<R>(self, block: *mut Block<Self, R>) -> R; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lib.rs:73:5: 73:68 help: run `rustc --explain E0277` to see a detailed explanation src/lib.rs:73:5: 73:68 note: `Self` does not have a constant size known at compile-time src/lib.rs:73 unsafe fn call_block<R>(self, block: *mut Block<Self, R>) -> R; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lib.rs:73:5: 73:68 note: this warning results from recent bug fixes and clarifications; it will become a HARD ERROR in the next release. See RFC 1214 for details. src/lib.rs:73 unsafe fn call_block<R>(self, block: *mut Block<Self, R>) -> R; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lib.rs:73:5: 73:68 note: required by `Block` src/lib.rs:73 unsafe fn call_block<R>(self, block: *mut Block<Self, R>) -> R; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lib.rs:187:5: 187:71 warning: the trait `core::marker::Sized` is not implemented for the type `Self` [E0277] src/lib.rs:187 fn into_concrete_block(self) -> ConcreteBlock<A, Self::Ret, Self>; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lib.rs:187:5: 187:71 help: run `rustc --explain E0277` to see a detailed explanation src/lib.rs:187:5: 187:71 note: `Self` does not have a constant size known at compile-time src/lib.rs:187 fn into_concrete_block(self) -> ConcreteBlock<A, Self::Ret, Self>; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lib.rs:187:5: 187:71 note: this warning results from recent bug fixes and clarifications; it will become a HARD ERROR in the next release. See RFC 1214 for details. src/lib.rs:187 fn into_concrete_block(self) -> ConcreteBlock<A, Self::Ret, Self>; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lib.rs:187:5: 187:71 note: required by `ConcreteBlock` src/lib.rs:187 fn into_concrete_block(self) -> ConcreteBlock<A, Self::Ret, Self>; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` ...because of: rust-lang/rfcs#1214
Configuration menu - View commit details
-
Copy full SHA for 5fd52e8 - Browse repository at this point
Copy the full SHA 5fd52e8View commit details
Commits on Sep 3, 2015
-
Configuration menu - View commit details
-
Copy full SHA for bd10ada - Browse repository at this point
Copy the full SHA bd10adaView commit details
Commits on Oct 6, 2015
-
Add a Class type to fix the improper_ctypes warning.
This warning starting appearing from rust-lang/rust#26583.
Configuration menu - View commit details
-
Copy full SHA for a1c5ef6 - Browse repository at this point
Copy the full SHA a1c5ef6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0267d5e - Browse repository at this point
Copy the full SHA 0267d5eView commit details
Commits on Nov 7, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 45b644f - Browse repository at this point
Copy the full SHA 45b644fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d79b428 - Browse repository at this point
Copy the full SHA d79b428View commit details
Commits on Nov 12, 2015
-
Configuration menu - View commit details
-
Copy full SHA for d3ff93d - Browse repository at this point
Copy the full SHA d3ff93dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b120714 - Browse repository at this point
Copy the full SHA b120714View commit details
Commits on Mar 29, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 12109dc - Browse repository at this point
Copy the full SHA 12109dcView commit details
Commits on Apr 4, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 88b38f6 - Browse repository at this point
Copy the full SHA 88b38f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd2da22 - Browse repository at this point
Copy the full SHA dd2da22View commit details
Commits on May 8, 2016
-
Configuration menu - View commit details
-
Copy full SHA for e1ebad9 - Browse repository at this point
Copy the full SHA e1ebad9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8868a8b - Browse repository at this point
Copy the full SHA 8868a8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4cb376 - Browse repository at this point
Copy the full SHA b4cb376View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7b6650 - Browse repository at this point
Copy the full SHA e7b6650View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5767ce - Browse repository at this point
Copy the full SHA a5767ceView commit details -
Platforms beside OSX and iOS will link to libBlocksRuntime.
Configuration menu - View commit details
-
Copy full SHA for 1499799 - Browse repository at this point
Copy the full SHA 1499799View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4717879 - Browse repository at this point
Copy the full SHA 4717879View commit details
Commits on May 9, 2016
-
Remove libdispatch-dev package for travis.
It isn't necessary now that travis-ci/apt-package-safelist#2949 is fixed.
Configuration menu - View commit details
-
Copy full SHA for fb2fbf4 - Browse repository at this point
Copy the full SHA fb2fbf4View commit details
Commits on Jun 19, 2016
-
Configuration menu - View commit details
-
Copy full SHA for d14ade0 - Browse repository at this point
Copy the full SHA d14ade0View commit details
Commits on Jun 9, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 4fda032 - Browse repository at this point
Copy the full SHA 4fda032View commit details
Commits on Jan 26, 2018
-
When updating to current Rust, there is a warning for a change in the output due to the change in Markdown implementations.
Configuration menu - View commit details
-
Copy full SHA for 642ea4a - Browse repository at this point
Copy the full SHA 642ea4aView commit details
Commits on Sep 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e03b827 - Browse repository at this point
Copy the full SHA e03b827View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a4c403 - Browse repository at this point
Copy the full SHA 8a4c403View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce5a9bf - Browse repository at this point
Copy the full SHA ce5a9bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3868950 - Browse repository at this point
Copy the full SHA 3868950View commit details -
Update test_utils to use
cc
rather thangcc
.The `gcc` crate has been replaced with `cc`. Additionally, the `gcc:Config` was renamed to `gcc::Build`. This updates both of those. Commit taken from SSheldon/rust-block#8
Configuration menu - View commit details
-
Copy full SHA for d8e1c60 - Browse repository at this point
Copy the full SHA d8e1c60View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6438c7 - Browse repository at this point
Copy the full SHA b6438c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f580b4 - Browse repository at this point
Copy the full SHA 3f580b4View commit details -
Implement RefEncode for Block and ConcreteBlock
This also adds A: EncodeArguments and R: Encode bounds on blocks, which is a good idea to require given that the types are being sent to and from Objective-C!
Configuration menu - View commit details
-
Copy full SHA for bbf3a4e - Browse repository at this point
Copy the full SHA bbf3a4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e71917 - Browse repository at this point
Copy the full SHA 2e71917View commit details -
Don't depend on objc in objc_encode
It's also actually nicer to have examples that use the current crate!
Configuration menu - View commit details
-
Copy full SHA for 4c453dd - Browse repository at this point
Copy the full SHA 4c453ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50704af - Browse repository at this point
Copy the full SHA 50704afView commit details