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
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
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
f80c63a60a
Auto merge of #579 - michaelwright235:stream, r=jdm
...
sys: Introduce CFStream
Implements `stream` module containing CFStream related functions and constants. Also uncomments some functions of `propertylist` that uses CFStream.
2023-06-06 14:23:47 +02:00
michaelwright235
fab893278d
sys: attributed_string: Uncomment CFAttributedStringGetMutableString
...
because CFMutableStringRef has been implemented.
2023-06-06 13:35:40 +03:00
michaelwright235
8d5e5320ce
sys: Uncomment CFNotificationName constants
...
because this is implemented now.
2023-06-06 13:33:59 +03:00
michaelwright235
7053c69118
sys: propertylist: Uncomment functions
...
containing CFWriteStreamRef and CFReadStreamRef
2023-06-06 13:27:25 +03:00
michaelwright235
cca1c3302a
sys: Introduce CFStream
...
Implement CFReadStream and CFWriteStream with all its functions in a
new `stream` module.
2023-06-06 13:27:25 +03:00
bors-servo
084959318f
Auto merge of #578 - michaelwright235:nc, r=jdm
...
sys: Implement CFNotificationCenter
Implements `CFNotificationCenter` in `notification_center` module with all its constants and functions ordered in Apple docs order.
2023-06-02 19:10:03 +02:00
michaelwright235
3cb2db758e
sys: Implement CFNotificationCenter
2023-06-02 10:52:26 +03:00
michaelwright235
c9e5a1763a
sys: url: Add missing functions of CFRunLoopRun & sorting
...
All of them are sorted in Apple docs order now.
Note: CFRunLoopTimerGetTolerance and CFRunLoopTimerSetTolerance
were already implemented at some point, however they're available
for macOS 10.9+.
2023-06-02 10:04:43 +03:00
michaelwright235
d2eed27ec6
sys: runloop: Implement platform dependent variants of 2 fields
...
of CFRunLoopSourceContext1 structure.
2023-06-02 10:01:10 +03:00
michaelwright235
2d350e57f3
sys: runloop: Derive Debug for structs
2023-06-02 10:00:51 +03:00
michaelwright235
f59dd8118a
sys: url: Fix up some consts
2023-06-01 19:57:18 +03:00
michaelwright235
a164b88d4f
sys: url: Add missing CFUrl functions and sort them
...
in Apple docs order.
2023-06-01 19:13:06 +03:00
michaelwright235
5d8f7db5dd
sys: url: Add missing external constants and sort them in groups
...
according to Apple docs.
2023-06-01 19:11:47 +03:00
michaelwright235
ffd0aee25c
sys: url: Add CFURLBookmarkResolutionOptions related constants
2023-06-01 19:09:45 +03:00
michaelwright235
e7bcad3826
sys: url: Add CFURLComponentType type and related constants
2023-06-01 19:08:29 +03:00
michaelwright235
21b73040e9
sys: url: Add missing Bookmark Data Creation Options
...
And also mark macOS-only constants
2023-06-01 19:06:09 +03:00
michaelwright235
b6d33fa158
sys: string: Add missing functions and CFMutableStringRef
...
Adds missing functions of CFString (they're sorted in Apple docs
order) and implements CFMutableStringRef with its corresponding
functions.
2023-06-01 15:57:25 +03:00
michaelwright235
b742606a5c
sys: string: Remove repeating type
...
Removes `UniChar` type because it's already defined in base.rs.
2023-06-01 15:50:12 +03:00
michaelwright235
aafd19f14c
sys: string: Implement CFStringNormalizationForm type and consts
2023-06-01 15:40:54 +03:00
michaelwright235
099ede3003
sys: string: Implement CFStringEncoding constants
...
Implements constants of encodings found in CFString.h and
CFStringEncodingExt.h. Removes unused CFStringEncodings type,
fixes CFStringEncoding type.
2023-06-01 15:27:09 +03:00
michaelwright235
c03c9202cb
sys: string: Add CFStringCompareFlags constants
2023-06-01 15:24:01 +03:00
bors-servo
3cd96c9ffd
Auto merge of #573 - michaelwright235:fd, r=jdm
...
sys: filedescriptor: Add missing funcs & sorting
Adds missing functions of CFFileDescriptor and sorts them in Apple docs order.
2023-06-01 01:56:45 +02:00
michaelwright235
6a36607f7f
sys: propertylist: Add missing functions and sort them
...
Adds missing functions of CFPropertyList and sorts them in Apple
docs order. Some of them are commented out because some types
are not implemented yet.
2023-05-31 22:23:55 +03:00
michaelwright235
b845f2fc1a
sys: propertylist: Introduce consts of Reading and Writing Error
...
Codes
2023-05-31 22:20:56 +03:00
michaelwright235
df6498fe53
sys: filedescriptor: Add missing funcs & sorting
...
Adds missing functions of CFFileDescriptor and sorts them in Apple docs
order.
2023-05-31 22:02:17 +03:00
bors-servo
7b4890b37f
Auto merge of #572 - michaelwright235:uuid, r=jdm
...
sys: uuid: Add missing funcs, add more attrs to a struct
Adds missing functions of CFUUID, derives `Debug` and `PartialEq` attributes to CFUUIDBytes struct. All functions are sorted in Apple docs order.
2023-05-31 14:46:13 +02:00
bors-servo
08db6d951a
Auto merge of #571 - michaelwright235:timezone, r=jdm
...
sys: timezone: Add missing funcs, consts & sorting
Adds missing functions of CFTimeZone, implements CFTimeZoneNameStyle type and consts related to it. Sorts all stuff in Apple docs order.
2023-05-31 14:43:15 +02:00
michaelwright235
e108372833
sys: uuid: Add missing funcs, add more attrs to a struct
...
Adds missing functions of CFUUID, derives `Debug` and `PartialEq`
attributes to CFUUIDBytes struct. All functions are sorted in Apple docs
order.
2023-05-31 13:27:35 +03:00
michaelwright235
b2b2eb7222
sys: timezone: Add missing funcs, consts & sorting
...
Adds missing functions of CFTimeZone, implements CFTimeZoneNameStyle
type and consts related to it. Sorts all stuff in Apple docs order.
2023-05-31 13:19:12 +03:00
michaelwright235
002ad885a1
sys: set: Implement CFMutableSet, a missing const
2023-05-30 23:47:42 +03:00
michaelwright235
69316790e8
sys: set: Implement actual callbacks
...
Replaces pointer placeholders with actual function declarations.
2023-05-30 23:44:17 +03:00
bors-servo
94d9037928
Auto merge of #569 - michaelwright235:messageport, r=jdm
...
sys: messageport: Sort functions, add error codes
Sorts all functions of CFMessagePort in Apple docs order, adds constants of CFMessagePortSendRequest Error Codes.
2023-05-30 13:47:57 +02:00
bors-servo
4a2b7ece8d
Auto merge of #568 - michaelwright235:number, r=jdm
...
sys: number: Add missing funcs and consts, sorting
Adds missing functions and constants of CFNumber. Sorts them in Apple docs order.
2023-05-30 13:45:13 +02:00
michaelwright235
cc092be763
sys: number: Add missing funcs and consts, sorting
...
Adds missing functions and consts of CFNumber.
Sorts them in Apple docs order.
2023-05-29 23:08:15 +03:00
michaelwright235
db3f5de309
sys: messageport: Sort functions, add error codes
2023-05-29 22:56:49 +03:00
michaelwright235
13ea548fac
sys: mach_port: Add missing structures, funcs, etc
2023-05-29 22:37:41 +03:00
michaelwright235
6d00383baf
mach_port: Removed redundant pub use
2023-05-29 22:31:11 +03:00
bors-servo
ac95280017
Auto merge of #566 - michaelwright235:error, r=jdm
...
CFError (sys): Add missing functions & consts
Adds missing functions and consts of CFError and sorts them in Apple docs order.
2023-05-29 18:29:12 +02:00
bors-servo
79321e23c2
Auto merge of #564 - michaelwright235:characterset, r=jdm
...
CFCharacterSet (sys): Add missing functions & sorting
Adds missing functions and sorts them in Apple docs order. CFMutableCharacterSetRef is a mutable pointer now as it should be, according to CFCharacterSet.h.
2023-05-29 18:26:19 +02:00
bors-servo
2bb215b600
Auto merge of #563 - michaelwright235:bundle, r=jdm
...
CFBundle (sys): Add funcs & consts, sorting
Adds missing functions, types and constants from CFBundle.h. Several inline functions are also rewritten as unsafe Rust functions. All of them are sorted in Apple docs order.
2023-05-29 18:22:03 +02:00
michaelwright235
f26a11873a
sys: data: Introduce CFMutableData & its functions
2023-05-29 19:02:51 +03:00
michaelwright235
a3f944fbd8
sys: error: Add commented const
...
Adds commented out kCFErrorLocalizedFailureKey
const to not forget to implement it in the future.
2023-05-29 15:18:50 +03:00
michaelwright235
5f1ee87146
sys: error: Add missing functions & consts, sorting
...
Adds missing functions and consts of CFError
and sorts them in Apple docs order.
2023-05-29 15:08:52 +03:00
michaelwright235
0c8bef46d5
sys: data: Add missing functions & sorting
...
Adds missing functions of CFData and sorts them in Apple docs order.
Also missing CFDataSearchFlags type and related consts are added.
2023-05-29 13:46:59 +03:00