- Mar 17, 2017
-
-
Francois-Rene Rideau authored
-
- Oct 02, 2016
-
-
Francois-Rene Rideau authored
Use perform-lisp-compilation and drop support for ASDF2. asdf-support was full of things only meant to support the long gone ASDF2, including a bad old copy of the perform method for compile-op, instead of using perform-lisp-compilation as should be used in ASDF3. This probably already made cl-protobufs not work in some corner cases, but would have made it stop working at all when compile-op-flags will be dropped from ASDF in 3.1.x (for x > 7). Also minor cleanups of asd files.
-
- May 23, 2015
-
-
Francois-Rene Rideau authored
-
- Apr 02, 2013
-
-
Scott McKay authored
-
- Apr 01, 2013
-
-
Scott McKay authored
-
- Mar 20, 2013
-
-
Alejandro R Sedeño authored
-
- Mar 08, 2013
-
-
Alejandro R Sedeño authored
-
- Mar 07, 2013
-
-
Alejandro R Sedeño authored
This ensures that all pathnames for all .proto files we load get put in PROTO-IMPL::*ALL-SCHEMAS*, not just those we import.
-
Alejandro R Sedeño authored
Don't override file extension for imports; assume the string that was used to form the pathname is accurate. This makes base-path and proto-file the same, so fold them both into proto-file. Drop bogus checks for type "proto".
-
Alejandro R Sedeño authored
-
Alejandro R Sedeño authored
-
- Mar 06, 2013
-
-
Alejandro R Sedeño authored
* DO-PROCESS-IMPORT is now responsible for deciding whether or not to process an import. It does so by searching for the .proto to be imported, and upon finding it, checks to see if we alredy have a schema for that pathname. Additionally, it now returns the pathname. * PROCESS-IMPORTS and PROCESS-IMPORTS-FROM-FILE now defer the work of figuring out whether or not an import has been done to DO-PROCESS-IMPORT. PROCESS-IMPORTS uses the return value of DO-PROCESS-IMPORT to update the PROTO-IMPORTED-SCHEMAS of the schema being processed.
-
Alejandro R Sedeño authored
New functions: * ASDF::PROTOBUF-MANGLE-NAME: Takes a pathname, returns a string to be used as a filename that represents the original path. e.g., #P"/foo/bar/baz.quux" becomes "foo-bar-baz-quux" * ASDF::PROTOBUF-LISPIZE-PATHNAME: Takes a pathname, returns a new pathname with the name mangled as described above, and with a lisp type.
-
- Mar 03, 2013
-
-
Scott McKay authored
- Use 'defparameter' instead of 'defvar' where appropriate. - Fix 'defvar' doc strings to distinguish between globals and "thread locals". - Avoid using 'nconc'. introduce a new 'appendf' macro instead. - Add a comment lamenting the fact that exporting something like 'proto-options' also exports the writer '(setf proto-options)'. Fixed in Dylan.
-
- Feb 28, 2013
-
-
Alejandro R Sedeño authored
This prevents geodata.proto's FASL from being clobbered by geodata.lisp's FASL. Before both were geodata.fasl, now the former is geodata.proto.fasl. This is generally a good idea.
-
Alejandro R Sedeño authored
-
- Feb 27, 2013
-
-
Alejandro R Sedeño authored
-
Alejandro R Sedeño authored
-
Alejandro R Sedeño authored
-
- Dec 06, 2012
-
-
Alejandro R Sedeño authored
-
Alejandro R Sedeño authored
-
- Dec 05, 2012
-
-
Alejandro R Sedeño authored
-
Alejandro R Sedeño authored
-
Alejandro R Sedeño authored
-
- Dec 04, 2012
-
-
Francois-Rene Rideau authored
which shall fix the issue that causes of these actions never being operation-done-p. However this does NOT handle recursive import dependencies, which requires further work. Tested: QRes doesn't always recompile the proto and all dependees anymore. Reviewer: asedeno
-
- Nov 27, 2012
-
-
Ben Wagner authored
* Previously, if a field in a .proto file referenced a message in another proto file using a different lisp package, the cl-protobufs library would silently fail to serialize the field. A similar problem would occur if a message defined later in the file used the lisp_name option to override the name generated by cl-protobufs. This change fixes these issues and others. * Add conditions that are signaled when encountering an undefined type. * Delay assigning lisp classes/types to fields and methods until all possible forward references have been parsed. * This allows the class slot to be unbound, so check for that case in print-object methods. * Add a test for forward references to messages that override the lisp name. * Add a test for references to messages and enums defined in another proto file with a different lisp package. * Change color-wheel-stability test, because it used "string" as the input type for an rpc, which seems to be disallowed (although I haven't found this documented anywhere). * Signal errors during parsing for undefined types. * Add a test for these errors. Add assert-error macro to qtest. * Signal a condition if we are unable to find the definition for a field's type during serialization, deserialization, determining an object's serialized size, printing text format, parsing text format, or generating code for one of the above. * Remove logic in find-qualified-name that indirects through lisp packages. Proto packages and lisp packages do not necessarily map 1-to-1. * Always use the schema's lisp package for any symbols generated when parsing proto files. * When generating lisp code using write-schema-as, set the package to the package used in the generated file, so that ~s will print the package prefix in the correct circumstances. * Remove broken proto1 "streams" parsing ("returns" comes before "streams" in every example I've found); replace with proto2 syntax. * In process-imports, the call to find-schema using a pathname was not giving the expected result. Sidestep this issue by using the same logic to find the schema as is used earlier in the function.
-
- Oct 11, 2012
-
-
François-René Rideau authored
Testing: [trunk r567444] precheckin --parallel 11 PASSED Reviewers: dcrawford, asedeno Rationale: there is a problem in quicklisp due to recent asdf package changes, that requires urgent fix to cl-protobufs, so I'm updating these for the sake of issuing a cl-protobufs fix to quicklisp ASAP. I require these updates for some further changes I'm making to QUUX, anyway, so it's just a matter of timing. git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/libs/cl-protobufs@567483 f8382938-511b-0410-9cdd-bb47b084005c
-
- Jun 26, 2012
-
-
Scott McKay authored
package, if it has been loaded. Passes 'precheckin' with the new Protobufs unit tests in place. CL-Stubby tests pass in Google3 environment. git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/libs/cl-protobufs@551156 f8382938-511b-0410-9cdd-bb47b084005c
-
François-René Rideau authored
git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/libs/cl-protobufs@551150 f8382938-511b-0410-9cdd-bb47b084005c
-
François-René Rideau authored
git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/libs/cl-protobufs@551149 f8382938-511b-0410-9cdd-bb47b084005c
-
François-René Rideau authored
Tested: [trunk r550170] precheckin --full+ --parallel 5 PASSED Reviewed: swm git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/libs/cl-protobufs@551126 f8382938-511b-0410-9cdd-bb47b084005c
-
Scott McKay authored
so that 'import' just plain works everywhere. Passes 'precheckin' with the new Protobufs unit tests in place. CL-Stubby tests pass in Google3 environment. git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/libs/cl-protobufs@551048 f8382938-511b-0410-9cdd-bb47b084005c
-
- Jun 14, 2012
-
-
Scott McKay authored
both in the QRes environment and the Google3 environment. Passes 'precheckin' with the new Protobufs unit tests in place. Fortuneseeker server gets simpler. git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/libs/cl-protobufs@549101 f8382938-511b-0410-9cdd-bb47b084005c
-
- Jun 13, 2012
-
-
Scott McKay authored
git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/libs/cl-protobufs@548806 f8382938-511b-0410-9cdd-bb47b084005c
-
- Jun 11, 2012
-
-
François-René Rideau authored
Tested: doesn't break the build; isn't currently used by our tests. git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/quux/protobufs@548440 f8382938-511b-0410-9cdd-bb47b084005c
-
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
-
- Jun 05, 2012
-
-
Scott McKay authored
- Use 'defgeneric' with ':method' for things that are meant to have just a single method. - Lose some unreachable code in the parser. - Weak hash tables in SBCL need to use ':weakness :value'. - The wire-level stuff can use some more type declarations. - Fix a package problem in one of the examples. Passes 'precheckin' with the new Protobufs unit tests in place. git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/quux/protobufs@547515 f8382938-511b-0410-9cdd-bb47b084005c
-
- Jun 04, 2012
-
-
Scott McKay authored
git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/quux/protobufs@547277 f8382938-511b-0410-9cdd-bb47b084005c
-
- May 30, 2012
-
-
Scott McKay authored
- More sophisticated and easier to use ASDF support. - Add search paths to the :protobuf-file ASDF module Passes 'precheckin' with the new Protobufs unit tests in place. git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/quux/protobufs@546487 f8382938-511b-0410-9cdd-bb47b084005c
-
- May 25, 2012
-
-
Scott McKay authored
- 'reinitialize-slot' didn't quite work. - Add a geodata example that uses vectors for repeated fields, which uncovered a bug in the optimized deserializers. - Importing the geodata CLOS classes revealed a bug in default handling when the default is provided only in 'defclass'. - Fix the knock-on bug in deserialization and the optimized (de)serialization caused the above. - Add tighter types in 'decode-uint32' and 'decode-uint64'. Passes 'precheckin'. Even with the new unit tests in place. git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/quux/protobufs@545865 f8382938-511b-0410-9cdd-bb47b084005c
-