Commit Graph

28 Commits

Author SHA1 Message Date
liujisi@google.com
ed95d54e92 Define macros on more targets to make gtest work for vs2012 2012-12-05 07:02:32 +00:00
xiaofeng@google.com
caa66db018 Merge from tags/2.5.0rc1 to trunk 2012-12-04 18:44:24 +00:00
xiaofeng@google.com
fcb8a50b50 Update MSVC project files and fix compilation issues in MSVC. 2012-09-24 06:48:20 +00:00
liujisi@google.com
42e3b666ef set _VARDADIC_MAX=10 preprocessor definition to make test pass in vc11. 2012-07-03 09:47:02 +00:00
pliard@google.com
f5de486b53 Add atomicops from V8. 2012-03-02 13:04:36 +00:00
liujisi@google.com
5a3342823a Add missing plugin.h into extract_includes.bat script. 2011-04-29 02:00:57 +00:00
liujisi@google.com
334dfc21ec fix a typo in vcproj 2010-12-09 13:23:10 +00:00
liujisi@google.com
1fd96c43a0 Add new files for vcprojs, fix issues: 165, 211, 228, 240 2010-12-07 06:23:55 +00:00
liujisi@google.com
b4d64bf7f3 Remove hashmap.cc in vcproj files. 2010-12-06 07:50:26 +00:00
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