Skip to content

Commit 27747cd

Browse files
feat: add evalex license (#136)
* feat(licenses): add evalex license * docs: use https apache url --------- Co-authored-by: Naveen Singh <[email protected]>
1 parent 1ddccc4 commit 27747cd

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

commons/src/main/kotlin/org/fossify/commons/activities/LicenseActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class LicenseActivity : BaseComposeActivity() {
6464
License(LICENSE_M3U_PARSER, R.string.m3u_parser_title, R.string.m3u_parser_text, R.string.m3u_parser_url),
6565
License(LICENSE_ANDROID_LAME, R.string.android_lame_title, R.string.android_lame_text, R.string.android_lame_url),
6666
License(LICENSE_PDF_VIEWER, R.string.pdf_viewer_title, R.string.pdf_viewer_text, R.string.pdf_viewer_url),
67-
License(LICENSE_ZIP4J, R.string.zip4j_title, R.string.zip4j_text, R.string.zip4j_url)
67+
License(LICENSE_ZIP4J, R.string.zip4j_title, R.string.zip4j_text, R.string.zip4j_url),
68+
License(LICENSE_EVALEX, R.string.evalex_title, R.string.evalex_text, R.string.evalex_url)
6869
)
6970
}

commons/src/main/kotlin/org/fossify/commons/compose/screens/LicenseScreen.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ private fun LicenseScreenPreview() {
107107
License(LICENSE_M3U_PARSER, R.string.m3u_parser_title, R.string.m3u_parser_text, R.string.m3u_parser_url),
108108
License(LICENSE_ANDROID_LAME, R.string.android_lame_title, R.string.android_lame_text, R.string.android_lame_url),
109109
License(LICENSE_PDF_VIEWER, R.string.pdf_viewer_title, R.string.pdf_viewer_text, R.string.pdf_viewer_url),
110-
License(LICENSE_ZIP4J, R.string.zip4j_title, R.string.zip4j_text, R.string.zip4j_url)
110+
License(LICENSE_ZIP4J, R.string.zip4j_title, R.string.zip4j_text, R.string.zip4j_url),
111+
License(LICENSE_EVALEX, R.string.evalex_title, R.string.evalex_text, R.string.evalex_url)
111112
).toImmutableList()
112113
) {
113114

commons/src/main/kotlin/org/fossify/commons/helpers/Constants.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ const val LICENSE_M3U_PARSER = 1073741824L
262262
const val LICENSE_ANDROID_LAME = 2147483648L
263263
const val LICENSE_PDF_VIEWER = 4294967296L
264264
const val LICENSE_ZIP4J = 8589934592L
265+
const val LICENSE_EVALEX = 17179869184L
265266

266267
// global intents
267268
const val OPEN_DOCUMENT_TREE_FOR_ANDROID_DATA_OR_OBB = 1000

commons/src/main/res/values/donottranslate.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@
164164
<string name="pdf_viewer_url">https://github.com/tibbi/AndroidPdfViewer</string>
165165
<string name="zip4j_text">Copyright (C) 2019 Srikanth Reddy Lingala\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</string>
166166
<string name="zip4j_url">https://github.com/srikanth-lingala/zip4j</string>
167+
<string name="evalex_text">Copyright 2012-2023 by Udo Klimaschewski\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</string>
168+
<string name="evalex_url">https://github.com/ezylang/EvalEx</string>
167169

168170
<!-- Message digest algorithms -->
169171
<string name="md5">MD5</string>

commons/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,6 +1172,7 @@
11721172
<string name="m3u_parser_title">M3U Parser (m3u playlist file handling)</string>
11731173
<string name="android_lame_title">AndroidLame (mp3 encoder)</string>
11741174
<string name="zip4j_title">Zip4j (ZIP compression and decompression)</string>
1175+
<string name="evalex_title">EvalEx (math expression evaluation)</string>
11751176

11761177
<!-- Trial -->
11771178
<string name="trial_expired">Trial expired</string>

0 commit comments

Comments
 (0)