aboutsummaryrefslogtreecommitdiff
path: root/python/google
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Merge from masterJisi Liu2017-07-253-5/+11
| | | |
| | * | Merge remote-tracking branch 'origin/3.4.x' into vbJisi Liu2017-07-242-1/+4
| | |\ \
| | | * | Add __bool__ as well as __nonzero__ for python3Jie Luo2017-07-241-0/+3
| | | | |
| | | * | Use keys() instead of iterkeys() to be python3 compatbile.Jie Luo2017-07-241-1/+1
| | | | |
| | * | | Update version number for 3.4.0Jisi Liu2017-07-241-1/+1
| | |/ /
| | * | Fix code to use values() insteadJisi Liu2017-07-191-1/+1
| | | |
| | * | Use itmes() instead of itervalues() to be python3 compatbile.Jisi Liu2017-07-191-1/+1
| | | |
| | * | Merge from Google internal for 3.4 releaseJisi Liu2017-07-1826-206/+748
| | | |
* | | | remove the parens from the cmp() lambda definition (#3526)cclauss2017-08-211-2/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove the parens from the cmp() lambda definition https://github.com/PythonCharmers/python-future/pull/298 * remove the parens from the cmp() lambda definition https://github.com/PythonCharmers/python-future/pull/298
* | | Define cmp() for Python 3 (#3517)cclauss2017-08-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Define cmp() for Python 3 http://python-future.org/compatible_idioms.html?highlight=cmp#cmp * Define cmp() for Python 3 http://python-future.org/compatible_idioms.html?highlight=cmp#cmp
* | | define long() for Python 3cclauss2017-08-181-5/+9
| | |
* | | PY26 tests compatibilityJie Luo2017-08-042-4/+12
| | | | | | | | | | | | | | | | | | | | | 1, Some tests in reflection_test PY26 raise TypeError but other versions raise ValueError for convert negative long to unsigned 2, Change compare exception type to compare exception str for testDuplicateExtensionNumber. Original code raise 'Double registration of Extensions' is not an instance of (<type 'exceptions.AssertionError'>, <type 'exceptions.ValueError'>) for PY26 cpp implementation t
* | | Skip setUpClass which is newly added in python2.7 for python2.6Jie Luo2017-08-041-2/+3
| | |
* | | Merge pull request #3179 from bjwatson/fix-duration-typoFeng Xiao2017-07-201-2/+2
|\ \ \ | | | | | | | | Fix typos in comment
| * | | Fix typos in commentBrian J. Watson2017-06-211-2/+2
| |/ /
* | | Merge pull request #3262 from snnn/masterJie Luo2017-07-193-5/+11
|\ \ \ | | | | | | | | Make it compatible with python 3.6.1
| * | | Fix a bazel build error on WindowsChangming Sun2017-06-223-5/+11
| |/ /
* | | Update version number to 3.3.2Bo Yang2017-06-211-1/+1
| | |
* | | Update version number to 3.3.1Feng Xiao2017-05-081-1/+1
|/ /
* | Fix python3 issue.Feng Xiao2017-04-201-1/+1
| |
* | cherrypick descriptor_pool.FindFileContainingSymbol by extensions (#2962)Jie Luo2017-04-103-6/+41
| | | | | | | | | | | | * Use PyUnicode_AsEncodedString() instead of PyUnicode_AsEncodedObject() * Cherrypick the fix descriptor_pool.FindFileContainingSymbol by extensions.
* | Update version number and changelog for 3.3.0Feng Xiao2017-04-051-1/+1
| |
* | Down-integrate from google3.Feng Xiao2017-03-2921-61/+440
| |
* | Merge pull request #2613 from aausch/fix_memory_leakJisi Liu2017-03-061-1/+8
|\ \ | | | | | | optimization and quick workaround to memory leak
| * | cache generated classes, optimization and quick workaround to memory leakAlex Ausch2017-01-301-1/+8
| |/
* / Merge 3.2.x branch into master (#2648)Paul Yang2017-01-314-14/+13
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* A few more cases for binary conformance tests. (#2500)Joshua Haberman2017-01-061-8/+8
| | | | | | | | | | | * 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.
* Updated descriptor_pool.py to be compatible with Python 3Adam Cozzette2016-11-221-1/+1
| | | | | 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.6Adam Cozzette2016-11-221-1/+1
| | | | | 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-fixAdam Cozzette2016-11-171-0/+4
|\
| * Use -DPROTOBUF_PYTHON_ALLOW_OVERSIZE_PROTOSRichard Shin2016-10-191-0/+4
| |
* | Integrated internal changes from GoogleAdam Cozzette2016-11-1719-320/+982
|/
* Fix python cpp.Bo Yang2016-10-104-13/+13
|
* Update version number.Feng Xiao2016-10-101-1/+1
| | | | | | [skip ci] Change-Id: I1ba6f6372a08b5796570851336e1a548602f60da
* Fix python bugs for internal integration.Bo Yang2016-10-101-1/+1
|
* Bump version number to 3.1.0-alpha-1.Bo Yang2016-10-101-1/+1
|
* Integrate internal changesBo Yang2016-10-1033-619/+1303
|
* Merge remote-tracking branch 'origin/3.0.x' into mergeJisi Liu2016-09-141-1/+1
|\
| * Bump version number to 3.0.2Jisi Liu2016-09-021-1/+1
| |
* | Fix to typo/oversight in python testsJonathon Love2016-09-021-1/+1
| | | | | | | | Fix to typo/oversight in python tests, only affecting python 3
* | Typo: beffer -> bufferAdam Matan2016-08-031-1/+1
|/
* Bump version number for GAJisi Liu2016-07-251-1/+1
|
* Update version number to 3.0.0-beta-4Feng Xiao2016-07-131-1/+1
|
* Integrate from internal code base.Feng Xiao2016-07-1311-100/+82
|
* Fix spelling in strings and commentsOtto Kekäläinen2016-07-032-4/+4
|
* Fixed string formatting in text_format.py to be Python2.6-compatibleAdam Cozzette2016-06-301-2/+2
| | | | | | 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 GoogleAdam Cozzette2016-06-2920-872/+2007
| | | | This includes all internal changes from around May 20 to now.
* Make surrogate regex even more lenient.Josh Haberman2016-06-061-2/+2
|
* JSON surrogates Python: adjust regex for OSX error message.Josh Haberman2016-06-061-2/+2
| | | | | OS X's version of Python has a slightly different error message for this error case.
* Added test for surrogates (valid and invalid).Josh Haberman2016-06-031-0/+21
|