Commit Graph

19 Commits

Author SHA1 Message Date
kenton@google.com
b541e3c966 Use native line endings on VS project files (they are, in fact, text). 2010-09-17 22:37:46 +00:00
kenton@google.com
5066322074 Allow protoc to output directly to zip/jar/par/war files. 2009-12-24 02:12:15 +00:00
kenton@google.com
d1ce7a2839 Fix build on MSVC. 2009-12-21 21:19:05 +00:00
kenton@google.com
fccb146e3f Massive roll-up of changes. See CHANGES.txt. 2009-12-18 02:11:36 +00:00
kenton@google.com
1a4193c2cb Fix MSVC version check -- I was given bad info. 2009-10-12 19:30:50 +00:00
kenton@google.com
c91e1fe82b Support MSVC 2010 beta 1. 2009-10-12 19:22:03 +00:00
kenton@google.com
0f831dca74 Add new headers to extract_includes.bat. 2009-08-11 03:25:55 +00:00
kenton@google.com
db0bf5a52f Fix MSVC projects to ensure that protoc is built before lite-test attempts to use it and that lite-test and tests don't attempt to generate the same .pb.* files at the same time. 2009-08-10 22:55:15 +00:00
kenton@google.com
9270a99d2e Make DLLs work again. 2009-08-01 02:16:55 +00:00
kenton@google.com
e6607e3963 Update MSVC project files for recent changes. Added new projects for libprotobuf-lite and the lite test. 2009-08-01 01:29:03 +00:00
kenton@google.com
41c3760f2f Update extract_includes.bat to include new public headers in rev 120. 2009-04-28 01:51:27 +00:00
kenton@google.com
50ede8ba17 Update MSVC project files for rev 120, and add instructions for compiling with zlib. 2009-04-27 22:28:10 +00:00
kenton@google.com
679edc415e Remove scoped_memory_log.h from MSVC project files -- it has not existed for some time. 2009-04-22 03:23:51 +00:00
kenton@google.com
bbbd4d309c Update MSVC project files to work with new gtest bundling strategy. 2009-04-22 01:34:07 +00:00
kenton@google.com
26bd9eee6e Integrate changes from internal code.
protoc
* Enum values may now have custom options, using syntax similar to field
  options.
* Fixed bug where .proto files which use custom options but don't actually
  define them (i.e. they import another .proto file defining the options)
  had to explicitly import descriptor.proto.
* Adjacent string literals in .proto files will now be concatenated, like in
  C.

C++
* Generated message classes now have a Swap() method which efficiently swaps
  the contents of two objects.
* All message classes now have a SpaceUsed() method which returns an estimate
  of the number of bytes of allocated memory currently owned by the object.
  This is particularly useful when you are reusing a single message object
  to improve performance but want to make sure it doesn't bloat up too large.
* New method Message::SerializeAsString() returns a string containing the
  serialized data.  May be more convenient than calling
  SerializeToString(string*).
* In debug mode, log error messages when string-type fields are found to
  contain bytes that are not valid UTF-8.
* Fixed bug where a message with multiple extension ranges couldn't parse
  extensions.
* Fixed bug where MergeFrom(const Message&) didn't do anything if invoked on
  a message that contained no fields (but possibly contained extensions).
* Fixed ShortDebugString() to not be O(n^2).  Durr.
* Fixed crash in TextFormat parsing if the first token in the input caused a
  tokenization error.

Java
* New overload of mergeFrom() which parses a slice of a byte array instead
  of the whole thing.
* New method ByteString.asReadOnlyByteBuffer() does what it sounds like.
* Improved performance of isInitialized() when optimizing for code size.

Python
* Corrected ListFields() signature in Message base class to match what
  subclasses actually implement.
* Some minor refactoring.
2008-11-21 00:06:27 +00:00
kenton@google.com
580cf3c47c Update MSVC installation instructions for static linking change. 2008-10-21 17:18:26 +00:00
kenton@google.com
9b10f5845a * Fix build on MSVC.
* Switch to statically-linked libraries instead of DLLs on MSVC.
2008-09-30 00:09:40 +00:00
temporal
cc930432c2 misc. stuff:
- Improved readmes.
- Fixed incorrect definition of kint32min.
- Fixed absolute output paths on Windows.
- Added info to Java POM that will be required when we upload the
  package to a Maven repo.
2008-07-21 20:28:30 +00:00
temporal
40ee551715 Initial checkin. 2008-07-10 02:12:20 +00:00