Cristi Cobzarenco
1ee09c81bb
python: do not include internal 'strutil.h' header
8 years ago
Jie Luo
ea51149100
Add python compatibility tests against v2.5.0 amd run on Travis.
8 years ago
Jie Luo
140e28d12e
Add python compatibility tests against v2.5.0: copy tests and proto files from v2.5.0
8 years ago
Joshua Haberman
ffa71f8007
A few more cases for binary conformance tests. ( #2500 )
...
* A few more cases for binary conformance tests.
* over-encoded varints (encoded in more bytes than are necessary).
* truncated varints (>32 bits for 32-bit types).
* Fixed Python decoding bug with 32-bit varints.
* Fixed 1L -> 1LL for 32-bit platforms.
8 years ago
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.
8 years ago
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.
8 years ago
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.
8 years ago
Adam Cozzette
5a76e633ea
Integrated internal changes from Google
8 years ago
Ian Hunter
130bb0739a
typo
8 years ago
Richard Shin
7c913d821e
Use -DPROTOBUF_PYTHON_ALLOW_OVERSIZE_PROTOS
8 years ago
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 )
8 years ago
Bo Yang
1c4cf0eeb5
Fix python cpp.
8 years ago
Feng Xiao
f933d10fbe
Update version number.
...
[skip ci]
Change-Id: I1ba6f6372a08b5796570851336e1a548602f60da
8 years ago
Bo Yang
23d4688cce
Fix python bugs for internal integration.
8 years ago
Bo Yang
15f4db6cb1
Bump version number to 3.1.0-alpha-1.
8 years ago
Bo Yang
cc8ca5b6a5
Integrate internal changes
8 years ago
Paul Yang
bc3bff165f
Fix python_cpp test on Mac. Link staticly when building extension, so that the extension doesn't require installing protobuf library. ( #2232 )
8 years ago
Bo Yang
411968d01f
Fix python cpp.
8 years ago
Feng Xiao
2649844cab
Update version number.
...
[skip ci]
Change-Id: I1ba6f6372a08b5796570851336e1a548602f60da
8 years ago
Bo Yang
c8b9d41f99
Fix python bugs for internal integration.
8 years ago
Bo Yang
ebcda12102
Bump version number to 3.1.0-alpha-1.
8 years ago
Bo Yang
98835fb8f8
Integrate internal changes
8 years ago
Jisi Liu
6e11540b32
Bump version number to 3.0.2
8 years ago
Jonathon Love
64958cdb1d
Fix to typo/oversight in python tests
...
Fix to typo/oversight in python tests, only affecting python 3
8 years ago
Adam Matan
3886860aa4
Typo: beffer -> buffer
8 years ago
Jisi Liu
811674f479
add setup.cfg for building wheels
8 years ago
Jisi Liu
fb7a7c5f1f
Bump version number for GA
9 years ago
Feng Xiao
932f94e16e
Update version number to 3.0.0-beta-4
9 years ago
Feng Xiao
9086d96439
Integrate from internal code base.
9 years ago
Otto Kekäläinen
3808d091f8
Fix spelling in strings and comments
9 years ago
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
9 years ago
Adam Cozzette
d64a2d9941
Integrated internal changes from Google
...
This includes all internal changes from around May 20 to now.
9 years ago
Josh Haberman
350453f2d5
Make surrogate regex even more lenient.
9 years ago
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.
9 years ago
Josh Haberman
6a618949aa
Added test for surrogates (valid and invalid).
9 years ago
Josh Haberman
4833b4c003
Surrogate checking is unpredictable, so always manually check.
9 years ago
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.
9 years ago
Jie Luo
b01b1a8ebe
JSON format for Any message must print @type first, use OrderedDict instead of {}
9 years ago
Jisi Liu
b3bb46c51b
Added download_url to be able to upload to pypi.
9 years ago
Jisi Liu
dbed8a0154
Update version numbers for beta3
9 years ago
Jisi Liu
f8a5c5f746
Fix using std::shared_ptr
9 years ago
Jisi Liu
75e5898513
Fix the std::string error introduced in integration.
9 years ago
Jisi Liu
cf14183bcd
Down integrate from Google internal.
9 years ago
Manjunath Kudlur
cf828deb9b
Linking the cpp implementation extension statically with libprotobuf
9 years ago
Jisi Liu
1bf446c71e
Disable sign-compare warning.
9 years ago
Jisi Liu
7b1cbbd50e
Fix signed-compare warning.
9 years ago
Jisi Liu
012ac9a0a6
revert unexpected change for py26
9 years ago
Manjunath Kudlur
1283625b0f
Added an API to allow oversize protos when using C++ extension in Python
9 years ago
Jisi Liu
fc7eeda69c
Fix json_format.py in py26
9 years ago
Jisi Liu
3b3c8abb96
Integrate google internal changes.
9 years ago