Bruce Mitchener
fb71d45b30
Enable clippy, suppress lots, fix a couple. ( #703 )
...
This enables clippy in CI and suppresses most of the existing
warnings. We can drill down and fix those later, but this will
help start getting things under control.
2024-08-13 04:25:49 +00:00
Bruce Mitchener
39a39555c0
Use workspace inheritance. ( #701 )
...
Consolidate package configuration where possible. This also
removes the `homepage` key as it only points to the repository
so isn't providing anything additional.
Use workspace dependencies for the crates provided by the workspace
and used within the workspace. This centralizes the version number
maintenance a bit.
2024-08-12 07:41:37 +00:00
Bruce Mitchener
9f33b121fb
Use core::ffi over std::os::raw and libc::c_* ( #692 )
...
`core::ffi` is the preferred way to access these type definitions.
Begin removing uses of the versions from `libc`.
`libc::c_void` is not exactly the same as `core::ffi::c_void` but
some code has tried using them interchangeably (like in io-surface).
`libc::size_t` is `usize` on all current platforms.
2024-08-11 20:24:22 +00:00
Bruce Mitchener
42ec06106d
Bump MSRV to 1.65 ( #694 )
...
This will allow us to use `dep:` syntax and also move to using types
from `core::ffi` as well as some other more modern constructs.
2024-08-11 16:15:49 +00:00
Bruce Mitchener
8d2b732db5
Remove usages of extern crate. ( #672 )
2024-05-27 06:40:54 +00:00
Bruce Mitchener
dec5ede821
clippy: Fix clippy::mixed_attributes_style lint. ( #671 )
2024-04-29 01:39:36 +00:00
Dirkjan Ochtman
9721646053
foundation: remove optional chrono dependency ( #666 )
...
* foundation: remove optional chrono dependency
* Bump version numbers for semver-incompatible changes
2024-04-08 10:20:45 +00:00
Bruce Mitchener
58972aef0a
Update to 2018 edition. ( #642 )
...
This is the minimum fix required. It updates to use crate-relative
imports.
2023-10-24 00:30:22 +00:00
Leo Kettmeir
c4f4ad20b6
feat: add link feature ( #608 )
...
adjust docs
Update cocoa/Cargo.toml
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com >
fmt
2023-10-10 14:46:20 +00:00
Bruce Mitchener
e589abe82e
Make license files consistent. ( #625 )
...
Each crate now has a symlink to the root level license files.
Previously, some did, some had copies, and some had nothing.
Fixes #503 .
2023-08-13 12:20:16 +00:00
Bruce Mitchener
b6d2529ca9
More clippy fixes. ( #629 )
2023-08-07 17:42:26 +00:00
Bruce Mitchener
18df9aafe7
Some clippy fixes. ( #624 )
2023-08-03 14:20:26 +00:00
micolous
b009c87f2d
Auto-format code with "cargo fmt" and check in CI ( #615 )
...
* add rustfmt check to CI
* Run "cargo fmt" (rustfmt) over core-foundation-rs
2023-07-25 02:22:25 +00:00
Alex Touchet
1632edee66
Use SPDX license format
2023-04-02 22:43:22 -07:00
Marco Mastropaolo
c127f49ffa
Added missing macOS 10.6+ IOSurface functions
2021-08-11 14:03:56 +02:00
Josh Matthews
68ddb7e51d
Remove gleam dependency from io-surface.
2020-06-30 08:26:14 -04:00
Josh Matthews
762a01b90f
Major version update for core-foundation-sys and all other dependencies.
2020-06-29 11:45:17 -04:00
Josh Matthews
aa69b91def
Add missing major version changes.
2020-06-29 11:27:35 -04:00
Josh Matthews
56d8b6c161
Major version change for core-foundation, core-graphics, io-surface, core-text, cocoa.
2020-06-29 11:03:28 -04:00
Josh Matthews
9990b56703
Publish io-surface 0.13.1.
2020-06-26 11:13:22 -04:00
Josh Matthews
9db498eb76
Add default docs target.
2020-06-23 10:38:23 -04:00
roblabla
bf5977f007
Assert when creating a CFType from null
2020-03-21 18:33:22 +00:00
Wez Furlong
6574b12d4a
more version bumps!
2019-11-12 14:16:35 -08:00
Wez Furlong
e7f687e3d4
moar version bumps
2019-11-11 20:29:01 -08:00
Josh Matthews
33c087ee8f
Update gleam. Publish io-surface 0.12.1.
2019-09-03 12:18:10 -04:00
Aleksi Juvani
552021c096
Fix i686-apple-darwin compile target
2019-08-22 21:56:34 +03:00
king6cong
0f953f4e7b
Sync member order in impl and trait
2019-08-02 15:11:32 +08:00
Josh Matthews
451af6e167
Update io-surface to 0.12.0.
2019-07-17 08:17:44 -04:00
Zakor Gyula
8a15cb91c4
Add alpha option to bind_to_gl_texture
2019-07-17 10:58:18 +02:00
Bruce Mitchener
5bce19e10a
io-surface: Remove unnecessary transmutes.
2019-03-18 23:24:28 +07:00
Bruce Mitchener
d2d3b3362a
Refer to macOS rather than OS X.
2019-03-14 17:47:00 +07:00
Jan Andre Ikenmeyer
77bb7b6cfe
Remove unneeded webhook notification
2018-11-07 00:06:36 +01:00
Anthony Ramine
bec66aa8f8
Update gleam to 0.6
2018-07-16 17:13:10 +02:00
Jeff Muizelaar
02e5955e76
Update gleam to 0.5
2018-05-08 10:32:56 -04:00
Jeff Muizelaar
2d0199f1f5
Change io_surface::new() to take a typed CFDictionary.
2018-05-08 10:30:51 -04:00
Jeff Muizelaar
645779912b
Consistently use std::os::raw::c_void instead of libc::c_void
...
The major versions of cocoa and core-graphics are bumped as I believe
they are the only crates that meaningfully expose c_void.
Fixes #212
2018-05-06 19:00:37 -04:00
Jeff Muizelaar
bb9ce9e8e1
Update all of the major versions for the new releases
...
Basically everything needed to be bumped because of changes to
core-foundation-sys
2018-05-02 17:46:00 -04:00
Josh Matthews
f54a90e64b
Use local paths for local dependencies.
2018-02-01 16:18:35 -05:00
Josh Matthews
72245b3112
Import io-surface.
2018-02-01 15:56:50 -05:00