]> asedeno.scripts.mit.edu Git - cl-protobufs.git/commit
Change how protobuf schemas and classes are recorded and found
authorAlejandro R Sedeño <asedeno@google.com>
Tue, 5 Mar 2013 22:32:05 +0000 (17:32 -0500)
committerAlejandro R Sedeño <asedeno@google.com>
Wed, 6 Mar 2013 04:19:00 +0000 (23:19 -0500)
commitef6185ea536dfbea02ba97a2ed8b55e1aaa207e1
treee0b1433fe7ec96093d7a26ae92ab48cedb5cc34c
parentc7d626faec638659d3b334445725fba05d457f52
Change how protobuf schemas and classes are recorded and found

* FIND-SCHEMA no longer works on a string or keyword. Both of these
  were based on the PATHNAME-NAME of the protobuf, which has a high
  probability of collision. (e.g., common.proto -> "COMMON", :COMMON)

  Instead, look up schemas based on package and name. For instance,
  the protobuf foo.proto, declaring "package FooPackage;", can be
  found with: (FIND-SCHEMA 'FOO-PACKAGE::FOO)

* Pathname-based schema lookup no longer ignores file type.
model-classes.lisp
tests/case-preservation-test.lisp
tests/lisp-extend-test.lisp
tests/lisp-reference-tests.lisp