Tom Morris
df8d092132
Micro benchmark harness & ToNumber optimizations ( #2859 )
...
* Performance optimized version of ToNumber
Approximately 5x faster for floats (data dependent)
and about the same speed for integers.
- Instead of blindly trying to parse as Long, do a quick check
for obvious problems (e.g. decimal point).
- Don't trim. It's already done by called methods.
- Use valueOf() instead of parse() to avoid object creation
* Add Java Microbenchmark Harness
The shaded JAR is missing the OpenRefine classes, for a reason
that I haven't figured out, so requires openrefine-main.jar at runtime.
* Remove old implementations of ToNumber
* Remove unneeded dependencies from main project
* Clean up and reformat
2020-07-03 21:42:44 +02:00
dependabot-preview[bot]
c09e1d5baa
Bump jackson.version from 2.11.0 to 2.11.1 ( #2811 )
...
Bumps `jackson.version` from 2.11.0 to 2.11.1.
Updates `jackson-databind` from 2.11.0 to 2.11.1
- [Release notes](https://github.com/FasterXML/jackson/releases )
- [Commits](https://github.com/FasterXML/jackson/commits )
Updates `jackson-annotations` from 2.11.0 to 2.11.1
- [Release notes](https://github.com/FasterXML/jackson/releases )
- [Commits](https://github.com/FasterXML/jackson/commits )
Updates `jackson-core` from 2.11.0 to 2.11.1
- [Release notes](https://github.com/FasterXML/jackson-core/releases )
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.11.0...jackson-core-2.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-25 10:39:29 +02:00
Tom Morris
f9eb819b01
Merge pull request #2737 from OpenRefine/dependabot/maven/org.slf4j-slf4j-log4j12-1.7.30
...
Bump slf4j-log4j12 from 1.7.18 to 1.7.30
2020-06-24 16:00:22 -04:00
dependabot-preview[bot]
408b782117
Bump build-helper-maven-plugin from 3.1.0 to 3.2.0
...
Bumps [build-helper-maven-plugin](https://github.com/mojohaus/build-helper-maven-plugin ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/mojohaus/build-helper-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/build-helper-maven-plugin/compare/build-helper-maven-plugin-3.1.0...build-helper-maven-plugin-3.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 08:45:07 +00:00
Tom Morris
6e66cb5144
Merge pull request #2734 from OpenRefine/dependabot/maven/org.codehaus.mojo-exec-maven-plugin-3.0.0
...
Bump exec-maven-plugin from 1.3 to 3.0.0
2020-06-22 13:08:11 -04:00
Tom Morris
0bfa3dd68a
Merge pull request #2745 from OpenRefine/dependabot/maven/org.codehaus.mojo-build-helper-maven-plugin-3.1.0
...
Bump build-helper-maven-plugin from 1.8 to 3.1.0
2020-06-22 13:06:02 -04:00
Tom Morris
bf57667a47
Merge pull request #2789 from OpenRefine/dependabot/maven/org.apache.maven.plugins-maven-resources-plugin-3.1.0
...
Bump maven-resources-plugin from 2.6 to 3.1.0
2020-06-22 12:48:59 -04:00
dependabot-preview[bot]
a8ae5d37ed
Bump maven-resources-plugin from 2.6 to 3.1.0
...
Bumps [maven-resources-plugin](https://github.com/apache/maven-resources-plugin ) from 2.6 to 3.1.0.
- [Release notes](https://github.com/apache/maven-resources-plugin/releases )
- [Commits](https://github.com/apache/maven-resources-plugin/compare/maven-resources-plugin-2.6...maven-resources-plugin-3.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 08:45:55 +00:00
Antonin Delpeuch
3c355b2a5f
Fix evaluation stage for surefireArgs
2020-06-22 06:28:13 +02:00
Tom Morris
85d4de8e2c
Fix reference to undefined surfireArgs param
...
Restore parameter with an empty value
2020-06-22 00:21:07 -04:00
Antonin Delpeuch
4966e448d0
Include coverage statistics for the main module too ( #2761 )
...
* Include coverage statistics for the main module too
* Fix execution data path for main module
2020-06-19 22:45:49 +02:00
Antonin Delpeuch
9c7d4c2774
Fix coverage parameter injection phase
2020-06-19 21:27:59 +02:00
Antonin Delpeuch
ed78127142
Fix coverage computation ( #2759 )
...
* Fix coverage computation, closes #2266
* Add gdata to list of source directories for coverage
2020-06-19 21:22:19 +02:00
Lu Liu
335e81a26c
OAuth support for the Wikidata extension ( #2661 )
...
Closes #1612
Merges @afkbrb work to finish @wetneb protype, including:
* adding support for OAuth in addition to basic auth
* supporting registration of single user Wikidata OAuth consumers.
* adding extensive tests
* cleaning up the login dialog
This depends on the next release of the Wikidata Toolkit, but we're currently publishing our own snapshot that includes the necessary changes (thanks @wetneb!)
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2020-06-18 23:51:22 -04:00
dependabot-preview[bot]
b53d738df8
Bump build-helper-maven-plugin from 1.8 to 3.1.0
...
Bumps [build-helper-maven-plugin](https://github.com/mojohaus/build-helper-maven-plugin ) from 1.8 to 3.1.0.
- [Release notes](https://github.com/mojohaus/build-helper-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/build-helper-maven-plugin/compare/build-helper-maven-plugin-1.8...build-helper-maven-plugin-3.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 08:26:08 +00:00
Tom Morris
761858cfe3
Use property for all SLF4J versions
2020-06-16 17:07:21 -04:00
dependabot-preview[bot]
64990fd74c
Bump exec-maven-plugin from 1.3 to 3.0.0
...
Bumps [exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin ) from 1.3 to 3.0.0.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/exec-maven-plugin-1.3...exec-maven-plugin-3.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 08:18:18 +00:00
Tom Morris
983c8bd422
Merge pull request #2704 from OpenRefine/dependabot/maven/javax.xml.bind-jaxb-api-2.3.1
...
Bump jaxb-api from 2.2.3 to 2.3.1
2020-06-15 23:44:16 -04:00
dependabot-preview[bot]
4e9d365fcd
Bump maven-compiler-plugin from 3.1 to 3.8.1 ( #2728 )
...
Bumps [maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin ) from 3.1 to 3.8.1.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases )
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.1...maven-compiler-plugin-3.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 11:20:38 +02:00
dependabot-preview[bot]
5fdbd382dc
Bump jaxb-api from 2.2.3 to 2.3.1
...
Bumps [jaxb-api](https://github.com/javaee/jaxb-spec ) from 2.2.3 to 2.3.1.
- [Release notes](https://github.com/javaee/jaxb-spec/releases )
- [Commits](https://github.com/javaee/jaxb-spec/commits/2.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-12 08:18:43 +00:00
Tom Morris
e6ed8e5d62
Save preferences JSON using UTF-8 encoding. Bulletproof prefs load. ( #2657 )
...
* Save preferences JSON using UTF-8 encoding. Bulletproof prefs load.
Fixes #2543 . Fixes #2627 .
Always use UTF-8 to write JSON because platform default encoding
might not be legal JSON (e.g. ISO 8859-1).
Also be more conservative about keeping backups if we fail to write.
* Handle case where backup prefs is better than more recent
* Recover from corrupted prefs with null starred list.
Fixes #2544 . Replaces null with an empty list.
* Run tests with non-UTF-8 encoding
Make sure that we don't depend on UTF-8 being the default encoding
because it isn't true everywhere (e.g. Windows)
* Add test for non-ASCII chars in workspace.json
This depends on the default Java encoding being something
other than UTF-8 to test properly.
2020-06-06 10:00:01 +01:00
dependabot-preview[bot]
c414dfbb5c
Bump jacoco-maven-plugin from 0.8.2 to 0.8.5 ( #2653 )
...
Bumps [jacoco-maven-plugin](https://github.com/jacoco/jacoco ) from 0.8.2 to 0.8.5.
- [Release notes](https://github.com/jacoco/jacoco/releases )
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.2...v0.8.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-30 11:09:13 +01:00
dependabot-preview[bot]
7058f39aee
Bump maven-dependency-plugin from 3.1.1 to 3.1.2 ( #2651 )
...
Bumps [maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases )
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.1.1...maven-dependency-plugin-3.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-30 10:49:21 +01:00
dependabot-preview[bot]
19076b31a1
[Security] Bump jackson.version from 2.9.10 to 2.11.0
...
Bumps `jackson.version` from 2.9.10 to 2.11.0.
Updates `jackson-databind` from 2.9.10 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson/releases )
- [Commits](https://github.com/FasterXML/jackson/commits )
Updates `jackson-annotations` from 2.9.10 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson/releases )
- [Commits](https://github.com/FasterXML/jackson/commits )
Updates `jackson-core` from 2.9.10 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson-core/releases )
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.9.10...jackson-core-2.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 08:35:22 +00:00
Antonin Delpeuch
d7d567439e
Set version to 3.5-SNAPSHOT
2020-05-13 22:56:33 +02:00
Antonin Delpeuch
5597e1c942
Set version to 3.4-beta
2020-05-13 22:52:25 +02:00
Thad Guidry
baf3caa4f0
Revert "Adds Maven release for compile target"
...
This reverts commit fa540b03f7
.
2020-04-17 10:45:28 -05:00
Thad Guidry
d6cce143fa
Revert "fix wrong Java release"
...
This reverts commit 3c539ed7b7
.
2020-04-17 10:45:24 -05:00
Thad Guidry
3c539ed7b7
fix wrong Java release
2020-04-17 10:20:26 -05:00
Thad Guidry
fa540b03f7
Adds Maven release for compile target
...
Details: https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#release
2020-04-17 10:14:22 -05:00
Thad Guidry
4e75942a72
Add our Org attributes to parent POM ( #2546 )
...
* Add our Org attributes to parent POM
and full details on scm
* forgot to add the license distribution method
* change Org to CS&S
* escape the ampersand &
2020-04-16 09:59:44 +02:00
Thad Guidry
1f98bfdbc3
Fix org.eclipse.m2e lifecycle-mapping not found ( #2472 )
...
* Fix org.eclipse.m2e lifecycle-mapping not found
* remove unnecessary comment now since using profiles
* fix comment wrapping
* remove Eclipse specific profile
2020-03-24 21:41:14 +01:00
Antonin Delpeuch
429f26c2ae
Set version to 3.4-SNAPSHOT
2020-01-31 19:06:56 +01:00
Antonin Delpeuch
58b839b9c5
Set version to 3.3
2020-01-31 18:22:18 +01:00
Antonin Delpeuch
faece760f6
Set version to 3.3-SNAPSHOT
2020-01-08 20:56:51 +01:00
Antonin Delpeuch
e62bb7ac0e
Set version to 3.3-rc1
2020-01-06 13:30:39 +01:00
Antonin Delpeuch
539a04e496
Fix Coveralls Maven plugin, closes #2266
2019-12-27 17:27:59 +01:00
Antonin Delpeuch
334147d611
Update Jackson to 2.9.10
2019-10-10 16:55:56 +01:00
Antonin Delpeuch
6c128d6692
Attempt to fix surefire on Appveyor
2019-08-28 10:08:22 +01:00
Antonin Delpeuch
8ab7653e0b
Set version to 3.3-SNAPSHOT
2019-07-26 15:52:00 +01:00
Antonin Delpeuch
e3417bff49
Set version to 3.2
2019-07-26 15:29:57 +01:00
Antonin Delpeuch
48d18db1fe
Configure coveralls
2019-05-15 13:44:39 +01:00
Antonin Delpeuch
60aef91915
Remove explicit Coveralls config
2019-05-15 11:50:49 +01:00
Antonin Delpeuch
8c1a9c02f1
Add sourceEncoding in Maven config
2019-05-15 11:50:49 +01:00
Antonin Delpeuch
cf312972a4
Replace Codacy by Coveralls, for #1972
2019-05-15 11:50:49 +01:00
Antonin Delpeuch
af8608e897
Bump version to 3.2-SNAPSHOT
2019-03-01 11:17:28 +00:00
Antonin Delpeuch
2a92726294
Set version to 3.2-beta
2019-03-01 10:55:42 +00:00
Antonin Delpeuch
36765e7e62
Bump version to 3.2-SNAPSHOT
2018-11-29 11:59:30 +09:00
Antonin Delpeuch
b90e413b40
Set version to 3.1
2018-11-29 10:32:56 +09:00
Antonin Delpeuch
a2dd6d97e4
Set version to 3.1-SNAPSHOT
2018-11-07 14:01:06 +00:00