-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FileMonitor for LaTeX citations #10937
Closed
VinterSallad
wants to merge
38
commits into
JabRef:main
from
rachedkko:latexcitation-filemonitor-issue-10585
Closed
Changes from 5 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
426b0bf
feat: implement initial solution to incorporating DefaultFileMonitor …
VinterSallad c2370b8
fix: address issues with concurrency in DefaultFileUpdateMonitor (Jab…
VinterSallad 4eaf252
feat: improve logic for when filemonitor is added (JabRef#10585)
VinterSallad b4fa3a9
fix: revert the changes to DefaultFileUpdateMonitor and implement alt…
VinterSallad 3e0f7a5
fix: refactor listener handling into methods (JabRef#10585)
VinterSallad 3e7fb9e
feat: implement initial to listen a directory recursively (JabRef#10585)
roxannecvl 14880ac
fix : refactor of listenerOnDirectory (JabRef#10585)
roxannecvl 6c1bb03
Fix : If a change happens in an old directory, reload is no longer tr…
roxannecvl ce93345
fix: setListener started later and update to refreshLatexDirectory
MercuriaL01 71ea781
feat : implement proper shutdown (#10585)
rachedkko 59797e5
fix : add one more test to improve the branch coverage (#10585)
rachedkko ba8adec
fix : add a remove listener method (#10585)
rachedkko fdd6750
fix : update the close method (#10585)
rachedkko dc161ca
fix : update the close method (#10585)
rachedkko ad19f5a
fix : add a shutdown method (#10585)
rachedkko 8ff512e
fix : no override for the close method (#10585)
rachedkko afb4c09
fix : checkstyle (#10585)
rachedkko 7f3b5f2
fix : checkstyle (#10585)
rachedkko 653660e
fix : checkstyle (#10585)
rachedkko 6f2982d
fix : checkstyle (#10585)
rachedkko 2fd55bb
fix : checkstyle (#10585)
rachedkko 2ea59b5
Update src/main/java/org/jabref/gui/entryeditor/LatexCitationsTabView…
VinterSallad 07423e8
fix : delete wrong testcase
rachedkko f3d3b90
Merge branch 'latexcitation-filemonitor-issue-10585' of github.com:ra…
rachedkko 51848ad
fix: Added addListenerForDirectory method to interface
Emiesce 7d1aa43
fix: Changed @param comment to match method parameter
Emiesce 0eff465
fix : add a close method
rachedkko c3e9b13
fix : add a closeAllTabs method
rachedkko ac4950e
fix : make close an override method
rachedkko 9318193
fix : call closeAllTabs for proper shutdown
rachedkko 271e62c
Merge branch 'latexcitation-filemonitor-issue-10585' of github.com:ra…
rachedkko 632f250
fix : delete incorrect method
rachedkko d0c1e0c
fix : make closeAllTabs public
rachedkko 794291c
fix : stylefix
rachedkko 79027ee
fix: Added suggested test case
Emiesce 968bcf6
fix: Added suggested test case
Emiesce d670888
refactor: Moved searchAndParse and searchDirectory method to new Cita…
Emiesce c0b171e
fix: stylecheck fix
Emiesce File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a comment. I tried to think whether
com.airhacks.afterburner.injection.Injector#instantiateModelOrService(java.lang.Class<T>)
can be used. But it cannot be used, because it needs an empty constructor... Much more work atLatexCitationsTabViewModel
required.Background: The FileUpdateMonitor should not be retrieved by globals, but via the injector. One would need in
org.jabref.gui.entryeditor.LatexCitationsTab#LatexCitationsTab
at the first line (where the ViewModel is instanitated) to usecom.airhacks.afterburner.injection.Injector#instantiateModelOrService(java.lang.Class<T>)
.