Commit graph

205 commits

Author SHA1 Message Date
Alexander Czernay 718c831bc4 Refactor to use load_or_register_class 2023-04-16 21:24:44 +02:00
Alexander Czernay 2803922f3a Fixes possible duplicate objc class registration.
This can happen in environments like plugins, where cacao can exist multiple times and thus tries to create and register its objc classes more than once.
2023-04-16 10:47:32 +02:00
Ryan McGrath 1d76dce75f
Merge pull request #74 from terhechte/popover_support 2023-04-01 21:24:39 -07:00
Ryan McGrath 5e7e516749
Merge pull request #76 from siketyan/feat/publish-objcaccess 2023-04-01 21:23:53 -07:00
Natsuki Ikeguchi 64908e5893
feat: Publish objc_access module
Signed-off-by: Natsuki Ikeguchi <me@s6n.jp>
2023-04-01 20:44:02 +09:00
Benedikt Terhechte 7e724934a5 add support for popovers 2023-03-03 12:15:28 +01:00
Ryan McGrath 68da052a8f
Merge pull request #67 from ryanmcgrath/feat/change-objc-classdec
Feat/change objc classdec
2022-11-04 16:03:59 -07:00
Ryan McGrath 2e40bb6ae3
Fmting pass 2022-11-04 15:57:53 -07:00
Ryan McGrath e54a28a110
Update webview example 2022-11-04 15:54:15 -07:00
Ryan McGrath 76e02c95bb
Merge pull request #56 from EstebanBorai/feat/monospace-font
feat: support for monospace system font
2022-11-04 15:40:27 -07:00
Esteban Borai 2f54ae59af fix: use systemFontOfSize as fallback for monospace 2022-10-16 22:20:40 -03:00
Esteban Borai 8c51b953d3 fix: provide version fallback 2022-10-15 20:36:40 -03:00
Esteban Borai d5f8b0d6e5 feat: support for monospace system font
Provides support for the `monospacedSystemFontOfSize` method
from `NSFont`.

Refer: https://developer.apple.com/documentation/appkit/nsfont/3042659-monospacedsystemfontofsize?language=objc
2022-10-15 20:18:02 -03:00
Ryan McGrath f8e836e3eb
Remove println 2022-10-14 15:37:36 -04:00
Ryan McGrath dd0786bdab
Generate a random u64 to append to subclass names (Issue #63) 2022-10-14 15:34:41 -04:00
Ryan McGrath 65578f06fe
Swap WebView class registration to use class fn 2022-10-13 17:25:20 -04:00
Ryan McGrath 215eee4ae2
Experiment with bundle identifier being attached to generated subclass names (Issue #63) 2022-10-13 17:15:52 -04:00
Ryan McGrath 4d1e0ddb9d
Support NAME on WebViewDelegate trait impls 2022-10-12 15:42:16 -04:00
Ryan McGrath 1ad51887a4
Merge pull request #54 from EstebanBorai/trunk
fix: `'static` lifetime elision for examples
2022-10-12 11:37:02 -07:00
Ryan McGrath 2525cbfee4
Update webview implementation to use load_or_register_class (Issue #63) 2022-10-12 14:32:23 -04:00
Ryan McGrath b187b1dc49
Refactor foundation/class to support finding classes across multiple bundles (issue #63) 2022-10-12 14:26:29 -04:00
Ryan McGrath 2f87f19387
Merge pull request #61 from yerke/patch-1
Remove duplicate line from README
2022-10-03 12:33:34 -07:00
Yerkebulan Tulibergenov 7deccacdea
Remove duplicate line from README 2022-10-03 10:35:41 -07:00
Ryan McGrath afed7cf151
Merge pull request #60 from dominikwilkowski/trunk
fixed #59
2022-09-29 22:06:16 -07:00
Dominik Wilkowski 5bfec7ca67
fixed #59 2022-09-25 18:59:15 +10:00
Ryan McGrath c7394792a9
Merge pull request #57 from shuoli84/trunk
fix ios filesystem build break
2022-09-18 16:09:28 -07:00
shuo c5e097123c fix ios filesystem build break 2022-09-14 23:09:23 +08:00
Esteban Borai 8280a4b50a
Merge branch 'ryanmcgrath:trunk' into trunk 2022-08-31 17:04:07 -04:00
Ryan McGrath f84a9dfaf6
Merge pull request #51 from ryanmcgrath/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-08-26 12:45:36 -07:00
Esteban Borai 70726a2f55 fix: run cargo fmt on nightly 2022-08-26 10:40:31 -04:00
Esteban Borai 399600d443 fix: 'static lifetime elision for examples
Takes advantage of lifetime elision on some examples where the
rule applies.

Refer: https://doc.rust-lang.org/reference/lifetime-elision.html#static-lifetime-elision
2022-08-25 22:17:52 -04:00
Ryan McGrath e91e4217cb
Update README.md
Change images to be marked as supported on iOS. This table probably needs some nuance attached though... but as a "quick glance of what's possible" it's fine for now.
2022-08-22 16:28:01 -07:00
dependabot[bot] 365ce77450
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 23:25:46 +00:00
Ryan McGrath 6b69c1db94
Merge pull request #48 from simlay/simlay/add-image-support-and-simple-unit-test
Add image support for uikit feature backends
2022-08-22 16:25:06 -07:00
Ryan McGrath ca676b4ca6
Merge pull request #53 from ryanmcgrath/dependabot/cargo/infer-0.9
Update infer requirement from 0.4 to 0.9
2022-08-21 18:48:29 -07:00
Ryan McGrath 5fab7a7973
Merge pull request #52 from ryanmcgrath/dependabot/cargo/uuid-1.1
Update uuid requirement from 0.8 to 1.1
2022-08-21 18:48:06 -07:00
dependabot[bot] d0dcfab639
Update infer requirement from 0.4 to 0.9
Updates the requirements on [infer](https://github.com/bojand/infer) to permit the latest version.
- [Release notes](https://github.com/bojand/infer/releases)
- [Commits](https://github.com/bojand/infer/compare/v0.4.0...v0.9.0)

---
updated-dependencies:
- dependency-name: infer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 01:07:29 +00:00
dependabot[bot] 6eb9425279
Update uuid requirement from 0.8 to 1.1
Updates the requirements on [uuid](https://github.com/uuid-rs/uuid) to permit the latest version.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/0.8.0...1.1.2)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 01:07:19 +00:00
Ryan McGrath b85bdfb697
Merge pull request #50 from simlay/add-dependabot-to-ci
Add dependabot
2022-08-21 17:23:56 -07:00
Sebastian Imlay 3425f839db Remove pasteboard and draginfo from uikit features 2022-08-21 20:22:58 -04:00
Sebastian Imlay a1da078e41 Add dependabot 2022-08-21 20:05:14 -04:00
Sebastian Imlay dcb24c2552 Removed unused dinghy step 2022-08-21 19:49:56 -04:00
Sebastian Imlay 9f0d2814d1 Use baptiste0928/cargo-install to install cargo-dinghy 2022-08-21 19:36:47 -04:00
Sebastian Imlay d80b38cea4 Move networking line back under listview import 2022-08-21 19:22:29 -04:00
Sebastian Imlay 78be15b50b Added comment for why image::from_path isnt tested 2022-08-21 19:22:29 -04:00
Sebastian Imlay 46b313b585 Make networking module be unfeature flagged, added more tests 2022-08-21 19:22:29 -04:00
Sebastian Imlay ba893c3400 Fix ios example in ci 2022-08-21 19:22:29 -04:00
Sebastian Imlay cf2cf5cc88 fix xcrun simctl create 2022-08-21 19:22:29 -04:00
Sebastian Imlay 4483b815f6 fix ci 2022-08-21 19:22:29 -04:00
Sebastian Imlay caff6a175d fix cargo fmt 2022-08-21 19:22:29 -04:00