aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Android.mkcm-11.0-XNPH44S-bacon-5fa8c79c0bcm-11.0-XNPH33R-bacon-3628510d76cm-11.0-XNPH30O-bacon-4f280f505acm-11.0-XNPH25R-bacon-d22b777afacm-11.0-XNPH22R-bacon-03d77315eacm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56cm-10.2.1cm-10.2.0cm-10.2-M1cm-10.1.3-RC2cm-10.1.3-RC1cm-10.1.3staging/cm-12.1staging/cm-12.0-cafstable/cm-12.1-YOG7Dstable/cm-12.1-YOG4Pstable/cm-12.1-YOG3Cstable/cm-12.0-YNG4Nstable/cm-12.0-YNG3Cstable/cm-12.0-YNG1TAstable/cm-12.0-YNG1Tstable/cm-12.0-YNG1Istable/cm-11.0-XNG3Cstable/cm-11.0-XNG2Sstable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0stable/cm-10.2shipping/cm-11.0cm-12.1cm-12.0cm-11.0cm-10.2cm-10.1Koushik Dutta2013-07-211-0/+25
| | | | Change-Id: I70fd41751f9b9c7309cbb89097c6b8d051bc5747
* [maven-release-plugin] copy for tag gson-2.2.4joel.leitch@gmail.com2013-05-130-0/+0
| | | | git-svn-id: http://google-gson.googlecode.com/svn/tags/gson-2.2.4@1253 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* [maven-release-plugin] prepare release gson-2.2.4joel.leitch@gmail.com2013-05-131-4/+4
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1252 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Moving broken class to "test" package for now and disabling broken test.joel.leitch@gmail.com2013-05-132-1/+1
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1251 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Fix hashing in LinkedHashTreeMap, but it still does not work :(joel.leitch@gmail.com2013-05-131-4/+11
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1250 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Remove unused importjoel.leitch@gmail.com2013-05-131-1/+0
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1249 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Added test to use BigDecimal to parse number when requesting it as a long.joel.leitch@gmail.com2013-05-132-2/+6
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1248 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Create a LinkedTreeMap based on the LinkedHashTreeMap; however, removed all ↵joel.leitch@gmail.com2013-05-035-7/+784
| | | | | | the hashing from it as resorted to a single tree. The insertion order is still preserved. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1247 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Fix test that expects an exception to fail if no exception is thrownjoel.leitch@gmail.com2013-05-031-0/+1
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1246 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Test to expose edge doubling and rehashing bug in LinkedHashTreeMap.joel.leitch@gmail.com2013-05-031-1/+41
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1245 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Added test for comments inside a string value.joel.leitch2013-04-141-0/+19
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1244 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* 2.2.3 javadocsinder1232013-04-1294-24582/+22561
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1243 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* [maven-release-plugin] prepare for next development iterationinder1232013-04-121-4/+4
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1242 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* [maven-release-plugin] prepare release gson-2.2.3inder1232013-04-121-4/+4
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1240 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* updated maven plugin versionsinder1232013-04-121-5/+5
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1239 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* ensuring that LinkedHashTreeMap.contains() returns false when ↵inder1232013-04-121-2/+6
| | | | | | non-Comparable() keys are passed to it git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1238 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* made inner classes static and finalinder1232013-04-123-3/+3
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1237 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* eliminated eclipse warnings by adding a default label to switch.inder1232013-04-121-1/+2
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1236 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* removed more eclipse warningsinder1232013-04-126-2/+6
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1235 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* removed eclipse warnings, unused fields. Made inner classes static where ↵inder1232013-04-126-16/+5
| | | | | | possible. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1234 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Remove usage of StringPool as it appears to slow things down and avoid Java ↵joel.leitch2013-04-082-89/+3
| | | | | | String intern for the common cases. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1233 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Re-add non-comparable key tests to LinkedHashTreeMap.joel.leitch2013-04-041-0/+14
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1232 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* fixed https://code.google.com/p/google-gson/issues/detail?id=491 by adding ↵inder1232013-04-041-0/+10
| | | | | | OSGi entries for maven-source-plugin git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1231 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* deleted unused enum and reordered importsinder1232013-04-042-13/+12
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1230 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Use the LinkedHashTreeMap instead of LinkedTreeMap and delete the ↵joel.leitch2013-04-046-661/+25
| | | | | | LinkedTreeMap version. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1229 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* fixed https://code.google.com/p/google-gson/issues/detail?id=509 by adding ↵inder1232013-04-042-10/+41
| | | | | | construction for EnumSet git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1228 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Use the right method name in error messages.limpbizkit@gmail.com2013-02-041-1/+1
| | | | | | Fixes issue 498. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1227 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Permit serialization of "Class" fields, but only if they're null.limpbizkit@gmail.com2013-02-042-2/+12
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1226 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Tag member fields as transient since a LinkedHashMap is used for serialization.joel.leitch@gmail.com2013-01-151-4/+4
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1225 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Additional changes to a map test with "null" string key.joel.leitch@gmail.com2013-01-141-0/+6
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1224 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Fix object leak from ThreadLocal.joel.leitch@gmail.com2013-01-141-2/+9
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1223 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Minor addition to the JsonNullTest.joel.leitch@gmail.com2013-01-141-0/+1
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1222 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Do not peek during a "skipValue" if a value has already been peeked.joel.leitch@gmail.com2013-01-142-1/+54
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1221 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Stop blowing up on a null key, but rather return that the element is not found.joel.leitch@gmail.com2013-01-092-8/+28
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1220 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Ensure "excluder" is added prior to user defined type adapters/factories.joel.leitch@gmail.com2012-12-202-7/+26
| | | | | | - Added test expose bad behaviour. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1219 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Make JsonElement TypeAdapterFactory a type hierarchy factory.joel.leitch@gmail.com2012-12-202-8/+18
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1218 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Add a test case for a problem reported on the group.limpbizkit@gmail.com2012-10-291-2/+43
| | | | | | https://groups.google.com/d/topic/google-gson/EBmOCa8kJPE/discussion git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1217 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Allowing instance creators to be registered with the raw type only (without ↵joel.leitch@gmail.com2012-10-243-20/+51
| | | | | | specifying type parameters). git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1216 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Move interceptors from 'alpha' to 'extras'.limpbizkit@gmail.com2012-10-239-340/+19
| | | | | | | | | | This makes the feature less risky to use! It now uses our TypeAdapterFactory infrastructure rather than relying on parallel infrastructure. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1215 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Don't subclass ThreadLocal.limpbizkit@gmail.com2012-10-231-5/+6
| | | | | | This attempts to address issue 402, wherein subclassing ThreadLocal is pinning a reference to a class, which transitively pins the entire application in containers like Tomcat. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1214 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Fix compile warningslimpbizkit@gmail.com2012-10-231-4/+4
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1213 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Added support for collections, maps, and arbitrary depth of type adapters ↵inder1232012-10-186-12/+132
| | | | | | | | for Intercept annotation. Added more tests for the features. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1212 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* added tests for using intercept in fields and lists. These tests are ↵inder1232012-10-111-17/+40
| | | | | | currently failing. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1211 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Created an alpha package that holds experimental feature.inder1232012-10-115-2/+192
| | | | | | Added support for JsonPostDeserializer that allows you to invoke postDeserialize methods on an Gson deserialized object. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1210 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Adding Red-Black Tree implementation and tying it into the Gson bindings.joel.leitch@gmail.com2012-10-1111-670/+689
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1209 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Optimizations and bug fixes for LinkedHashTreeMap.limpbizkit@gmail.com2012-09-172-117/+156
| | | | | | The most interesting optimization is to replace ArrayDeque with a manual linked list that reuses the nodes 'parent' field. These optimizations save about 20%. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1207 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Add a hashing layer to LinkedTreeMap. Instead of having 1 root node, the ↵limpbizkit@gmail.com2012-09-172-21/+73
| | | | | | | | | | | | | class now has several root nodes, one for each hash bucket in a hash table. Compared to LinkedTreeMap, this is slower for small (size=5) maps: 124% slower to get() and 33% slower to create and populate. It's a win for large (size=500) maps: 46% faster to get() but 8% slower to create and populate. And it's a big win for very large (size=50,000) maps: 81% faster to get() and 46% faster to create and populate. http://microbenchmarks.appspot.com/run/limpbizkit@gmail.com/com.google.common.collect.MapBenchmark I'm going to follow this up with some simple optimizations: caching local fields and simplifying access. That should narrow the performance gap. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1206 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* New code that can split an AVL tree into two AVL trees.limpbizkit@gmail.com2012-09-152-0/+300
| | | | | | This is in preparation for a new feature where LinkedTreeMap will have multiple roots, each in its own hash bucket. git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1205 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Tests for LinkedTreeMap with incompatible keys.limpbizkit@gmail.com2012-09-122-2/+24
| | | | git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1204 2534bb62-2c4b-0410-85e8-b5006b95c4ae
* Fix a bug where we were unlinking nodes that shouldn't have been unlinked.limpbizkit@gmail.com2012-09-122-18/+35
| | | | | | Found by Guava's awesome collections test suite! git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1203 2534bb62-2c4b-0410-85e8-b5006b95c4ae