Thomas Van Lenten
fbaad3617f
Merge pull request #3169 from dmaclach/master
...
Optimize GPBDictionary.m codegen to reduce size of library
8 years ago
Thomas Van Lenten
63a97289dc
Merge pull request #3170 from thomasvl/int64_map_issue
...
Fix some cases of reading of 64bit map values.
8 years ago
Thomas Van Lenten
46f36d79a2
Fix some cases of reading of 64bit map values.
...
Fixes https://github.com/google/protobuf/issues/3164 .
8 years ago
Dave MacLachlan
ea43e0c5e8
Optimize GPBDictionary.m codegen to reduce size of overall library by 46K per architecture.
8 years ago
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.
8 years ago
Walter Gray
a183a0df61
Fix the check_and_save_build_option macro never evaluating to true
8 years ago
Walter Gray
faa53989cb
fix check_and_save_build_option not correctly exporting build options
8 years ago
Walter Gray
ae85cb8ef3
Fix find module not working when no version number was given
8 years ago
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
8 years ago
Adam Cozzette
e222997c5b
Merge pull request #3149 from KarrokDC/master
...
Add headers as part of cmake project generation
8 years ago
Paul Yang
1e86ef4e9f
Oneof field should be serialized even it's equal to default. ( #3153 )
8 years ago
Paul Yang
282fb9e68e
Add ARRAY for reserved name ( #3150 )
8 years ago
Brent Shaffer
4d5daf4ef9
Adds fluent setters for PHP ( #3130 )
8 years ago
Dennis Cappendijk
4eb02fe31e
Add headers as part of cmake project
...
tested only on windows with visual studio 2015 as generator
8 years ago
Adam Cozzette
4674cc7c07
Merge pull request #3113 from phst/master
...
Improve fix for https://github.com/google/protobuf/issues/295
8 years ago
John Brock
95749d5af6
update csharp README and fix .NET 3.5 build error
8 years ago
lundefugl
aea4374393
Issue 3112: Object class with fully qualified name
8 years ago
Jon Skeet
0b07d7eb9e
Add IncludeSource in csproj as per review comments
8 years ago
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.
8 years ago
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.
8 years ago
Feng Xiao
ba987a7e2d
Merge pull request #3126 from mbrukman/fix-readme-formatting
...
Fix Markdown formatting in README.
8 years ago
Feng Xiao
c5125f371d
Merge pull request #3117 from KarrokDC/master
...
Show help if protoc is called without any arguments
8 years ago
Thomas Van Lenten
d2c1865374
Merge pull request #3103 from sergiocampama/perf
...
Adds serial and parallel parsing tests.
8 years ago
Sergio Campama
2465ae7e23
Adds serial and parallel parsing tests to check if parallel parsing is faster than serial parsing, which it should
8 years ago
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.
8 years ago
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.
8 years ago
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
Feng Xiao
bf04c83267
Merge pull request #3085 from scpeters/issue_3059
...
Use bool deterministic to suppress warning
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
Andreas Eger
78cb804063
change test for nanosecond accurate timestamps
8 years ago
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
8 years ago
Feng Xiao
49a56da93f
Update jenkins Java deps.
8 years ago
Feng Xiao
129a6e2aca
Revert guava depedency to version 19.
8 years ago
Steven Peters
969e0bece2
regenerate plugin and profile message code
8 years ago
Steven Peters
26f00119f2
Use bool deterministic to suppress warning
...
Fixes #3059 by re-applying 08b1c718
from #3087 .
8 years ago
Paul Yang
474cca52a3
Add LICENSE in package.xml ( #3083 )
8 years ago
Feng Xiao
13f532e472
Merge pull request #3074 from xfxyjwf/3.3.x
...
Update version number to 3.3.1
8 years ago
Ł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
8 years ago
Paul Yang
de6ae7d4eb
Fix upb load descriptor when no messages defined in prorto. ( #3080 )
8 years ago
Paul Yang
22319315df
Fix c extension for php7.1. ( #3077 )
8 years ago
Feng Xiao
757cc9f9da
Update C++ generated code.
8 years ago
Feng Xiao
58538ea919
Update version number to 3.3.1
8 years ago
Feng Xiao
c2154e124d
Merge pull request #3073 from xfxyjwf/3.3.x
...
Cherry-pick a bug fix: workaround gcc < 4.5.0 bug
8 years ago
Feng Xiao
d22493b6f6
Merge pull request #3064 from randomguy3/offset-type
...
Fix offset type macro to match the tables it is used in
8 years ago
Mario J. Rugiero
9b82fce7f1
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
Feng Xiao
455b61c6b0
Merge pull request #3062 from Oppen/master
...
Workaround gcc < 4.5.0 bug
8 years ago
randomguy3
e062f70c6d
Fix compilation
...
<: is a digraph, so a space is necessary for compilation on certain compilers.
8 years ago
Alex Merry
e82d81a884
Fix offset type to match the tables it is used in
8 years ago