Skip to content

Instantly share code, notes, and snippets.

@davidemdot
Created August 25, 2019 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidemdot/ca69c21081964d5d56cc18bae68251e3 to your computer and use it in GitHub Desktop.
Save davidemdot/ca69c21081964d5d56cc18bae68251e3 to your computer and use it in GitHub Desktop.
Google Summer of Code 2019 @ JabRef

Google Summer of Code 2019 @ JabRef

Student David Méndez
Organization JabRef
Primary repository JabRef/jabref
Project name Bidirectional Integration — Paper Writing — LaTeX and JabRef 5.0
Project mentors Linus Dietz, Christoph S, and Tobias Diez
Project page Google Summer of Code 2019 Project Page
Status Complete

Project summary

The core of the proposal is a wide improvement of the LaTeX integration with JabRef, focusing on the end-user, whose characteristics have been studied before: 69% use LaTeX and 87% are researchers.

The goal is to make the work easier for our users. I will develop several tools for analysing and checking LaTeX text documents: finding bibliographic entries (which are used, how many times, and where) and counting words, characters and citations by document; validating TEX files for solving issues; and importing entries from TEX files.

This feature will be integrated in the next major release (version 5.0) and should be available to the users.

Pull requests to master branch

Project-related work

  • Add search for citations in LaTeX files (back-end and GUI) #5123
  • Add a "LaTeX Citations" tab to the entry editor #5155
  • Fix tooltips in CitationsDisplay #5188
  • Add import feature to LaTeX Citations Search #5192
  • Add citation commands to TexParser #5195
  • Add encoding checker for parsing LaTeX files #5200
  • Minor improvements to TexParser #5212

Out of the project

  • Fix fail on testPerformExportForSingleEntry from DocBook5ExporterTest #5168
  • Fix exception when adding field formatter in 'Cleanup entries' dialog #5224

Before GSoC

  • Group and reorder the Main Menu (tabs & icons) #4707
  • Bump Jsoup to 1.12.1 and switch Jsoup's StringUtil for JabRef's StringUtil #4970
  • Fix command line help text #4979
  • Resize different fonts changing entry type #4980
  • Fix background color of dialogs in dark mode #4994
  • Fix the 'Attach file' dialog for starting on the user's main directory #4996

Statistics

Total commits 77
Lines added 9050
Lines removed 4933

Commits to JabRef/jabref

SHA Date Message File(s) changed Lines + Lines -
eee2cc0e2 Sun Aug 25 11:17:01 Remove unused import 1 0 1
a0af540d7 Sun Aug 25 01:32:42 Fix exception when adding field formatter in 'Cleanup entries' dialog 1 9 8
714edf097 Sat Aug 24 18:27:44 Update TexBibEntriesResolver for improving readability 1 26 16
eba9d694a Sat Aug 24 18:01:33 Improve readability 2 20 10
74a3ac5bf Sat Aug 24 16:26:37 Add minor improvements and remove unused code 1 6 10
58f5c5761 Sat Aug 24 16:22:31 Update CHANGELOG.md 1 1 1
992871029 Sat Aug 24 16:11:18 Update to current entry types and reformat code 4 26 33
d4bdf7e65 Sat Aug 24 15:55:28 Convert Integer type to primitive 1 1 1
1f1e7888c Sat Aug 24 14:30:28 Fix localization keys 1 1 2
d271d0b99 Sat Aug 24 13:53:29 Minor improvements to TexParser 7 62 13
21aa718d9 Fri Aug 23 20:21:41 Add encoding checker for parsing LaTeX files (#5200) 6 25 4
445af8d06 Sun Aug 18 16:31:50 Add citation commands to TexParser: autocite, blockcquote, and textcquote (#5195) 2 7 3
0316d76d0 Sun Aug 18 14:12:23 Fix tooltips in CitationsDisplay (#5188) 5 63 19
d79a1eb1e Fri Aug 16 03:47:23 Update import feature (LaTeX Citations) for optimizing 6 35 50
cba9ccdc8 Wed Aug 14 17:08:05 Add import feature to LaTeX Citations Search 16 319 190
83b94e590 Tue Aug 6 14:56:13 Remove logging message for non-existing nested files 1 1 6
76f9ac578 Mon Aug 5 20:02:41 Fix fail on testPerformExportForSingleEntry from DocBook5ExporterTest (#5168) 2 2 3
034227b82 Mon Aug 5 17:58:52 Add a check for nested files and improve the code to skip lines (DefaultTexParser) 1 9 4
556b8b795 Sun Aug 4 22:10:21 Add latest changes to latexintegration (#5170) 15 179 177
b0fbb145b Fri Aug 2 15:30:40 LaTeX integration latest changes (#5167) 6 99 62
06d266f4b Tue Jul 30 02:37:56 Revert temporal change 1 1 1
34713f56b Mon Jul 29 13:12:32 Fix all issues from reviews of #5137 11 131 154
7adf03ad3 Sun Jul 28 14:58:21 Add a new JabRefIcons.LATEX_CITATIONS 3 4 3
3d019dbf9 Sun Jul 28 14:18:29 Change toString() methods 5 22 32
5cc46220a Sun Jul 28 10:47:28 Update DefaultTexParser for explaining when and why it skips the citation matching 1 1 1
ee1501e2a Sun Jul 28 10:45:28 Update TexParserResult for avoiding 'orElse(null)' 1 2 1
3bb24a66c Sun Jul 28 10:44:35 Update LatexCitationsTabViewModel for avoiding 'orElse(null)' 1 9 11
de5d70549 Sun Jul 28 10:43:10 Set the search pane in LatexCitationsTab just once 1 2 4
e4c0e143a Fri Jul 26 22:41:08 Update for code refining 8 15 14
2a3f4acc3 Fri Jul 26 19:10:42 Update for adding the last improvements 12 45 46
0dbd084f0 Fri Jul 26 17:56:34 Update for improving code 11 47 49
4c885282c Fri Jul 26 16:12:38 Fix minor issues 10 30 41
3fd9c3626 Thu Jul 25 10:28:13 Update GUI classes for public access 4 4 4
2b700f12f Thu Jul 25 08:12:17 Update error message for entries without BibTeX key 1 1 1
2db46d271 Thu Jul 25 07:37:13 Improve performance and exception handling 5 46 20
b2c75cb1f Thu Jul 25 05:01:06 Update for adding small improvements 2 8 11
00287d857 Wed Jul 24 20:10:58 Add default case to bindToEntry() in LatexCitationsTab 1 4 3
ce4f925f5 Wed Jul 24 16:55:49 Improve performance in the entry editor tab by searching for only the given entry 2 13 4
824ba0da6 Sat Jul 20 16:40:04 Update LaTeX citations tab for using a enum status property 2 36 61
b1c7cb66d Sat Jul 20 13:05:49 Update logger messages in cancelSearch() 1 3 2
de0db4408 Sat Jul 20 12:17:35 Fix bug in EntryEditor (setOnDragDropped event) 1 4 1
0095bed2a Sat Jul 20 11:50:23 Update EntryEditor for adding @Inject uses 2 15 19
0d41f30c5 Sat Jul 20 11:49:19 Update DefaultTexParser for avoiding ClosedByInterruptException when a search is cancelled 1 5 9
04d1a5fce Sat Jul 20 09:51:16 Improve exception handling and add search cancellation 5 142 54
4d7256d67 Sat Jul 20 09:27:07 Update CHANGELOG.md 1 2 1
47deee401 Sat Jul 20 04:05:15 Rename feature-related stuff (references -> citations) 8 51 51
cba1949cd Sat Jul 20 03:20:22 Replace Boolean with boolean type in preferences 2 4 4
145b63194 Fri Jul 19 05:32:52 Fix bug related to the display of results 2 30 29
d1fc7b3f3 Fri Jul 19 04:35:58 Add missing localization keys 1 5 0
4ba7f0d97 Fri Jul 19 00:01:59 Add LaTeX references tab to the entry editor 4 241 0
421410370 Thu Jul 18 23:49:35 Add getCitationsByKey(BibEntry) method in TexParserResult 1 9 0
fedda556a Thu Jul 18 23:48:13 Add LaTeX references tab option to entry editor preferences 4 18 3
a13e3b243 Thu Jul 18 23:28:33 Update EntryEditor for using PreferencesService 3 78 68
7561724b1 Fri Jul 12 14:15:02 Add user interface for the TEX parser tool (#5103) 19 645 5
18dfb8cdb Tue Jun 18 10:01:47 Rename CrossingKeys to TexBibEntriesResolver and fix minor issues 7 208 238
e9b756e29 Mon Jun 10 08:01:02 Add test for two citations in the same line 1 13 0
4f317d222 Mon Jun 10 07:36:20 Update tests for an easier understand and fix general issues 10 623 426
30802c339 Wed Jun 5 15:18:04 Refactor code 7 377 362
31ecf3f7e Tue Jun 4 22:46:05 Move database-related methods to the CrossReferences class 4 57 63
d2222e927 Tue Jun 4 08:40:20 Fix several TEX parser issues 11 329 303
f102b4c62 Fri May 31 13:18:23 Add support for parsing nested files and cross-references 6 184 38
ea97a2d5a Fri May 31 02:05:04 TEX parser: classes and tests 10 743 0
eda24dffe Fri Jul 12 14:15:02 Add user interface for the TEX parser tool (#5103) 19 645 5
20372950a Tue Jun 18 10:01:47 Rename CrossingKeys to TexBibEntriesResolver and fix minor issues 7 208 238
b46aeb431 Mon Jun 10 08:01:02 Add test for two citations in the same line 1 13 0
2dfbfdbf8 Mon Jun 10 07:36:20 Update tests for an easier understand and fix general issues 10 623 426
deb44d63d Wed Jun 5 15:18:04 Refactor code 7 377 362
0e47a8beb Tue Jun 4 22:46:05 Move database-related methods to the CrossReferences class 4 57 63
f75e5111f Tue Jun 4 08:40:20 Fix several TEX parser issues 11 329 303
08d8baa87 Fri May 31 13:18:23 Add support for parsing nested files and cross-references 6 184 38
11d7620ae Fri May 31 02:05:04 TEX parser: classes and tests 10 743 0
0f8795b29 Sun May 26 11:48:15 Fix the 'Attach file' dialog for starting on the user's main directory (#4996) 2 14 4
d3b193ce1 Fri May 24 10:24:30 Fix background color of dialogs in dark mode (#4994) 3 9 4
5c2e5b1a7 Sun May 19 21:22:14 Resize different fonts changing entry type (#4980) 2 11 0
22d135d2c Sat May 18 19:03:53 Fix command line help text (#4979) 3 67 76
c754a790d Tue May 14 09:12:10 Switch Jsoup's StringUtil for JabRef's StringUtil (#4970) 6 6 7
fb9f3ecf7 Tue Mar 5 09:20:52 Group and reorder the Main Menu (tabs & icons) (#4707) 7 115 106

Blog posts

Title URL
First Steps https://blog.jabref.org/#june-03-2019-%E2%80%93-google-summer-of-code-2019-first-steps
User Interface https://blog.jabref.org/#june-11-2019-%E2%80%93-google-summer-of-code-2019-user-interface
'LaTeX Citations' tab https://blog.jabref.org/#august-06-2019-%E2%80%93-google-summer-of-code-2019-latex-citations-tab

All data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment