bors-servo
a0fd29602e
Auto merge of #605 - michaelwright235:xml, r=jdm
...
sys: Introduce CFXML functionality
Implements CFXMLNode, CFXMLTree and CFXMLParser functions and related constants and structures. Even though all of them are considered deprecated, these may be the last bits of fully implemented core-foundation-sys crate (with functionality of macOS 10.7 and 10.8 obviously).
2023-06-21 01:46:37 +02:00
michaelwright235
28767f86be
sys: Introduce CFXML functionality
...
Implements CFXMLNode, CFXMLTree and CFXMLParser functions and related
constants and structures. All of them are considered deprecated, even
though these may be the last bits of fully implemented
core-foundation-sys crate (with functionality of macOS 10.7 and 10.8
obviously).
2023-06-21 01:39:55 +03:00
bors-servo
864c7f2fda
Auto merge of #603 - jrmuizel:semver-parallel, r=jdm
...
Add semver checks to CI
This won't catch everything but it's better than nothing
2023-06-20 19:08:40 +02:00
bors-servo
02ca12b529
Auto merge of #601 - jrmuizel:more-macos, r=jdm
...
Add macOS 12 and 13 CI
None
2023-06-20 19:06:39 +02:00
bors-servo
782201da49
Auto merge of #602 - jrmuizel:cgt, r=mstange
...
Bump the version of core-graphics-types
This is needed for a release that doesn't depend on foreign-types
2023-06-20 17:22:01 +02:00
Jeff Muizelaar
4bd9ff3ca6
Add semver checks to CI
...
This won't catch everything but it's better than nothing
2023-06-20 11:16:40 -04:00
Jeff Muizelaar
9e55627696
Bump the version of core-graphics-types
...
This is needed for a release that doesn't depend on foreign-types
2023-06-20 11:11:00 -04:00
Jeff Muizelaar
f4e809860d
Add macOS 12 and 13 CI
2023-06-20 10:57:14 -04:00
bors-servo
423930b71a
Auto merge of #600 - jrmuizel:macos-13-tests, r=jdm
...
Get tests passing on macOS 13
macOS 13 uses NSTaggedPointerString for short CFStrings which means the retain counts aren't meaningful. Increasing the length of the strings avoids this.
Empty arrays also seem to refer to a shared constant object that doesn't have meaningful retain counts either.
Fixes #597
2023-06-20 16:01:13 +02:00
Jeff Muizelaar
d10ad8dead
Get tests passing on macOS 13
...
macOS 13 uses NSTaggedPointerString for short CFStrings
which means the retain counts aren't meaningful. Increasing the length
of the strings avoids this.
Empty arrays also seem to refer to a shared constant object that
doesn't have meaningful retain counts either.
Fixes #597
2023-06-20 09:49:19 -04:00
bors-servo
133d7efd3c
Auto merge of #599 - michaelwright235:fix_unichar, r=jdm
...
sys: Move UniChar type back to string module
Fixes a semver breakage caused by servo#575
2023-06-20 14:12:40 +02:00
michaelwright235
4938a33fdb
sys: Move UniChar type back to string module
...
Fixes a semver breakage
2023-06-20 13:23:36 +03:00
bors-servo
cf25b7d943
Auto merge of #598 - jrmuizel:fix-url, r=mstange
...
Reexpose CFURL[Start|Stop]AccessingSecurityScopedResource
This fixes a semver breakage.
2023-06-19 21:25:44 +02:00
Jeff Muizelaar
c9eac59a9c
Reexpose CFURL[Start|Stop]AccessingSecurityScopedResource
...
This fixes a semver breakage caused by #576
2023-06-19 15:14:47 -04:00
bors-servo
eb00adae0c
Auto merge of #596 - nical:bump, r=jdm
...
Bump core-text, core-graphics and cocoa
We need the updated foreign-types dependency in Gecko.
2023-06-19 19:12:51 +02:00
Nicolas Silva
ffa2318497
Update core-text/Cargo.toml
...
Co-authored-by: Josh Matthews <josh@joshmatthews.net >
2023-06-19 18:43:40 +02:00
Nicolas Silva
589c97086e
Bump core-text, core-graphics and cocoa
2023-06-19 17:07:44 +02:00
bors-servo
519912fa26
Auto merge of #594 - michaelwright235:bh, r=jdm
...
sys: Introduce CFBinaryHeap
Implements CFBinaryHeap related functions and constants.
2023-06-19 00:55:55 +02:00
Michael Wright
5aa2012e8d
Merge branch 'master' into bh
2023-06-19 01:33:55 +03:00
bors-servo
614b8d9b11
Auto merge of #595 - michaelwright235:url_enum, r=jdm
...
sys: Introduce CFURLEnumerator
Implements CFURLEnumerator related functions and constants.
2023-06-19 00:25:56 +02:00
bors-servo
c1699c6520
Auto merge of #593 - michaelwright235:bit_v, r=jdm
...
sys: Introduce CFBitVector
Implements CFBitVector and CFMutableBitVector related functions.
2023-06-19 00:22:24 +02:00
michaelwright235
5ded43c6be
sys: Introduce CFURLEnumerator
...
Implements CFURLEnumerator related functions and constants.
2023-06-19 00:55:20 +03:00
michaelwright235
d0d9362372
sys: Introduce CFBinaryHeap
...
Implements CFBinaryHeap related functions and constants.
2023-06-19 00:35:57 +03:00
michaelwright235
f1022e6be8
sys: Introduce CFBitVector
...
Implements CFBitVector and CFMutableBitVector related functions.
2023-06-19 00:25:07 +03:00
bors-servo
ef4480960b
Auto merge of #592 - michaelwright235:bag, r=jdm
...
sys: Introduce CFBag
Implements CFBag related functions and constants.
2023-06-18 22:51:27 +02:00
michaelwright235
91d8daae0e
sys: Introduce CFBag
...
Implements CFBag related functions and constants.
2023-06-18 23:41:20 +03:00
bors-servo
3ef0b36a98
Auto merge of #591 - michaelwright235:tree2, r=jdm
...
sys: Introduce CFTree
Implements CFTree and its related stuff. All functions are sorted in Apple docs order.
2023-06-18 22:06:31 +02:00
michaelwright235
f904d7f4ad
sys: Introduce CFTree
...
Implements CFTree and its related stuff. All functions are sorted
in Apple docs order.
2023-06-18 22:59:44 +03:00
bors-servo
7fe0d59122
Auto merge of #589 - michaelwright235:file_security, r=jdm
...
sys: Introduce CFFileSecurity
Implements CFFileSecurity functions and constants. Some external functions are commented out because of a lack of `uid_t`, `gid_t` and `acl_t` implementations.
2023-06-18 21:34:28 +02:00
bors-servo
9236908e07
Auto merge of #588 - michaelwright235:fix, r=jdm
...
sys: Fix CFComparatorFunction and move it to `base` module
CFComparatorFunction declaration was missing one argument (void *context).
Here's its declaration from CFBase.h:
```c
typedef CFComparisonResult (*CFComparatorFunction)(const void *val1, const void *val2, void *context);
```
And its declaration in array.rs:
```rust
pub type CFComparatorFunction = extern "C" fn(val1: *const c_void, val2: *const c_void) -> CFComparisonResult;
```
Since it's declared in CFBase.h, I moved it to `base` module.
2023-06-18 21:33:09 +02:00
bors-servo
e76588eed1
Auto merge of #590 - michaelwright235:prefs, r=jdm
...
sys: Implement CFPreferences functions
Adds `preferences` module corresponding to `CFPreferences.h` header file. Implements its external functions and constants.
2023-06-18 21:32:04 +02:00
michaelwright235
03832a5531
sys: Implement CFPreferences functions
...
Adds `preferences` module corresponding to `CFPreferences.h`.
Implements its external functions and constants.
2023-06-18 20:23:13 +03:00
michaelwright235
4bd380aa1e
sys: Introduce CFFileSecurity
...
Implements CFFileSecurity functions and constants.
2023-06-18 19:52:23 +03:00
michaelwright235
34788869ec
sys: Fix CFComparatorFunction and move it to base module
...
CFComparatorFunction declaration was missing one argument. It's
also declared in `CFBase.h`, so I moved it to `base` module.
2023-06-18 19:04:31 +03:00
bors-servo
52858f81bb
Auto merge of #587 - michaelwright235:str_tkn2, r=jdm
...
sys: Introduce CFStringTokenizer
Implements `CFStringTokenizer` with all its functions and constants sorted in Apple docs order
2023-06-18 15:31:18 +02:00
bors-servo
7480db7269
Auto merge of #586 - michaelwright235:num_fmt, r=jdm
...
sys: Introduce CFNumberFormatter
Implements `CFNumberFormatter` with all its functions and constants sorted in Apple docs order
2023-06-18 15:28:16 +02:00
bors-servo
fd6dbc4ead
Auto merge of #585 - michaelwright235:date_fmt, r=jdm
...
sys: Introduce CFDateFormatter
Implements `CFDateFormatter` with all its functions and constants sorted in Apple docs order.
2023-06-18 15:24:46 +02:00
bors-servo
bb75f63865
Auto merge of #584 - michaelwright235:calendar, r=jdm
...
sys: Introduce CFCalendar
Implements CFCalendar with all its functions and constants sorted in Apple docs order.
2023-06-18 15:21:20 +02:00
michaelwright235
a37a763c7c
sys: Introduce CFStringTokenizer
...
Implements `CFStringTokenizer` with all its functions and constants
sorted in Apple docs order
2023-06-18 00:46:51 +03:00
bors-servo
7c497004d7
Auto merge of #583 - michaelwright235:socket, r=jdm
...
sys: Introduce CFSocket
Implements `CFSocket` with all its functions and constants sorted in Apple docs order, adds a new type `UInt16` to `base` module and uncomments CFSocket related functions in `stream` module.
2023-06-16 03:51:28 +02:00
michaelwright235
be4dcfdf34
sys: Introduce CFNumberFormatter
...
Implements `CFNumberFormatter` with all its functions and constants sorted
in Apple docs order
2023-06-15 21:29:51 +03:00
michaelwright235
3354db29ad
sys: Introduce CFDateFormatter
...
Implements `CFDateFormatter` with all its functions and constants
sorted in Apple docs order.
2023-06-15 21:28:23 +03:00
michaelwright235
3de7764350
sys: stream: Uncomment CFSocket related functions
2023-06-15 21:26:37 +03:00
michaelwright235
45696edfd5
sys: Introduce CFCalendar
...
Implements CFCalendar with all its functions and constants sorted in Apple
docs
order.
2023-06-15 21:24:44 +03:00
michaelwright235
b4c8c1f2d6
sys: Introduce CFSocket
...
Implements CFSocket with all its functions and constants sorted in Apple
docs order.
2023-06-15 15:31:59 +03:00
michaelwright235
40b20b9b96
sys: base: Add UInt16 type
2023-06-15 15:03:29 +03:00
bors-servo
9d00116e0b
Auto merge of #582 - michaelwright235:plugin, r=jdm
...
sys: Introduce CFPlugIn
Implements CFPlugIn and CFPlugInInstance (CFPlugIn.h) with all their functions and constants. They're sorted in Apple docs order.
2023-06-10 04:20:37 +02:00
michaelwright235
021d4e5fe7
sys: Introduce CFPlugIn
...
Implements CFPlugIn and CFPlugInInstance (CFPlugIn.h) with all their
functions and constants. They're sorted in Apple docs order.
2023-06-09 20:44:20 +03:00
bors-servo
f444b5c1f9
Auto merge of #581 - michaelwright235:cfixes, r=jdm
...
Fix compilation warnings
We get a couple of warnings during compilation, so I've fixed them.
2023-06-07 01:11:11 +02:00
michaelwright235
612ef8f9e5
core-graphics: Assign a value to a _ variable
...
Compiler thinks that we need to use the value, so we use this workaroud
to get rid of a warning.
2023-06-07 02:09:50 +03:00