commit 344a751a35e81f8612fdc581a380ad161f31841e Author: Ian Tabolt Date: Fri Oct 4 12:02:52 2019 -0400 Kill Java Spindle (#17680) Spindle Java is unused outside of Spindle itself, and as of now only adds an unnecessary layer of complexity that will make refactoring Spindle harder in the future. (sapling split of b733c40b2ef0d88a53852c5d60aeb11e8c43abe3) .../fsq/spindle/codegen/runtime/RenderType.scala | 51 +++------------------- .../fsq/spindle/codegen/runtime/StructLike.scala | 1 - 2 files changed, 7 insertions(+), 45 deletions(-) commit fa5c61a688d2c59d496e639726ba5b4d472307f6 Author: Omri Hazan Date: Fri Oct 5 14:24:34 2018 -0700 Make PrimitiveRenderTypes correctly output longs (sapling split of 653e2c90c36aa1962be92eea2218cfe64cbd3b29) src/jvm/io/fsq/spindle/codegen/runtime/RenderType.scala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5a49d5b1b230c42131669b22183efaad48a911ec Author: Omri Hazan Date: Thu Oct 4 16:47:10 2018 -0700 Add joda LocalDate to enhanced_types (sapling split of a670326f2a49899f4c56897a8981805dc235a706) src/jvm/io/fsq/spindle/codegen/runtime/RenderType.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) commit e3964140bc818902998c0c6d288fe9df2b1dadeb Author: Jon Shea Date: Tue Nov 6 11:53:18 2018 -0500 Throw a codegen-time error if a `retired_id` is used in a thrift enum (#9757) * Throw a codegen-time error if a `retired_id` is used in a thrift enum * Also add checking for illegal `retired_wire_names` (sapling split of c6668351fd6a26b4053f83f431b4eb4604dd118e) .../io/fsq/spindle/codegen/runtime/ScalaEnum.scala | 49 +++++++++++++++++++--- 1 file changed, 43 insertions(+), 6 deletions(-) commit 4aa6650f859c8e3087dcbbf46171775a1a0deead Author: Ian Tabolt Date: Fri Jun 15 17:56:01 2018 -0400 Scalafmt EVERYTHING (#6987) * Run scalafmt on everything * Flip the switch to enable scalafmt (FSQ_ENABLE_SCALAFMT=True) * Add some // format: off and // format: on comments in particularly weird cases * Disable scalafmt on files that cause exceptions (sapling split of 61c9ef3975aa4f55f70e479d7908f42de0685d26) (sapling split of 8264ffd5eb789041b44688c92b468f426833730e) .../descriptors/thrift_descriptors.scala | 8323 ++++++++++++-------- .../runtime/BitFieldHelpers.scala | 100 +- .../runtime/DateFieldHelpers.scala | 1 + .../runtime/FieldDescriptor.scala | 157 +- .../runtime/LegacyMurmurHash.scala | 86 +- .../runtime/RuntimeHelpers.scala | 157 +- .../runtime/ServiceDescriptor.scala | 26 +- .../runtime/TProtocolInfo.scala | 7 +- .../runtime/UValue.scala | 18 +- .../runtime/UnknownFields.scala | 44 +- .../runtime/UnknownFieldsBlob.scala | 5 +- .../io/fsq/spindle/codegen/binary/BlockTimer.scala | 4 +- .../fsq/spindle/codegen/binary/ThriftCodegen.scala | 104 +- .../fsq/spindle/codegen/parser/ThriftParser.scala | 376 +- .../spindle/codegen/parser/ThriftValidator.scala | 2 +- .../fsq/spindle/codegen/runtime/CodegenUtil.scala | 135 +- .../spindle/codegen/runtime/EnhancedTypes.scala | 6 +- .../spindle/codegen/runtime/ProgramSource.scala | 10 +- .../fsq/spindle/codegen/runtime/RenderJson.scala | 2 +- .../fsq/spindle/codegen/runtime/RenderType.scala | 89 +- .../fsq/spindle/codegen/runtime/ScalaClass.scala | 48 +- .../fsq/spindle/codegen/runtime/ScalaConst.scala | 38 +- .../io/fsq/spindle/codegen/runtime/ScalaEnum.scala | 1 - .../spindle/codegen/runtime/ScalaException.scala | 7 +- .../fsq/spindle/codegen/runtime/ScalaField.scala | 60 +- .../spindle/codegen/runtime/ScalaFunction.scala | 26 +- .../fsq/spindle/codegen/runtime/ScalaProgram.scala | 12 +- .../fsq/spindle/codegen/runtime/ScalaService.scala | 20 +- .../fsq/spindle/codegen/runtime/ScalaTypedef.scala | 39 +- src/jvm/io/fsq/spindle/codegen/runtime/Scope.scala | 26 +- .../spindle/codegen/runtime/TypeDeclaration.scala | 8 +- .../codegen/runtime/TypeDeclarationResolver.scala | 161 +- .../codegen/runtime/TypeReferenceResolver.scala | 37 +- 33 files changed, 6272 insertions(+), 3863 deletions(-)