Skip to content

Commit fa9d08c

Browse files
committed
Merge remote-tracking branch 'upstream/maintable-beta' into fixdragandrop
* upstream/maintable-beta: (174 commits) Fix ACM fetcher import of entries (#4019) Reimplement tooltips for file and identifier columns (#4011) Add button-icon for union/intersection in the groups side panel (#3954) Update Dependencies (#4012) set look and feel to windows, aqua or nimbus for swing in case fix import remove look and feel New translations JabRef_en.properties (French) (#4009) Fix Look and Feel related issues (#4002) Fix statement in changelog [WIP] Add Text File Export for "Find Unlinked Files" (#3979) Fix IEEE preview does not display month (#3983) Activate context menu on key press (#4004) Improve code layout Fix concurrent modification exception when adding entries to groups Fix build Typo Add fix Rename test Fix #3994 Duplicate unmodifiable list for sorting (#3996) ... # Conflicts: # src/main/java/org/jabref/gui/actions/CleanupAction.java # src/main/java/org/jabref/gui/maintable/MainTable.java
2 parents 4982e4c + 71332c4 commit fa9d08c

File tree

249 files changed

+4706
-4090
lines changed

Some content is hidden

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

249 files changed

+4706
-4090
lines changed

.mailmap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Daniel Mair <[email protected]> <[email protected]>
117117
Sven Jäger <[email protected]>
118118
Tim van Rossum <[email protected]>
119119
Saulius Gražulis <[email protected]>
120-
120+
Rolf Starre <[email protected]>
121121
Owen Huang <[email protected]>
122122
Anita Armbruster <[email protected]>
123123
Fabian Bauer <[email protected]>
@@ -140,3 +140,6 @@ Mattia Bunel <[email protected]>
140140
Waida Fan <[email protected]>
141141
Johannes Manner <[email protected]>
142142
Dominik Traczyk <[email protected]>
143+
Cerrianne Santos <[email protected]>
144+
Stefan Scheffel <[email protected]>
145+
Stefan Gerzmann <[email protected]>

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ env:
1717
global:
1818
- GRADLE_OPTS=-Dorg.gradle.daemon=false
1919
matrix:
20-
- TEST_SUITE=checkstyle
2120
- TEST_SUITE=check OPTIONS=modernizer
21+
- TEST_SUITE=checkstyle
2222
- TEST_SUITE=fetcherTest
2323
- TEST_SUITE=databaseTest
2424
- TEST_SUITE=guiTest
@@ -50,7 +50,7 @@ script:
5050
- if [ "$TEST_SUITE" != "guiTest" ] && [ "$TEST_SUITE" != "checkstyle" ] && [ "$TEST_SUITE" != "codecov" ]; then ./gradlew $TEST_SUITE $OPTIONS --scan; fi
5151
- if [ "$TEST_SUITE" == "checkstyle" ]; then ./gradlew checkstyleMain checkstyleTest checkstyleJmh; fi
5252
- if [ "$TEST_SUITE" == "guiTest" ]; then ./buildres/gui-tests.sh; fi
53-
- if [ "$TEST_SUITE" == "codecov" ]; then ./gradlew jacocoJunit5TestReport; bash <(curl -s https://codecov.io/bash); fi
53+
- if [ "$TEST_SUITE" == "codecov" ]; then ./gradlew jacocoTestReport; bash <(curl -s https://codecov.io/bash); fi
5454
- if [ "$DEPENDENCY_UPDATES" == "check" ]; then ./gradlew -q checkOutdatedDependencies; fi
5555

5656
after_failure:

AUTHORS

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Alex Montgomery
1111
Alexis Gallagher
1212
Alexsandro Lauber
1313
Ali Ayan
14+
Alick Zhao
1415
Ambrogio Oliva
1516
Andreas Amann
1617
Andreas Buhr
@@ -29,8 +30,8 @@ Bernd Kalbfuss
2930
Bernhard Tempel
3031
Brian Quistorff
3132
Brian Van Essen
32-
captain123
3333
Carlos Silla
34+
Cerrianne Santos
3435
Christian Bartsch
3536
Christian Kopf
3637
Christoph Braun
@@ -67,11 +68,11 @@ Felix Berger
6768
Felix Langner
6869
Felix Wilke
6970
Fernando Santagata
71+
Florian Beetz
7072
Florian Straßer
7173
Foivos Christoulakis
7274
Francois Charette
7375
Frank Steimle
74-
Fred
7576
Frédéric Darboux
7677
Gert Renckens
7778
Gregor Herrmann
@@ -128,9 +129,7 @@ Mathias Walter
128129
Matthias Geiger
129130
Mattia Bunel
130131
Mattias Ulbrich
131-
mcmoody
132132
Meltem Demirköprü
133-
Michael
134133
Michael Beckmann
135134
Michael Falkenthal
136135
Michael Lass
@@ -145,18 +144,15 @@ Nadeem Mahmood
145144
Nathan Dunn
146145
Nathan Sheffield
147146
Nicolas Pavillon
148-
nikmilpv
149147
Niv Ierushalmi
150148
Nizar N. Batada
151-
noravanq
152149
Olaf Lenz
153150
Oliver Beckmann
154151
Oliver Kopp
155152
Oscar Gustafsson
156153
Owen Huang
157154
Patrick Scheibe
158155
Paul Martin
159-
payload
160156
Peter Ansell
161157
Philip Johnson
162158
Predrag Milanovic
@@ -181,16 +177,15 @@ Seb Wills
181177
Shitikanth
182178
Simon Harrer
183179
Simon Rutishauser
184-
speed9
185180
Stefan Feyer
181+
Stefan Gerzmann
186182
Stefan Kolb
187183
Stefan Robert
188184
Stefano Gariazzo
189185
Stephan Lau
190186
Stephan Rave
191187
Stéphane Curet
192188
Sven Jäger
193-
The Gitter Badger
194189
Thiago Toledo
195190
Thomas Arildsen
196191
Thomas Ilsche
@@ -201,10 +196,7 @@ Tobias Boceck
201196
Tobias Bouschen
202197
Tobias Denkinger
203198
Tobias Diez
204-
tokkot
205-
Tony K
206199
Toralf Senger
207-
uid112001
208200
Ulrich Stärk
209201
Ulrik Stervbo
210202
Uwe Kuehn
@@ -213,9 +205,7 @@ Waida Fan
213205
Waluyo Adi Siswanto
214206
Ward Poelmans
215207
Wenbo Yang
216-
wuw
217208
Yang Zongze
218209
Yara Grassi Gouffon
219210
Yifan Peng
220-
zacmks
221211
Zhang Liang

CHANGELOG.md

Lines changed: 88 additions & 48 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 50 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,14 @@ buildscript {
1212
url 'https://oss.sonatype.org/content/groups/public'
1313
}
1414
}
15-
dependencies {
16-
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.1.0'
17-
}
1815
}
1916

2017
plugins {
2118
id 'com.gradle.build-scan' version '1.11'
22-
id 'com.install4j.gradle' version '7.0.3'
19+
id 'com.install4j.gradle' version '7.0.4'
2320
id 'com.github.johnrengelman.shadow' version '2.0.2'
2421
id "de.sebastianboegl.shadow.transformer.log4j" version "2.1.1"
25-
id "com.simonharrer.modernizer" version '1.5.0-1'
22+
id "com.simonharrer.modernizer" version '1.6.0-1'
2623
id 'me.champeau.gradle.jmh' version '0.4.3'
2724
id 'net.ltgt.errorprone' version '0.0.13'
2825
id 'com.github.ben-manes.versions' version '0.17.0'
@@ -41,16 +38,15 @@ apply plugin: 'jacoco'
4138
apply plugin: 'install4j'
4239
apply plugin: 'me.champeau.gradle.jmh'
4340
apply plugin: 'checkstyle'
44-
apply plugin: 'org.junit.platform.gradle.plugin'
4541

4642
apply from: 'eclipse.gradle'
4743
apply from: 'localization.gradle'
4844
apply from: 'xjc.gradle'
4945

5046
group = "org.jabref"
51-
version = "4.2-dev"
52-
project.ext.threeDotVersion = "4.1.0.1"
53-
project.ext.install4jDir = hasProperty("install4jDir") ? getProperty("install4jDir") : (OperatingSystem.current().isWindows() ? 'C:/Program Files/install4j6' : 'install4j6')
47+
version = "4.3-dev"
48+
project.ext.threeDotVersion = "4.2.0.1"
49+
project.ext.install4jDir = hasProperty("install4jDir") ? getProperty("install4jDir") : (OperatingSystem.current().isWindows() ? 'C:/Program Files/install4j7' : 'install4j7')
5450
sourceCompatibility = 1.8
5551
targetCompatibility = 1.8
5652
mainClassName = "org.jabref.JabRefMain"
@@ -91,9 +87,9 @@ dependencies {
9187
compile 'com.jgoodies:jgoodies-common:1.8.1'
9288
compile 'com.jgoodies:jgoodies-forms:1.9.0'
9389

94-
compile 'org.apache.pdfbox:pdfbox:2.0.8'
95-
compile 'org.apache.pdfbox:fontbox:2.0.8'
96-
compile 'org.apache.pdfbox:xmpbox:2.0.8'
90+
compile 'org.apache.pdfbox:pdfbox:2.0.9'
91+
compile 'org.apache.pdfbox:fontbox:2.0.9'
92+
compile 'org.apache.pdfbox:xmpbox:2.0.9'
9793

9894
// required for reading write-protected PDFs - see https://github.com/JabRef/jabref/pull/942#issuecomment-209252635
9995
compile 'org.bouncycastle:bcprov-jdk15on:1.59'
@@ -121,24 +117,23 @@ dependencies {
121117

122118
compile 'net.java.dev.glazedlists:glazedlists_java15:1.9.1'
123119

124-
compile 'com.google.guava:guava:24.1-jre'
120+
compile 'com.google.guava:guava:25.0-jre'
125121

126122
// JavaFX stuff
127123
compile 'de.codecentric.centerdevice:javafxsvg:1.3.0'
128124
compile 'de.jensd:fontawesomefx-materialdesignfont:1.7.22-4'
129125
compile 'de.saxsys:mvvmfx-validation:1.7.0'
130126
compile 'de.saxsys:mvvmfx:1.7.0'
131127
compile 'org.fxmisc.easybind:easybind:1.0.3'
132-
compile 'org.fxmisc.flowless:flowless:0.6'
133-
compile 'org.fxmisc.richtext:richtextfx:0.8.2'
128+
compile 'org.fxmisc.flowless:flowless:0.6.1'
129+
compile 'org.fxmisc.richtext:richtextfx:0.9.0'
134130
compile 'com.sibvisions.external.jvxfx:dndtabpane:0.1'
135131
compile 'javax.inject:javax.inject:1'
136132

137-
138133
// Cannot be updated to 9.*.* until Jabref works with Java 9
139134
compile 'org.controlsfx:controlsfx:8.40.15-SNAPSHOT'
140135

141-
compile 'org.jsoup:jsoup:1.11.2'
136+
compile 'org.jsoup:jsoup:1.11.3'
142137
compile 'com.mashape.unirest:unirest-java:1.4.9'
143138

144139
// >1.8.0-beta is required for java 9 compatibility
@@ -155,31 +150,31 @@ dependencies {
155150

156151
compile 'com.github.tomtung:latex2unicode_2.12:0.2.2'
157152

158-
compile group: 'com.microsoft.azure', name: 'applicationinsights-core', version: '2.0.1'
159-
compile group: 'com.microsoft.azure', name: 'applicationinsights-logging-log4j2', version: '2.0.1'
153+
compile group: 'com.microsoft.azure', name: 'applicationinsights-core', version: '2.1.0'
154+
compile group: 'com.microsoft.azure', name: 'applicationinsights-logging-log4j2', version: '2.1.0'
160155

161-
testCompile 'org.junit.jupiter:junit-jupiter-api:5.1.0'
162-
testCompile 'org.junit.jupiter:junit-jupiter-params:5.1.0'
163-
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.1.0'
164-
testRuntime 'org.junit.vintage:junit-vintage-engine:5.1.0'
165-
testCompile 'org.junit.platform:junit-platform-launcher:1.1.0'
156+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.2.0'
157+
testCompile 'org.junit.jupiter:junit-jupiter-params:5.2.0'
158+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.2.0'
159+
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine:5.2.0'
160+
testCompile 'org.junit.platform:junit-platform-launcher:1.2.0'
166161
testRuntime 'org.apache.logging.log4j:log4j-core:2.11.0'
167162
testRuntime 'org.apache.logging.log4j:log4j-jul:2.11.0'
168-
testCompile 'org.mockito:mockito-core:2.16.0'
169-
testCompile 'com.github.tomakehurst:wiremock:2.15.0'
163+
testCompile 'org.mockito:mockito-core:2.18.3'
164+
testCompile 'com.github.tomakehurst:wiremock:2.17.0'
170165
testCompile 'org.assertj:assertj-swing-junit:3.8.0'
171166
testCompile 'org.reflections:reflections:0.9.11'
172-
testCompile 'org.xmlunit:xmlunit-core:2.5.1'
173-
testCompile 'org.xmlunit:xmlunit-matchers:2.5.1'
167+
testCompile 'org.xmlunit:xmlunit-core:2.6.0'
168+
testCompile 'org.xmlunit:xmlunit-matchers:2.6.0'
174169
testCompile 'com.tngtech.archunit:archunit-junit:0.5.0'
175170
testCompile "org.testfx:testfx-core:4.0.+"
176171
testCompile "org.testfx:testfx-junit5:4.0.+"
177172

178-
checkstyle 'com.puppycrawl.tools:checkstyle:8.8'
173+
checkstyle 'com.puppycrawl.tools:checkstyle:8.10'
179174
}
180175

181176
jacoco {
182-
toolVersion = '0.8.0'
177+
toolVersion = '0.8.1'
183178
}
184179

185180
dependencyUpdates {
@@ -205,12 +200,12 @@ dependencyUpdates.resolutionStrategy = {
205200
}
206201
}
207202
withModule("org.jacoco:org.jacoco.agent") { ComponentSelection selection ->
208-
if (selection.candidate.version.equals("0.8.0")) {
203+
if (selection.candidate.version ==~ /0.8.*/) {
209204
selection.reject("As a native plugin we cannot control the actual version of jacoco. This dependency should be hidden.")
210205
}
211206
}
212207
withModule("org.jacoco:org.jacoco.ant") { ComponentSelection selection ->
213-
if (selection.candidate.version.equals("0.8.0")) {
208+
if (selection.candidate.version ==~ /0.8.*/) {
214209
selection.reject("As a native plugin we cannot control the actual version of jacoco. This dependency should be hidden.")
215210
}
216211
}
@@ -315,14 +310,16 @@ javadoc {
315310
}
316311

317312
// Test tasks
318-
junitPlatform {
319-
filters {
320-
tags {
321-
exclude 'DatabaseTest', 'FetcherTest', 'GUITest', 'org.jabref.testutils.category.FetcherTest', 'org.jabref.testutils.category.GUITest'
322-
}
313+
test {
314+
useJUnitPlatform {
315+
excludeTags 'DatabaseTest', 'FetcherTest', 'GUITest', 'org.jabref.testutils.category.FetcherTest', 'org.jabref.testutils.category.GUITest'
316+
}
317+
318+
testLogging {
319+
// set options for log level LIFECYCLE
320+
events "failed"
321+
exceptionFormat "full"
323322
}
324-
325-
logManager 'org.apache.logging.log4j.jul.LogManager'
326323
}
327324

328325
task databaseTest(type: Test) {
@@ -359,8 +356,8 @@ tasks.withType(Test) {
359356
}
360357

361358
task jacocoMerge(type: JacocoMerge) {
362-
executionData file("$buildDir/jacoco/junitPlatformTest.exec"), file("$buildDir/jacoco/databaseTest.exec"), file("$buildDir/jacoco/fetcherTest.exec")
363-
dependsOn junitPlatformTest, databaseTest, fetcherTest
359+
executionData file("$buildDir/jacoco/test.exec"), file("$buildDir/jacoco/databaseTest.exec"), file("$buildDir/jacoco/fetcherTest.exec")
360+
dependsOn test, databaseTest, fetcherTest
364361
}
365362

366363
jacocoTestReport {
@@ -373,37 +370,16 @@ jacocoTestReport {
373370
}
374371
}
375372

376-
afterEvaluate {
377-
def junitPlatformTest = tasks.junitPlatformTest
378-
379-
jacoco {
380-
applyTo(junitPlatformTest)
381-
}
382-
383-
task jacocoJunit5TestReport(type: JacocoReport) {
384-
executionData jacocoMerge.destinationFile
385-
dependsOn jacocoMerge
386-
sourceSets sourceSets.main
387-
sourceDirectories = files(sourceSets.main.allSource.srcDirs)
388-
classDirectories = files(sourceSets.main.output)
389-
390-
reports {
391-
xml.enabled true
392-
html.enabled true
393-
}
394-
}
395-
}
396-
397373
// Code quality tasks
398374
checkstyle {
399375
// do not use other packages for checkstyle, excluding gen(erated) sources
400376
checkstyleMain.source = "src/main/java"
401377
toolVersion = '8.5'
378+
379+
// do not perform checkstyle checks by default
380+
sourceSets = []
402381
}
403382

404-
checkstyleMain.shouldRunAfter test
405-
checkstyleTest.shouldRunAfter test
406-
407383
modernizer {
408384
// We have more than 20 issues, which are not fixed yet. Nevertheless, we produce the modernizer output.
409385
// See https://github.com/andrewgaul/modernizer-maven-plugin for more information on modernizer
@@ -452,8 +428,16 @@ install4j {
452428
installDir = file(project.ext.install4jDir)
453429
}
454430

431+
task generateFinalJabRefPS1File(type: Copy) {
432+
from('buildres') {
433+
include 'JabRef.ps1'
434+
}
435+
into 'build'
436+
filter(org.apache.tools.ant.filters.ReplaceTokens, tokens: [jabRefJarFileName: jar.archiveName])
437+
}
438+
455439
// has to be defined AFTER 'dev' things to have the correct project.version
456-
task media(type: com.install4j.gradle.Install4jTask, dependsOn: "releaseJar") {
440+
task media(type: com.install4j.gradle.Install4jTask, dependsOn: ["releaseJar", "generateFinalJabRefPS1File"]) {
457441
projectFile = file('jabref.install4j')
458442
release = project.version
459443
winKeystorePassword = System.getenv('CERTIFICATE_PW')

buildres/JabRef.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
pushd %~dp0
3+
@powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File ".\JabRef.ps1"

0 commit comments

Comments
 (0)