maxichrome
a4aac2645b
attempt to add toolbar style
2022-05-23 00:32:06 -05:00
bors-servo
0796658825
Auto merge of #482 - rectang:contribution-guidelines, r=jdm
...
Add basic contfibution guidelines to README
In #453 , @pmj proposed bare-bones contribution guidelines, which were received favorably by @jrmuizel. This pull request insert's @pmj's proposed text into the top-level README.
2022-03-27 18:37:32 -04:00
bors-servo
29af672896
Auto merge of #500 - ssssota:master, r=jdm
...
Add get name function to CTFont
## Overview
Now we can get family name, full name, postscript name and some names.
But I want to use other names. (e.g. Copyright notice, License etc...)
So, I made `get_string_by_name_key` methods from helper function.
2022-03-27 18:01:05 -04:00
bors-servo
9941118f82
Auto merge of #502 - madsmtm:remove-build-script, r=jrmuizel
...
Remove build script from `core-foundation-sys`
Should result in faster build times
2022-03-21 23:15:12 -04:00
Mads Marquart
f855f23902
Remove build script from core-foundation-sys
...
Should result in faster build times
2022-03-22 01:14:16 +01:00
ssssota
b0e0dd8bf4
Add get name function
2022-02-16 12:09:01 +09:00
bors-servo
18b5e607c0
Auto merge of #498 - n-eq:patch-1, r=jrmuizel
...
Update Cargo.toml: cocoa-foundation - publish a new version (0.1.1)
Following this change https://github.com/servo/core-foundation-rs/commit/6e78ddfb8a18b2e0f88c330e1a08c7c1f8c6a71e
2022-02-08 11:51:05 -05:00
Nabil Elqatib
8d3c2cd870
Update Cargo.toml
...
Following this change https://github.com/servo/core-foundation-rs/commit/6e78ddfb8a18b2e0f88c330e1a08c7c1f8c6a71e
2022-02-07 21:47:39 +01:00
bors-servo
6642b11b4c
Auto merge of #481 - n-eq:master, r=jrmuizel
...
Bump core-foundation crate version
Following https://github.com/servo/core-foundation-rs/pull/477
2022-02-07 09:42:34 -05:00
bors-servo
f8f8a5867a
Auto merge of #493 - joshchngs:nswindow-document-edited, r=jdm
...
Add binding for NSWindow::isDocumentEdited()
Getter for the existing setDocumentEdited() binding.
I've tested both via an in-progress change to tauri-apps/tao
2022-01-17 14:55:22 -05:00
Josh Channings
29a7e2d265
Add binding for NSWindow::isDocumentEdited()
...
Getter for the existing setDocumentEdited() binding.
I've tested both via an in-progress change to tauri-apps/tao
2022-01-17 19:20:24 +00:00
bors-servo
f58166d728
Auto merge of #491 - ldm0:more_array, r=jdm
...
Add more functions to CFArray
None
2021-12-26 13:44:48 -05:00
Liu Dingming
09763eb8bd
Add more functions to CFArray
2021-12-27 01:57:52 +08:00
bors-servo
669cb0c0f6
Auto merge of #489 - youngsing:master, r=jdm
...
Update NSAppKitVersionNumber
Version Number get from macOS 12.1 and Xcode 13.2

2021-12-23 10:20:11 -05:00
youngsing
9b7c820c33
Update NSAppKitVersionNumber
2021-12-23 15:50:19 +08:00
bors-servo
6be86aa99f
Auto merge of #488 - jrmuizel:ui-font, r=mstange
...
Expose bindings to CTFontCreateUIFontForLanguage
None
2021-12-13 15:23:31 -05:00
Jeff Muizelaar
aee417874f
Expose bindings to CTFontCreateUIFontForLanguage
2021-12-13 12:42:52 -05:00
bors-servo
3c92593b70
Auto merge of #487 - jrmuizel:mac12, r=mstange
...
Add some more tests around system fonts and variations
None
2021-12-08 20:39:03 -05:00
Jeff Muizelaar
5dff9e13fd
Add some more tests around system fonts and variations
2021-12-08 20:23:44 -05:00
bors-servo
cc53ab53c0
Auto merge of #486 - jrmuizel:oor-var-mac12, r=mstange
...
core-text: out_of_range_variations: Add support for macOS 12
None
2021-12-08 19:04:00 -05:00
Jeff Muizelaar
77ffcfe731
core-text: out_of_range_variations: Add support for macOS 12
2021-12-08 19:02:22 -05:00
bors-servo
57d00a34cf
Auto merge of #485 - jrmuizel:variation-capping, r=mstange
...
core-text: Add a test for out of range variations.
None
2021-12-08 16:58:48 -05:00
Jeff Muizelaar
3d6c103a14
core-text: Add a test for out of range variations.
2021-12-08 14:53:53 -05:00
Marvin Humphrey
7efb780ef0
Add basic contfibution guidelines to README
2021-11-28 18:28:31 -08:00
Nabil Elqatib
9856555517
Bump core-foundation crate version
2021-11-23 10:13:56 +01:00
Nabil Elqatib
cbf991ec33
Merge remote-tracking branch 'upstream/master'
2021-11-23 10:13:26 +01:00
bors-servo
c6d7268854
Auto merge of #480 - jrmuizel:system-font, r=mstange
...
Test that we can create a new CTFont from the descriptor attributes.
None
2021-11-22 19:36:52 -05:00
bors-servo
92bae14037
Auto merge of #477 - n-eq:processinfo-uptime, r=jrmuizel
...
Add ProcessInfo.systemUptime implementation
Hello,
Added [NSProcessInfo.systemUptime](https://developer.apple.com/documentation/foundation/processinfo/1414553-systemuptime ) implementation, successfully tested on iOS.
Feel free to merge.
Best,
2021-11-22 19:25:35 -05:00
Jeff Muizelaar
1ad12536ec
Test that we can create a new CTFont from the descriptor attributes.
2021-11-22 19:22:41 -05:00
bors-servo
8c72b7d50a
Auto merge of #474 - jrmuizel:cfs-version, r=jdm
...
Bump the required version of core-foundation-sys
None
2021-11-21 15:17:39 -05:00
Nabil Elqatib
6e78ddfb8a
Update cocoa-foundation/src/foundation.rs
2021-11-18 14:52:36 +01:00
Nabil Elqatib
e07fe2713e
Update cocoa-foundation/src/foundation.rs
2021-11-18 14:06:09 +01:00
Nabil Elqatib
bcea771dae
Update cocoa-foundation/src/foundation.rs
...
Fix method name
2021-11-18 14:04:47 +01:00
Nabil Elqatib
46a3b04936
Update cocoa-foundation/src/foundation.rs
...
Delete default implementation
2021-11-18 14:02:10 +01:00
Nabil Elqatib
54d1b935fe
Merge pull request #1 from n-eq/processinfo-uptime
2021-11-16 11:29:51 +01:00
Nabil Elqatib
e8fb7ada2d
Add ProcessInfo.systemUptime implemention
2021-11-16 11:25:43 +01:00
bors-servo
2ae6b790de
Auto merge of #455 - xiaopengli89:fix-window-number-at-point, r=jrmuizel
...
fix: windowNumberAtPoint_belowWindowWithWindowNumber_
[windowNumber(at:belowWindowWithWindowNumber:)](https://developer.apple.com/documentation/appkit/nswindow/1419210-windownumber ) is a type method.
2021-11-02 16:22:45 -04:00
Jeff Muizelaar
3d5df0a167
Bump the required version of core-foundation-sys
2021-11-02 16:21:20 -04:00
bors-servo
c5590b2f2c
Auto merge of #470 - Qyriad:publish-graphics-0.22.2, r=jrmuizel
...
Publish core-graphics
Like #465 , but for core-graphics. #436 in particular was merged five months ago, which was awesome, but there hasn't been a release to crates.io yet since then. Hopefully this PR should suffice for doing so?
2021-11-02 12:32:25 -04:00
bors-servo
3f308c2997
Auto merge of #473 - jrmuizel:less-travis, r=mstange
...
Don't run travis on master or 10.15
10.15 is now covered by Github actions and master is unneeded
because of auto
2021-11-02 12:25:06 -04:00
Jeff Muizelaar
b443f5be30
Don't run travis on master or 10.15
...
10.15 is now covered by Github actions and master is unneeded
because of auto
2021-11-02 12:19:01 -04:00
bors-servo
d361e1a467
Auto merge of #472 - jrmuizel:gah, r=jdm
...
Prepare github actions CI for use by homu.
None
2021-11-01 09:17:04 -04:00
Jeff Muizelaar
c599e4922c
Prepare github actions CI for use by homu.
2021-10-31 15:10:45 -04:00
bors-servo
b54d42247e
Auto merge of #471 - jrmuizel:fd-close, r=mstange
...
Remove filedescriptor test_consumed
This test was failing intermittently on github actions.
There's no safe way to check that a file descriptor has been closed,
because a new file could have been reopened with the same number. We'd
then end up closing that new file instead of having close() fail.
2021-10-28 10:43:19 -04:00
Jeff Muizelaar
91ff2cb513
Remove filedescriptor test_consumed
...
This test was failing intermittently on github actions.
There's no safe way to check that a file descriptor has been closed,
because a new file could have been reopened with the same number. We'd
then end up closing that new file instead of having close() fail.
2021-10-28 10:22:43 -04:00
Mikaela Szekely
65b1efcd5d
Publish core-graphics
2021-10-27 20:31:00 -06:00
bors-servo
e231cb7bdb
Auto merge of #459 - xanathar:wip/mmp/iosurface_ext, r=jrmuizel
...
Added missing macOS 10.6+ IOSurface functions
This adds a few `sys` entry points for IOSurface functions.
I also made those public, so that code outside the IOSurface module can call and use them. I didn't add "rusty" wrappers as most of these functions are likely to be used in unsafe contexts anyway.
I limited this to all functions supported in macOS 10.6.
2021-10-27 12:57:02 -04:00
bors-servo
4960762637
Auto merge of #460 - xanathar:wip/mmp/runloop_ext, r=jrmuizel
...
Adds run_in_mode wrapper over CFRunLoopRunInMode
Adds a `run_in_mode` wrapper function which just makes `CFRunLoopRunInMode` a little more "rusty".
Also adds a `CFRunLoopRunResult` enum to type the return value.
2021-10-27 12:51:22 -04:00
Josh Matthews
3841d2bb3a
Merge pull request #465 from n-eq/publish_core-foundation
...
Publish core-foundation-sys, core-foundation
2021-10-12 19:52:10 -04:00
Nabil Elqatib
f57966fd36
Publish core-foundation-sys, core-foundation
2021-10-12 13:43:34 +02:00