Commit Graph

100 Commits

Author SHA1 Message Date
kenton@google.com
6cbe32fa13 Use SVN externals for gtest. 2009-07-31 21:20:02 +00:00
kenton@google.com
c137750365 Remove two empty source files. This doesn't actually have any effect on code size but might as well get rid of them. 2009-07-29 21:48:13 +00:00
kenton@google.com
4f3491ee5f Decouple strutil from C++ lite library for a further 23k reduction. 2009-07-29 21:33:08 +00:00
kenton@google.com
858a22be11 Define libprotobuf-lite in Makefile.am.
TODO:  Compile conditionally?  Provide a way to omit ExtensionSet?
  Should libprotobuf depend on libprotobuf-lite instead of being a
  stand-alone lib?
2009-07-29 02:21:47 +00:00
kenton@google.com
80b1d62bfc Submit recent changes from internal branch, including "lite mode" for
C++ and Java.  See CHANGES.txt for more details.
2009-07-29 01:13:20 +00:00
kenton@google.com
d2fd0638c3 Down-integrate some code from an internal branch. (More to come.) 2009-07-24 01:00:35 +00:00
kenton@google.com
31afcd730b Fix problems with emacs protobuf mode, I guess. See <http://www.opensubscriber.com/message/emacs-devel@gnu.org/7155093.html>. Patch from domq@google.com. 2009-07-08 20:37:43 +00:00
kenton@google.com
ceb561d65b Add Swap(), SwapElements(), and RemoveLast() to Reflection. Patch by Scott Stafford. 2009-06-25 19:05:36 +00:00
kenton@google.com
f22943c7d0 Fix build problem with -std=gnu++0x. 2009-06-01 18:27:23 +00: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
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
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
kenton@google.com
a8e8ccf29c Improve performance of Python serialization. Patch from Will Pierce. 2009-04-18 02:01:27 +00:00
kenton@google.com
6dcd46c8d2 Fix initialization ordering problem in logging code. Based on patch from Wink Saville. 2009-04-18 01:24:27 +00:00
kenton@google.com
cfa2d8aa87 Generate field number constants. Patch from Michael Poole. 2009-04-18 00:02:12 +00:00
kenton@google.com
eb26a1efde Commit Michael Poole's patch for explicitly constructing all class fields in
generated code.
2009-04-16 22:43:40 +00:00
kenton@google.com
e59427a62c Commit Brian Olson's gzip stream implementations. 2009-04-16 22:30:56 +00:00
kenton@google.com
f663b1602d Adds a flag to protoc called --error_format which specifies what
convention to use when printing errors.  Default is GCC, but Microsoft
Visual Studio is another option.  This allows errors to be clickable in
the MSVS error log.
2009-04-15 19:50:54 +00:00
jonathan.skeet
90bdae226e Update benchmark data. 2009-03-05 23:16:14 +00:00
jonathan.skeet
8604c745fc Added copyright notice, made constants constant, added GC call before each test. 2009-03-05 11:10:35 +00:00
jonathan.skeet
ff9c9e4d93 Initial benchmarking. 2009-03-05 11:00:49 +00:00
kenton@google.com
1556623fad Submit files missing from previous submit. 2009-02-10 17:47:02 +00:00