Dennis Cappendijk
3b227611d5
show help if protoc is called without any arguments, pre-empts -h and --help to show a useful message instead of just 'Missing input file.'
8 years ago
Thomas Van Lenten
8546620610
Merge pull request #3104 from thomasvl/ext_registry_copy
...
Fix ExtensionRegistry copying and add tests.
8 years ago
Thomas Van Lenten
49e4ba6098
Fix ExtensionRegistry copying and add tests.
...
- Fix up -copyWithZone: to not leave the two registries sharing
some of the storage by using -addExtensions:.
- Improve -addExtensions: to clone the sub dict when there is
nothing to merge into.
- A ExtensionRegistry unittests.
- Update project schemes to not have extra things in perf scheme.
8 years ago
Joshua Haberman
b28617b813
Merge pull request #2815 from devwout/ruby_json_emit_defaults
...
Ruby version optionally emits default values in JSON encoding.
8 years ago
Feng Xiao
455b61c6b0
Merge pull request #3062 from Oppen/master
...
Workaround gcc < 4.5.0 bug
8 years ago
Paul Yang
25abd7b7e7
Add compatibility test for php. ( #3041 )
...
* Add compatibility test for php.
* Revert API incompatible change.
8 years ago
Mario J. Rugiero
cd0efc0024
Workaround gcc < 4.5.0 bug
...
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=189
Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
8 years ago
Adam Cozzette
483396068d
Merge pull request #3043 from acozzette/javascript
...
Removed mention of Buffer in byteSourceToUint8Array
8 years ago
Adam Cozzette
f00e06c95b
Removed mention of Buffer in byteSourceToUint8Array
...
The Closure compiler complains about Buffer since that class exists only
in Node. That logic does not seem to be needed (unit tests and conformance
tests pass without it), so let's just remove it to solve the problem.
8 years ago
Adam Cozzette
a64497c709
Merge pull request #2873 from myitcv/fix_1562
...
Javascript: use goog.crypt.byteArrayToString instead of String.fromCharCode.apply
8 years ago
Paul Jolly
bcb3506641
Fix #1562 by using goog.crypt.byteArrayToString instead of String.fromCharCode.apply
8 years ago
Adam Cozzette
2f4489a3e5
Merge pull request #3024 from acozzette/merge-3.3-to-master
...
Merged 3.3.x branch to master
8 years ago
makdharma
286f059842
added "objectivec" build target ( #3033 )
...
This target will be used by gRPC iOS bazel build system.
8 years ago
Adam Cozzette
9053033a50
Merge remote-tracking branch 'remotes/google/3.3.x' into merge-3.3-to-master
8 years ago
Adam Cozzette
067b1eec3b
Merge pull request #3023 from acozzette/min
...
Fully qualify min as std::min in wire_format_lite.cc
8 years ago
Adam Cozzette
07c284f86c
Fully qualify min as std::min in wire_format_lite.cc
8 years ago
Paul Yang
a6189acd18
Add prefix to enum value with reserved name. ( #3020 )
8 years ago
Adam Cozzette
cbd08cb7d1
Merge pull request #3018 from acozzette/using-namespace-std
...
Remove "using namespace std" from stubs/common.h
8 years ago
Feng Xiao
54d1701f6c
Merge pull request #3015 from buchgr/unused-consts
...
Remove unused constants.
8 years ago
Adam Cozzette
7c76ac1735
Remove "using namespace std" from stubs/common.h
...
This prevents the contents of the std namespace from being effectively
pulled into the top-level namespace in all translation units that
include common.h. I left in individual using statements for a few common
things like std::set and std::map, because it did not seem worth going
through the churn of updating the whole codebase to fix those right now.
8 years ago
Paul Yang
3c0855e94a
Add a test case for nested enum, which was missed previously. ( #3010 )
8 years ago
Jakob Buchgraber
b1c75bc742
Remove unused constants.
...
When compiling with -Werror, -Wunused-const-variable the build fails due
to those two constants not being used.
8 years ago
Feng Xiao
4920e27a48
Merge pull request #3008 from postmasters/patch-1
...
Add a link to dart-lang/protobuf
8 years ago
Paul Yang
fba2acd72e
Add nested enum descriptor in php rumtime. ( #3009 )
8 years ago
Paul Yang
e64b618b21
Update php version number to 3.3.0 ( #3001 )
8 years ago
postmasters
4777574a6c
Add a link to dart-lang/protobuf
8 years ago
Paul Yang
6fff091c49
Throw exception when parsing invalid data. ( #3000 )
8 years ago
Feng Xiao
f418b9e3eb
Merge pull request #2996 from xfxyjwf/3.3.x
...
Fix python3 issue.
8 years ago
Paul Yang
4523c9c233
Allow proto files to import descriptor.proto ( #2995 )
...
descriptor.proto uses proto2 syntax, which is not ready for external
usage. However, some proto3 files import descriptor.proto and cannot be
used. In this PR, all references (We cheated by only removing
extensions, which is enough for now. User should avoid using messages
defined in descriptor.proto as field type.) to content in
descriptor.proto are removed from generated files. Those that import
descriptor.proto can be used like other proto files.
8 years ago
Feng Xiao
478119fe77
Fix python3 issue.
8 years ago
Feng Xiao
14afc3fd41
Merge pull request #2992 from xiaogaozi/patch-1
...
Add gogoprotobuf to third-party add-ons list
8 years ago
Changjian Gao
f85eecb585
Add gogoprotobuf to third-party add-ons list
8 years ago
Paul Yang
4c57e8475f
Prepend "PB" to generated classes whose name are reserved words. ( #2990 )
8 years ago
Paul Yang
b97cd573e4
Add test for nested enum for php ( #2989 )
8 years ago
Paul Yang
7be088202b
Enum defined without package have incorrect class name. ( #2988 )
...
Fix the bug by sharing the code for generating class name for both
message and enum.
8 years ago
Paul Yang
190b5270c8
Make PHP c extension work with PHP7 ( #2951 )
8 years ago
Feng Xiao
357afc39de
Merge pull request #2508 from yliu120/pass_default_env_to_protoc
...
add a key to ctx.action dict to prevent protoc losing the default env
8 years ago
Feng Xiao
0a93f67055
Merge pull request #2987 from konsumer/patch-1
...
Add node-protoc-plugin to "Other Utilities"
8 years ago
Adam Cozzette
594f810081
Merge pull request #2982 from mda000/issue2972
...
Simplify the Element dtor invocation when freeing elements in InternalDeallocate
8 years ago
David Konsumer
3055a02125
Add node-protoc-plugin to "Other Utilities"
8 years ago
Thomas Van Lenten
a3873cafae
Merge pull request #2985 from thomasvl/class_check_tweaks
...
Tighten up class usage/checks.
8 years ago
Thomas Van Lenten
f5a01d1bbd
Tighten up class usage/checks.
...
- Ensure extensions resolution/wiring is happening directly on the
messageClass (incase someone is doing odd things our out classes).
- Make the extension message check match the other class checks in
for mergeFrom/isEqual/etc.
8 years ago
Michael Allen
2240a785f9
Simplify the Element dtor invocation when freeing elements in
...
InternalDeallocate to avoid confusing the compiler when there's
a class named Element already defined in the global namespace.
8 years ago
Feng Xiao
8aa927f08f
Merge pull request #2950 from anuraaga/dev_rag
...
Allow unknown values for Map put*Value methods just like every other …
8 years ago
Feng Xiao
43234828da
Merge pull request #2967 from xfxyjwf/3.3.x
...
Fix map serialization
8 years ago
Feng Xiao
5777259273
Cherry-pick cl/152450543
8 years ago
Feng Xiao
cad0258d17
Cherry-pick cl/151775298
8 years ago
Feng Xiao
fc3ea97870
Merge pull request #2955 from xfxyjwf/3.3.x
...
Add include for INT_MAX
8 years ago
Jie Luo
899460c9cb
cherrypick descriptor_pool.FindFileContainingSymbol by extensions ( #2962 )
...
* Use PyUnicode_AsEncodedString() instead of PyUnicode_AsEncodedObject()
* Cherrypick the fix descriptor_pool.FindFileContainingSymbol by extensions.
8 years ago
Feng Xiao
bfeeb98517
Add include for INT_MAX
8 years ago