Skip to content

Commit d1ca52e

Browse files
authored
Merge branch 'main' into fix/786
2 parents c522c88 + d0b7203 commit d1ca52e

File tree

167 files changed

+4934
-2625
lines changed

Some content is hidden

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

167 files changed

+4934
-2625
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Closes _____
1111
<!-- You can add screenshots or videos (using Loom - https://www.loom.com or by just adding .mp4 files). -->
1212
<!-- (REPLACE THIS PARAGRAPH) -->
1313

14-
<!-- YOU HAVE TO MODIFY THE ABOVE TEXT FIT YOUR PR. OTHERWISE, YOUR PR WILL BE CLOSED WITHOUT FURTHER COMMENT. -->
14+
<!-- YOU HAVE TO MODIFY THE ABOVE TEXT TO FIT YOUR PR. OTHERWISE, YOUR PR WILL BE CLOSED WITHOUT FURTHER COMMENT. -->
1515

1616
### Mandatory checks
1717

.github/ghprcomment.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@
8888
8989
# CHANGELOG.md and *.md
9090

91-
- jobName: 'CHANGELOG.md needs to be modified'
92-
workflowName: 'PR Tests'
91+
- jobName: 'CHANGELOG.md needs to be modified if indicated'
92+
workflowName: 'Check PR CHANGELOG.md'
9393
message: >
9494
You ticked that you modified `CHANGELOG.md`, but no new entry was found there.
9595
@@ -127,14 +127,14 @@
127127
# Submodules and branches
128128

129129
- jobName: 'Submodules not modified'
130-
workflowName: 'PR Tests'
130+
workflowName: 'Check PR Modifications'
131131
message: >
132132
Your pull request modified git submodules.
133133
134134
135135
Please follow our [FAQ on submodules](https://devdocs.jabref.org/code-howtos/faq.html#submodules) to fix.
136136
- jobName: no-force-push
137-
workflowName: 'PR Tests'
137+
workflowName: 'Check PR Modifications'
138138
always: true
139139
message: >
140140
Hey, we noticed that you **force-pushed** your changes.
@@ -156,7 +156,7 @@
156156
Please [merge `upstream/main`](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork#syncing-a-fork-branch-from-the-command-line) with your code.
157157
For a step-by-step guide to resolve merge conflicts, see <https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line>.
158158
- jobName: 'Source branch is other than "main"'
159-
workflowName: 'PR Tests'
159+
workflowName: 'Check PR Modifications'
160160
message: >
161161
You committed your code on the `main` brach of your fork. This is a bad practice.
162162
The right way is to branch out from `main`, work on your patch/feature in that new branch, and then get that branch merged via the pull request (see [GitHub flow](https://docs.github.com/en/get-started/using-github/github-flow)).

.github/workflows/binaries.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,16 @@ jobs:
154154
archivePortableJabKit: 7z a -r jabkit/build/packages/windows-latest/jabkit-portable_windows.zip ./jabkit/build/packages/windows-latest/jabkit && rm -R jabkit/build/packages/windows-latest/jabkit
155155
suffix: ''
156156
archForDebianRepack: ''
157-
- os: macos-13 # intel image
157+
- os: macos-15-intel # intel image
158158
displayName: macOS
159-
archivePortable: 7z a -r jabgui/build/packages/macos-13/JabRef-portable_macos.zip ./jabgui/build/packages/macos-13/JabRef.app && rm -R jabgui/build/packages/macos-13/JabRef.app
160-
archivePortableJabKit: 7z a -r jabkit/build/packages/macos-13/jabkit-portable_macos.zip ./jabkit/build/packages/macos-13/jabkit.app && rm -R jabkit/build/packages/macos-13/jabkit.app
159+
archivePortable: 7z a -r jabgui/build/packages/macos-15-intel/JabRef-portable_macos.zip ./jabgui/build/packages/macos-15-intel/JabRef.app && rm -R jabgui/build/packages/macos-15-intel/JabRef.app
160+
archivePortableJabKit: 7z a -r jabkit/build/packages/macos-15-intel/jabkit-portable_macos.zip ./jabkit/build/packages/macos-15-intel/jabkit.app && rm -R jabkit/build/packages/macos-15-intel/jabkit.app
161161
suffix: ''
162162
archForDebianRepack: ''
163-
- os: macos-14
163+
- os: macos-15
164164
displayName: macOS-arm
165-
archivePortable: 7z a -r jabgui/build/packages/macos-14/JabRef-portable_macos-arm.zip ./jabgui/build/packages/macos-14/JabRef.app && rm -R jabgui/build/packages/macos-14/JabRef.app
166-
archivePortableJabKit: 7z a -r jabkit/build/packages/macos-14/jabkit-portable_macos-arm.zip ./jabkit/build/packages/macos-14/jabkit.app && rm -R jabkit/build/packages/macos-14/jabkit.app
165+
archivePortable: 7z a -r jabgui/build/packages/macos-15/JabRef-portable_macos-arm.zip ./jabgui/build/packages/macos-15/JabRef.app && rm -R jabgui/build/packages/macos-15/JabRef.app
166+
archivePortableJabKit: 7z a -r jabkit/build/packages/macos-15/jabkit-portable_macos-arm.zip ./jabkit/build/packages/macos-15/jabkit.app && rm -R jabkit/build/packages/macos-15/jabkit.app
167167
suffix: '_arm64'
168168
archForDebianRepack: ''
169169
runs-on: ${{ matrix.os }}
@@ -396,10 +396,10 @@ jobs:
396396
max-parallel: 1
397397
matrix:
398398
include:
399-
- os: macos-14
399+
- os: macos-15
400400
displayName: macOS (ARM64)
401401
suffix: '_arm64'
402-
- os: macos-13 # intel image
402+
- os: macos-15-intel # intel image
403403
displayName: macOS
404404
suffix: ''
405405
runs-on: ${{ matrix.os }}

.github/workflows/delete-old-runs-automatically.yml

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

.github/workflows/on-pr-opened.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,17 @@ jobs:
1515
- uses: plbstl/first-contribution@v4
1616
with:
1717
labels: first contrib
18-
pr-opened-msg: |
18+
pr-opened-msg: >
1919
### Hey @{fc-author}!
2020
21+
2122
Thank you for contributing to JabRef! Your help is truly appreciated :heart:.
2223
24+
2325
We have automatic checks in place, based on which you will soon get automated feedback if any of them are failing.
2426
We also use [TragBot](https://usetrag.com/) with custom rules that scans your changes and provides some preliminary comments, before a maintainer takes a look.
2527
TragBot is still learning, and may not always be accurate.
2628
In the "Files changed" tab, you can go through its comments and just click on "Resolve conversation" if you are sure that it is incorrect, or comment on the conversation if you are doubtful.
2729
30+
2831
Please re-check our [contribution guide](https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md) in case of any other doubts related to our contribution workflow.

.jbang/JabLsLauncher.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
//SOURCES ../jabls/src/main/java/org/jabref/languageserver/util/LspDiagnosticBuilder.java
1919
//SOURCES ../jabls/src/main/java/org/jabref/languageserver/util/LspDiagnosticHandler.java
2020
//SOURCES ../jabls/src/main/java/org/jabref/languageserver/util/LspIntegrityCheck.java
21+
//SOURCES ../jabls/src/main/java/org/jabref/languageserver/util/LspLinkHandler.java
22+
//SOURCES ../jabls/src/main/java/org/jabref/languageserver/util/LspParserHandler.java
23+
//SOURCES ../jabls/src/main/java/org/jabref/languageserver/util/LspRangeUtil.java
24+
//SOURCES ../jabls/src/main/java/org/jabref/languageserver/util/definition/DefinitionProvider.java
25+
//SOURCES ../jabls/src/main/java/org/jabref/languageserver/util/definition/DefinitionProviderFactory.java
26+
//SOURCES ../jabls/src/main/java/org/jabref/languageserver/util/definition/MarkdownDefinitionProvider.java
2127

2228
// REPOS mavencentral,snapshots=https://central.sonatype.com/repository/maven-snapshots/
2329
// REPOS mavencentral,mavencentralsnapshots=https://central.sonatype.com/repository/maven-snapshots/,s01oss=https://s01.oss.sonatype.org/content/repositories/snapshots/,oss=https://oss.sonatype.org/content/repositories,jitpack=https://jitpack.io,oss2=https://oss.sonatype.org/content/groups/public,ossrh=https://oss.sonatype.org/content/repositories/snapshots

.jbang/JabSrvLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
//DEPS com.konghq:unirest-modules-gson:4.5.1
8686
//DEPS com.google.guava:guava:33.5.0-jre
8787
//DEPS org.jabref:afterburner.fx:2.0.0
88-
//DEPS net.harawata:appdirs:1.4.0
88+
//DEPS net.harawata:appdirs:1.5.0
8989
//DEPS de.undercouch:citeproc-java:3.3.0
9090

9191
/// This class is required for [jbang](https://www.jbang.dev/)

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
4444
- We added support for using Medline/Pubmed fetcher with an API key. [#11296](https://github.com/JabRef/jabref/issues/11296#issuecomment-3289005011)
4545
- We added support for using OpenAlex fetcher. [#13940](https://github.com/JabRef/jabref/issues/13940)
4646
- We added an option to choose the group during import of the entry(s). [#9191](https://github.com/JabRef/jabref/issues/9191)
47+
- We added an option to search and filter the fields and formatters in the Clean up entries dialog. [#13890](https://github.com/JabRef/jabref/issues/13890)
48+
- We added support for managing multiple linked files via the entry context menu. [#12567](https://github.com/JabRef/jabref/issues/12567)
4749

4850
### Changed
4951

52+
- We merged `Citation information` and `Citation relations` into a singular tab. [#13618](https://github.com/JabRef/jabref/issues/13618)
5053
- We changed `ISSNCleanup` into `NormalizeIssn` a `ISSN` formatter. [#13748](https://github.com/JabRef/jabref/issues/13748)
5154
- We changed Citation Relations tab and gave tab panes more descriptive titles and tooltips. [#13619](https://github.com/JabRef/jabref/issues/13619)
5255
- We changed the name from Open AI Provider to Open AI (or API compatible). [#13585](https://github.com/JabRef/jabref/issues/13585)
@@ -70,6 +73,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
7073
- We added support for import of a Refer/BibIX file format. [#13069](https://github.com/JabRef/jabref/issues/13069)
7174
- We added markdown rendering and copy capabilities to AI chat responses. [#12234](https://github.com/JabRef/jabref/issues/12234)
7275
- We added a new `jabkit` command `pseudonymize` to pseudonymize the library. [#13109](https://github.com/JabRef/jabref/issues/13109)
76+
- We moved the clear fields mechanic in the Automatic Field Editor from the edit content tab to a separate tab. [#13780](https://github.com/JabRef/jabref/issues/13780)
7377
- We added functionality to focus running instance when trying to start a second instance. [#13129](https://github.com/JabRef/jabref/issues/13129)
7478
- We added a "Copy Field Content" submenu to the entry context menu, allowing users to quickly copy specific field contents including Author, Journal, Date, Keywords, and Abstract fields from selected entries. [#13280](https://github.com/JabRef/jabref/pull/13280)
7579
- We added a highlighted diff regarding changes to the Group Tree Structure of a bib file, made outside JabRef. [#11221](https://github.com/JabRef/jabref/issues/11221)
@@ -103,8 +107,9 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
103107

104108
### Fixed
105109

110+
- We fixed an issue where search results would show stale entries after deleting entries from search results. [#13984](https://github.com/JabRef/jabref/issues/13984)
106111
- When filename pattern is missing for linked files, pattern handling has been introduced to avoid suggesting meaningless filenames like "-". [#13735](https://github.com/JabRef/jabref/issues/13735)
107-
- We fixed an issue where "Specify Bib(La)TeX" tab was not focused when Bib(La)TeX was in the clipboard [#13597](https://github.com/JabRef/jabref/issues/13597)
112+
- We fixed an issue where "Specify Bib(La)TeX" tab was not focused when Bib(La)TeX was in the clipboard. [#13597](https://github.com/JabRef/jabref/issues/13597)
108113
- We fixed an issue whereby the 'About' dialog was not honouring the user's configured font preferences. [#13558](https://github.com/JabRef/jabref/issues/13558)
109114
- We fixed an issue where the Pagetotal column was sorting the values alphabetically instead of numerically. [#12533](https://github.com/JabRef/jabref/issues/12533)
110115
- We fixed an issue where URLs starting with "www." (without a protocol) in file fields caused an `IllegalArgumentException: URI is not absolute` error. [#12186](https://github.com/JabRef/jabref/issues/12186)
@@ -145,7 +150,13 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
145150
- We fixed an issue where hierarchical keywords would only show the parent keyword in the entry editor. [#11390](https://github.com/JabRef/jabref/issues/11390)
146151
- We fixed an issue where some file choosers regarding LaTeX-aux files did not open in the directory of the last selected file. [#13861](https://github.com/JabRef/jabref/pull/13861)
147152
- We fixed an issue where the LaTeX file directory was not stored correctly in combination with the usage of groups from aux files. [#8344](https://github.com/JabRef/jabref/issues/8344)
153+
- We prevented a brief flash of the default JavaFX (Modena) theme on startup. [#13877](https://github.com/JabRef/jabref/pull/13877)
154+
- We fixed an issue where button-bar buttons truncated long text with ellipsis. [#13877](https://github.com/JabRef/jabref/pull/13877)
148155
- We fixed an issue where ignoring of subdirectories via `.gitingore` patterns did not work in the "Find unlinked files dialog". [forum#5425](https://discourse.jabref.org/t/set-list-of-ignored-folders-paths/5425/6)
156+
- We fixed an issue where CTRL+W does not close the current tab [#12530](https://github.com/JabRef/jabref/issues/12530)
157+
- We fixed an issue where the "Applications to push entries to" list in the preferences was not sorted alphabetically. [#14058](https://github.com/JabRef/jabref/issues/14058)
158+
- We fixed an issue where notice text in AI chat was not automatically refreshed when the user changed preferences.[#13855](https://github.com/JabRef/jabref/issues/13855)
159+
- We fixed an issue where the user could add custom entry types with spaces in their names. [#14088](https://github.com/JabRef/jabref/issues/14088)
149160

150161
### Removed
151162

build-logic/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ repositories {
88

99
dependencies {
1010
implementation("com.adarshr:gradle-test-logger-plugin:4.0.0")
11-
implementation("com.autonomousapps:dependency-analysis-gradle-plugin:3.0.4")
11+
implementation("com.autonomousapps:dependency-analysis-gradle-plugin:3.1.0")
1212
implementation("com.github.andygoossens:gradle-modernizer-plugin:1.12.0")
1313
implementation("org.gradlex:extra-java-module-info:1.13.1")
14-
implementation("org.gradlex:java-module-dependencies:1.10")
14+
implementation("org.gradlex:java-module-dependencies:1.11")
1515
implementation("org.gradlex:java-module-packaging:1.1") // required for platform-specific packaging of JavaFX dependencies
1616
implementation("org.gradlex:java-module-testing:1.7")
1717
implementation("org.gradlex:jvm-dependency-conflict-resolution:2.4")

build-logic/src/main/kotlin/org.jabref.gradle.base.dependency-rules.gradle.kts

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import org.gradle.api.internal.artifacts.dsl.dependencies.DependenciesExtensionModule.module
2-
31
plugins {
42
id("org.gradlex.extra-java-module-info")
53
id("org.gradlex.jvm-dependency-conflict-resolution")
@@ -662,4 +660,25 @@ extraJavaModuleInfo {
662660
module("org.openjdk.jmh:jmh-generator-bytecode", "jmh.generator.bytecode")
663661
module("org.openjdk.jmh:jmh-generator-reflection", "jmh.generator.reflection")
664662
module("org.apache.commons:commons-math3", "commons.math3")
663+
664+
// We need to transform this, because the java modules plugin touches all Java paths
665+
// Otherwise, one gets following errormessage
666+
// configuration ':jablib:annotationProcessor'.
667+
668+
module("javax.inject:javax.inject", "javax.inject")
669+
module("com.google.auto.value:auto-value-annotations", "auto.value.annotations")
670+
module("io.github.eisop:dataflow-errorprone", "org.checkerframework.dataflow")
671+
module("com.google.googlejavaformat:google-java-format", "com.google.googlejavaformat")
672+
module("com.google.errorprone:error_prone_core", "com.google.errorprone.core")
673+
module("com.google.errorprone:error_prone_check_api", "com.google.errorprone.check.api")
674+
module("com.google.errorprone:error_prone_annotation", "com.google.errorprone.annotation")
675+
module("com.google.auto:auto-common", "auto.common")
676+
module("com.google.auto.service:auto-service-annotations", "com.google.auto.service")
677+
module("com.google.protobuf:protobuf-java", "com.google.protobuf")
678+
module("com.github.kevinstern:software-and-algorithms", "software.and.algorithms")
679+
680+
module("com.uber.nullaway:nullaway", "nullaway")
681+
module("org.checkerframework:dataflow-nullaway", "org.checkerframework.dataflow") {
682+
exportAllPackages()
683+
}
665684
}

0 commit comments

Comments
 (0)