- Dec 13, 2018
-
-
Dave MacLachlan authored
By putting the NSAssert behind a DEBUG flag we aren't copying filepaths into release builds.
-
Adam Cozzette authored
Updated Bazel workspace in examples/ to handle zlib dependency
-
- Dec 12, 2018
-
-
Hao Nguyen authored
* Create a script to help update the version automatically * Update comment in the update_version script * Update script to fix special handling for common.h and Makefile.am * Revise update_version script to only update the other constants in common.h if it is a major release. Reset Makefile.am version to 17:0:0
-
- Dec 11, 2018
-
-
Adam Cozzette authored
To make this work, I created a symlink to the existing zlib.BUILD file. Maybe there is a better way to do this, but this is at least a quick workaround to fix the build.
-
Hao Nguyen authored
Make Protobuf compatible with C# 6
-
Paul Yang authored
-
Cody Schroeder authored
* Add Bazel config for optional zlib support * Add hard dependency on zlib * Remove unused config_setting
-
- Dec 10, 2018
-
-
Paul Yang authored
-
Hao Nguyen authored
-
Joshua Haberman authored
Windows: install missing headers
-
Hao Nguyen authored
Fix TimestampPartial operator == overload implementation: Cannot call == inside it, otherwise it would cause stack overflow
-
Adam Cozzette authored
fix: cmake install
-
Hao Nguyen authored
-
Abdel Younes authored
-
- Dec 05, 2018
-
-
Thomas Van Lenten authored
Just like fields, some extension fieldnames can be named such that they appear to have meaning to ARC. Add the annotation to the compiler will get things correct. Add a bunch of extensions to allow inspection on generation to ensure things are correct.
-
Markus Heß authored
-
Thomas Van Lenten authored
This should help the Swift compiler if these apis are used because it changes the codegen to not need copies/retains.
-
Thomas Van Lenten authored
This should help the Swift compiler if these apis are used because it changes the codegen to not need copies/retains.
-
- Dec 03, 2018
-
-
Stephane Moore authored
For deprecated fields, identify the deprecated field and source file in the deprecation message. For deprecated files, identify the deprecated file in deprecation messages of generated interfaces. This additional context in deprecation messages will help provide developers with more context which could help them seek recommended alternatives to deprecated interfaces.
-
- Nov 28, 2018
-
-
Paul Yang authored
* Add kokoro build for python source package * Use libc++ for xcode 10 (#5303) The xcode 10 removes the deprecated libstdc++ library. We could set "MACOSX_DEPLOYMENT_TARGET" to "10.9" to use libc++ instead. * Add python 3.7 build * Add build for python 3.7 on linux and windows * Remove unused source build * Add comment * Fix $MACOSX_DEPLOYMENT_TARGET mismatch * Fix MACOSX_DEPLOYMENT_TARGET mismatch * Add missing import for sysconfig * Add missing imports
-
michaelbausor authored
* adds string-to-int and int-to-string methods to enums * remove check for valueToName property in EnumTrait * Remove unused imports * Update to avoid using EnumTrait * Remove EnumTrait * Update enum types * Move name and value methods into generated classes * Remove functions from GPBUtil * Test well known enums * Implement enum value to/from name in c extension * Only generate use statement when namespace is present
-
- Nov 27, 2018
-
-
Adam Cozzette authored
Avoid octal constants in strutil.cc
-
Dave MacLachlan authored
In some cases proto files that want/need to use the objc_class_prefix option have types that already have the prefix on a subset of their names. In this case we don't want to duplicate the prefix. Added tests for this (and prefixes in general).
-
- Nov 26, 2018
-
-
Brian Silverman authored
The code now matches what the comment above it actually generates. Also tweak that code so it actually compiles for me, and to avoid embedding /* and */ in comments because that's generally a reasonable thing to trigger warnings.
-
Adam Cozzette authored
Add overrides in C++ code.
-
giokara-oqton authored
* fix json_format.ParseDict modifies input * added unit test * fix naming
-
- Nov 21, 2018
-
-
Adam Cozzette authored
Update add_person.dart
-
- Nov 20, 2018
-
-
Jonathan White authored
Fixed typo in a function name.
-
- Nov 19, 2018
-
-
Joshua Haberman authored
Mostly fix Sun Studio configuration using SunCC compiler (GH #5141)
-
Mikhail Morgunov authored
-
Stephane Moore authored
Instead of using DEPRECATED_ATTRIBUTE from AvailabilityMacros.h, we should introduce a Google-specific Objective-C protobuf deprecation annotation. This helps address IWYU issues with using DEPRECATED_ATTRIBUTE and also enables allows clients to redefine the macro to treat protobuf warnings differently than other types of warnings (e.g., treating protobuf deprecation warnings as errors or ignoring them).
-
Joshua Haberman authored
Some changes to the ObjC code generator to support importing into Google.
-
Thomas Van Lenten authored
For messages that have multiple extension ranges, this will improve things by avoiding repeated work. For messages with a single range, it should be a wash. - Sort the list of set extensions once during serialization and reuse the list. - Break out of the serialization loop as soon as the loop has moved pasted at accepted range for field ids.
-
- Nov 18, 2018
-
-
Arun Olappamanna Vasudevan authored
-
Toby Hsieh authored
* Fix most of the unused variable warnings in Ruby tests * Add encoded_field_b back in tests/common_tests.rb
-
- Nov 15, 2018
-
-
dyyap authored
* Update README.md
-
Jon Brandvein authored
* Migrate to new `ctx.actions` API This allows building with --incompatible_new_actions_api. * Fix typo
-
Josh Haberman authored
- removed use of GOOGLE_DISALLOW_EVIL_CONSTRUCTORS in favor of deleting them C++11 style. - removed forward declarations of protobuf core types. - ensured that namespaces "google" and "protobuf" are always opened/closed together.
-
Adam Cozzette authored
Make sure to install stubs/strutil.h
-
- Nov 14, 2018
-
-
Adam Cozzette authored
Generated code now pulls in this header transitively, so it needs to be installed.
-