Roman Kuznetsov
bda4bb9068
Put v3.3.0 at the top of master branch to simplify usage of this repository as submodule
2017-07-08 16:55:13 +03:00
Adam Cozzette
bd5ab154da
Merge pull request #2482 from andreaseger/fix_ruby_timestamp_accuracy
...
[Ruby] fix floating point accuracy problem in Timestamp#to_f
2017-07-06 08:11:50 -07:00
MaDuo
6bd51a59df
add Grpc Protobuf validation ( #3311 )
...
* add Grpc Protobuf validation
2017-07-05 11:31:32 -07:00
Thomas Van Lenten
e264b20e69
Merge pull request #3315 from thomasvl/mutate_unknowns
...
Expose the initializer for unknown fields.
2017-07-05 11:25:38 -04:00
Thomas Van Lenten
b30dee3ea6
Expose the initializer for unknown fields.
2017-07-05 11:16:34 -04:00
Jon Skeet
cdd524a0bd
Ensure leaveOpen is true when writing to a buffer
...
Note that the compatibility tests have had to cahnge as well, to
cope with internal changes. (The test project has access to
internals in the main project.)
Fixes #3209 .
2017-07-04 06:42:45 +01:00
Jon Skeet
62d7fe5697
Make Any easier to work with in C#
...
- Add a TryUnpack method which doesn't throw if the type is wrong
- Make GetTypeName public for easier determination of the message type
Fixes #3294 .
2017-07-03 12:16:40 +01:00
Paul Yang
ecca6ea95d
Add json encode/decode for php. ( #3226 )
...
* Add json encode/decode for php.
* Fix php conformance test on 32-bit machines.
* Fix conformance test for c extension.
* Fix comments
2017-06-30 12:14:09 -07:00
Thomas Van Lenten
5a52b3588d
Merge pull request #3287 from sergiocampama/initialized
...
Add initialized as a reserved keyword as that's the actual property name
2017-06-29 11:52:37 -04:00
Sergio Campama
e55782fa95
Add initialized as a reserved keyword as that's the actual property name
2017-06-29 11:49:36 -04:00
Paul Yang
176bac6dac
Add scripts to build python wheel for linux. ( #2693 )
...
* Add scripts to build python wheel for linux.
Followed PEP513.
* Fix dist check for new added files.
* Update README for usage example.
2017-06-28 15:22:19 -07:00
Brent Shaffer
12acbc2678
adds PHPDoc @return and @param for getters and setters respectively ( #3131 )
...
* adds PHPDoc @return and @param for getters and setters respectively
* addresses changes in PR review
* adds documentation tests
* Update php_generator:
- Prepend \ to names where required
- Remove <pre> tags
- Update protobuf field comments
* Updates class files with the protobuf changes
* Addresses review comments
* removes Protobuf Type line from PHP generated classes
* fixes phpdoc test
* adds array types to phpdoc
2017-06-27 16:28:28 -07:00
Feng Xiao
097bfb53d1
Merge pull request #3084 from lukaszx0/patch-1
...
Workaround the docker bug when compiling artifacts
2017-06-26 10:48:22 -07:00
Paul Yang
dd7265e1a2
Merge pull request #3264 from TeBoring/php-bug
...
Enusre public header and generated code have no implicit converion.
2017-06-24 12:20:57 -07:00
Bo Yang
e3c807d4e7
Fix more implicit type conversions in public headers and generated code.
2017-06-24 11:28:13 -07:00
Feng Xiao
1a7e49d462
Merge pull request #2968 from ngg/cpp-proper-fwd
...
C++: Do not forward-declare dependencies in generated .h files
2017-06-23 15:08:04 -07:00
Bo Yang
9c0b35cf62
Enusre public header and generated code have no implicit converion.
2017-06-23 11:58:05 -07:00
Feng Xiao
f752d816b7
Merge pull request #3266 from mbrickn/patch-1
...
Updated links to use https
2017-06-23 10:39:42 -07:00
Maxwell Paul Brickner
d07efbad91
Updated links to use https
...
Howdy!
I just updated some links to use https instead of http.
Thanks! ^ _ ^
2017-06-23 09:25:03 -04:00
Thomas Van Lenten
eca0f4ee91
Merge pull request #3261 from thomasvl/super_oddcase
...
If we fail to get a descriptor just super the method resolving.
2017-06-22 10:34:10 -04:00
Thomas Van Lenten
db45687a38
If we fail to get a descriptor just super the method resolving.
...
This should never happen, but if someone is swizzling or do other
hooking of methods, anything is possible, so this seems slighty
safer than they returning NO.
2017-06-22 10:18:00 -04:00
Ryan Gordon
703cd8e11c
Switch to addEnumType to fix fatal error ( #3225 )
...
* Switch to addEnumType to fix fatal error
* Fixing more cases of HHVM incompatibility
* Updating tests to be hhvm compatible
* Fixing tests
* Fixing merge
* Don't use call_user_func, should hopefully fix tests
* Fixing spelling
* Fixing another misspelling in a test
* Fixing placement of append and kvUpdate functions
* Actually fix function helpers
* Remove double addEnumType. How did this ever work?
* Fixing a couple more tests
* Only use the setter if the return value isn't an object
2017-06-19 18:15:49 -07:00
Joshua Haberman
1325588982
Updated upb to fix JSON conformance issues. ( #3206 )
...
* Fixed a bunch of Ruby conformance errors.
* Fixed some more Ruby conformance errors in JSON.
2017-06-19 15:13:24 -07:00
Feng Xiao
c2fdef05cf
Merge pull request #3243 from yjjnls/master
...
replenish missed header files in install step
2017-06-19 11:18:45 -07:00
Thomas Van Lenten
73b7cc0007
Merge pull request #3244 from thomasvl/complete_docs
...
ObjC: Document the exceptions on some of the writing apis.
2017-06-19 10:34:25 -04:00
Thomas Van Lenten
5fd71ce631
ObjC: Document the exceptions on some of the writing apis.
2017-06-19 10:33:45 -04:00
Thomas Van Lenten
72e293a28f
Merge pull request #3240 from thomasvl/float_fun
...
Raise the number of digits used for floats.
2017-06-19 08:23:37 -04:00
yjjnls
8f367c0b2d
replenish missed header files in install step
...
install 'generated_message_table_driven.h' and 'metadata_lite.h', they are included when compiling the files generated using protoc.exe 3.3.0
2017-06-19 14:15:54 +08:00
Jeff Ching
5729cf77f6
Remove inclusion of ext/json/php_json.h. ( #3241 )
...
That implementation of json is not being used - this extension is using
a json encoder/decoder provided by 'upb'.
2017-06-17 11:01:16 -07:00
Thomas Van Lenten
dd19b876d4
Raise the number of digits used for floats.
...
About 1.5% of all IEEE754 single-precision numbers require nine
decimal digits to represent accurately.
2017-06-16 15:24:33 -04:00
Feng Xiao
710543d915
Merge pull request #3237 from calder/patch-1
...
Qualify string in java_options.h
2017-06-16 11:39:11 -07:00
Feng Xiao
491b32041d
Merge pull request #3236 from buchgr/bazel-links
...
bazel: add bazel symlinks to .gitignore
2017-06-16 11:38:15 -07:00
Feng Xiao
888e287e3b
Merge pull request #3235 from buchgr/java-target
...
bazel: Make compiled jars java 6 binary compatible.
2017-06-16 11:37:48 -07:00
Calder Coalson
4b36d4006b
Qualify string in java_options.h
...
Building the protobuf compiler with Bazel fails to resolve the unqualifed "string"s in java_options.h:
```
ERROR: .../external/com_google_protobuf/BUILD:248:1: C++ compilation of rule '@com_google_protobuf//:protoc_lib' failed: Process exited with status 1 [sandboxed].
In file included from external/com_google_protobuf/src/google/protobuf/compiler/java/java_context.h:41:0,
from external/com_google_protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc:38:
external/com_google_protobuf/src/google/protobuf/compiler/java/java_options.h:59:3: error: 'string' does not name a type
string annotation_list_file;
^
external/com_google_protobuf/src/google/protobuf/compiler/java/java_options.h:62:3: error: 'string' does not name a type
string output_list_file;
^
Use --strategy=CppCompile=standalone to disable sandboxing for the failing actions.
INFO: Elapsed time: 41.487s, Critical Path: 6.20s
//interpreter:eval_test NO STATUS
Executed 0 out of 1 test: 1 was skipped.
```
2017-06-16 07:06:09 -07:00
Jakob Buchgraber
36e63da632
bazel: Make compiled jars java 6 binary compatible.
...
See: https://github.com/bazelbuild/bazel/issues/3198
2017-06-16 12:50:35 +02:00
Jakob Buchgraber
d0e6f3b9ab
bazel: add bazel symlinks to .gitignore
2017-06-16 12:39:32 +02:00
Paul Yang
91bf623aa1
Fix php jenkins test ( #3233 )
...
Update commit id to upload latest composer.
Compile php with bc-math for future json support.
2017-06-15 13:04:08 -07:00
michaelbausor
8d97b3d8b5
Fix incorrect function call ( #3232 )
2017-06-15 10:49:24 -07:00
Brent Shaffer
b9b34e9b11
Follows proper autoloading standards ( #3123 )
...
* Follows proper autoloading standards
- Splits PHP classes in descriptor.php into separate files
- Splits MapFieldIter and RepeatedFieldIter into separate files
- Moves descriptor.php to Internal/functions.php
- Moves all namespaced functions into Iternal/functions.php
* fixes Makefile.am for added php files
* [PHP] moves all functions to GPBUtil
* removes description.php from the makefile
2017-06-14 15:57:11 -07:00
Thomas Van Lenten
09d2994b1f
Merge pull request #3228 from thomasvl/add_tvos_to_podspec
...
Add tvOS to the podspec.
2017-06-14 15:57:55 -04:00
Thomas Van Lenten
6ecf38f427
Add tvOS to the podspec.
...
Fixes https://github.com/google/protobuf/issues/3217
2017-06-14 15:56:41 -04:00
Feng Xiao
c722c3d294
Merge pull request #3216 from traversaro/patch-1
...
Export symbols used in inline functions
2017-06-12 10:26:57 -07:00
Silvio Traversaro
9094bf0f7e
Export symbols used in inline functions
...
fixed_address_empty_string symbol is used in an inline function.
We have to export it to avoid undefined reference link errors.
2017-06-12 17:09:55 +02:00
Gergely Nagy
9ba7d1c038
C++: Do not forward-declare dependencies in generated .h files
2017-06-12 14:34:51 +02:00
Adam Cozzette
96095f3a85
Merge pull request #3176 from acozzette/fix-3114
...
Ensure that for Java, imports of .proto files with empty packages works
2017-06-07 15:15:34 -07:00
Feng Xiao
c202b06de9
Merge pull request #3196 from matt-kwong/kokoro
...
Add continuous testing config files for Kokoro
2017-06-07 11:09:37 -07:00
Matt Kwong
0871e6a808
Add continuous testing config files for Kokoro
2017-06-07 11:08:00 -07:00
Feng Xiao
d4d41af19b
Merge pull request #3191 from matt-kwong/kokoro
...
Add MacOS and Linux tests to Kokoro
2017-06-06 16:44:30 -07:00
Matt Kwong
6156af10e8
Add MacOS and Linux tests to Kokoro
2017-06-06 15:09:02 -07:00
Thomas Van Lenten
d555775836
Merge pull request #3189 from thomasvl/objc_proto3_unknown_fields
...
ObjC: Preserve unknown fields in proto3 syntax files.
2017-06-06 15:31:20 -04:00
Feng Xiao
2aeb4ab9c7
Merge pull request #3160 from meteorcloudy/winbuild
...
Refactor cc options in BUILD file for Windows
2017-06-06 10:31:21 -07:00
Adam Cozzette
ddbe36003e
Merge pull request #3159 from yeswalrus/new-generate
...
CMake: Add modern protobuf_generate
2017-06-06 09:13:31 -07:00
Thomas Van Lenten
1d0988b8ef
ObjC: Preserve unknown fields in proto3 syntax files.
...
As announced: https://groups.google.com/forum/#!topic/protobuf/VX5qEmTW3y0
The ObjC side of https://github.com/google/protobuf/issues/272
2017-06-06 10:44:14 -04:00
Thomas Van Lenten
516a81a424
Merge pull request #3190 from thomasvl/objc_IllegalZeroFieldNum
...
Properly error on a tag with field number zero.
2017-06-06 10:41:04 -04:00
Thomas Van Lenten
ecc0f54127
Properly error on a tag with field number zero.
2017-06-06 10:14:41 -04:00
Adam Cozzette
656dedbf07
Merge pull request #3157 from yeswalrus/fix-version-check
...
Fix CMake version check
2017-06-05 14:19:23 -07:00
Paul Yang
6f325805c0
Add new file option php_namespace. ( #3162 )
...
* Add new file option php_namespace.
Use this option to change the namespace of php generated classes.
Default is empty. When this option is empty, the package name will be
used for determining the namespace.
* Uncomment commented tests
* Revert gdb test change
* Update csharp descriptor.
* Add test for empty php_namespace.
2017-06-05 00:10:18 -07:00
Walter Gray
df3f8cf6dd
fix check_and_save_build_option not correctly exporting build options
2017-06-02 19:59:03 -07:00
Walter Gray
0336770801
add protobuf_generate function, allows use of target_sources where available
2017-06-02 19:57:08 -07:00
Adam Cozzette
e9c15d601e
Ensure that for Java, imports of .proto files with empty packages works
...
This fixes a compiler bug that caused a Java syntax error when one .proto file
would import another one with an empty package and java_package. This fixes
issue #3114 .
2017-06-02 13:45:57 -07:00
Thomas Van Lenten
fbaad3617f
Merge pull request #3169 from dmaclach/master
...
Optimize GPBDictionary.m codegen to reduce size of library
2017-06-01 15:34:00 -04:00
Thomas Van Lenten
63a97289dc
Merge pull request #3170 from thomasvl/int64_map_issue
...
Fix some cases of reading of 64bit map values.
2017-06-01 14:27:24 -04:00
Thomas Van Lenten
46f36d79a2
Fix some cases of reading of 64bit map values.
...
Fixes https://github.com/google/protobuf/issues/3164 .
2017-06-01 14:25:45 -04:00
Dave MacLachlan
ea43e0c5e8
Optimize GPBDictionary.m codegen to reduce size of overall library by 46K per architecture.
2017-06-01 10:28:06 -07:00
Yun Peng
0b059a3d8a
Refactor cc options in BUILD file for Windows
...
Don't put gcc warnings options in copts, so that protobuf is able to
build by MSVC toolchain without python wrappers.
2017-05-31 14:01:30 +02:00
Walter Gray
a183a0df61
Fix the check_and_save_build_option macro never evaluating to true
2017-05-30 15:04:11 -07:00
Walter Gray
faa53989cb
fix check_and_save_build_option not correctly exporting build options
2017-05-30 15:04:11 -07:00
Walter Gray
ae85cb8ef3
Fix find module not working when no version number was given
2017-05-30 15:04:11 -07:00
Wayne Zhang
d6470abef1
not to use std::random_device for map.Seed(). ( #3133 )
...
* not to use std::random_device for map.Seed().
* remove include random
2017-05-30 11:18:23 -07:00
Adam Cozzette
e222997c5b
Merge pull request #3149 from KarrokDC/master
...
Add headers as part of cmake project generation
2017-05-30 09:27:21 -07:00
Paul Yang
1e86ef4e9f
Oneof field should be serialized even it's equal to default. ( #3153 )
2017-05-29 22:04:20 -07:00
Paul Yang
282fb9e68e
Add ARRAY for reserved name ( #3150 )
2017-05-29 15:30:47 -07:00
Brent Shaffer
4d5daf4ef9
Adds fluent setters for PHP ( #3130 )
2017-05-29 10:39:14 -07:00
Dennis Cappendijk
4eb02fe31e
Add headers as part of cmake project
...
tested only on windows with visual studio 2015 as generator
2017-05-29 17:34:08 +02:00
Adam Cozzette
4674cc7c07
Merge pull request #3113 from phst/master
...
Improve fix for https://github.com/google/protobuf/issues/295
2017-05-26 09:50:18 -07:00
John Brock
95749d5af6
update csharp README and fix .NET 3.5 build error
2017-05-25 20:20:31 +01:00
Jon Skeet
0b07d7eb9e
Add IncludeSource in csproj as per review comments
2017-05-24 09:07:33 +01:00
Jon Skeet
f26e8c2ae0
Convert C# projects to MSBuild (csproj) format
...
This has one important packaging change: the netstandard version now
depends (implicitly) on netstandard1.6.1 rather than on individual
packages. This is the preferred style of dependency, and shouldn't
affect any users - see http://stackoverflow.com/questions/42946951
for details.
The tests are still NUnit, but NUnit doesn't support "dotnet test"
yet; the test project is now an executable using NUnitLite. (When
NUnit supports dotnet test, we can adapt to it.)
Note that the project will now only work in Visual Studio 2017 (and
Visual Studio Code, and from the command line with the .NET Core
1.0.0 SDK); Visual Studio 2015 does *not* support this project file
format.
2017-05-24 09:07:33 +01:00
brian-peloton
40da1ed572
Removing undefined behavior and compiler warnings ( #1315 )
...
* Comment out unused arguments.
These last few are all that's needed to compile with -Wunused-arguments.
* Fix missing struct field initializer.
With this fix, everything compiles with -Wmissing-field-initializers.
* Add support for disabling unaligned memory accesses on x86 too.
ubsan doesn't like these because they are technically undefined
behavior, so -DGOOGLE_PROTOBUF_DONT_USE_UNALIGNED will disable them easily.
* Avoid undefined integer overflow.
ubsan catches all of these.
2017-05-23 16:22:57 -07:00
Feng Xiao
ba987a7e2d
Merge pull request #3126 from mbrukman/fix-readme-formatting
...
Fix Markdown formatting in README.
2017-05-23 14:04:08 -07:00
Feng Xiao
c5125f371d
Merge pull request #3117 from KarrokDC/master
...
Show help if protoc is called without any arguments
2017-05-23 13:39:56 -07:00
Thomas Van Lenten
d2c1865374
Merge pull request #3103 from sergiocampama/perf
...
Adds serial and parallel parsing tests.
2017-05-23 15:14:08 -04:00
Sergio Campama
2465ae7e23
Adds serial and parallel parsing tests to check if parallel parsing is faster than serial parsing, which it should
2017-05-23 11:04:35 -04:00
Misha Brukman
677557009c
Fix Markdown formatting in README.
...
Fix indentation to enable code formatting for sample command lines to set them
visually apart from the surrounding text, and make it easy to copy-paste.
Add code formatting for env vars, paths, binary and library names for
readability.
Hide URLs behind text for readability and conciseness.
2017-05-23 10:39:40 -04:00
Philipp Stephani
979107ec7a
Improve fix for https://github.com/google/protobuf/issues/295
...
Requiring the legacy ‘cl’ library unconditionally pollutes the namespace.
Instead, require it only when compiling and in known-broken versions.
This is almost the same patch that opoplawski suggested, except that I removed
the test for ‘emacs-repository-version’, which isn’t defined in Emacs 24.3.
2017-05-23 15:27:29 +02:00
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.'
2017-05-22 16:21:48 +02:00
Thomas Van Lenten
8546620610
Merge pull request #3104 from thomasvl/ext_registry_copy
...
Fix ExtensionRegistry copying and add tests.
2017-05-17 15:05:20 -04:00
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.
2017-05-17 14:51:02 -04:00
Joshua Haberman
b28617b813
Merge pull request #2815 from devwout/ruby_json_emit_defaults
...
Ruby version optionally emits default values in JSON encoding.
2017-05-15 08:05:27 -07:00
Andreas Eger
78cb804063
change test for nanosecond accurate timestamps
2017-05-13 22:20:45 +02:00
Andreas Eger
ad203bcb2b
fix floating point accuracy problem in Timestamp#to_f
...
`.quo` return the most exact devision which fixes accuracy problems for the
timestamp coercion
2017-05-13 21:38:15 +02:00
Łukasz Strzałkowski
82e50ba5c3
Workaround the docker bug when compiling artifacts
...
This is a workaround (https://github.com/moby/moby/issues/10180#issuecomment-190429512 ) the docker issue (https://github.com/moby/moby/issues/10180 ) which breaks protoc-artifacts build process with following error
```Rpmdb checksum is invalid: dCDPT(pkg checksums): devtoolset-1.1-elfutils.x86_64 0:0.154-6.el6 - u
The command '/bin/sh -c yum clean all && yum install -y devtoolset-1.1 devtoolset-1.1-libstdc++-devel devtoolset-1.1-libstdc++-devel.i686' returned a non-zero code: 1```
https://github.com/moby/moby/issues/10180#issuecomment-190429512
2017-05-11 14:04:34 -07:00
Feng Xiao
455b61c6b0
Merge pull request #3062 from Oppen/master
...
Workaround gcc < 4.5.0 bug
2017-05-08 11:19:02 -07:00
Paul Yang
25abd7b7e7
Add compatibility test for php. ( #3041 )
...
* Add compatibility test for php.
* Revert API incompatible change.
2017-05-05 11:14:11 -07:00
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>
2017-05-05 14:02:49 -03:00
Adam Cozzette
483396068d
Merge pull request #3043 from acozzette/javascript
...
Removed mention of Buffer in byteSourceToUint8Array
2017-05-04 12:21:14 -07:00
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.
2017-05-02 17:25:54 -07:00
Adam Cozzette
a64497c709
Merge pull request #2873 from myitcv/fix_1562
...
Javascript: use goog.crypt.byteArrayToString instead of String.fromCharCode.apply
2017-05-02 16:57:34 -07:00
Paul Jolly
bcb3506641
Fix #1562 by using goog.crypt.byteArrayToString instead of String.fromCharCode.apply
2017-05-02 13:40:42 +01:00
Adam Cozzette
2f4489a3e5
Merge pull request #3024 from acozzette/merge-3.3-to-master
...
Merged 3.3.x branch to master
2017-05-01 10:58:38 -07:00
makdharma
286f059842
added "objectivec" build target ( #3033 )
...
This target will be used by gRPC iOS bazel build system.
2017-05-01 09:49:26 -07:00
Adam Cozzette
9053033a50
Merge remote-tracking branch 'remotes/google/3.3.x' into merge-3.3-to-master
2017-04-27 14:55:53 -07:00
Adam Cozzette
067b1eec3b
Merge pull request #3023 from acozzette/min
...
Fully qualify min as std::min in wire_format_lite.cc
2017-04-27 13:56:27 -07:00
Adam Cozzette
07c284f86c
Fully qualify min as std::min in wire_format_lite.cc
2017-04-27 11:35:59 -07:00
Adam Cozzette
cbd08cb7d1
Merge pull request #3018 from acozzette/using-namespace-std
...
Remove "using namespace std" from stubs/common.h
2017-04-26 13:56:24 -07:00
Feng Xiao
54d1701f6c
Merge pull request #3015 from buchgr/unused-consts
...
Remove unused constants.
2017-04-26 11:09:42 -07:00
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.
2017-04-26 08:25:01 -07:00
Jakob Buchgraber
b1c75bc742
Remove unused constants.
...
When compiling with -Werror, -Wunused-const-variable the build fails due
to those two constants not being used.
2017-04-25 12:49:00 +02:00
Feng Xiao
4920e27a48
Merge pull request #3008 from postmasters/patch-1
...
Add a link to dart-lang/protobuf
2017-04-24 13:09:48 -07:00
postmasters
4777574a6c
Add a link to dart-lang/protobuf
2017-04-24 08:46:56 -07:00
Feng Xiao
14afc3fd41
Merge pull request #2992 from xiaogaozi/patch-1
...
Add gogoprotobuf to third-party add-ons list
2017-04-20 11:12:02 -07:00
Changjian Gao
f85eecb585
Add gogoprotobuf to third-party add-ons list
2017-04-20 19:53:11 +08:00
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
2017-04-19 11:28:54 -07:00
Feng Xiao
0a93f67055
Merge pull request #2987 from konsumer/patch-1
...
Add node-protoc-plugin to "Other Utilities"
2017-04-19 10:30:42 -07:00
Adam Cozzette
594f810081
Merge pull request #2982 from mda000/issue2972
...
Simplify the Element dtor invocation when freeing elements in InternalDeallocate
2017-04-19 08:34:54 -07:00
David Konsumer
3055a02125
Add node-protoc-plugin to "Other Utilities"
2017-04-18 18:58:21 -07:00
Thomas Van Lenten
a3873cafae
Merge pull request #2985 from thomasvl/class_check_tweaks
...
Tighten up class usage/checks.
2017-04-18 13:28:41 -04:00
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.
2017-04-18 13:10:52 -04:00
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.
2017-04-17 10:59:31 -07:00
Feng Xiao
8aa927f08f
Merge pull request #2950 from anuraaga/dev_rag
...
Allow unknown values for Map put*Value methods just like every other …
2017-04-12 10:42:18 -07:00
Anuraag Agrawal
bf483dfb99
Allow unknown values for Map put*Value methods just like every other enum mutation method.
2017-04-07 14:50:52 +09:00
Adam Cozzette
efec757104
Merge pull request #2937 from anuraaga/dev_rag2
...
Fix duplicate fields test and Any test. The repeated version is passing because nu…
2017-04-06 16:27:54 -07:00
Jie Luo
69bfde22b6
Merge pull request #2922 from anandolee/master
...
Use PyUnicode_AsEncodedString() instead of PyUnicode_AsEncodedObject()
2017-04-05 16:34:54 -07:00
Anuraag Agrawal
09328db1ff
Fix test for unexpected type url when parsing Any. Currently, the test fails since TestAllTypes doesn't have field '@type', which is the same test as testUnknownFields.
2017-04-05 17:44:26 +09:00
Adam Cozzette
139fd0a1c5
Merge pull request #2933 from mharrend/patch-1
...
Adding default shell env to allow non-default compilers
2017-04-04 09:34:06 -07:00
Adam Cozzette
37c7b766b3
Merge pull request #2930 from anuraaga/dev_rag
...
Fix error message for int64 parse failure.
2017-04-04 09:31:14 -07:00
Anuraag Agrawal
662f97841e
Fix duplicate fields test. The repeated version is passing because null values in a repeated field are rejected and not testing what it wanted to. Also adds a oneof version that verifies the case of oneof fields of different names (currently only same name check seems to be tested).
...
Also fix spelling of a test.
2017-04-04 17:27:53 +09:00
Adam Cozzette
cc3fa2ec80
Merge pull request #2676 from acozzette/js-compatibility-tests
...
JS compatibility tests
2017-04-03 14:39:26 -07:00
Adam Cozzette
10ea25133d
Added compatibility tests for version 3.0.0
2017-04-03 12:55:20 -07:00
Adam Cozzette
7e5f980508
Split test protos into two groups
2017-04-03 12:55:20 -07:00
Marco A. Harrendorf
dd04ffb923
Adding default shell env
...
I am adding default shell environment, so that protobuf compilation makes use of set
LD_LIBRARY_PATH and so on.
In this way, also non-default gcc installations (e.g. not in /usr/lib) can be used to compile protobuf.
This would fix the following issue:
https://github.com/bazelbuild/bazel/issues/2515
2017-04-03 17:01:36 +02:00
Anuraag Agrawal
58373fa160
Fix error message for int64 parse error.
2017-04-03 17:35:42 +09:00
Anuraag Agrawal
11c902ea2e
Add IntelliJ project to gitignore for java project.
2017-04-03 17:32:08 +09:00
Jie Luo
c348d46a9b
Use PyUnicode_AsEncodedString() instead of PyUnicode_AsEncodedObject()
2017-03-29 15:54:06 -07:00
Ewout
aec0711075
Ruby tests compare parsed JSON instead of raw JSON
2017-03-17 10:28:17 +01:00
Ewout
008dc92c9d
Ruby version optionally emits default values in JSON encoding.
...
Usage: Message.encode_json(m, emit_defaults: true)
Message fields that are nil will still not appear in the encoded JSON.
2017-03-09 20:47:56 +01:00
Yunlong Liu
ef61a9d313
add a key to ctx.action dict to prevent protoc losing the default env
2016-12-16 00:46:21 -05:00