Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(macos): migrate to objc2 #1316

Merged
merged 45 commits into from
Oct 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
0da1952
migrate drag & drop
pewsheen Mar 27, 2024
73f0541
refactor: migrate to `dpi` crate (#1202)
amrbashir Mar 28, 2024
93f608f
fix(windows): avoid double-free the controller (#1206)
amrbashir Apr 1, 2024
990759f
fix(linux): Disable deprecated applicationCache web api. (#1207)
FabianLars Apr 1, 2024
7c2cbcd
fix(wkwebview): menu shortcuts (#1208)
thewh1teagle Apr 1, 2024
97ad528
Apply Version Updates From Current Changes (#1203)
github-actions[bot] Apr 1, 2024
4f445fa
migrate to `objc2`
pewsheen Apr 2, 2024
1bcbde0
fix(macos): response body being double freed
pewsheen Jul 8, 2024
ec9f3c3
fix(macos): eval callback NSStrgin convertion error
pewsheen Jul 8, 2024
8dbd6cf
chore: remove objc dependency
pewsheen Jul 8, 2024
cf2ac97
refactor(macos): migrate WebViewDelegate
pewsheen Jul 9, 2024
2e5d9fe
refactor(macos): migrate proxy to objc2
pewsheen Jul 9, 2024
f4309e7
refactor(macos): migrate document title change observer to objc2
pewsheen Jul 9, 2024
b4e51ed
refactor(macos): move drag&drop handler to delegate
pewsheen Jul 9, 2024
be6d74e
refactor(macos): move ipc_handler into WryWebViewDelegate
pewsheen Jul 9, 2024
e62e116
refactor(macos): migrate download handler
pewsheen Jul 9, 2024
986cecd
Merge branch 'dev' into refactor/migrate-to-objc2
pewsheen Jul 10, 2024
2fb6be9
fix(macos): prevent unsafe async custom protocol panic
pewsheen Jul 10, 2024
4eec6fb
chore: target os import
pewsheen Jul 10, 2024
78c5bf2
Merge branch 'dev' into refactor/migrate-to-objc2
pewsheen Jul 10, 2024
a6f7ce4
refactor(ios): migrate to objc2
pewsheen Jul 10, 2024
ce7b9d0
refactor(macos): migrate WebViewUIDelegate to objc2
pewsheen Jul 11, 2024
1abff79
refactor(macos): migrate WryWebViewParent to objc2
pewsheen Jul 11, 2024
e8d2c6e
refactor(macos): move custom class to individual files
pewsheen Jul 11, 2024
ab9804b
chore: fix clippy
pewsheen Jul 11, 2024
5f55c39
Merge branch 'dev' into refactor/migrate-to-objc2
pewsheen Jul 16, 2024
f889b7c
Merge branch 'dev' into refactor/migrate-to-objc2
pewsheen Jul 22, 2024
92a0242
Merge branch 'dev' into refactor/migrate-to-objc2
Aug 14, 2024
a769067
Merge branch 'dev' into refactor/migrate-to-objc2
Aug 23, 2024
a741fef
refector: use reference for task. use objc2::exception::catch.
Aug 24, 2024
47140fa
fix(dnd): use msg_send super and impl NSDraggingDestination
Aug 26, 2024
880e798
chore: call msg_send super
Aug 26, 2024
23444cb
fix: wrap Box<dyn FnMut(..)> with RefCell
Aug 29, 2024
7674bf3
chore(deps): update rust crate tao to 0.29 (#1343)
renovate[bot] Aug 26, 2024
796b6ec
refactor: use bitflags way to handle mask bit manipulation
Aug 29, 2024
a7919ca
Merge branch 'dev' into refactor/migrate-to-objc2
Sep 8, 2024
56a5616
WIP: refactor(ios): add wkwebview for ios
Sep 8, 2024
7f19a2f
Merge branch 'dev' into refactor/migrate-to-objc2
Sep 18, 2024
d0f6990
Update Cargo.toml
Sep 18, 2024
50c681f
Merge branch 'dev' into refactor/migrate-to-objc2
Oct 7, 2024
98372ef
fix: remove `.copy()` from RcBlock
Oct 8, 2024
abe4085
Merge branch 'dev' into refactor/migrate-to-objc2
lucasfernog Oct 11, 2024
34a3972
add change file
lucasfernog Oct 11, 2024
d09873c
lint
lucasfernog Oct 11, 2024
faef2eb
fmt
lucasfernog Oct 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/wkwebview/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ r#"Object.defineProperty(window, 'ipc', {
let store = config.websiteDataStore();
let all_data_types = WKWebsiteDataStore::allWebsiteDataTypes();
let date = NSDate::dateWithTimeIntervalSince1970(0.0);
let handler = block2::RcBlock::new(|| {});
let handler = block2::RcBlock::new(|| {}).copy();
pewsheen marked this conversation as resolved.
Show resolved Hide resolved
store.removeDataOfTypes_modifiedSince_completionHandler(&all_data_types, &date, &handler);
}
Ok(())
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.