Joshua Haberman
f1ce60e7b4
Factored Conformance and Benchmark test messages into shared test schema. ( #1971 )
...
* Factored Conformance test messages into shared test schema.
* Updated benchmarks to use new proto3 message locations.
* Fixed include path.
* Conformance: fixed include of Python test messages.
* Make maven in Rakefile use --batch-mode.
* Revert changes to benchmarks.
On second thought I think a separate schema for
CPU benchmarking makes sense.
* Try regenerating C# protos for new test protos.
* Removed benchmark messages from test proto.
* Added Jon Skeet's fixes for C#.
* Removed duplicate/old test messages C# file.
* C# fixes for test schema move.
* Fixed C# to use the correct TestAllTypes message.
* Fixes for Objective C test schema move.
* Added missing EXTRA_DIST file.
2016-12-03 11:51:25 -05:00
Adam Cozzette
259dd7e842
Updated descriptor_pool.py to be compatible with Python 3
...
In Python 3 the values() method on a dictionary returns a view instead
of a list, so we need to explicitly convert that to a list.
2016-11-22 16:55:43 -08:00
Adam Cozzette
a7f300d6ff
Fixed descriptor_pool_test.py for Python 2.6
...
The curly brace syntax for sets was introduced in Python 2.7, and so for
compatibility with 2.6 we need to avoid using it for now.
2016-11-22 15:14:05 -08:00
Adam Cozzette
5d63097fc2
Merge branch 'master' into down-integrate-with-msvc-fix
2016-11-17 17:04:30 -08:00
Adam Cozzette
5a76e633ea
Integrated internal changes from Google
2016-11-17 16:59:59 -08:00
Ian Hunter
130bb0739a
typo
2016-11-16 17:34:28 +00:00
Richard Shin
7c913d821e
Use -DPROTOBUF_PYTHON_ALLOW_OVERSIZE_PROTOS
2016-10-19 13:36:23 -07:00
Paul Yang
daba6653f1
Fix python_cpp test on Mac. Link staticly when building extension, so that the extension doesn't require installing protobuf library. ( #2232 )
2016-10-10 11:44:54 -07:00
Bo Yang
1c4cf0eeb5
Fix python cpp.
2016-10-10 11:44:21 -07:00
Feng Xiao
f933d10fbe
Update version number.
...
[skip ci]
Change-Id: I1ba6f6372a08b5796570851336e1a548602f60da
2016-10-10 11:44:21 -07:00
Bo Yang
23d4688cce
Fix python bugs for internal integration.
2016-10-10 11:43:48 -07:00
Bo Yang
15f4db6cb1
Bump version number to 3.1.0-alpha-1.
2016-10-10 11:24:31 -07:00
Bo Yang
cc8ca5b6a5
Integrate internal changes
2016-10-10 11:23:36 -07:00
Jisi Liu
58860c021f
Merge remote-tracking branch 'origin/3.0.x' into merge
2016-09-14 09:37:48 -07:00
Jisi Liu
6e11540b32
Bump version number to 3.0.2
2016-09-02 11:57:49 -07:00
Jonathon Love
64958cdb1d
Fix to typo/oversight in python tests
...
Fix to typo/oversight in python tests, only affecting python 3
2016-09-02 12:36:11 +10:00
Adam Matan
3886860aa4
Typo: beffer -> buffer
2016-08-03 14:59:18 +03:00
Jisi Liu
811674f479
add setup.cfg for building wheels
2016-07-29 14:02:07 -07:00
Jisi Liu
fb7a7c5f1f
Bump version number for GA
2016-07-25 12:07:56 -07:00
Feng Xiao
932f94e16e
Update version number to 3.0.0-beta-4
2016-07-13 16:08:47 -07:00
Feng Xiao
9086d96439
Integrate from internal code base.
2016-07-13 13:48:40 -07:00
Otto Kekäläinen
3808d091f8
Fix spelling in strings and comments
2016-07-03 15:26:04 +03:00
Adam Cozzette
b83af525db
Fixed string formatting in text_format.py to be Python2.6-compatible
...
In Python 2.6 the positional argument specifiers are apparently required
to be explicitly specified:
http://stackoverflow.com/questions/10054122/valueerror-zero-length-field-name-in-format-python
2016-06-30 10:13:53 -07:00
Adam Cozzette
d64a2d9941
Integrated internal changes from Google
...
This includes all internal changes from around May 20 to now.
2016-06-29 15:38:03 -07:00
Josh Haberman
350453f2d5
Make surrogate regex even more lenient.
2016-06-06 17:14:58 -07:00
Josh Haberman
923d2c7ccf
JSON surrogates Python: adjust regex for OSX error message.
...
OS X's version of Python has a slightly different error
message for this error case.
2016-06-06 13:57:59 -07:00
Josh Haberman
6a618949aa
Added test for surrogates (valid and invalid).
2016-06-03 10:24:23 -07:00
Josh Haberman
4833b4c003
Surrogate checking is unpredictable, so always manually check.
2016-06-03 09:39:38 -07:00
Josh Haberman
bd98eae1c9
Fixed Python by updating failure lists and fixed a few broken tests.
...
Python 2.x doesn't detect unpaired surrogates so we have to
do that manually.
2016-06-03 09:39:38 -07:00
Jisi Liu
cbb9183e89
Merge pull request #1559 from google/beta-3
...
Merge beta-3 release branch again.
2016-05-18 11:44:56 -07:00
Jie Luo
b01b1a8ebe
JSON format for Any message must print @type first, use OrderedDict instead of {}
2016-05-17 15:14:53 -07:00
Jisi Liu
b3bb46c51b
Added download_url to be able to upload to pypi.
2016-05-17 10:50:43 -07:00
Jisi Liu
dbed8a0154
Update version numbers for beta3
2016-05-10 14:49:42 -07:00
Jisi Liu
f8a5c5f746
Fix using std::shared_ptr
2016-05-05 16:34:42 -07:00
Jisi Liu
75e5898513
Fix the std::string error introduced in integration.
2016-05-05 16:04:30 -07:00
Jisi Liu
cf14183bcd
Down integrate from Google internal.
2016-04-28 14:34:59 -07:00
Jisi Liu
cba75ad404
Merge branch 'master' of github.com:google/protobuf
2016-04-01 16:46:49 -07:00
Manjunath Kudlur
cf828deb9b
Linking the cpp implementation extension statically with libprotobuf
2016-04-01 15:58:48 -07:00
Jisi Liu
1bf446c71e
Disable sign-compare warning.
2016-03-31 15:48:25 -07:00
Jisi Liu
7b1cbbd50e
Fix signed-compare warning.
2016-03-31 15:38:10 -07:00
Jisi Liu
012ac9a0a6
revert unexpected change for py26
2016-03-31 15:26:22 -07:00
Manjunath Kudlur
1283625b0f
Added an API to allow oversize protos when using C++ extension in Python
2016-03-31 14:14:58 -07:00
Jisi Liu
fc7eeda69c
Fix json_format.py in py26
2016-03-31 13:36:32 -07:00
Jisi Liu
0de06f54bc
Merge branch 'master' of github.com:google/protobuf
2016-03-30 11:43:44 -07:00
Jisi Liu
3b3c8abb96
Integrate google internal changes.
2016-03-30 11:39:59 -07:00
Joshua Haberman
3dd3238189
Merge pull request #1306 from silviulica/master
...
Update version to 3.0.0b2.post2
2016-03-07 16:31:48 -08:00
Silviu Calinoiu
4573edba76
Update version to 3.0.0b2.post2
2016-03-07 14:33:57 -08:00
Craig Citro
0e7c0c2fb8
Add back the namespace_packages arg in setup.py.
...
Improves #1296 .
The problem: in the previous patch, we tweaked the __init__.py files to use
namespaces, but no longer declared ourselves as a namespace package. The
second half was unwise.
Note that this only comes up when installing protobuf alongside another
package that also installs into the google namespace; as of right now, the
only PyPI package that does is googleapis-common-protos, though the GAE SDK
also uses google.appengine. Installing either or both of those alongside this
package now works.
The case that still remains is the upgrade path, which is also what worried me
in #713 . It seems that if protobuf 2.6.1 is installed, there's no way to
safely upgrade that to work with a newer protobuf. However, `pip uninstall` &&
`pip install` does the trick.
2016-03-05 00:10:11 -08:00
Silviu Calinoiu
786f80fe66
Add a modified patch from craigcitro@ to handle namespace sharing.
2016-02-18 16:12:11 -08:00
Manjunath Kudlur
99a3e30bd7
Added PROTOBUF_PYTHON_ALLOW_OVERSIZE_PROTOS macro and setting it when
...
--allow_oversize_protos=true is passed to bazel build.
When this macro is set, SetTotalBytesLimit is called to remove
the 64MB limit on binary protos when during ParseFromString.
2016-02-16 15:17:10 -08:00