Skip to content

Commit d5b9b55

Browse files
committed
Merge remote-tracking branch 'upstream/main' into fix-mac
* upstream/main: Fix directory path validation checks (#13029) Keep merge=union for JabRef_en.properties Merging Entry Creation Buttons Into a Single Tool (#13020) refine-jabsrv (#13044) Switch if branches for readbility (#13042) Updating the gradle wrapper does not need any JDK (#13037) Fix path - and fix typo (#13038)
2 parents ed4f415 + 869e80e commit d5b9b55

File tree

50 files changed

+1763
-1410
lines changed

Some content is hidden

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

50 files changed

+1763
-1410
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ gradlew text eol=lf
1313
*.properties text eol=lf
1414

1515
CHANGELOG.md merge=union
16+
jablib/src/main/resources/l10n/JabRef_en.properties merge=union
1617
src/main/resources/l10n/JabRef_en.properties merge=union

.github/workflows/update-gradle-wrapper.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,8 @@ jobs:
99
update-gradle-wrapper:
1010
if: github.repository == 'JabRef/jabref'
1111
runs-on: ubuntu-latest
12-
1312
steps:
1413
- uses: actions/checkout@v4
15-
- name: Setup JDK
16-
uses: actions/setup-java@v4
17-
with:
18-
java-version: 24.0.1
19-
distribution: 'zulu'
20-
2114
- name: Update Gradle Wrapper
2215
uses: gradle-update/update-gradle-wrapper-action@v2
2316
with:

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
1111

1212
### Added
1313

14+
- We added an option to create entries directly from Bib(La)TeX sources to the 'Create New Entry' tool. [#8808](https://github.com/JabRef/jabref/issues/8808)
15+
1416
### Changed
1517

18+
- We merged the 'New Entry', 'Import by ID', and 'New Entry from Plain Text' tools into a single 'Create New Entry' tool. [#8808](https://github.com/JabRef/jabref/issues/8808)
19+
1620
### Fixed
1721

22+
- We fixed an issue where directory check for relative path was not handled properly under library properties. [#13017](https://github.com/JabRef/jabref/issues/13017)
23+
- We fixed an issue where the option for which method to use when parsing plaintext citations was unavailable in the 'Create New Entry' tool. [#8808](https://github.com/JabRef/jabref/issues/8808)
24+
1825
### Removed
1926

2027
- We removed support for MySQL/MariaDB and Oracle. [#12990](https://github.com/JabRef/jabref/pull/12990)
@@ -324,7 +331,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
324331
- We fixed that the import of the related articles tab sometimes used the wrong library mode. [#11282](https://github.com/JabRef/jabref/pull/11282)
325332
- We fixed an issue where the entry editor context menu was not shown correctly when JabRef is opened on a second, extended screen [#11323](https://github.com/JabRef/jabref/issues/11323), [#11174](https://github.com/JabRef/jabref/issues/11174)
326333
- We fixed an issue where the value of "Override default font settings" was not applied on startup [#11344](https://github.com/JabRef/jabref/issues/11344)
327-
- We fixed an issue when "Library changed on disk" appeared after a save by JabRef. [#4877](https://github.com/JabRef/jabref/issues/4877)
334+
- We fixed an issue when "Library changed on disk" appeared after a save by JabRef. [#4877](https://github.com/JabRef/jabref/issues/4877)
328335
- We fixed an issue where the Pubmed/Medline Plain importer would not respect the user defined keyword separator [#11413](https://github.com/JabRef/jabref/issues/11413)
329336
- We fixed an issue where the value of "Override default font settings" was not applied on startup [#11344](https://github.com/JabRef/jabref/issues/11344)
330337
- We fixed an issue where DatabaseChangeDetailsView was not scrollable when reviewing external metadata changes [#11220](https://github.com/JabRef/jabref/issues/11220)
@@ -427,7 +434,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
427434

428435
### Added
429436

430-
- We added a scite.ai tab in the entry editor that retrieves 'Smart Citation' tallies for citations that have a DOI. [koppor#375](https://github.com/koppor/jabref/issues/375)
437+
- We added a scite.ai tab in the entry editor that retrieves 'Smart Citation' tallies for citations that have a DOI. [koppor#375](https://github.com/koppor/jabref/issues/375)
431438
- We added a dropdown menu to let users change the reference library during AUX file import. [#10472](https://github.com/JabRef/jabref/issues/10472)
432439
- We added a button to let users reset the cite command to the default value. [#10569](https://github.com/JabRef/jabref/issues/10569)
433440
- We added the option to use System Preference for Light/Dark Theme [#8729](https://github.com/JabRef/jabref/issues/8729).

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,12 @@ requirementTracing {
5656

5757
subprojects {
5858
plugins.apply("checkstyle")
59+
5960
plugins.apply("com.github.andygoossens.modernizer")
61+
62+
// Hint from https://stackoverflow.com/a/46533151/873282
6063
plugins.apply("com.adarshr.test-logger")
64+
6165
plugins.apply("com.github.koppor.gradle-modules-plugin")
6266

6367
checkstyle {

docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-11-code-into-ide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ Currently, it looks as follows:
5252
![Directory Mappings including sub modules](intellij-directory-mappings-unmodified.png)
5353
{% endfigure %}
5454

55-
You need to tell IntelliJ to ignore the submodules `buildres\abbrv.jabref.org`, `jablib\src\main\resources\csl-locales`, and `jablib\src\main\resources\csl-styles`.
55+
You need to tell IntelliJ to ignore the submodules `jablib\src\main\abbrv.jabref.org`, `jablib\src\main\resources\csl-locales`, and `jablib\src\main\resources\csl-styles`.
5656
Select all three (holding the <kbd>Ctrl</kbd> key).
5757
Then press the red minus button on top.
5858

5959
This will make these directories "Unregistered roots:", which is fine.
6060

6161
{% figure caption:"Directory Mappings having three unregistered roots" %}
62-
![Directory Mappings having three repositories unregsitered](intellij-directory-mappings-unregistered-roots.png)
62+
![Directory Mappings having three repositories unregistered](intellij-directory-mappings-unregistered-roots.png)
6363
{% endfigure %}
6464

6565
## Ensure that committing with other tools work

docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/pre-02-software.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ It is strongly recommended that you have git installed.
1616

1717
### macOS
1818

19-
* Use [homebrew](https://brew.sh/))
19+
* Use [homebrew](https://brew.sh/)
2020
* `brew install git git-gui`
2121

2222
### Windows

jabgui/src/main/java/org/jabref/gui/CoreGuiPreferences.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
import javafx.beans.property.DoubleProperty;
55
import javafx.beans.property.SimpleBooleanProperty;
66
import javafx.beans.property.SimpleDoubleProperty;
7-
import javafx.beans.property.SimpleStringProperty;
8-
import javafx.beans.property.StringProperty;
97

108
public class CoreGuiPreferences {
119
private final DoubleProperty positionX;
@@ -18,22 +16,18 @@ public class CoreGuiPreferences {
1816
private final DoubleProperty horizontalDividerPosition;
1917
private final DoubleProperty verticalDividerPosition;
2018

21-
private final StringProperty lastSelectedIdBasedFetcher;
22-
2319
public CoreGuiPreferences(double positionX,
2420
double positionY,
2521
double sizeX,
2622
double sizeY,
2723
boolean windowMaximised,
28-
String lastSelectedIdBasedFetcher,
2924
double horizontalDividerPosition,
3025
double verticalDividerPosition) {
3126
this.positionX = new SimpleDoubleProperty(positionX);
3227
this.positionY = new SimpleDoubleProperty(positionY);
3328
this.sizeX = new SimpleDoubleProperty(sizeX);
3429
this.sizeY = new SimpleDoubleProperty(sizeY);
3530
this.windowMaximised = new SimpleBooleanProperty(windowMaximised);
36-
this.lastSelectedIdBasedFetcher = new SimpleStringProperty(lastSelectedIdBasedFetcher);
3731
this.horizontalDividerPosition = new SimpleDoubleProperty(horizontalDividerPosition);
3832
this.verticalDividerPosition = new SimpleDoubleProperty(verticalDividerPosition);
3933
}
@@ -98,18 +92,6 @@ public void setWindowMaximised(boolean windowMaximised) {
9892
this.windowMaximised.set(windowMaximised);
9993
}
10094

101-
public String getLastSelectedIdBasedFetcher() {
102-
return lastSelectedIdBasedFetcher.get();
103-
}
104-
105-
public StringProperty lastSelectedIdBasedFetcherProperty() {
106-
return lastSelectedIdBasedFetcher;
107-
}
108-
109-
public void setLastSelectedIdBasedFetcher(String lastSelectedIdBasedFetcher) {
110-
this.lastSelectedIdBasedFetcher.set(lastSelectedIdBasedFetcher);
111-
}
112-
11395
public double getHorizontalDividerPosition() {
11496
return horizontalDividerPosition.get();
11597
}

jabgui/src/main/java/org/jabref/gui/actions/StandardActions.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,11 @@ public enum StandardActions implements Action {
135135
EXPAND_ALL(Localization.lang("Expand all")),
136136
COLLAPSE_ALL(Localization.lang("Collapse all")),
137137

138-
NEW_ENTRY(Localization.lang("New entry"), IconTheme.JabRefIcons.ADD_ENTRY, KeyBinding.NEW_ENTRY),
139-
NEW_ARTICLE(Localization.lang("New article"), IconTheme.JabRefIcons.ADD_ARTICLE),
140-
NEW_ENTRY_FROM_PLAIN_TEXT(Localization.lang("New entry from plain text"), IconTheme.JabRefIcons.NEW_ENTRY_FROM_PLAIN_TEXT),
138+
CREATE_ENTRY_IMMEDIATE(Localization.lang("Add entry"), IconTheme.JabRefIcons.CREATE_ENTRY_IMMEDIATE),
139+
CREATE_ENTRY(Localization.lang("Create new entry..."), IconTheme.JabRefIcons.CREATE_ENTRY, KeyBinding.CREATE_ENTRY),
140+
CREATE_ENTRY_IDENTIFIER(Localization.lang("Enter identifier..."), IconTheme.JabRefIcons.CREATE_ENTRY_IDENTIFIER, KeyBinding.CREATE_ENTRY_IDENTIFIER),
141+
CREATE_ENTRY_PLAINTEXT(Localization.lang("Interpret citations..."), IconTheme.JabRefIcons.CREATE_ENTRY_PLAINTEXT, KeyBinding.CREATE_ENTRY_PLAINTEXT),
142+
141143
LIBRARY_PROPERTIES(Localization.lang("Library properties")),
142144
FIND_DUPLICATES(Localization.lang("Find duplicates"), IconTheme.JabRefIcons.FIND_DUPLICATES),
143145
MERGE_ENTRIES(Localization.lang("Merge entries"), IconTheme.JabRefIcons.MERGE_ENTRIES, KeyBinding.MERGE_ENTRIES),

0 commit comments

Comments
 (0)