Commit Graph

3198 Commits

Author SHA1 Message Date
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
The Android Open Source Project
42a1a5808d Merge branch 'open_source_no_contributions' into google_internal 2009-03-29 08:55:08 -07:00
The Android Open Source Project
091ddeafa4 Merge commit 'korg/cupcake' 2009-03-27 15:31:05 -07:00
The Android Open Source Project
5a08423c59 auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:44 -07:00
Jean-Baptiste Queru
d7af73ccec Merge commit 'remotes/korg/cupcake' into merge 2009-03-17 17:37:28 -07:00
Jon Skeet
7a66a6d3f4 Benchmark data update. 2009-03-05 23:28:32 +00:00
jonathan.skeet
90bdae226e Update benchmark data. 2009-03-05 23:16:14 +00:00
Jon Skeet
7de1aef848 Avoid creating UnknownFieldSets unless we really have to. 2009-03-05 14:23:17 +00:00
Jon Skeet
75f4268e60 Minor benchmarking changes 2009-03-05 14:22:28 +00:00
Jon Skeet
6678a73b0d For some reason the build file didn't get pushed last time 2009-03-05 13:26:31 +00:00
Jon Skeet
bceed3c198 Commit earlier deletes 2009-03-05 13:22:15 +00:00
Jon Skeet
ae87cf6e5c Moved benchmarking code around 2009-03-05 11:11:57 +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
The Android Open Source Project
82155ace01 auto import from //depot/cupcake/@135843 2009-03-03 19:30:31 -08:00
The Android Open Source Project
778b51ced8 auto import from //depot/cupcake/@135843 2009-03-03 18:28:35 -08:00
The Android Open Source Project
a3cc5f1795 auto import from //depot/cupcake/@132589 2009-03-03 14:04:14 -08:00
The Android Open Source Project
bb7bbd7c9c auto import from //depot/cupcake/@137055 2009-03-02 22:54:29 -08:00
Jon Skeet
e81a9d7c87 Added ToBuilder and WeakToBuilder 2009-02-24 16:50:56 +00:00
The Android Open Source Project
52067f67ad auto import from //branches/cupcake/...@132276 2009-02-19 10:57:31 -08:00
Jon Skeet
25a28580a6 Support packed primitive types 2009-02-18 16:06:22 +00:00
The Android Open Source Project
f83a870b18 auto import from //branches/cupcake/...@130745 2009-02-10 15:43:59 -08:00
kenton@google.com
1556623fad Submit files missing from previous submit. 2009-02-10 17:47:02 +00:00
Jon Skeet
0ca3fecfaf Use atomic groups to mimic the possessive quantifier change in Java code 2009-01-27 14:56:10 +00:00
Jon Skeet
6a60ac33d0 String optimisations 2009-01-27 14:47:35 +00:00
Jon Skeet
49fcd4f794 Merge extensions correctly 2009-01-27 14:43:10 +00:00
Jon Skeet
642a8140c8 Setters/adders now throw ArgumentNullException appropriately. 2009-01-27 12:25:21 +00:00
Jon Skeet
25a2792283 Remove extraneous conversion to byte string 2009-01-27 07:20:53 +00:00
kenton@google.com
2d6daa72ab Push out changes from internal codebase.
All Languages
* Repeated fields of primitive types (types other that string, group, and
  nested messages) may now use the option [packed = true] to get a more
  efficient encoding.  In the new encoding, the entire list is written
  as a single byte blob using the "length-delimited" wire type.  Within
  this blob, the individual values are encoded the same way they would
  be normally except without a tag before each value (thus, they are
  tightly "packed").

C++
* UnknownFieldSet now supports STL-like iteration.
* Message interface has method ParseFromBoundedZeroCopyStream() which parses
  a limited number of bytes from an input stream rather than parsing until
  EOF.

Java
* Fixed bug where Message.mergeFrom(Message) failed to merge extensions.
* Message interface has new method toBuilder() which is equivalent to
  newBuilderForType().mergeFrom(this).
* All enums now implement the ProtocolMessageEnum interface.
* Setting a field to null now throws NullPointerException.
* Fixed tendency for TextFormat's parsing to overflow the stack when
  parsing large string values.  The underlying problem is with Java's
  regex implementation (which unfortunately uses recursive backtracking
  rather than building an NFA).  Worked around by making use of possesive
  quantifiers.

Python
* Updated RPC interfaces to allow for blocking operation.  A client may
  now pass None for a callback when making an RPC, in which case the
  call will block until the response is received, and the response
  object will be returned directly to the caller.  This interface change
  cannot be used in practice until RPC implementations are updated to
  implement it.
2009-01-22 01:27:00 +00:00
Jon Skeet
dc254e76fc Removed redundant import from tutorial proto 2009-01-21 14:55:14 +00:00
Jon Skeet
a376734115 Changed benchmark namespace and fixed enum issue 2009-01-16 18:06:56 +00:00
Jon Skeet
79c72a9930 Benchmarking 2009-01-16 13:19:31 +00:00
Jon Skeet
343d9f54b4 Upgraded to protoc.exe 2.0.3. Added new build target of clean-build 2009-01-16 11:52:44 +00:00
Jon Skeet
8f8186a30b Benchmarking, dumping and munging 2009-01-16 10:57:40 +00:00
pesho.petrov
87e64e1cee Adding slicing support for repeated scalar fields and get/delete slice for composite fields. 2008-12-24 01:07:22 +00:00
Jon Skeet
0c89aa1fdb Move package declaration 2008-12-15 10:58:48 +00:00
Jon Skeet
b8b7d4fca3 Remove ugly bootstrapping - we don't need it now. 2008-12-15 10:58:12 +00:00
kenton@google.com
d41578239c Update trunk version to 2.0.4-SNAPSHOT. 2008-12-05 22:04:06 +00:00
kenton@google.com
2f3d8de767 Submit script used to post-process dist files. 2008-12-05 18:05:46 +00:00
kenton@google.com
25bc5cdc9c Support "Solaris 10 using recent Sun Studio".
Patch from Monty Taylor <monty.taylor@gmail.com>.
2008-12-04 20:34:50 +00:00