Commit Graph

2643 Commits

Author SHA1 Message Date
Adam Bliss
9ed5ba9170 am a67f19de: Adds a few utilities to ProtoBufUtil, integrating over from mainline
Merge commit 'a67f19deb0794784d1b841bc1900328103af03c5'

* commit 'a67f19deb0794784d1b841bc1900328103af03c5':
  Adds a few utilities to ProtoBufUtil, integrating over from mainline
2009-06-11 00:45:03 -07:00
Adam Bliss
c1a443d486 Adds a few utilities to ProtoBufUtil, integrating over from mainline 2009-06-10 17:40:19 -07:00
Mitsuru Oshima
8a3fd8152c am 7fea449b: Revert "ProtoBuf update"
Merge commit '7fea449b53848057686ac4266ee51853bda70e30'

* commit '7fea449b53848057686ac4266ee51853bda70e30':
  Revert "ProtoBuf update"
2009-06-10 16:31:48 -07:00
Mitsuru Oshima
7e013cacd4 Revert "ProtoBuf update"
This reverts commit 9aaf507646c866ab131bf2bcd973882ff9f553cf.
2009-06-10 16:16:02 -07:00
Mitsuru Oshima
53a2e9d2b0 am 9aaf5076: ProtoBuf update * Added IntMap that uses Hashtable for larger keys * Chagned to use IntMap to allow larger tags * Changed to use autoboxing for int/longs.
Merge commit '9aaf507646c866ab131bf2bcd973882ff9f553cf'

* commit '9aaf507646c866ab131bf2bcd973882ff9f553cf':
  ProtoBuf update
2009-06-10 10:30:24 -07:00
Mitsuru Oshima
babfb77851 ProtoBuf update
* Added IntMap that uses Hashtable for larger keys
 * Chagned to use IntMap to allow larger tags
 * Changed to use autoboxing for int/longs.
2009-06-10 10:28:53 -07:00
Jon Skeet
8729cf4628 Added the ability to use an IEnumerable<T> when adding to a list, so you can do:
new Foo.Builder {
   RepeatedValue = { x.Select(y) }
};

... a bit like LINQ to XML.
2009-06-05 22:49:05 +01:00
Jon Skeet
d6dd0a4560 Add CLSCompliance. 2009-06-05 22:00:05 +01:00
Jon Skeet
0864d30b97 Include missing generated files 2009-06-05 20:10:32 +01:00
Jon Skeet
df67f1482b Fix custom options behaviour 2009-06-05 19:29:36 +01:00
kenton@google.com
f22943c7d0 Fix build problem with -std=gnu++0x. 2009-06-01 18:27:23 +00:00
Jon Skeet
6ef233d4ea Updated todo list 2009-05-30 10:07:53 +01:00
Jon Skeet
c298c89229 New tests, double build errors, and a few miscellaneous fixes 2009-05-30 10:07:09 +01:00
Jon Skeet
a6afb7cd48 Update protoc.exe to 2.1 release 2009-05-30 10:05:24 +01:00
Jon Skeet
2e6dc12fa8 Write/Read delimited messages 2009-05-29 06:34:52 +01:00
Jon Skeet
43da7ae328 Fix equality of messages to include unknown fields 2009-05-28 21:45:43 +01:00
Jon Skeet
7ee85c4e9f Added field constant generation 2009-05-28 21:11:15 +01:00
kenton@google.com
a5183461f8 Fixes to acx_check_suncc.m4 from Monty Taylor. 2009-05-28 00:48:15 +00:00
kenton@google.com
b43727981c Fix final leak (win32 only). 2009-05-18 18:38:56 +00:00
kenton@google.com
1fb3d394e5 Update version number in trunk. 2009-05-13 23:20:03 +00:00
Jon Skeet
d33bff04b3 Fixed i18n issues with numbers 2009-05-11 19:42:18 +01:00
kenton@google.com
1d4df6caa4 Fix compile error on Cygwin, where int32 is typedefed to long instead of int, and the compiler can't figure out which overload of this method to use in that case. 2009-05-06 22:17:46 +00:00
kenton@google.com
e21c5734ec Make sure examples link properly. 2009-05-06 20:41:30 +00:00
kenton@google.com
63e646b7ad Provide ShutdownProtobufLibrary() which frees all startup-allocated objects. 2009-05-06 19:27:03 +00:00
kenton@google.com
9824eda6b5 enable cross-compiling 2009-05-06 17:49:37 +00:00
kenton@google.com
42c81e1a76 Set better default CXXFLAGS and don't use optimization when compiling tests
(takes too long).
2009-05-06 01:15:06 +00:00
kenton@google.com
3d694ad2d8 Fix test failure on 64-bit python. 2009-05-01 23:33:31 +00:00
kenton@google.com
a8923cdd9a More Sun CC hacks. Contributed by Monty Taylor. 2009-05-01 21:53:10 +00:00
kenton@google.com
2fd1208b34 Hopefully make autogen.sh run on solaris. 2009-05-01 21:41:32 +00:00
kenton@google.com
2cdba5baee Add Emacs editor mode. Contributed by Alexandre Vassalotti. 2009-05-01 21:03:20 +00:00
temporal
1589b1d8c1 Fix startup crash when statically linking on Mac. 2009-04-28 08:09:44 +00:00
kenton@google.com
c5ff06cc74 Add second run of cpp_unittest which verifies that descriptors are constructed lazily. This is accomplished by avoiding any use of descriptors while testing a bunch of other operations, then checking at the end that descriptors have not been constructed. 2009-04-28 03:06:41 +00:00
kenton@google.com
503a4dd705 Convert some \u escape sequences to UTF-8 because MSVC interprets them differently. 2009-04-28 02:16:53 +00:00
kenton@google.com
30be0a8758 Don't use dll-export declspec on class-nested extensions. 2009-04-28 02:10:27 +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
ccc11678c7 Make building libprotobuf as a DLL work again. 2009-04-28 01:48:06 +00:00
kenton@google.com
ef3730c2df Add test verifying that protoc accepts trailing backslashes on Windows, which some users claim doesn't work. Seems to work on my machine. 2009-04-28 00:49:36 +00:00
kenton@google.com
d33e53ad4c That last rev shouldn't have compiled, but apparently did, for some reason. Fixed. 2009-04-28 00:44:15 +00:00
kenton@google.com
db4b583084 Protect a new death test with GTEST_HAS_DEATH_TEST, since MinGW doesn't support it. 2009-04-28 00:42:42 +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
d37d46dfbc Integrate recent changes from Google-internal code tree. See CHANGES.txt
for details.
2009-04-25 02:53:47 +00:00
Jean-Baptiste Queru
2bf2b97a6f Merge donut into master 2009-04-22 17:12:22 -07:00
kenton@google.com
709ea28f32 Work around windows.h #defining GetMessage(). 2009-04-22 20:06:20 +00:00
kenton@google.com
6f9bc71ffd Add missing LIBPROTOBUF_EXPORT. 2009-04-22 04:04:27 +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
4152d554c4 Handle .exe extension when looking for protoc in setup.py. 2009-04-22 03:20:21 +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
37ad00d2c4 Update bundled gtest to latest version (1.3.0) and include it as a
nested autoconf package rather than as raw source.  This way we can
trivially update it again in the future.

Actually, this change doesn't even include gtest in protobuf's SVN.
Instead, we auto-download it when autogen.sh is invoked.  Note that
it will be included in release distributions, though.

TODO:
* Add a configure option to use the system's installed gtest rather
  than the bundled copy.  Apparently the gtest maintainers are working
  on some general-purpose autoconf macros which will do this
  automagically.
* Update MSVC project files.
2009-04-21 21:00:39 +00:00
kenton@google.com
a6de64aef3 setup.py shouldn't fail if protoc path contains whitespace. 2009-04-18 02:28:15 +00:00
kenton@google.com
9af2f4c50b Update ez_setup.py to latest version, so it works with Python 2.6. 2009-04-18 02:16:43 +00:00