Commit Graph

1752 Commits

Author SHA1 Message Date
dependabot[bot]
0d4e59da8b
Bump maven-bundle-plugin from 3.3.0 to 5.1.2
Bumps maven-bundle-plugin from 3.3.0 to 5.1.2.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 23:31:25 +00:00
dependabot[bot]
49d128b423
Bump maven-javadoc-plugin from 2.10.4 to 3.2.0
Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 2.10.4 to 3.2.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-2.10.4...maven-javadoc-plugin-3.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 23:31:25 +00:00
Éamonn McManus
bcb6b1fa81
Create dependabot.yml 2021-05-13 16:30:52 -07:00
dependabot[bot]
ada6985285
Bump junit from 3.8.2 to 4.13.1 in /metrics
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.2 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r3.8.2...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 22:56:23 +00:00
dependabot[bot]
daba2fd7ff
Bump junit from 3.8.2 to 4.13.1 in /codegen
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.2 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r3.8.2...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 22:56:05 +00:00
dependabot[bot]
345dea2c8a
Bump junit from 4.12 to 4.13.1 in /proto
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 22:56:03 +00:00
dependabot[bot]
074a556d38
Bump junit from 3.8.2 to 4.13.1 in /extras
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.2 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r3.8.2...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 22:55:48 +00:00
Marcono1234
b1edb70486 Improve incorrect JsonStreamParser doc 2020-09-19 13:30:50 +02:00
Richard Hernandez
b39494dbe6 Fix fallback behavior of UnsafeReflectionAllocator when AccessibleObject isn't so accessible 2020-05-26 20:12:36 -07:00
Marcono1234
a4a235e14a Remove redundant validation method 2020-05-24 23:54:32 +02:00
Marcono1234
4fb215c9df Move SQL types specific tests to separate test class 2020-05-23 23:31:03 +02:00
Marcono1234
380c4ec12c Make dependency on java.sql optional 2020-05-23 23:30:53 +02:00
Marius Volkhart
ceae88bd66
Update proguard.cfg (#1693)
TypeAdapter is an abstract class, and R8 warns about this during the build.
2020-05-13 12:49:59 -07:00
Marcono1234
361292f1c1 Fix warnings 2020-05-09 17:34:53 +02:00
Marcono1234
541252a9fb Implement DefaultDateTypeAdapter in a type safer way 2020-05-09 17:34:52 +02:00
Marcono1234
9171715a88 Fix ISO8601UtilsTest failing on systems with UTC+X
Previously ISO8601UtilsTest.testDateFormatString() would fail on systems
where the time zone is UTC+X because getTime() returned "2018-06-24" for them.

Additionally the tests which previously changed the system locale and time
zone have been rewritten to create a UTC calendar instead. Setting locale
seems to not be necessary because ISO8601Utils.parse(...) does not do that
either.
2020-05-03 00:35:47 +02:00
Simon Legner
1a9469a8c5
doc(UserGuide): mention TypeAdapters class (#1685) 2020-05-02 01:01:44 -07:00
Matthew Lee
55acc23d86
Fixing https://github.com/google/gson/issues/1592 (#1623)
adding null parameter check to name(), fixing the issue and being consistent with superclass behavior
2020-03-02 14:57:42 -08:00
Gabriel Basilio Brito
fa947212e0
Add isEmpty method to JsonArray class (#1640)
The method will return true if the array is empty and false if it's not
2020-03-02 14:52:37 -08:00
Marcono1234
360cd3e2da
Remove unused files (#1654)
* Remove outdated javadocs folder

* Remove old release notes

* Remove unused Maven assembly plugin file

Plugin usage has been removed in 2016e95
2020-03-02 14:49:47 -08:00
Jiechuan Chen
4d735f1903
Add new testcases (#1638)
* Json Primitive Tests

* Json Tree Writer tests

* Add Tests for ISO8601Utils

* Add Tests for ISO8601Utils
2020-02-17 14:55:19 -08:00
Marcono1234
530cb74470
Fix javadoc doclint HTML warnings (#1653) 2020-02-17 14:46:15 -08:00
Marcono1234
adc4c1949d
Change links from HTTP to HTTPS (#1655) 2020-02-17 14:42:27 -08:00
Jonathan Leitschuh
58f5ed9690
Official Gradle Wrapper Validation Action (#1648)
See: https://github.com/gradle/wrapper-validation-action
2020-02-05 15:11:43 -08:00
Marcono1234
4109aaa6a9 Use OpenJDK 11 for Travis CI (#1607)
Fixes #1606 (?)
2019-11-05 10:29:11 -08:00
Brian de Alwis
521fab2dd5 Fix OSGi metadata generation to work on JavaSE < 9 (#1603)
* Explicitly specify `Require-Capability: osgi.ee` to require 1.5+

Specifying disables bnd's auto-generated value which is determined from
the minimum versions of the .class files, including `module-info.class`

* Drop JavaSE-1.5 since that boat sailed a long time ago

* Drop unused org.apache.felix:maven-bundle-plugin plugin
2019-11-04 15:37:46 -08:00
Lyubomyr Shaydariv
47b28d99a1 The JavaDoc is now more accurate about the type adapter serialization and deserialization (#1441) 2019-10-28 16:11:15 -07:00
Alireza Afkar
87b1d26d06 Update CHANGELOG.md (#1591) 2019-10-14 17:01:35 -07:00
Degubi
9bf25c2eb6 Refactor prefix array & loop logic, use if-s instead (#1505) 2019-10-04 13:45:06 -07:00
William Collishaw
236533ebd6 Add IDEA generated classes folder to gitignore (#1538) 2019-10-04 13:37:41 -07:00
inder123
6818a2058f
Gson 2.8.6 usage 2019-10-04 12:10:35 -07:00
inder123
188c6dbce6
Updated to use Gson 2.8.6 2019-10-04 12:09:03 -07:00
inder123
729e7d646e
2.8.6 changelog 2019-10-04 12:06:59 -07:00
Inderjeet Singh
d1828736eb [maven-release-plugin] prepare for next development iteration 2019-10-04 11:54:10 -07:00
Inderjeet Singh
29c93895bb [maven-release-plugin] prepare release gson-parent-2.8.6 2019-10-04 11:54:03 -07:00
Paul Kassianik
21fc362a7e Fixed tests for java 11 (#1454) 2019-10-04 11:29:13 -07:00
inder123
c188138842
restored Java 9 build (#1586) 2019-10-03 16:36:15 -07:00
Degubi
20dca860dd Add docs to module-info.java (#1535) 2019-10-03 15:51:18 -07:00
hqzxzwb
d6e6a01f02 Keep TypeAdapters from being stripped (#1546) 2019-10-03 15:50:21 -07:00
Degubi
7845c38077 Minor cleanups in deprecations and other warnings (#1522) 2019-10-03 15:49:24 -07:00
inder123
0e90771e45
Made the build work again with JDK 8 (#1585) 2019-10-03 15:08:39 -07:00
Prempal Singh
0409a2ecab Fix typo in UserGuide (#1572) 2019-09-18 10:39:14 -07:00
David Maplesden
3958b1f78d Prefer writing chars instead of strings of length one (#1576)
This results in a noticeable performance improvement with most writer
implementations (including BufferedWriter).
2019-09-18 10:33:49 -07:00
Inderjeet Singh
f885e602f1 Reverted the commit ce0fc4f34f 2019-09-11 13:34:52 -07:00
Inderjeet Singh
ce0fc4f34f Removed release tag in maven-compiler-plugin to enable release build with Java 8 2019-09-11 13:26:23 -07:00
William Collishaw
aa236ec38d Simplify BagOfPrimitives if statement (#1539)
* Simplify BagOfPrimitives if statement

* formatting
2019-06-04 11:03:45 -07:00
donaldchai
49d8630978 Update sample ProGuard config to mark fields instead of all members. (#1531)
GSON only needs to reflect based on fields:
4d942db168/gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java (L152)

There's no reason to disallow optimizing methods.
2019-05-08 23:23:54 -07:00
Marcono1234
f07fa51200 Change URLs from http to https (#1521)
* Change URLs from http to https

* Changed github.io to javadoc
2019-05-07 16:27:45 -07:00
Farid Forootan Shad
f426700bc4 update proguard to fix R8 compatibility issue (#1527)
https://r8.googlesource.com/r8/+/refs/heads/master/compatibility-faq.md#member-in-a-data-object-is-always
2019-05-07 15:18:59 -07:00
Degubi
63ee47cb64 Refactor uppercaseFirstLetter, add additional field to test (#1515) 2019-04-26 15:49:22 -07:00