Feng Xiao
49b88af4a2
Update examples file list.
7 years ago
Feng Xiao
74bf45f379
Add bazel support for examples.
...
The example utilizes native bazel rules (proto_library, cc_proto_library,
java_proto_library, java_lite_proto_library) to show how easy it is to
build protobuf with bazel's native support. It also makes use of well
known types which was not possible until the latest bazel 0.5.4 release
and https://github.com/google/protobuf/pull/3594 .
8 years ago
Feng Xiao
2ad5c0a864
Merge pull request #2576 from cristicbz/py-strutil
...
python: do not include internal 'strutil.h' header
8 years ago
Adam Cozzette
054054c152
Merge pull request #3590 from NanXiao/patch-1
...
Update autogen.sh
8 years ago
Paul Yang
7f8b91f552
Add native php support for Duration. ( #3583 )
8 years ago
Feng Xiao
35b852f5b8
Merge pull request #3594 from buchgr/well-known-protos
...
bazel: Add proto_library rules for well known types. Fixes #2763
8 years ago
Jakob Buchgraber
699c0eb9cf
bazel: Add proto_library rules for well known types. Fixes #2763
...
Adds a proto_library rule for each well known type proto:
$ bazel query "filter(\".*_proto$\", \"...\")"
//:wrappers_proto
//:timestamp_proto
//:struct_proto
//:field_mask_proto
//:empty_proto
//:duration_proto
//:compiler_plugin_proto
//:descriptor_proto
//:api_proto
//:type_proto
//:source_context_proto
//:any_proto
Bazel users can reference these proto_library rules for their own
language specific rules i.e.
java_proto_library(
name = "any_java_proto",
deps = ["@com_google_protobuf//:any_proto"],
)
Also set the workspace name to "com_google_protobuf", as proto_library
rules reference protobuf that way.
8 years ago
Nan Xiao
f4ff17bb16
Update autogen.sh
...
Fix the bug in following scenario:
gmock is downloaded successfully while gtest not. Resuming "autogen.sh",
the gtest won't be downloaded. And following error will occur:
$ ./autogen.sh
+ autoreconf -f -i -Wall,no-obsolete
aclocal: error: configure.ac:1: file 'gtest/m4/acx_pthread.m4' does not exist
autoreconf: aclocal failed with exit status: 1
8 years ago
Joshua Haberman
6699f2cf64
Merge pull request #3560 from tenderlove/thread-safe-map
...
Move parse frame array to the Map object
8 years ago
Paul Yang
b70e0fdf09
Add php support for Timestamp. ( #3575 )
...
* Add php support for Timestamp.
* Fix comments
8 years ago
Aaron Patterson
f55c6ec24f
Storing the frame on the map means we don't need the array
8 years ago
Aaron Patterson
d6152dd51c
Move parse frame array to the Map object
...
This makes the frame stack per-parser, and per-thread. Fixes #3250
8 years ago
Paul Yang
c7457ef65a
Add any support in php runtime. ( #3486 )
...
* Add any support in php runtime.
* Remove unused file in config.m4
* Fix comments
* Fix error for tsrmls build
* Add newly added file to Makefile.am
8 years ago
Jisi Liu
98a3734b5a
Merge pull request #3503 from gburgessiv/master
...
Work around a bug in clang's static analyzer
8 years ago
Jisi Liu
859d94a5f0
Merge pull request #3544 from anandolee/master
...
Add Python 3.5, 3.6 && drop Python 2.6
8 years ago
Jisi Liu
364060bb51
Merge pull request #3547 from matt-kwong/kokoro_mac_build
...
Remove pre-installed softwares from prebuild steps
8 years ago
Matt Kwong
e46caba181
Remove pre-installed softwares
8 years ago
Jisi Liu
c44c3af2bc
Merge pull request #3548 from google/3.4.x
...
Merge fixes from 3.4.x into master
8 years ago
Jisi Liu
30681c7578
Merge pull request #3546 from pherl/deathtest
...
Disable death tests on windows
8 years ago
Jie Luo
610e433888
Drop python2.6
...
Jenkins complains for python 2.6
DEPRECATION: Python 2.6 is no longer supported by the Python core team
ERROR: InvocationError: '/tmp/protobuf/protobuf/python/.tox/py26-cpp/bin/python setup.py -q build_py'
https://grpc-testing.appspot.com/job/protobuf_pull_request/1502/testReport/junit/(root)/python_cpp/python_cpp/
8 years ago
Jie Luo
028d6f13ee
Add Python 3.5 3.6
8 years ago
Jisi Liu
6609e52124
Disable death tests on windows
...
Also remove cord related code
8 years ago
Jisi Liu
e416f5d2d3
Merge pull request #3537 from TeBoring/php-bug
...
Use message name as defined in php runtime.
8 years ago
Jisi Liu
7273b3c691
Merge pull request #3539 from drivehappy/3.4.x_clang_cleanup_1
...
Merge pull request #3535 from drivehappy/clang_warn_cleanup
8 years ago
Jisi Liu
09fd1259c8
Merge pull request #3540 from drivehappy/3.4.x_clang_cleanup_2
...
Merge pull request #3494 from drivehappy/clang_warning_macro
8 years ago
Jisi Liu
7a43137831
Merge pull request #3543 from tony612/patch-1
...
Add Elixir protobuf and gRPC to 3rd party doc
8 years ago
George Burgess IV
6cecd20e25
Work around a bug in clang's static analyzer
...
Due to https://bugs.llvm.org/show_bug.cgi?id=34198 , clang's static
analyzer emits diagnostics about leaking `container`. Doing this
assignment in two steps works around this, and shouldn't cause these
issues.
8 years ago
Bing Han
2fb74794d2
Add Elixir protobuf and gRPC to 3rd party doc
8 years ago
Jisi Liu
c27b56c692
Merge pull request #3494 from drivehappy/clang_warning_macro
...
Fixing -Wexpansion-to-defined Clang warning
8 years ago
Jisi Liu
36ac06fdc7
Merge pull request #3535 from drivehappy/clang_warn_cleanup
...
Fixing unused parameter warnings under Clang.
8 years ago
Jisi Liu
0b7e97880c
Merge pull request #3535 from drivehappy/clang_warn_cleanup
...
Fixing unused parameter warnings under Clang.
8 years ago
Jisi Liu
92d768c113
Merge pull request #3536 from pherl/io32_11
...
Remove C++11 features in io_win32.cc
8 years ago
Jisi Liu
77a453a57f
Fix compile errors
8 years ago
Bo Yang
dd5190980b
Use message name as defined in php runtime.
8 years ago
Jisi Liu
4aadcd3c7b
Remove C++11 features in io_win32.cc
...
- Use scoped_array instead of unique_ptr.
- Do not use string::front() and string::back()
8 years ago
Jisi Liu
ba4e54724d
Merge pull request #3529 from pherl/merge3.4.x
...
Merge 3.4.x into master
8 years ago
cclauss
472f700884
remove the parens from the cmp() lambda definition ( #3526 )
...
* 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
8 years ago
drivehappy
1183f4864b
Fixing unused parameter warnings under Clang.
8 years ago
Jisi Liu
139775ccc0
Merge remote-tracking branch 'origin/3.4.x' into mergemaster
8 years ago
Jisi Liu
26ac3e8e24
Merge pull request #3528 from pherl/rubyfix
...
Bump gemspec again
8 years ago
Jisi Liu
fdb5cd5e4b
Merge pull request #3504 from pherl/3.4.x
...
Prefer system distributed binaries/libraries.
8 years ago
Jisi Liu
d76e4c7068
Bump gemspec again
8 years ago
Jisi Liu
1825d6d8f0
Merge pull request #3317 from ejona86/protoc-artifacts-jdk8
...
protoc-artifacts: Bump JDK to 8u131
8 years ago
Jie Luo
c2aa26e507
Revert "Drop Python 3.3 from testing & add Python 3.5, 3.6 ( #3512 )" ( #3524 )
...
This reverts commit 703f414ca6
.
8 years ago
cclauss
703f414ca6
Drop Python 3.3 from testing & add Python 3.5, 3.6 ( #3512 )
...
* Drop Python 3.3 from testing & add Python 3.5, 3.6
Python 3.3 goes [EOL](https://docs.python.org/devguide/index.html#branchstatus ) next month.
* Sync test.sh with the Python versions in tox.ini
8 years ago
cclauss
a04eb8c191
Define cmp() for Python 3 ( #3517 )
...
* 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
8 years ago
Jie Luo
1aa2c34387
Merge pull request #3516 from cclauss/patch-3
...
Python 3 compatibility fixes: print(), long(), etc.
8 years ago
cclauss
dded80f924
define long() for Python 3
8 years ago
cclauss
6f4c9b07e4
print() function for Python 3
8 years ago
cclauss
a1acf25327
print() function and lose the semicolons (;)
8 years ago