Skip to content

Commit 86e7eff

Browse files
committed
Merge branch 'linkedFilesfixesRelative' of github.com:JabRef/jabref into linkedFilesfixesRelative
* 'linkedFilesfixesRelative' of github.com:JabRef/jabref: (52 commits) Enable files/files Don't show the info button when the authors field content is identical (#9128) "study.yml" is static now (#9125) fix l10n Compile fix Fix parsing of JabRef v5.7 study.yml files (#9124) Fix integrity check for tilde accents in author names (#9097) Rework the Define study parameters dialog (#9123) Fix parsing of save actions (#9122) Fix exception that occurs when saving name formatters (#9121) Refine code for BibEntry#replaceDownloadedFile (#9118) Show a warning in the merge dialog when authors are the same but formatted differently (#9088) Fix subdatabase from aux on cli (#9117) Visual improvements to LinkedFilesEditor (#9114) SLR Remove "last-search-date" (#9116) Hide diffs when one of the field values is blank a.k.a no conflict (#9110) Squashed 'buildres/csl/csl-locales/' changes from e637746677..b2afeb4d87 Squashed 'buildres/csl/csl-styles/' changes from c750b6e..8d69f16 Fix title case capitalization after en-dash characters (#9102) Update journal abbrev list (#9109) ...
2 parents 8e83662 + 10fae1b commit 86e7eff

File tree

320 files changed

+11505
-4327
lines changed

Some content is hidden

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

320 files changed

+11505
-4327
lines changed

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
env:
1717
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1818
- name: Auto approve
19-
uses: hmarr/auto-approve-action@v2.2.1
19+
uses: hmarr/auto-approve-action@v2.4.0
2020
if: steps.waitforstatuschecks.outputs.status == 'success'
2121
with:
2222
github-token: "${{ secrets.GITHUB_TOKEN }}"

CHANGELOG.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,39 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
1111

1212
### Added
1313

14+
- In case a backup is found, the filename of the backup is shown.
15+
- On startup, JabRef notifies the user if there were parsing errors during opening.
16+
- We integrated a new three-way merge UI for merging entries in the Entries Merger Dialog, the Duplicate Resolver Dialog, the Entry Importer Dialog, and the External Changes Resolver Dialog. [#8945](https://github.com/JabRef/jabref/pull/8945)
17+
- We added the ability to merge groups, keywords, comments and files when merging entries. [#9022](https://github.com/JabRef/jabref/pull/9022)
18+
- We added a warning message next to the authors field in the merge dialog to warn users when the authors are the same but formatted differently. [#8745](https://github.com/JabRef/jabref/issues/8745)
19+
1420
### Changed
1521

1622
- We improved the Citavi Importer to also import so called Knowledge-items into the field `comment` of the corresponding entry [#9025](https://github.com/JabRef/jabref/issues/9025)
1723
- We removed wrapping of string constants when writing to a `.bib` file.
24+
- We call backup files `.bak` and temporary writing files now `.sav`.
25+
- JabRef keeps 10 older versions of a `.bib` file in the [user data dir](https://github.com/harawata/appdirs#supported-directories) (instead of a single `.sav` (now: `.bak`) file in the directory of the `.bib` file)
1826
- We changed the button label from "Return to JabRef" to "Return to library" to better indicate the purpose of the action.
27+
- We removed "last-search-date" from the SLR feature, because the last-search-date can be deducted from the git logs. [#9116](https://github.com/JabRef/jabref/pull/9116)
28+
- A user can now add arbitrary data into `study.yml`. JabRef just ignores this data. [#9124](https://github.com/JabRef/jabref/pull/9124)
29+
- We reworked the External Changes Resolver dialog. [#9021](https://github.com/JabRef/jabref/pull/9021)
30+
- We reworked the Define study parameters dialog. [#9123](https://github.com/JabRef/jabref/pull/9123)
1931

2032
### Fixed
2133

34+
- We fixed an issue where author names with tilde accents (for example ñ) were marked as "Names are not in the standard BibTex format" [#8071](https://github.com/JabRef/jabref/issues/8071)
35+
- We fixed an issue where the possibility to generate a subdatabase from an aux file was writing empty files when called from the commandline [#9115](https://github.com/JabRef/jabref/issues/9115), [forum#3516](https://discourse.jabref.org/t/export-subdatabase-from-aux-file-on-macos-command-line/3516)
36+
- We fixed the display of issue, number, eid and pages fields in the entry preview. [#8607](https://github.com/JabRef/jabref/pull/8607), [#8372](https://github.com/JabRef/jabref/issues/8372), [Koppor#514](https://github.com/koppor/jabref/issues/514), [forum#2390](https://discourse.jabref.org/t/unable-to-edit-my-bibtex-file-that-i-used-before-vers-5-1/2390), [forum#3462](https://discourse.jabref.org/t/jabref-5-6-need-help-with-export-from-jabref-to-microsoft-word-entry-preview-of-apa-7-not-rendering-correctly/3462)
37+
- We fixed the page ranges checker to detect article numbers in the pages field (used at [Check Integrity](https://docs.jabref.org/finding-sorting-and-cleaning-entries/checkintegrity)). [#8607](https://github.com/JabRef/jabref/pull/8607)
38+
- The [HtmlToLaTeXFormatter](https://docs.jabref.org/finding-sorting-and-cleaning-entries/saveactions#html-to-latex) keeps single `<` characters.
2239
- We fixed a performance regression when opening large libraries [#9041](https://github.com/JabRef/jabref/issues/9041)
40+
- We fixed a bug where spaces are trimmed when highlighting differences in the Entries merge dialog. [koppor#371](https://github.com/koppor/jabref/issues/371)
41+
- We fixed some visual glitches with the linked files editor field in the entry editor and increased its height. [#8823](https://github.com/JabRef/jabref/issues/8823)
42+
- We fixed several bugs regarding the manual and the autosave of library files that sometimes lead to exceptions or data loss. [#9067](https://github.com/JabRef/jabref/pull/9067), [#8448](https://github.com/JabRef/jabref/issues/8484), [#8746](https://github.com/JabRef/jabref/issues/8746), [#6684](https://github.com/JabRef/jabref/issues/6684), [#6644](https://github.com/JabRef/jabref/issues/6644), [#6102](https://github.com/JabRef/jabref/issues/6102), [#6002](https://github.com/JabRef/jabref/issues/6000)
43+
- We fixed an issue where applied save actions on saving the library file would lead to the dialog "The libary has been modified by another program" popping up [#4877](https://github.com/JabRef/jabref/issues/4877)
44+
- We fixed issues with save actions not correctly loaded when opening the library. [#9122](https://github.com/JabRef/jabref/pull/9122)
45+
- We fixed an issue where title case didn't capitalize words after en-dash characters. [#9068](https://github.com/JabRef/jabref/pull/9068)
46+
- We fixed an issue where JabRef would not exit when a connection to a LibreOffice document was established previously and the document is still open. [#9075](https://github.com/JabRef/jabref/issues/9075)
2347

2448
### Removed
2549

@@ -29,7 +53,6 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
2953

3054

3155

32-
3356
## [5.7] - 2022-08-05
3457

3558
### Added
@@ -88,6 +111,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
88111
- We fixed a bug where updating group view mode (intersection or union) requires re-selecting groups to take effect. [#6998](https://github.com/JabRef/jabref/issues/6998)
89112
- We fixed a bug that prevented external group metadata changes from being merged. [#8873](https://github.com/JabRef/jabref/issues/8873)
90113
- We fixed the shared database opening dialog to remember autosave folder and tick. [#7516](https://github.com/JabRef/jabref/issues/7516)
114+
- We fixed an issue where name formatter could not be saved. [#9120](https://github.com/JabRef/jabref/issues/9120)
91115

92116
### Removed
93117

build.gradle

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ dependencies {
128128
implementation group: 'org.apache.tika', name: 'tika-core', version: '2.4.1'
129129

130130
// required for reading write-protected PDFs - see https://github.com/JabRef/jabref/pull/942#issuecomment-209252635
131-
implementation 'org.bouncycastle:bcprov-jdk18on:1.71'
131+
implementation 'org.bouncycastle:bcprov-jdk18on:1.71.1'
132132

133133
implementation 'commons-cli:commons-cli:1.5.0'
134134

135-
implementation 'org.libreoffice:libreoffice:7.3.5'
136-
implementation 'org.libreoffice:unoloader:7.3.5'
135+
implementation 'org.libreoffice:libreoffice:7.4.0'
136+
implementation 'org.libreoffice:unoloader:7.4.0'
137137

138138
implementation 'io.github.java-diff-utils:java-diff-utils:4.12'
139139
implementation 'info.debatty:java-string-similarity:2.0.0'
@@ -148,7 +148,7 @@ dependencies {
148148

149149
implementation group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '2.7.6'
150150

151-
implementation 'org.postgresql:postgresql:42.4.1'
151+
implementation 'org.postgresql:postgresql:42.5.0'
152152

153153
implementation ('com.oracle.ojdbc:ojdbc10:19.3.0.0') {
154154
// causing module issues
@@ -174,13 +174,13 @@ dependencies {
174174
implementation 'com.jfoenix:jfoenix:9.0.10'
175175
implementation 'org.controlsfx:controlsfx:11.1.1'
176176

177-
implementation 'org.jsoup:jsoup:1.15.1'
178-
implementation 'com.konghq:unirest-java:3.13.10'
177+
implementation 'org.jsoup:jsoup:1.15.3'
178+
implementation 'com.konghq:unirest-java:3.13.11'
179179

180-
implementation 'org.slf4j:slf4j-api:2.0.0-beta1'
181-
implementation "org.tinylog:tinylog-api:2.4.1"
182-
implementation "org.tinylog:slf4j-tinylog:2.4.1"
183-
implementation "org.tinylog:tinylog-impl:2.4.1"
180+
implementation 'org.slf4j:slf4j-api:2.0.0'
181+
implementation "org.tinylog:tinylog-api:2.5.0"
182+
implementation "org.tinylog:slf4j-tinylog:2.5.0"
183+
implementation "org.tinylog:tinylog-impl:2.5.0"
184184

185185
implementation 'de.undercouch:citeproc-java:3.0.0-alpha.6'
186186

@@ -207,7 +207,7 @@ dependencies {
207207
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.0'
208208
testImplementation 'org.junit.platform:junit-platform-launcher:1.9.0'
209209

210-
testImplementation 'org.mockito:mockito-core:4.6.1'
210+
testImplementation 'org.mockito:mockito-core:4.7.0'
211211
testImplementation 'org.xmlunit:xmlunit-core:2.9.0'
212212
testImplementation 'org.xmlunit:xmlunit-matchers:2.9.0'
213213
testRuntimeOnly 'com.tngtech.archunit:archunit-junit5-engine:0.23.1'
@@ -216,7 +216,7 @@ dependencies {
216216
testImplementation "org.testfx:testfx-junit5:4.0.16-alpha"
217217
testImplementation "org.hamcrest:hamcrest-library:2.2"
218218

219-
checkstyle 'com.puppycrawl.tools:checkstyle:10.3.2'
219+
checkstyle 'com.puppycrawl.tools:checkstyle:10.3.3'
220220
// xjc needs the runtime as well for the ant task, otherwise it fails
221221
xjc group: 'org.glassfish.jaxb', name: 'jaxb-xjc', version: '3.0.2'
222222
xjc group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '3.0.2'

buildSrc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88
dependencies {
99
implementation 'com.h2database:h2-mvstore:2.1.214'
1010
implementation 'org.apache.commons:commons-csv:1.9.0'
11-
implementation 'org.slf4j:slf4j-api:2.0.0-beta1'
11+
implementation 'org.slf4j:slf4j-api:2.0.0'
1212
}
1313

1414
sourceSets{

buildres/csl/csl-locales/.github/workflows/merge.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ jobs:
136136

137137
- name: Bump version and push tag
138138
id: tag_version
139-
uses: mathieudutour/github-tag-action@v5.6
139+
uses: mathieudutour/github-tag-action@v6.0
140140
with:
141141
github_token: ${{ secrets.GITHUB_TOKEN }}
142142
default_bump: patch
143143
if: github.event_name == 'push' && hashFiles('composer.json') != '' && (steps.update.outputs.updated == 'true' || steps.update.outputs.deleted == 'true')
144144

145145
- name: Create a GitHub release
146-
uses: softprops/action-gh-release@v0.1.14
146+
uses: softprops/action-gh-release@v1
147147
env:
148148
github_token: ${{ secrets.GITHUB_TOKEN }}
149149
with:

buildres/csl/csl-styles/.github/workflows/merge.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ jobs:
136136

137137
- name: Bump version and push tag
138138
id: tag_version
139-
uses: mathieudutour/github-tag-action@v5.6
139+
uses: mathieudutour/github-tag-action@v6.0
140140
with:
141141
github_token: ${{ secrets.GITHUB_TOKEN }}
142142
default_bump: patch
143143
if: github.event_name == 'push' && hashFiles('composer.json') != '' && (steps.update.outputs.updated == 'true' || steps.update.outputs.deleted == 'true')
144144

145145
- name: Create a GitHub release
146-
uses: softprops/action-gh-release@v0.1.14
146+
uses: softprops/action-gh-release@v1
147147
env:
148148
github_token: ${{ secrets.GITHUB_TOKEN }}
149149
with:

buildres/csl/csl-styles/acta-universitatis-agriculturae-sueciae.csl

Lines changed: 36 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@
1515
</contributor>
1616
<category citation-format="author-date"/>
1717
<summary>Style as per the May 2019 guidelines.</summary>
18-
<updated>2021-11-10T10:39:01+00:00</updated>
18+
<updated>2022-07-13T09:26:37+00:00</updated>
1919
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
2020
</info>
2121
<locale xml:lang="en">
2222
<terms>
2323
<term name="edition" form="short">ed</term>
24+
<term name="editor" form="short">
25+
<single>ed.</single>
26+
<multiple>eds</multiple>
27+
</term>
2428
</terms>
2529
</locale>
2630
<locale xml:lang="sv">
@@ -34,15 +38,10 @@
3438
</terms>
3539
</locale>
3640
<macro name="container-contributors">
37-
<choose>
38-
<if type="chapter paper-conference" match="any">
39-
<text term="in" text-case="capitalize-first" suffix=":"/>
40-
<names variable="editor translator" delimiter=", " prefix=" ">
41-
<name and="symbol" initialize-with="." name-as-sort-order="all"/>
42-
<label form="short" prefix=" (" suffix=")"/>
43-
</names>
44-
</if>
45-
</choose>
41+
<names variable="editor translator" delimiter=", ">
42+
<name and="symbol" initialize-with="." name-as-sort-order="all"/>
43+
<label form="short" prefix=" (" suffix=")"/>
44+
</names>
4645
</macro>
4746
<macro name="secondary-contributors">
4847
<choose>
@@ -93,8 +92,14 @@
9392
</macro>
9493
<macro name="title">
9594
<choose>
96-
<if type="bill book graphic legal_case legislation motion_picture patent report song thesis webpage" match="any">
95+
<if type="bill book graphic legal_case legislation motion_picture patent report song thesis webpage software" match="any">
9796
<text variable="title" font-style="italic"/>
97+
<choose>
98+
<if type="software" variable="version" match="any">
99+
<text variable="version" prefix=" (" suffix=")"/>
100+
<text variable="medium" prefix=" [" suffix="]"/>
101+
</if>
102+
</choose>
98103
</if>
99104
<else>
100105
<text variable="title"/>
@@ -244,20 +249,26 @@
244249
<text macro="publisher" prefix=". "/>
245250
</if>
246251
<else-if type="chapter entry-encyclopedia" match="any">
247-
<text macro="issued" suffix=" "/>
248-
<group suffix=".">
252+
<group delimiter=". " suffix=".">
253+
<text macro="issued"/>
249254
<text macro="title"/>
250-
<text macro="type"/>
251-
</group>
252-
<text macro="container-contributors" prefix=" "/>
253-
<text macro="secondary-contributors"/>
254-
<text variable="container-title" font-style="italic" prefix=" " suffix="."/>
255-
<group prefix=" (" suffix=")." delimiter="; ">
256-
<text macro="collection-title"/>
257-
<text variable="collection-number"/>
258-
</group>
259-
<text macro="edition" prefix=" "/>
260-
<group delimiter=", " prefix=" ">
255+
<group delimiter=": ">
256+
<choose>
257+
<if type="chapter paper-conference" match="any">
258+
<text term="in" text-case="capitalize-first"/>
259+
</if>
260+
</choose>
261+
<group delimiter=" " suffix=".">
262+
<text macro="container-contributors"/>
263+
<text macro="secondary-contributors"/>
264+
<text variable="container-title" font-style="italic" prefix=" " suffix="."/>
265+
</group>
266+
</group>
267+
<group prefix=" (" suffix=")." delimiter="; ">
268+
<text macro="collection-title"/>
269+
<text variable="collection-number"/>
270+
</group>
271+
<text macro="edition" prefix=" "/>
261272
<text macro="publisher"/>
262273
<text variable="page"/>
263274
</group>
@@ -313,7 +324,7 @@
313324
<text macro="edition" prefix=" "/>
314325
<text macro="publisher" prefix=" " suffix="."/>
315326
</else-if>
316-
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
327+
<else-if type="bill book graphic legal_case legislation motion_picture report song software" match="any">
317328
<choose>
318329
<if variable="URL">
319330
<text macro="issued" suffix=" "/>
@@ -325,7 +336,6 @@
325336
<text macro="secondary-contributors"/>
326337
<text variable="container-title" font-style="italic" prefix=" "/>
327338
<text macro="locators"/>
328-
<text variable="version" prefix=" Version: " suffix="."/>
329339
<text macro="publisher" prefix=" " suffix="."/>
330340
</if>
331341
<else>
@@ -338,7 +348,6 @@
338348
<text macro="secondary-contributors"/>
339349
<text variable="container-title" font-style="italic" prefix=" "/>
340350
<text macro="locators"/>
341-
<text variable="version" prefix=" Version: " suffix="."/>
342351
<text macro="publisher" prefix=". " suffix="."/>
343352
<group prefix=" (" suffix=")" delimiter="; ">
344353
<text macro="collection-title"/>

0 commit comments

Comments
 (0)