Feng Xiao
e841bac4fc
Down-integrate from internal code base.
9 years ago
Manjunath Kudlur
96537c461a
Bringing in internal::shared_ptr into google:protobuf namespace.
...
Fixes #1029
9 years ago
Manjunath Kudlur
3f9b4f2944
Updated for c++98 compatibility
9 years ago
Manjunath Kudlur
3ff1dca0bd
Enable fast cpp protos in the python interface.
9 years ago
Josh Haberman
4b31ffa488
Added Python failure lists, and fixes to make sure failure propagates.
9 years ago
Josh Haberman
325392dd61
Conformance test implementation for Python.
9 years ago
Josh Haberman
c3ca920509
Pass $CC environment variable through tox.
9 years ago
Josh Haberman
d8814ed59e
Special-case Clang-only warning flags to Clang.
9 years ago
Josh Haberman
30cbd4c561
Disable some more warnings to be warnings-free.
9 years ago
Josh Haberman
70ffefa551
Fixed compile errors after rebase.
9 years ago
Josh Haberman
00700b7219
Removed all warnings from the Python/C++ build.
...
Also made the Travis build ensure that no warnings
are present.
These builds were previously spewing many warnings,
which was hiding warnings for important things like
accidentally using C++11-only features.
Change-Id: I56caeee9db48bc78756a3e8d7c14874630627037
9 years ago
Jie Luo
2850a98275
fix json_format for python2.6:
...
1, objcect_pair_hook is not supported in python2.6, so duplicated key check is removed in 2.6
2, total_seconds is not suppoted in python2.6, changed to compute seconds directly
9 years ago
Jisi Liu
f6fa5c7882
add complete WKT for python.
9 years ago
Jisi Liu
7464f40a7e
Generate well known types for python.
9 years ago
Jisi Liu
78d040a18b
remove extra collection import
9 years ago
Jisi Liu
72bd9c959a
disable tests for python-cpp under py26 as well.
9 years ago
Jisi Liu
f509c7b2f5
disable py2.6 tests for json_format_test
9 years ago
Jisi Liu
dbea00ae88
Revert back changes to import unittest2 for py26
9 years ago
Jisi Liu
a783eaf37f
make the python json test less strict on expected errors.
9 years ago
Jisi Liu
46e8ff63cb
Down-integrate from google internal.
9 years ago
Dan O'Reilly
d9598ca55d
Fix Python 3.4 cpp implementation
...
Fixes the ScalarMapContainer/MessageMapContainer implementations on
Python 3.4, by dynamically allocating their PyTypeObjects using
PyType_FromSpecWithBases, instead of statically allocating them. This is
necessary because Python 3.4+ disallows statically allocating a class
with a dynamically allocated parent.
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Josh Haberman
4472b4ad15
Fixed assignment syntax error.
...
Change-Id: Ifef8a300258214aae8f6b8516fbc61b7335b5724
9 years ago
Josh Haberman
fc80fad9d5
Fix for https://github.com/google/protobuf/issues/758
...
Change-Id: I590b34b96c84a3ba6e094a0bd86f153147ade3d3
9 years ago
Feng Xiao
a3a2605d5c
Excludes a failing python cpp test case.
9 years ago
Feng Xiao
ffe9215140
Update version number.
...
Protoc, C++ runtime and Java runtime are updated to v3.0.0-beta-1, other
languages are updated to v3.0.0-alpha-4.
9 years ago
Feng Xiao
b17ec3ca11
Down-integrate from internal code base.
9 years ago
Feng Xiao
eee38b0c01
Down-integrate from google3.
9 years ago
Dan O'Reilly
38eef02aab
Fix metaclass issue on Python 3. Get text handling tests passing on Python 3.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
fc80874adf
Start work on getting text handled properly on PY3
9 years ago
Tamir Duberstein
87993d7507
assertEquals is deprecated
9 years ago
Tamir Duberstein
821fcb2ded
Use assertIsInstance
9 years ago
Tamir Duberstein
09831c8768
Clean up exception syntax
9 years ago
Tamir Duberstein
322d8939fc
Remove Python 2.5 cruft
9 years ago
Dan O'Reilly
46969b99ca
Set DYLD_LIBRARY_PATH for OSX
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Jisi Liu
b0f661181d
Down-integrate from internal branch.
...
Change-Id: Ieb7a2c2fbf35bc2a8fa65b915a5ecb68c83863e4
9 years ago
Dan O'Reilly
3791c8051a
Fix travis build
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
5de2a81b01
Improve tox.ini, install py26 for travis.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
afa488c4d1
Remove debug code
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
416f001adc
Use tox in travis build. Tweak tox.ini
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
3bdfb4b695
Add some clarifying comments. Remove ez_setup.py.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
9d689692d3
Make testing cpp implementation optional
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
3083d8cee7
Fix --cpp_implementation test failure. Test both pure Python and cpp implementation in tox.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
7601551f7c
Just always uses BytseIO in text_format for now
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
7013a75b90
Disable py3* in tox
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
2621c8aefb
Get Python 2.6 working.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
d06adbd4a4
Fix usage of assertItemsEqual on Py3
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
3d5aa6aef9
Fix some more Python 3 compat issues
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
fe7d9379df
Fixing some long/int bugs
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
981d6bf2f7
Build protobuf files in as part of tox runs.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
833c046fb7
Fixing some tests
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago