Skip to content

Commit 91e6572

Browse files
committed
Merge remote-tracking branch 'upstream/master' into swing-test
* upstream/master: (29 commits) Improve author parsing (#4931) Ui preferences global modifications (#4926) Bump checkstyle from 8.19 to 8.20 (#4928) Bump mysql-connector-java from 8.0.15 to 8.0.16 (#4924) UI Preferences->advanced tab optimization : separators and text modification (#4922) Fix for the issue #4912 (#4916) Refactorings, move functionality of CustomEntryTypesManager to Preferences Use ObservableList instead of LIstProperty Toggle enable status of menu items (#4872) Fixes throwing an exception when 'id' field is present in bib file (#4918) Quick fix for error when opening preferences (#4917) Revert "Create new layout for preferences regarding columns" Create new layout for preferences regarding columns Rearrange the padding of the "Append library" dialog (#4914) Make Group dialog resizable (#4910) Adjust save exception to inlcude orgininal stack traces remove dialogService parameter remove dialog service argument rework dialog, create fxml etc fix l10n Remove obsolete code rework threading stuff simplify code Fix Some Codacy Code Convention Issues (#4904) ... # Conflicts: # src/main/java/org/jabref/gui/JabRefFrame.java # src/main/java/org/jabref/gui/customentrytypes/FieldSetComponent.java
2 parents 63199fc + e73dd2e commit 91e6572

File tree

162 files changed

+1779
-1282
lines changed

Some content is hidden

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

162 files changed

+1779
-1282
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
8282
- We fixed an issue where a non-existing aux file in a group made it impossible to open the library. [#4735](https://github.com/JabRef/jabref/issues/4735)
8383
- We fixed an issue where some journal names were wrongly marked as abbreviated. [#4115](https://github.com/JabRef/jabref/issues/4115)
8484
- We fixed an issue where the custom file column were sorted incorrectly. https://github.com/JabRef/jabref/issues/3119
85+
- We improved the parsing of author names whose infix is abbreviated without a dot. [#4864](https://github.com/JabRef/jabref/issues/4864)
8586
- We fixed an issues where the entry losses focus when a field is edited and at the same time used for sorting. https://github.com/JabRef/jabref/issues/3373
8687
- We fixed an issue where the menu on Mac OS was not displayed in the usual Mac-specific way. https://github.com/JabRef/jabref/issues/3146
8788
- We improved the integrity check for page numbers. [#4113](https://github.com/JabRef/jabref/issues/4113) and [feature request in the forum](http://discourse.jabref.org/t/pages-field-allow-use-of-en-dash/1199)

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ dependencies {
101101

102102
compile 'commons-cli:commons-cli:1.4'
103103

104-
compile "org.libreoffice:juh:6.2.2"
105-
compile "org.libreoffice:jurt:6.2.2"
106-
compile "org.libreoffice:ridl:6.2.2"
107-
compile "org.libreoffice:unoil:6.2.2"
104+
compile "org.libreoffice:juh:6.2.3"
105+
compile "org.libreoffice:jurt:6.2.3"
106+
compile "org.libreoffice:ridl:6.2.3"
107+
compile "org.libreoffice:unoil:6.2.3"
108108

109109
compile 'io.github.java-diff-utils:java-diff-utils:4.0'
110110
compile 'info.debatty:java-string-similarity:1.2.1'
@@ -115,7 +115,7 @@ dependencies {
115115
antlr4 'org.antlr:antlr4:4.7.2'
116116
compile 'org.antlr:antlr4-runtime:4.7.2'
117117

118-
compile 'mysql:mysql-connector-java:8.0.15'
118+
compile 'mysql:mysql-connector-java:8.0.16'
119119

120120
compile 'org.postgresql:postgresql:42.2.5'
121121

@@ -128,7 +128,7 @@ dependencies {
128128
compile 'de.saxsys:mvvmfx:1.8.0'
129129
compile 'org.fxmisc.easybind:easybind:1.0.3'
130130
compile 'org.fxmisc.flowless:flowless:0.6.1'
131-
compile 'org.fxmisc.richtext:richtextfx:0.9.3'
131+
compile 'org.fxmisc.richtext:richtextfx:0.10.0'
132132
compile 'com.sibvisions.external.jvxfx:dndtabpane:0.1'
133133
compile 'javax.inject:javax.inject:1'
134134
compile 'com.jfoenix:jfoenix:8.0.8'
@@ -171,7 +171,7 @@ dependencies {
171171
testCompile "org.testfx:testfx-core:4.0.+"
172172
testCompile "org.testfx:testfx-junit5:4.0.+"
173173

174-
checkstyle 'com.puppycrawl.tools:checkstyle:8.19'
174+
checkstyle 'com.puppycrawl.tools:checkstyle:8.20'
175175
}
176176

177177
jacoco {

src/main/java/org/jabref/gui/BasePanel.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@
3030
import org.jabref.JabRefExecutorService;
3131
import org.jabref.gui.actions.Actions;
3232
import org.jabref.gui.actions.BaseAction;
33-
import org.jabref.gui.actions.CleanupAction;
34-
import org.jabref.gui.actions.CopyBibTeXKeyAndLinkAction;
35-
import org.jabref.gui.actions.GenerateBibtexKeyAction;
36-
import org.jabref.gui.actions.WriteXMPAction;
3733
import org.jabref.gui.autocompleter.AutoCompletePreferences;
3834
import org.jabref.gui.autocompleter.AutoCompleteUpdater;
3935
import org.jabref.gui.autocompleter.PersonNameSuggestionProvider;
4036
import org.jabref.gui.autocompleter.SuggestionProviders;
37+
import org.jabref.gui.bibtexkeypattern.GenerateBibtexKeyAction;
38+
import org.jabref.gui.cleanup.CleanupAction;
4139
import org.jabref.gui.collab.DatabaseChangeMonitor;
4240
import org.jabref.gui.collab.DatabaseChangePane;
4341
import org.jabref.gui.desktop.JabRefDesktop;
42+
import org.jabref.gui.edit.CopyBibTeXKeyAndLinkAction;
4443
import org.jabref.gui.edit.ReplaceStringAction;
4544
import org.jabref.gui.entryeditor.EntryEditor;
4645
import org.jabref.gui.exporter.SaveDatabaseAction;
46+
import org.jabref.gui.exporter.WriteXMPAction;
4747
import org.jabref.gui.externalfiles.FindFullTextAction;
4848
import org.jabref.gui.externalfiletype.ExternalFileType;
4949
import org.jabref.gui.externalfiletype.ExternalFileTypes;
@@ -292,7 +292,7 @@ private void setupActions() {
292292
// The action for cleaning up entry.
293293
actions.put(Actions.CLEANUP, cleanUpAction);
294294

295-
actions.put(Actions.MERGE_ENTRIES, () -> new MergeEntriesAction(frame).execute());
295+
actions.put(Actions.MERGE_ENTRIES, () -> new MergeEntriesAction(frame, Globals.stateManager).execute());
296296

297297
// The action for copying the selected entry's key.
298298
actions.put(Actions.COPY_KEY, this::copyKey);
@@ -430,7 +430,7 @@ private void delete(boolean cut, List<BibEntry> entries) {
430430
compound = new NamedCompound((entries.size() > 1 ? Localization.lang("delete entries") : Localization.lang("delete entry")));
431431
}
432432
for (BibEntry entry : entries) {
433-
compound.addEdit(new UndoableRemoveEntry(bibDatabaseContext.getDatabase(), entry, BasePanel.this));
433+
compound.addEdit(new UndoableRemoveEntry(bibDatabaseContext.getDatabase(), entry));
434434
bibDatabaseContext.getDatabase().removeEntry(entry);
435435
ensureNotShowingBottomPanel(entry);
436436
}

src/main/java/org/jabref/gui/EntryTypeViewModel.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import javafx.concurrent.Task;
1515
import javafx.concurrent.Worker;
1616

17+
import org.jabref.gui.duplicationFinder.DuplicateResolverDialog;
1718
import org.jabref.logic.bibtex.DuplicateCheck;
1819
import org.jabref.logic.bibtexkeypattern.BibtexKeyGenerator;
1920
import org.jabref.logic.importer.FetcherException;

0 commit comments

Comments
 (0)