Skip to content

Commit 39f7935

Browse files
committed
Merge remote-tracking branch 'upstream/master' into test-module-issue
* upstream/master: Improve library loading UX (#7119) remove jython (#7157) Add missing authors Remove obsolete hint Fixed issue in PreviewView for number textfield (#7158) Fix for issue 6959 (#7151) Revert "remove jython (#7155)" (#7156) remove jython (#7155) Fix remembering password for sql db (#7154) Update to libre office 7.0.3 (#7150) Add IdBasedSearchFetcher to jstor (#7145) Squashed 'src/main/resources/csl-styles/' changes from 55200d0..a20406d Bump antlr4-runtime from 4.8-1 to 4.9 (#7136)
2 parents bbd4556 + 33b9315 commit 39f7935

File tree

79 files changed

+6159
-1424
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+6159
-1424
lines changed

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ Jeffrey Kuhn
182182
Jeffrey Sander
183183
Jens Döcke
184184
joeyzgraggen
185+
Johan Del Valle
185186
Johannes Hupe
186187
Johannes Manner
187188
Johannes Theiner
@@ -234,6 +235,7 @@ Lucas Beretti
234235
Luciana de Melo e Abud
235236
Lugduni Desrosiers
236237
Luis Romero
238+
Luis Valdez
237239
Mairieli Wessel
238240
Malik Atalla
239241
Malte Deiseroth

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
1212

1313
### Added
1414

15+
- We added a validation to check if the current database location is shared, preventing an exception when Pulling Changes From Shared Database. [#6959](https://github.com/JabRef/jabref/issues/6959)
1516
- We added a query parser and mapping layer to enable conversion of queries formulated in simplified lucene syntax by the user into api queries. [#6799](https://github.com/JabRef/jabref/pull/6799)
1617
- We added some basic functionality to customise the look of JabRef by importing a css theme file. [#5790](https://github.com/JabRef/jabref/issues/5790)
1718
- We added connection check function in network preference setting [#6560](https://github.com/JabRef/jabref/issues/6560)
@@ -76,6 +77,7 @@ inserting new citations in a OpenOffic/LibreOffice document. [#6957](https://git
7677
- We fixed an issue where the color of groups of type "free search expression" not persisting after restarting the application [#6999](https://github.com/JabRef/jabref/issues/6999)
7778
- We fixed an issue where modifications in the source tab where not saved without switching to another field before saving the library [#6622](https://github.com/JabRef/jabref/issues/6622)
7879
- We fixed an issue where the "Document Viewer" did not show the first page of the opened pdf document and did not show the correct total number of pages [#7108](https://github.com/JabRef/jabref/issues/7108)
80+
- We fixed an issue where the password for a shared SQL database was not remembered [#6869](https://github.com/JabRef/jabref/issues/6869)
7981

8082
### Removed
8183

build.gradle

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import groovy.json.JsonSlurper
22
import org.gradle.internal.os.OperatingSystem
33
import org.jabref.build.JournalAbbreviationConverter
4-
import org.jabref.build.localization.LocalizationPlugin
54
import org.jabref.build.xjc.XjcPlugin
65
import org.jabref.build.xjc.XjcTask
76

@@ -30,7 +29,6 @@ apply plugin: 'jacoco'
3029
apply plugin: 'me.champeau.gradle.jmh'
3130
apply plugin: 'checkstyle'
3231
apply plugin: XjcPlugin
33-
apply plugin: LocalizationPlugin
3432

3533
apply from: 'eclipse.gradle'
3634

@@ -85,7 +83,6 @@ repositories {
8583
}
8684

8785
configurations {
88-
libreoffice
8986
antlr3
9087
antlr4
9188
// TODO: Remove the following workaround for split error messages such as
@@ -118,14 +115,8 @@ dependencies {
118115

119116
implementation 'commons-cli:commons-cli:1.4'
120117

121-
// For Java 9+ compatibility, we include a bundled version of the libreoffice libraries
122-
// See https://bugs.documentfoundation.org/show_bug.cgi?id=117331#c8 for background information
123-
// Use the task bundleLibreOffice to update the bundled jar
124-
// DO NOT CHANGE THE libreoffice PREFIX
125-
libreoffice 'org.libreoffice:juh:6.4.3'
126-
libreoffice 'org.libreoffice:jurt:6.4.3'
127-
libreoffice 'org.libreoffice:ridl:6.4.3'
128-
libreoffice 'org.libreoffice:unoil:6.4.3'
118+
implementation 'org.libreoffice:libreoffice:7.0.3'
119+
implementation 'org.libreoffice:unoloader:7.0.3'
129120

130121
implementation 'io.github.java-diff-utils:java-diff-utils:4.9'
131122
implementation 'info.debatty:java-string-similarity:2.0.0'
@@ -134,7 +125,7 @@ dependencies {
134125
implementation 'org.antlr:antlr-runtime:3.5.2'
135126

136127
antlr4 'org.antlr:antlr4:4.9'
137-
implementation 'org.antlr:antlr4-runtime:4.8-1'
128+
implementation 'org.antlr:antlr4-runtime:4.9'
138129

139130
implementation (group: 'org.apache.lucene', name: 'lucene-queryparser', version: '8.7.0') {
140131
exclude group: 'org.apache.lucene', module: 'lucene-sandbox'
@@ -221,7 +212,6 @@ dependencies {
221212

222213
checkstyle 'com.puppycrawl.tools:checkstyle:8.38'
223214
xjc group: 'org.glassfish.jaxb', name: 'jaxb-xjc', version: '2.3.3'
224-
jython 'org.python:jython-standalone:2.7.2'
225215
}
226216

227217
dependencyUpdates {
@@ -332,7 +322,7 @@ task generateMedlineSource(type: XjcTask) {
332322
description = "Generates java files for the medline importer."
333323

334324
schemaFile = "src/main/resources/xjc/medline/medline.xsd"
335-
outputDirectory = "src/main/generated/"
325+
outputDirectory = "src/main/generated"
336326
javaPackage = "org.jabref.logic.importer.fileformat.medline"
337327
}
338328

@@ -341,7 +331,7 @@ task generateBibtexmlSource(type: XjcTask) {
341331
description = "Generates java files for the bibtexml importer."
342332

343333
schemaFile = "src/main/resources/xjc/bibtexml/bibtexml.xsd"
344-
outputDirectory = "src/main/generated"
334+
outputDirectory = "src/main/generated/"
345335
javaPackage = "org.jabref.logic.importer.fileformat.bibtexml"
346336
}
347337

@@ -440,7 +430,6 @@ javadoc {
440430
}
441431
}
442432

443-
localization.script = 'scripts/syncLang.py'
444433

445434
test {
446435
useJUnitPlatform {
@@ -770,13 +759,4 @@ task downloadDependencies {
770759
}
771760
}
772761

773-
task bundleLibreOffice(type: Jar) {
774-
from configurations.libreoffice.collect { zipTree it }
775762

776-
manifest {
777-
attributes 'Automatic-Module-Name': 'org.jabref.thirdparty.libreoffice'
778-
}
779-
780-
destinationDir = file('lib')
781-
archiveName = 'libreoffice.jar'
782-
}

buildSrc/src/main/groovy/org/jabref/build/localization/JythonTask.groovy

Lines changed: 0 additions & 19 deletions
This file was deleted.

buildSrc/src/main/groovy/org/jabref/build/localization/LocalizationExtension.groovy

Lines changed: 0 additions & 7 deletions
This file was deleted.

buildSrc/src/main/groovy/org/jabref/build/localization/LocalizationPlugin.groovy

Lines changed: 0 additions & 66 deletions
This file was deleted.

docs/getting-into-the-code/code-howtos.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,9 @@ General hints:
172172

173173
The tests check whether translation strings appear correctly in the resource bundles.
174174

175-
1. Add new `Localization.lang("KEY")` to Java file. Run the `LocalizationConsistencyTest`under \(src/test/org.jabref.logic.l10n\)
176-
2. Tests fail. In the test output a snippet is generated which must be added to the English translation file. There is also a snippet generated for the non-English files, but this is irrelevant.
175+
1. Add new `Localization.lang("KEY")` to Java file. Run the `LocalizationConsistencyTest`under \(src/test/org.jabref.logic.
176+
\)
177+
2. Tests fail. In the test output a snippet is generated which must be added to the English translation file.
177178
3. Add snippet to English translation file located at `src/main/resources/l10n/JabRef_en.properties`
178179
4. Please do not add translations for other languages directly in the properties. They will be overwritten by [Crowdin](https://crowdin.com/project/jabref)
179180

lib/libreoffice.jar

-2.03 MB
Binary file not shown.

scripts/README.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

scripts/generate-authors.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ cd "$(dirname "$(readlink -f "$BASH_SOURCE")")/.."
5757
# authors %aN = author name
5858

5959
# co-authors
60-
coauthors=$(git log -i --grep=co-authored-by | grep -i "co-authored-by" | sed "s/.*co-authored-by: \(.*\)/\1/I" | sed "s/ <.*//")
60+
coauthors=$(git log -i --grep=co-authored-by | grep -i "co-authored-by" | sed "s/.*co-authored-by: \(.*\)/\1/I" | grep -v "luis-valdez" | sed "s/ <.*//")
6161
echo -e "$authors\n$(git log --format='%aN')\n$coauthors" | grep -v "\[bot\]" | grep -v "JabRef" | grep -v "Siedlerchr" | grep -v "^Christoph$" | grep -v "^Mootez$" | grep -v "oscargus" | grep -v "dependabot" | grep -v "github actions" | grep -v "igorsteinmacher" | grep -v "halirutan" | grep -v "matthiasgeiger" | grep -v "Gitter Badger" | grep -v "gdstewart" | grep -v "m-mauersberger" | grep -v "chenyuheng" | LC_ALL=C.UTF-8 sort --unique --ignore-case
6262
} > AUTHORS

0 commit comments

Comments
 (0)