Skip to content

Commit

Permalink
Fix some performance inefficiencies
Browse files Browse the repository at this point in the history
Signed-off-by: PranavPurwar <[email protected]>
  • Loading branch information
PranavPurwar committed Sep 5, 2023
1 parent 07768c7 commit 69086d4
Show file tree
Hide file tree
Showing 376 changed files with 3,183 additions and 466 deletions.
204 changes: 204 additions & 0 deletions .idea/intellij-javadocs-4.0.1.xml

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

Empty file.
Empty file.

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

Empty file.
Empty file.
Empty file.
13 changes: 13 additions & 0 deletions .idea/sonarlint/issuestore/index.pb

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

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
13 changes: 13 additions & 0 deletions .idea/sonarlint/securityhotspotstore/index.pb

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

14 changes: 12 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
* This file is part of Cosmic IDE.
* Cosmic IDE is a free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
* Cosmic IDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with Foobar. If not, see <https://www.gnu.org/licenses/>.
* You should have received a copy of the GNU General Public License along with Cosmic IDE. If not, see <https://www.gnu.org/licenses/>.
*/

/*
* This file is part of Cosmic IDE.
* Cosmic IDE is a free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
* Cosmic IDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with Cosmic IDE. If not, see <https://www.gnu.org/licenses/>.
*/

plugins {
Expand Down Expand Up @@ -92,6 +99,9 @@ android {
"src/*"
)
)
buildFeatures {
buildConfig = true
}
}

fun getGitCommit(): String {
Expand Down Expand Up @@ -187,7 +197,7 @@ dependencies {

implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
implementation("org.lsposed.hiddenapibypass:hiddenapibypass:4.3")
implementation("org.slf4j:slf4j-simple:2.0.7")
implementation("org.slf4j:slf4j-simple:2.0.9")

val shizukuVersion = "13.1.4"
implementation("dev.rikka.shizuku:api:$shizukuVersion")
Expand Down
24 changes: 9 additions & 15 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
~ This file is part of Cosmic IDE.
~ Cosmic IDE is a free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
~ Cosmic IDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
~ You should have received a copy of the GNU General Public License along with Foobar. If not, see <https://www.gnu.org/licenses/>.
~ You should have received a copy of the GNU General Public License along with Cosmic IDE. If not, see <https://www.gnu.org/licenses/>.
-->

<!--
~ This file is part of Cosmic IDE.
~ Cosmic IDE is a free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
~ Cosmic IDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
~ You should have received a copy of the GNU General Public License along with Cosmic IDE. If not, see <https://www.gnu.org/licenses/>.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Expand Down Expand Up @@ -46,7 +53,7 @@

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="org.cosmicide.rewrite.fileprovider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
Expand Down Expand Up @@ -85,19 +92,6 @@
android:name="com.google.android.gms.oss.licenses.OssLicensesActivity"
android:theme="@style/Theme.CosmicIde.Flamingo" />

<activity
android:name="io.appwrite.views.CallbackActivity"
android:exported="true">
<intent-filter android:label="android_web_auth">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="appwrite-callback-64f212248f1c810b1152" />
</intent-filter>
</activity>

<provider
android:name="rikka.shizuku.ShizukuProvider"
android:authorities="${applicationId}.shizuku"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,21 @@
"repository": {
"keywords": {
"patterns": [
{
"name": "keyword.control.build",
"match": "\\b(if|while|for|return)\\b"
},
{
"name": "token.warn-token",
"match": "WARNING|warning|warn|WARN|Warning"
"match": "WARNING:|warn:|WARN:|Warning:"
},
{
"name": "token.info-token",
"match": "INFO|info|Info"
"match": "INFO:|info:|Info:"
},
{
"name": "token.error-token",
"match": "ERROR|error|Error"
"match": "ERROR:|error:|Error:"
},
{
"name": "token.debug-token",
"match": "OUTPUT|out|OUT"
"match": "OUTPUT:"
}
]
},
Expand Down
Loading

0 comments on commit 69086d4

Please sign in to comment.