Skip to content

Update citeproc-java to 2.1.0-SNAPSHOT and enable experimental pure-Java mode#5997

Closed
michel-kraemer wants to merge 1 commit into
JabRef:masterfrom
michel-kraemer:citeproc-java-2.1.0-SNAPSHOT
Closed

Update citeproc-java to 2.1.0-SNAPSHOT and enable experimental pure-Java mode#5997
michel-kraemer wants to merge 1 commit into
JabRef:masterfrom
michel-kraemer:citeproc-java-2.1.0-SNAPSHOT

Conversation

@michel-kraemer

Copy link
Copy Markdown
Contributor

As discussed in #5622, this pull request updates citeproc-java to version 2.1.0-SNAPSHOT and enables the new experimental pure-Java mode. The entry previews are super fast now and seem to work well.

  • Change in CHANGELOG.md described (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for bigger UI changes)
  • Checked documentation: Is the information available and up to date? If not: Issue created at https://github.com/JabRef/user-documentation/issues.

@JabRef JabRef deleted a comment from sonarqubecloud Bot Feb 22, 2020

@koppor koppor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the action taken. We need to test it.

// lang and forceLang are set to the default values of other CSL constructors
cslInstance = new CSL(dataProvider, new JabRefLocaleProvider(), newStyle, "en-US", false);
cslInstance = new CSL(dataProvider, new JabRefLocaleProvider(),
new DefaultAbbreviationProvider(), null, newStyle, "en-US", false, true);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Does CSL also provide a builder pattern (see https://github.com/HugoMatilla/Effective-JAVA-Summary#2-use-builders-when-faced-with-many-constructors). Passing "null" and "false" and "true" is wired ^^.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Actually, almost all classes from citeproc-java provide a Builder except for the most important one 😂I'll add this in the next version.

@Siedlerchr

Copy link
Copy Markdown
Member

Superseeded by #6010

@Siedlerchr Siedlerchr closed this Feb 27, 2020
@koppor

koppor commented Mar 17, 2020

Copy link
Copy Markdown
Member

Due to packaging for Debian, I would like to see things going here.

@koppor koppor reopened this Mar 17, 2020
@koppor

koppor commented Mar 17, 2020

Copy link
Copy Markdown
Member

We updated the lib in #6010

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants