Skip to content

Commit

Permalink
feat(liveprog): Added script editor with basic language support
Browse files Browse the repository at this point in the history
  • Loading branch information
timschneeb committed Jan 2, 2023
1 parent 7a41beb commit 03553c0
Show file tree
Hide file tree
Showing 58 changed files with 3,142 additions and 80 deletions.
2 changes: 2 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
path = app/src/main/cpp/libjamesdsp
url = https://github.com/ThePBone/JamesDSPManager
branch = extensions
[submodule "cpp/libjamesdsp"]
branch = extensions
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<a href="https://github.com/ThePBone/RootlessJamesDSP/blob/master/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/ThePBone/RootlessJamesDSP">
</a>
</p>
</p>+
<p align="center">
<a href="#limitations">Limitations</a> •
<a href="#spotify-support-patch">Spotify patch</a> •
Expand Down
21 changes: 12 additions & 9 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ android {
}

kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "11"
}

buildFeatures {
Expand Down Expand Up @@ -156,12 +156,12 @@ dependencies {
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.5.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
implementation("androidx.recyclerview:recyclerview:1.3.0-rc01")
implementation("androidx.navigation:navigation-fragment-ktx:2.5.2")
implementation("androidx.navigation:navigation-fragment:2.5.2")
implementation("androidx.navigation:navigation-ui-ktx:2.5.2")
implementation("androidx.navigation:navigation-fragment-ktx:2.5.3")
implementation("androidx.navigation:navigation-fragment:2.5.3")
implementation("androidx.navigation:navigation-ui-ktx:2.5.3")
implementation("androidx.preference:preference-ktx:1.2.0")
implementation("androidx.preference:preference:1.2.0")
implementation("androidx.databinding:databinding-runtime:7.3.0")
implementation("androidx.databinding:databinding-runtime:7.3.1")
implementation("com.google.android.material:material:1.8.0-beta01")

// Dependency injection
Expand All @@ -174,7 +174,7 @@ dependencies {
implementation("com.google.firebase:firebase-crashlytics-ndk")

// Web API client
implementation("com.google.code.gson:gson:2.9.1")
implementation("com.google.code.gson:gson:2.10")
implementation("com.squareup.retrofit2:retrofit:2.9.0")
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
implementation("com.squareup.retrofit2:converter-scalars:2.9.0")
Expand All @@ -192,6 +192,9 @@ dependencies {
ksp("androidx.room:room-compiler:$roomVersion")
implementation("androidx.room:room-ktx:$roomVersion")

// Script editor
implementation(project(":codeview"))

// Shizuku
implementation("dev.rikka.shizuku:api:${AndroidConfig.shizukuVersion}")
implementation("dev.rikka.shizuku:provider:${AndroidConfig.shizukuVersion}")
Expand All @@ -203,11 +206,11 @@ dependencies {
implementation(project(":hidden-api-impl"))

// Debug utilities
debugImplementation("com.squareup.leakcanary:leakcanary-android:2.9.1")
debugImplementation("com.squareup.leakcanary:leakcanary-android:2.10")
debugImplementation("com.github.amitshekhariitbhu.Android-Debug-Database:debug-db:v1.0.6")

// Unit tests
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.3")
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")
androidTestImplementation("androidx.test.ext:junit:1.1.4")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0")
}
11 changes: 11 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,17 @@
android:value=".activity.MainActivity" />
</activity>

<activity
android:name=".activity.LiveprogEditorActivity"
android:exported="false"
android:label="@string/title_activity_liveprog_editor"
android:theme="@style/Theme.RootlessJamesDSP"
android:windowSoftInputMode="adjustResize">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activity.MainActivity" />
</activity>

<activity
android:name=".activity.GraphicEqualizerActivity"
android:exported="false"
Expand Down
Loading

0 comments on commit 03553c0

Please sign in to comment.