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

Update tauri to 2.0 #121

Merged
merged 45 commits into from
Mar 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
e1eb454
Update tauri.
Berrysoft Mar 18, 2023
4eae8c5
Install webkit2gtk 4.1 on Linux.
Berrysoft Mar 18, 2023
e3232cb
Remove useless schema path.
Berrysoft Mar 18, 2023
969649e
Merge branch 'master' into dev/tauri2
Berrysoft Mar 18, 2023
c7165b3
Fix package-lock.
Berrysoft Mar 18, 2023
255a59d
Try to build for mobile.
Berrysoft Mar 18, 2023
bfe2a33
Adapt to mobile dev.
Berrysoft Mar 18, 2023
1b8b8e9
Update deps.
Berrysoft Mar 18, 2023
1ec4fea
Add android makefile target.
Berrysoft Mar 19, 2023
59b00dd
Update tauri interop API.
Berrysoft Mar 20, 2023
2a3c1b5
Ignore .DS_Store
Berrysoft Mar 21, 2023
a1f2958
Merge branch 'master' into dev/tauri2
Berrysoft Mar 21, 2023
3725cf7
Update tauri.
Berrysoft Mar 21, 2023
7424091
Add build_ios target.
Berrysoft Mar 21, 2023
908cbe0
Merge branch 'master' into dev/tauri2
Berrysoft Mar 21, 2023
e48fba6
Merge branch 'master' into dev/tauri2
Berrysoft Mar 22, 2023
d2bd00c
Add default handler of show_pick_files for mobile.
Berrysoft Mar 22, 2023
20eba61
Set dialog parent.
Berrysoft Mar 22, 2023
f601cc9
Make vite suitable for mobile dev.
Berrysoft Mar 22, 2023
7542d29
Add run mobile target.
Berrysoft Mar 22, 2023
0a692f3
Add a file picker for ios.
Berrysoft Mar 23, 2023
fb61eb0
Use file-picker-ios in ios.
Berrysoft Mar 23, 2023
e550e28
Fix warnings.
Berrysoft Mar 23, 2023
466d2e3
[WIP] Try to fix broken delegate.
Berrysoft Mar 23, 2023
5541461
Fix closure.
Berrysoft Mar 23, 2023
a638901
Neat: use StreamExt.
Berrysoft Mar 23, 2023
765ec81
Copy buffer on iOS.
Berrysoft Mar 23, 2023
61963e3
Exclude file-picker-ios in workspace.
Berrysoft Mar 23, 2023
f09ba02
Use Arc<[u8]> for FileHandle.
Berrysoft Mar 24, 2023
85f319f
Move file-picker-ios.
Berrysoft Mar 24, 2023
23130ad
Fix webview access to fs.
Berrysoft Mar 26, 2023
8e8d530
Adapt to mobile platform in gui frontend.
Berrysoft Mar 28, 2023
2c5cf0e
Save settings at running.
Berrysoft Mar 28, 2023
1833abc
Merge remote-tracking branch 'upstream/master' into dev/tauri2
Berrysoft Mar 28, 2023
e9865c8
Make app run on Android.
Berrysoft Mar 28, 2023
2b46b72
Add file-picker-android.
Berrysoft Mar 28, 2023
427dbe7
Merge branch 'master' into dev/tauri2
Berrysoft Mar 29, 2023
22ff7ca
Fix ayaka-gui
Berrysoft Mar 29, 2023
579487b
Add context builder.
Berrysoft Mar 29, 2023
41bcc96
Add docs for builders.
Berrysoft Mar 29, 2023
792d495
Decouple view model & context opening.
Berrysoft Mar 29, 2023
b8f7938
Add ios project.
Berrysoft Mar 30, 2023
c03b8a6
Update iOS assets.
Berrysoft Mar 30, 2023
bda12e6
Add android project.
Berrysoft Mar 30, 2023
adcbaab
Add release-android target.
Berrysoft Mar 30, 2023
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 .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev
sudo apt-get install -y libwebkit2gtk-4.1-dev
if: matrix.platform.name == 'linux-x64'
- name: Install targets
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev
sudo apt-get install -y libwebkit2gtk-4.1-dev
if: matrix.platform.name == 'linux-x64'
- name: Install targets
run: |
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev
if: matrix.os == 'ubuntu-latest'
- name: Install targets
run: |
rustup target add wasm32-unknown-unknown
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
.vscode
.cache
.clangd
compile_flags.txt
.vs
.DS_Store
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ book:
serve-book:
cd book && $(MAKE) serve

.PHONY: plugins debug-cross release release-cross
.PHONY: plugins debug-cross release release-cross release-android
plugins:
cd plugins && $(MAKE) plugins
debug-cross:
Expand All @@ -28,6 +28,8 @@ release:
cd bins && $(MAKE) release
release-cross:
cd bins && $(MAKE) release-cross TARGET=$(TARGET)
release-android:
cd bins && $(MAKE) release-android

examples/plugins.ayapack: plugins
(cd -P examples && tar -cf $(abspath $@) -- plugins)
Expand All @@ -53,4 +55,10 @@ $(eval $(foreach ex,$(EXAMPLES),$(call example-tpl,$(ex))))
%.pdf: %.tex
cd $(dir $<) && latexmk -lualatex $(notdir $<)

.PHONY: example-android example-ios
example-android:
cd bins && $(MAKE) run-android
example-ios:
cd bins && $(MAKE) run-ios

.SECONDARY:
Loading