Skip to content
  1. Feb 26, 2013
  2. Sep 12, 2012
  3. Sep 10, 2012
    • Scott McKay's avatar
      Add a more readable syntax for enum and field indices · 58c795d8
      Scott McKay authored
      Testing : precheckin --full --strict-errors
      Reviewer: Fare (please)
      
      JTB impact: No
      Ops impact: No
      
      Change to config                        : No
      Change to XML schema                    : No
      Change to DB schema                     : No
      Change to transport (timeouts, headers) : No
      Any change (or new use) of OAQs         : No
      Change to inter-component transactions  : No
      Depends on any other checkin / bug      : No
      
      Tests that will verify:
      
      I extended the CL-Protobufs tests
      
      Description:
      
      Add a more readable syntax for enum and field indices.
      
      For define-enum, it was (name value).
        Allow (name :index value).
      
      For define-message, it was ((name index) ...).
        Allow (name :index index ...).
        Complain if both forms appear in the same field.
      
      
      
      git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/libs/cl-protobufs@561136 f8382938-511b-0410-9cdd-bb47b084005c
      58c795d8
  4. Sep 04, 2012
    • Scott McKay's avatar
      Add stub support for streaming RPC APIs. · 5293ada2
      Scott McKay authored
      Testing : precheckin --full --strict-errors
      Reviewer: Fare (please)
      
      JTB impact: No
      Ops impact: No
      
      Change to config                        : No
      Change to XML schema                    : No
      Change to DB schema                     : No
      Change to transport (timeouts, headers) : No
      Any change (or new use) of OAQs         : No
      Change to inter-component transactions  : No
      Depends on any other checkin / bug      : No
      
      Tests that will verify:
      
      I extended the CL-Protobufs tests
      
      Description:
      
      Add support for a 'streams' type in Protobufs RPC methods.
       - Add a few slots to 'protobufs-method'
       - Add '&key streams' to the method arglists in 'define-service'
       - Extend the parser to handle "streams" in addition to the
         'streams_type' option
       - Extend the printer
       - Change a test to use a 'streams' type
       - While we're in the neighborhood, allow an optional '=>'
         between the input and output methods in 'define-service';
         it makes it a bit more readable
       - Update the documentation
      
      
      
      git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/libs/cl-protobufs@560147 f8382938-511b-0410-9cdd-bb47b084005c
      5293ada2
  5. Aug 31, 2012
    • Scott McKay's avatar
      Add type aliases to CL-Protobufs · a732dcb3
      Scott McKay authored
      Testing : precheckin --full --strict-errors
      Reviewer: Fare (please)
      
      JTB impact: No
      Ops impact: No
      
      Change to config                        : No
      Change to XML schema                    : No
      Change to DB schema                     : No
      Change to transport (timeouts, headers) : No
      Any change (or new use) of OAQs         : No
      Change to inter-component transactions  : No
      Depends on any other checkin / bug      : No
      
      Tests that will verify:
      
      The CL-Protobufs tests
      
      Description:
      
      Add type aliases to CL-Protobufs. It's a Lisp-only
      feature that allows you define a new Protobufs type in
      terms of a Lisp type, a serializer and a deserializer.
       - Add a new model class, 'protobuf-type-alias'.
       - Extend schemas and messages so that they can hold
         a set of type aliases; add 'find-type-alias'.
       - Add 'define-type-alias'.
       - Factor out 'lisp-type-to-protobuf-type' from
         'clos-type-to-protobuf-type', I need it for the
         'define-type-alias' macro.
       - Fix the schema printer to print 'define-type-alias'
         for .lisp schemas, and to add a comment describing
         the type alias in .proto schemas.
       - Extend the wire format (de)serializer to know
         about type aliases; it just (de)serializes the
         Lisp type as the Protobufs primitive type using
         the provided (de)serializer functions. There's
         zero cost to this if you don't use aliases.
       - Update the optimized serialization generation.
       - Similarly extend the text format (de)serializer
         to know about type aliases.
       - Change an example to use a type alias for 'date'.
       - Update the documentation.
      
      
      
      git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/libs/cl-protobufs@559861 f8382938-511b-0410-9cdd-bb47b084005c
      a732dcb3
  6. Aug 28, 2012
  7. Aug 27, 2012
  8. Jun 27, 2012
  9. Jun 11, 2012
    • Scott McKay's avatar
      While implementing the Fortuneteller stubby server, I ran into · b10ea3e5
      Scott McKay authored
      some things that needed to be addressed:
       - We need to do a more thorough search of namespaces so that
         qualified references to imported messages, etc, work properly.
         It's still not 100%, but it covers most of what I can find.
         - Name mappers now do their best to preserve qualified names.
         - 'find-xxx' methods search the qualified names.
       - Fix the importation process to cooperate better with ASDF, i.e.,
         don't bother re-importing things that have already compiled
         as part of an ASDF compile/load operation.
       - When generating .lisp from .proto, if no package has been
         declared, do it. And fill it with nice exports, too. This
         won't be exactly right, but it'll make it easier to create
         a proper package declaration, if you so desire.
       - Do a better job of generating client- and server-side stubs.
      
      Passes 'precheckin' with the new Protobufs unit tests in place.
      And more to the point, the Fortuneseeker server now works as a
      Stubby client using my new Google3 http2 and rpc2 libraries.
      
      
      git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/quux/protobufs@548386 f8382938-511b-0410-9cdd-bb47b084005c
      b10ea3e5
  10. Jun 04, 2012
  11. May 30, 2012
  12. May 23, 2012
  13. May 18, 2012
  14. May 16, 2012
    • Scott McKay's avatar
      At Sergey's request, make some of the names better: · a31c828e
      Scott McKay authored
       - 'define-proto' -> 'define-schema'
       - 'protobuf' (class name) -> 'protobuf-schema'
       - 'find-protobuf' -> 'find-schema'
       - 'parse-protobuf-from-file' -> 'parse-schema-from-file'
       - 'parse-protobuf-from-stream' -> 'parse-schema-from-file'
       - 'write-protobuf' -> 'write-schema'
       - 'write-protobuf-as' -> 'write-schema-as'
       - 'ensure-all-protobufs' -> 'ensure-all-protobufs'
       - 'ensure-protobuf' -> 'ensure-protobuf'
       - 'protobuf-upgradable' -> 'schema-upgradable'
       - 'protobufs-equal' -> 'schemas-equal'
       - 'generate-protobuf-schema-for-classes' -> 'generate-schema-for-classes'
       - 'write-protobuf-schema-for-classes' -> 'write-schema-for-classes'
      
      Update the Quake Protobufs schema generator to use the new names.
      
      The Protobufs documentation doesn't say so, but enums can be packed.
       - Update the wire-level protocol to (de)serialize packed enums.
       - Update the serialization code to use the new wire functions.
      
      Passes 'precheckin'.
      
      
      git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/quux/protobufs@544299 f8382938-511b-0410-9cdd-bb47b084005c
      a31c828e
  15. May 15, 2012
  16. May 09, 2012
  17. May 08, 2012
  18. May 07, 2012
  19. May 04, 2012
  20. Apr 30, 2012
  21. Apr 24, 2012
  22. Apr 23, 2012
  23. Apr 20, 2012
  24. Apr 19, 2012
  25. Apr 18, 2012
  26. Apr 16, 2012
  27. Apr 13, 2012
  28. Apr 12, 2012
  29. Apr 11, 2012
  30. Apr 10, 2012