Skip to content

Commit f4a58c3

Browse files
committed
Merge remote-tracking branch 'upstream/master' into selectFilesDlg
* upstream/master: (30 commits) Add preference migration for keybdingings (#3007) Shutdown previus AutosaveManager and BackupManager during SaveAs (#2994) Run Checkstyle task after Test task (#3010) Mark LibraryOfCongressTest as a fetcher test (#3012) When browsing through the MainTable remember which EntryEditor tab was open (#3011) Improve performance of journal abbreviation loader (#3009) Update checkstyle 7.6.1 -> 8.0 Don't abort build when there are checkstyle violations (#3006) Reimplement content selectors (#3003) Only do a back up for bigger changes or if a different field is edited (#3004) Listen to change events for setting dirty status of database (#3001) Fix #2967: MathSciNet tab works again Fix #2902: Tab in entry editor moves to next text area Fix #2946: external changes are now correctly shown in the entry editor Fix #2998: improve auto completion (#3002) Fix mac keybinding by replacing ctrl it with meta key (#3000) Less backups (#2995) [WIP] Complete rework of the auto completion (#2965) Eclipse J Add switch indentation for Eclipse and add some new missing formatting options ...
2 parents 67ed3aa + ad9ca95 commit f4a58c3

File tree

172 files changed

+3075
-3920
lines changed

Some content is hidden

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

172 files changed

+3075
-3920
lines changed

CHANGELOG.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,26 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
1111
## [Unreleased]
1212

1313
### Changed
14-
- We moved the `adsurl` field to `url` field when fetching with the ADS fetcher.
14+
- We moved the `adsurl` field to `url` field when fetching with the ADS fetcher.
1515
- We continued to improve the new groups interface:
1616
- You can now again select multiple groups (and a few related settings were added to the preferences) [#2786](https://github.com/JabRef/jabref/issues/2786).
17-
- We further improved performance of group operations, especially of the new filter feature [#2852](https://github.com/JabRef/jabref/issues/2852).
17+
- We further improved performance of group operations, especially of the new filter feature [#2852](https://github.com/JabRef/jabref/issues/2852).
1818
- It is now possible to resort groups using drag & drop [#2785](https://github.com/JabRef/jabref/issues/2785).
1919
- The entry editor got a fresh coat of paint:
2020
- Homogenize the size of text fields.
2121
- The buttons were changed to icons.
2222
- Completely new interface to add or modify linked files.
2323
- Removed the hidden feature that a double click in the editor inserted the current date.
24+
- Complete new implementation of the the auto complete feature.
2425
- All authors and editors are separated using semicolons when exporting to csv. [#2762](https://github.com/JabRef/jabref/issues/2762)
2526
- Improved wording of "Show recommendations: into "Show 'Related Articles' tab" in the preferences
2627
- We added integration of the Library of Congress catalog as a fetcher based on the [LCCN identifier](https://en.wikipedia.org/wiki/Library_of_Congress_Control_Number). [Feature request 636 in the forum](http://discourse.jabref.org/t/loc-marc-mods-connection/636)
2728
- The integrity check for person names now also tests that the names are specified in one of the standard BibTeX formats.
2829
- Links in the Recommended Articles tab (Mr.DLib), when clicked, are now opened in the system's default browser. [2931](https://github.com/JabRef/jabref/issues/2931)
30+
- We improved the duplicate checker such that different editions of the same publication are not marked as duplicates. [2960](https://github.com/JabRef/jabref/issues/2960)
2931

3032
### Fixed
33+
- We fixed a bug that leaves .sav file after SaveAs [#2947](https://github.com/JabRef/jabref/issues/2947)
3134
- We fixed the function "Edit - Copy BibTeX key and link" to pass a hyperlink rather than an HTML statement.
3235
- We fixed the adding of a new entry from DOI which led to a connection error. The DOI resolution now uses HTTPS to protect the user's privacy.[#2879](https://github.com/JabRef/jabref/issues/2897)
3336
- We fixed the IEEE Xplore web search functionality [#2789](https://github.com/JabRef/jabref/issues/2789)
@@ -39,6 +42,10 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
3942
- We fixed an error that prevented the FileAnnotation tab to load when the entry had no bibtexkey [#2903](https://github.com/JabRef/jabref/issues/2903).
4043
- We fixed a bug which which could result in an exception when opening/saving files from/to a nonexistent directory [#2917](https://github.com/JabRef/jabref/issues/2917).
4144
- We fixed a bug where recursive RegExpBased search found a file in a subdirectory multiple times and non-recursive RegExpBased search erroneously found files in subdirectories.
45+
- We fixed a bug where new groups information was not stored on save [#2932](https://github.com/JabRef/jabref/issues/2932)
46+
- We fixed a bug where the language files for Brazilian Portugese could not be loaded and the GUI localization remained in English [#1128](https://github.com/JabRef/jabref/issues/1182)
47+
- We fixed a bug where the database was not marked as dirty when entries or groups were changed [#2787](https://github.com/JabRef/jabref/issues/2787)
48+
- We restored the original functionality that when browsing through the MainTable, the Entry Editor remembers which tab was opened before [#2896](https://github.com/JabRef/jabref/issues/2896)
4249
### Removed
4350

4451

@@ -140,7 +147,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
140147
- JabRef will now no longer delete meta data it does not know, but keeps such entries and tries to keep their formatting as far as possible.
141148
- Switch to the [latex2unicode library](https://github.com/tomtung/latex2unicode) for converting LaTeX to unicode
142149
- Single underscores are not converted during the LaTeX to unicode conversion, which does not follow the rules of LaTeX, but is what users require. [#2664](https://github.com/JabRef/jabref/issues/2664)
143-
- The bibtexkey field is not converted to unicode
150+
- The bibtexkey field is not converted to unicode
144151

145152
### Fixed
146153
- ArXiV fetcher now checks similarity of entry when using DOI retrieval to avoid false positives [#2575](https://github.com/JabRef/jabref/issues/2575)
@@ -156,7 +163,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
156163
- Sciencedirect/Elsevier fetcher is now able to scrape new HTML structure [#2576](https://github.com/JabRef/jabref/issues/2576)
157164
- Fixed the synchronization logic of keywords and special fields and vice versa [#2580](https://github.com/JabRef/jabref/issues/2580)
158165
- We fixed an exception that prevented JabRef from starting in rare cases [bug report in the forum](http://discourse.jabref.org/t/jabref-not-opening/476).
159-
- We fixed an unhandled exception when saving an entry containing unbalanced braces [#2571](https://github.com/JabRef/jabref/issues/2571)
166+
- We fixed an unhandled exception when saving an entry containing unbalanced braces [#2571](https://github.com/JabRef/jabref/issues/2571)
160167
- Fixed a display issue when removing a group with a long name [#1407](https://github.com/JabRef/jabref/issues/1407)
161168
- We fixed an issue where the "find unlinked files" functionality threw an error when only one PDF was imported but not assigned to an entry [#2577](https://github.com/JabRef/jabref/issues/2577)
162169
- We fixed issue where escaped braces were incorrectly counted when calculating brace balance in a field [#2561](https://github.com/JabRef/jabref/issues/2561)
@@ -174,7 +181,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
174181
- We fixed an issue where the dialog for selecting the main file directory in the preferences opened the wrong folder
175182
- OpenOffice text formatting now handles nested tags properly [#2483](https://github.com/JabRef/jabref/issues/#2483)
176183
- The group selection is no longer lost when switching tabs [#1104](https://github.com/JabRef/jabref/issues/1104)
177-
184+
178185

179186
## [3.8.2] – 2017-01-29
180187

@@ -300,7 +307,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
300307
- Fields linking to other entries (e.g., `crossref` and `related`) have now specialized editors in the entry editor. Check the tabs "Other fields" and "General".
301308
- [#1496](https://github.com/JabRef/jabref/issues/1496) Keep track of which entry a downloaded file belongs to
302309
- Made it possible to download multiple entries in one action
303-
- [#1506](https://github.com/JabRef/jabref/issues/1506) It is possible to apply two new key modifier `title_case` for Title Case, `capitalize` for Capitalized first character of each word (difference is that title case will leave prepositions etc in lower case), and `sentence_case` for normal sentence case (first word capitalized). In addition `lower_case` and `upper_case` can be used instead of `lower` and `upper`.
310+
- [#1506](https://github.com/JabRef/jabref/issues/1506) It is possible to apply two new key modifier `title_case` for Title Case, `capitalize` for Capitalized first character of each word (difference is that title case will leave prepositions etc in lower case), and `sentence_case` for normal sentence case (first word capitalized). In addition `lower_case` and `upper_case` can be used instead of `lower` and `upper`.
304311
- Added two new pseudo-fields for search: `anykeyword` to search for a specific keyword and `anyfield` to search in all fields (useful in combination with search in specific fields)
305312
- [#1813](https://github.com/JabRef/jabref/issues/1813) Import/Export preferences dialog default directory set to working directory
306313
- [#1897](https://github.com/JabRef/jabref/issues/1897) Implemented integrity check for `year` field: Last four nonpunctuation characters should be numerals
@@ -532,7 +539,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
532539
- Added \SOFTWARE\Jabref 'Path' registry entry for installation path inside the installer
533540
- Added an additional icon to distinguish DOI and URL links ([feature request #696](https://github.com/JabRef/jabref/issues/696))
534541
- Added nbib fields to Medlineplain importer and to MedlineImporter
535-
- Implemented [#1342](https://github.com/JabRef/jabref/issues/1342): show description of case converters as tooltip
542+
- Implemented [#1342](https://github.com/JabRef/jabref/issues/1342): show description of case converters as tooltip
536543
- Updated German translation
537544

538545
### Fixed
@@ -541,8 +548,8 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
541548
- Fixed [#1234](https://github.com/JabRef/jabref/issues/1234): NPE when getting information from retrieved DOI
542549
- Fixed [#1245](https://github.com/JabRef/jabref/issues/1245): Empty jstyle properties can now be specified as ""
543550
- Fixed [#1259](https://github.com/JabRef/jabref/issues/1259): NPE when sorting tabs
544-
- Fixed display bug in the cleanup dialog: field formatters are now correctly displayed using their name
545-
- Fixed [#1271](https://github.com/JabRef/jabref/issues/1271): Authors with compound first names are displayed properly
551+
- Fixed display bug in the cleanup dialog: field formatters are now correctly displayed using their name
552+
- Fixed [#1271](https://github.com/JabRef/jabref/issues/1271): Authors with compound first names are displayed properly
546553
- Fixed: Selecting invalid jstyle causes NPE and prevents opening of style selection dialog
547554
- Fixed: Move linked files to default directory works again
548555
- Fixed [#1327](https://github.com/JabRef/jabref/issues/1327): PDF cleanup changes order of linked pdfs
@@ -592,7 +599,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
592599
- Add ability to run arbitrary formatters as cleanup actions (some old cleanup jobs are replaced by this functionality)
593600
- Add "Move linked files to default file directory" as cleanup procedure
594601
- Implemented [#756](https://github.com/JabRef/jabref/issues/756): Add possibility to reformat all entries on save (under Preferences, File)
595-
- All fields in a bib entry are written without any leading and trailing whitespace
602+
- All fields in a bib entry are written without any leading and trailing whitespace
596603
- Comments and preamble are serialized with capitalized first letter, i.e. `@Comment` instead of `@comment` and `@Preamble` instead of `@PREAMBLE`.
597604
- Global sorting options and preferences are removed. Databases can still be sorted on save, but this is configured locally and stored in the file
598605
- OvidImporter now also imports fields: doi, issn, language and keywords
@@ -721,7 +728,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
721728
- Implements [#565](https://github.com/JabRef/jabref/issues/565): Highlighting matches works now also for regular expressions in preview panel and entry editor
722729
- IEEEXplore search now downloads the full Bibtex record instead of parsing the fields from the HTML webpage result (fixes [bug 1146](https://sourceforge.net/p/jabref/bugs/1146/) and [bug 1267](https://sourceforge.net/p/jabref/bugs/1267/))
723730
- Christmas color theme (red and green)
724-
- Implements #444: The search is cleared by either clicking the clear-button or by pressing ESC with having focus in the search field.
731+
- Implements #444: The search is cleared by either clicking the clear-button or by pressing ESC with having focus in the search field.
725732
- Added command line switch --debug to show more detailed logging messages
726733

727734
### Fixed
@@ -781,8 +788,8 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
781788
- Search options are available via a drop-down list, this implements [feature request 853](https://sourceforge.net/p/jabref/feature-requests/853/)
782789
- "Clear search" button also clears search field, this implements [feature request 601](https://sourceforge.net/p/jabref/feature-requests/601/)
783790
- Every search is done automatically (live) as soon as the search text is changed
784-
- Search is local by default. To do a global search, one has to do a local search and then this search can be done globally as well, opening a new window.
785-
- The local search results can be shown in a new window.
791+
- Search is local by default. To do a global search, one has to do a local search and then this search can be done globally as well, opening a new window.
792+
- The local search results can be shown in a new window.
786793
- Feature: Merge information from a DOI generated BibTex entry to an entry
787794
- Added more characters to HTML/Unicode converter
788795
- Feature: Push citations to Texmaker ([bug 318](https://sourceforge.net/p/jabref/bugs/318/), [bug 582](https://sourceforge.net/p/jabref/bugs/582/))
@@ -818,7 +825,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
818825
- Update supported LookAndFeels
819826
- Show replaced journal abbreviations on console
820827
- Integrated [GVK-Plugin](http://www.gbv.de/wikis/cls/Jabref-GVK-Plugin)
821-
- The three options to manage file references are moved to their own separated group in the Tools menu.
828+
- The three options to manage file references are moved to their own separated group in the Tools menu.
822829
- Default preferences: Remote server (port 6050) always started on first JabRef instance. This prevents JabRef loaded twice when opening a bib file.
823830

824831
### Fixed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,12 @@ task media(type: com.install4j.gradle.Install4jTask, dependsOn: "releaseJar") {
391391
checkstyle {
392392
// do not use other packages for checkstyle, excluding gen(erated) sources
393393
checkstyleMain.source = "src/main/java"
394-
toolVersion = '7.6.1'
394+
toolVersion = '8.0'
395395
}
396396

397+
checkstyleMain.shouldRunAfter test
398+
checkstyleTest.shouldRunAfter test
399+
397400
task release(dependsOn: ["media", "releaseJar"]) {
398401
group = 'JabRef - Release'
399402
description 'Creates a release for all target platforms.'

config/checkstyle/checkstyle.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
PLUS, PLUS_ASSIGN, QUESTION,
4646
SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, LITERAL_ASSERT, TYPE_EXTENSION_AND"/>
4747
</module>
48+
49+
<module name="ConstantName">
50+
<property name="format" value="^log(ger)?|[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$"/>
51+
</module>
4852
</module>
4953

5054
<module name="SuppressionFilter">

0 commit comments

Comments
 (0)