aboutsummaryrefslogtreecommitdiffhomepage
path: root/python
Commit message (Collapse)AuthorAge
* Down-integrate from google3.Gravatar Feng Xiao2017-03-29
|
* Merge pull request #2613 from aausch/fix_memory_leakGravatar Jisi Liu2017-03-06
|\ | | | | optimization and quick workaround to memory leak
* | Prefer the term "3-Clause BSD License" over "New BSD License"Gravatar Sebastian Schuberth2017-02-28
| | | | | | | | The first is the newer name, which is also more telling.
* | Merge pull request #2647 from anandolee/masterGravatar Jie Luo2017-02-09
|\ \ | | | | | | Fix python compatibility test
| * | Fix python compatibility test when a new generated code imports an old ↵Gravatar Jie Luo2017-02-09
| | | | | | | | | | | | version(2.6.1 or older) generated code.
* | | Merge 3.2.x branch into master (#2648)Gravatar Paul Yang2017-01-31
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Down-integrate internal changes to github. * Update conformance test failure list. * Explicitly import used class in nano test to avoid random test fail. * Update _GNUC_VER to use the correct implementation of atomic operation on Mac. * maps_test.js: check whether Symbol is defined before using it (#2524) Symbol is not yet available on older versions of Node.js and so this test fails with them. This change just directly checks whether Symbol is available before we try to use it. * Added well_known_types_embed.cc to CLEANFILES so that it gets cleaned up * Updated Makefile.am to fix out-of-tree builds * Added Bazel genrule for generating well_known_types_embed.cc In pull request #2517 I made this change for the CMake and autotools builds but forgot to do it for the Bazel build. * Update _GNUC_VER to use the correct implementation of atomic operation on Mac. * Add new js file in extra dist. * Bump version number to 3.2.0 * Fixed issue with autoloading - Invalid paths (#2538) * PHP fix int64 decoding (#2516) * fix int64 decoding * fix int64 decoding + tests * Fix int64 decoding on 32-bit machines. * Fix warning in compiler/js/embed.cc embed.cc: In function ‘std::string CEscape(const string&)’: embed.cc:51:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < str.size(); ++i) { ^ * Fix include in auto-generated well_known_types_embed.cc Restore include style fix (e3da722) that has been trampled by auto-generation of well_known_types_embed.cc * Fixed cross compilations with the Autotools build Pull request #2517 caused cross compilations to start failing, because the js_embed binary was being built to run on the target platform instead of on the build machine. This change updates the Autotools build to use the AX_PROG_CXX_FOR_BUILD macro to find a suitable compiler for the build machine and always use that when building js_embed. * Minor fix for autocreated object repeated fields and maps. - If setting/clearing a repeated field/map that was objects, check the class before checking the autocreator. - Just to be paranoid, don’t mutate within copy/mutableCopy for the autocreated classes to ensure there is less chance of issues if someone does something really crazy threading wise. - Some more tests for the internal AutocreatedArray/AutocreatedDictionary classes to ensure things are working as expected. - Add Xcode 8.2 to the full_mac_build.sh supported list. * Fix generation of extending nested messages in JavaScript (#2439) * Fix generation of extending nested messages in JavaScript * Added missing test8.proto to build * Fix generated code when there is no namespace but there is enum definition. * Decoding unknown field should succeed. * Add embed.cc in src/Makefile.am to fix dist check. * Fixed "make distcheck" for the Autotools build To make the test pass I needed to fix out-of-tree builds and update EXTRA_DIST and CLEANFILES. * Remove redundent embed.cc from src/Makefile.am * Update version number to 3.2.0-rc.1 (#2578) * Change protoc-artifacts version to 3.2.0-rc.1 * Update version number to 3.2.0rc2 * Update change logs for 3.2.0 release. * Update php README * Update upb, fixes some bugs (including a hash table problem). (#2611) * Update upb, fixes some bugs (including a hash table problem). * Ruby: added a test for the previous hash table corruption. Verified that this triggers the bug in the currently released version. * Ruby: bugfix for SEGV. * Ruby: removed old code for dup'ing defs. * Reverting deployment target to 7.0 (#2618) The Protobuf library doesn’t require the 7.1 deployment target so reverting it back to 7.0 * Fix typo that breaks builds on big-endian (#2632) * Bump version number to 3.2.0
| * cache generated classes, optimization and quick workaround to memory leakGravatar Alex Ausch2017-01-30
| |
* | Add python compatibility tests against v2.5.0 amd run on Travis.Gravatar Jie Luo2017-01-26
| |
* | Add python compatibility tests against v2.5.0: copy tests and proto files ↵Gravatar Jie Luo2017-01-23
|/ | | | from v2.5.0
* A few more cases for binary conformance tests. (#2500)Gravatar Joshua Haberman2017-01-06
| | | | | | | | | | | * 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.
* Factored Conformance and Benchmark test messages into shared test schema. ↵Gravatar Joshua Haberman2016-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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.
* Updated descriptor_pool.py to be compatible with Python 3Gravatar Adam Cozzette2016-11-22
| | | | | 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.
* Fixed descriptor_pool_test.py for Python 2.6Gravatar Adam Cozzette2016-11-22
| | | | | 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.
* Merge branch 'master' into down-integrate-with-msvc-fixGravatar Adam Cozzette2016-11-17
|\
* | Integrated internal changes from GoogleGravatar Adam Cozzette2016-11-17
| |
| * typoGravatar Ian Hunter2016-11-16
| |
| * Use -DPROTOBUF_PYTHON_ALLOW_OVERSIZE_PROTOSGravatar Richard Shin2016-10-19
|/
* Fix python_cpp test on Mac. Link staticly when building extension, so that ↵Gravatar Paul Yang2016-10-10
| | | | the extension doesn't require installing protobuf library. (#2232)
* Fix python cpp.Gravatar Bo Yang2016-10-10
|
* Update version number.Gravatar Feng Xiao2016-10-10
| | | | | | [skip ci] Change-Id: I1ba6f6372a08b5796570851336e1a548602f60da
* Fix python bugs for internal integration.Gravatar Bo Yang2016-10-10
|
* Bump version number to 3.1.0-alpha-1.Gravatar Bo Yang2016-10-10
|
* Integrate internal changesGravatar Bo Yang2016-10-10
|
* Merge remote-tracking branch 'origin/3.0.x' into mergeGravatar Jisi Liu2016-09-14
|\
| * Bump version number to 3.0.2Gravatar Jisi Liu2016-09-02
| |
* | Fix to typo/oversight in python testsGravatar Jonathon Love2016-09-02
| | | | | | | | Fix to typo/oversight in python tests, only affecting python 3
* | Typo: beffer -> bufferGravatar Adam Matan2016-08-03
|/
* add setup.cfg for building wheelsGravatar Jisi Liu2016-07-29
|
* Bump version number for GAGravatar Jisi Liu2016-07-25
|
* Update version number to 3.0.0-beta-4Gravatar Feng Xiao2016-07-13
|
* Integrate from internal code base.Gravatar Feng Xiao2016-07-13
|
* Fix spelling in strings and commentsGravatar Otto Kekäläinen2016-07-03
|
* Fixed string formatting in text_format.py to be Python2.6-compatibleGravatar Adam Cozzette2016-06-30
| | | | | | 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
* Integrated internal changes from GoogleGravatar Adam Cozzette2016-06-29
| | | | This includes all internal changes from around May 20 to now.
* Make surrogate regex even more lenient.Gravatar Josh Haberman2016-06-06
|
* JSON surrogates Python: adjust regex for OSX error message.Gravatar Josh Haberman2016-06-06
| | | | | OS X's version of Python has a slightly different error message for this error case.
* Added test for surrogates (valid and invalid).Gravatar Josh Haberman2016-06-03
|
* Surrogate checking is unpredictable, so always manually check.Gravatar Josh Haberman2016-06-03
|
* Fixed Python by updating failure lists and fixed a few broken tests.Gravatar Josh Haberman2016-06-03
| | | | | Python 2.x doesn't detect unpaired surrogates so we have to do that manually.
* Merge pull request #1559 from google/beta-3Gravatar Jisi Liu2016-05-18
|\ | | | | Merge beta-3 release branch again.
* | JSON format for Any message must print @type first, use OrderedDict instead ↵Gravatar Jie Luo2016-05-17
| | | | | | | | of {}
| * Added download_url to be able to upload to pypi.Gravatar Jisi Liu2016-05-17
|/
* Update version numbers for beta3Gravatar Jisi Liu2016-05-10
|
* Fix using std::shared_ptrGravatar Jisi Liu2016-05-05
|
* Fix the std::string error introduced in integration.Gravatar Jisi Liu2016-05-05
|
* Down integrate from Google internal.Gravatar Jisi Liu2016-04-28
|
* Merge branch 'master' of github.com:google/protobufGravatar Jisi Liu2016-04-01
|\
| * Linking the cpp implementation extension statically with libprotobufGravatar Manjunath Kudlur2016-04-01
| |
* | Disable sign-compare warning.Gravatar Jisi Liu2016-03-31
| |
* | Fix signed-compare warning.Gravatar Jisi Liu2016-03-31
| |