-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run Typst Rust library in isolated process and more
Also splits the libraries in two, one for text and markdown, and one for typst. Some misc improvements and dependency bumps too also
- Loading branch information
1 parent
77f99b5
commit e9cee78
Showing
74 changed files
with
4,033 additions
and
1,545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...src/main/aidl/dev/soupslurpr/beautyxt/ITypstProjectViewModelRustLibraryAidlInterface.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// ITypstProjectViewModelRustLibraryAidlInterface.aidl | ||
package dev.soupslurpr.beautyxt; | ||
|
||
// Declare any non-default types here with import statements | ||
import dev.soupslurpr.beautyxt.PathAndPfd; | ||
|
||
interface ITypstProjectViewModelRustLibraryAidlInterface { | ||
void initializeTypstWorld(); | ||
void setMainTypstProjectFile(in PathAndPfd papfd); | ||
void addTypstProjectFiles(in List<PathAndPfd> papfdList); | ||
String getTypstProjectFileText(String path); | ||
Bundle getTypstSvg(); | ||
byte[] getTypstPdf(); | ||
String updateTypstProjectFile(String newText, String path); | ||
void clearTypstProjectFiles(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// PathAndPfd.aidl | ||
package dev.soupslurpr.beautyxt; | ||
|
||
// Declare any non-default types here with import statements | ||
|
||
parcelable PathAndPfd; |
Binary file added
BIN
+641 KB
app/src/main/assets/beautyxt_rs_plain_text_and_markdown-third-party-licenses.html
Binary file not shown.
Binary file renamed
BIN
+1.1 MB
...ets/beautyxt_rs-third-party-licenses.html → ...autyxt_rs_typst-third-party-licenses.html
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package dev.soupslurpr.beautyxt | ||
|
||
import android.os.ParcelFileDescriptor | ||
import android.os.Parcelable | ||
import kotlinx.parcelize.Parcelize | ||
|
||
@Parcelize | ||
data class PathAndPfd( | ||
var path: String, | ||
var pfd: ParcelFileDescriptor | ||
) : Parcelable |
Oops, something went wrong.