aboutsummaryrefslogtreecommitdiff
path: root/src/google
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2044 from wychen/Win32ANSIFeng Xiao2016-09-093-14/+19
|\ | | | | Fix Win32 error messages on Unicode build
| * Fix Win32ErrorMessage on Unicode buildWei-Yin Chen (陳威尹)2016-08-311-6/+6
| |
| * Add test for Win32ErrorMessageWei-Yin Chen (陳威尹)2016-08-311-0/+5
| |
| * Support Unicode build on WindowsWei-Yin Chen (陳威尹)2016-08-311-8/+8
| |
* | Merge pull request #2090 from guoxiao/findFeng Xiao2016-09-091-0/+1
|\ \ | | | | | | include std::find()
| * | include std::find()Guo Xiao2016-09-081-0/+1
| | |
* | | Merge pull request #1970 from thomasvl/objc_any_helpersThomas Van Lenten2016-09-094-26/+62
|\ \ \ | | | | | | | | Objc any helpers
| * | | Add ObjC helpers for Any WKT.Thomas Van Lenten2016-09-084-26/+62
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Capture the ObjC prefix used when generating the the file. - Track the containing type on descriptors. - Mark descriptors where the message class name got a suffix added to it. - Expose a fullName property on Descriptors. - Add helpers for packing/unpacking Any messages. - Bump the ObjC runtime version number. Since we added methods and invoke them in the generated code, ensure the code is running against a matching version. Otherwise, someone could compile against headers, but run with a framework that is older and get unknown selector failures. This should trip clearer messaging. Fixes https://github.com/google/protobuf/issues/1674
* / / Support the -Wassign-enum compiler flag. (#2085)Sergio Campamá2016-09-086-8/+47
|/ / | | | | | | Support the -Wassign-enum compiler flag.
* | Fix #1955 clang-tidy warning misc-macro-parenthesesChih-Hung Hsieh2016-09-026-14/+14
| | | | | | | | | | clang-tidy gives warning "macro argument should be enclosed in parentheses" to macro ZR_, the "first" parameter.
* | Merge pull request #2045 from mike07026/masterFeng Xiao2016-09-022-1/+32
|\ \ | | | | | | fix #1342 cause by ownership issues
| * | detect invaild JSON encoding in bytes fieldmike070262016-09-011-23/+23
| | |
| * | detect invaild JSON encoding in bytes fieldmike070262016-09-011-0/+28
| | |
| * | fix #1342 cause by ownership issuesmike070262016-09-011-1/+4
| |/
* | Merge pull request #2053 from thomasvl/improve_root_registry_wiringThomas Van Lenten2016-09-021-31/+158
|\ \ | | | | | | Make Root's +extensionRegistry generation smarter.
| * | Make Root's +extensionRegistry generation smarter.Thomas Van Lenten2016-09-011-31/+158
| | | | | | | | | | | | | | | | | | | | | At generation time, walk the file's dependencies to see what really contains extensions so we can generate more minimal code that only links together the roots that provided extensions. Gets a bunch of otherwise noop code out of the call flow when the roots are +initialized.
* | | Merge pull request #2039 from khingblue/remove-unused-vectorJisi Liu2016-09-011-1/+0
|\ \ \ | |_|/ |/| | Remove unused vector
| * | Remove unused vectorKhing2016-08-311-1/+0
| | |
* | | Merge pull request #2024 from pstavirs/masterFeng Xiao2016-08-317-12/+8
|\ \ \ | |_|/ |/| | Restore New*Callback into google::protobuf namespace …
| * | Restore New*Callback into google::protobuf namespace since these are used by ↵Srivats P2016-08-297-12/+8
| |/ | | | | | | | | | | the service stubs code Fixes #1966
* | Speed up ObjC Generation with large dependency treesThomas Van Lenten2016-08-302-54/+14
| | | | | | | | | | | | | | | | | | Don't create FileGenerators for each dep. FileGenerators will deeply create all the message, enum, and field generators; but those aren't needed when doing the imports for dependencies. Instead directly generate the imports off the FileDescriptors so no extra objects are created. The only other use was when chaining together the *Roots for the file extension registry, but that also can be generate off the name of the FileDescriptor directly.
* | Support GenerateAll().Thomas Van Lenten2016-08-264-45/+85
|/ | | | | - Expect calls on GenerateAll() and not Generate(). - Parse the prefix validation file once, and then check all the files.
* Remove the compiler options from ImportWriter.Thomas Van Lenten2016-08-233-22/+42
| | | | | | | | Breaks the tie of the ImportWriter to the ObjC generation, allow grpc to use a different extension and to relay the values they need for these. - Pass in the two framework options to the ctor. - Pass in the header extension to AddFile.
* Move the ImportWriter into the ObjC Helpers.Thomas Van Lenten2016-08-234-205/+202
| | | | | grpc likely needs to provide the same sorta handling, so expose the class so the logic can be reused.
* Adds better support for protos without packages (#1979)Sergio Campamá2016-08-191-17/+51
| | | | Adds better support for protos without packages and more warnings on possible improvements
* Fixes extra whitespace on generated comments. (#1950)Sergio Campamá2016-08-121-2/+10
| | | | Fixes extra whitespace on generated comments.
* Adds support for appledoc in generated code. (#1928)Sergio Campamá2016-08-099-37/+74
| | | | | | Convert mapping of proto comments to appledoc format so they show up in Xcode and cocoadocs. Fixes https://github.com/google/protobuf/issues/1866
* close opened file descriptors properlyBryon Gloden, CISSP®2016-08-051-0/+1
|
* Merge pull request #1044 from mark-whiting/masterFeng Xiao2016-08-041-0/+18
|\ | | | | Adding missing generic gcc 64-bit atomicops.
| * Adding missing generic gcc 64-bit atomicops.Mark Whiting2015-12-141-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | When building for 64-bit big endian MIPS I was getting undefined references to the following four functions during linking. NoBarrier_AtomicIncrement NoBarrier_Store NoBarrier_AtomicExchange NoBarrier_Load Adding 64-bit versions of them to atomicops_internals_generic_gcc.h fixed the compilation issues.
* | Merge pull request #1893 from google/3.0.0-GAJisi Liu2016-07-293-13/+22
|\ \ | | | | | | Merge 3.0.0-GA into master
| * | Fixes traivs cpp build.Feng Xiao2016-07-262-5/+5
| | | | | | | | | | | | Remove the use of INT64_C/UINT64_C and add static_cast when neccessary.
| * | Merge branch 'master' into 3.0.0-GAJosh Haberman2016-07-253-13/+51
| |\ \ | | | | | | | | | | | | We need to pick up some of the last-minute Ruby fixes.
| * | | Define intX as standard exact-width integer types.Feng Xiao2016-07-252-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/google/protobuf/issues/823 Change-Id: I7f4c2bfcac2f81d8b34c030dd3d12ea02aaa2264
* | | | Be consistent with the use of CHECK()/ GOOGLE_CHECK().Clement Courbet2016-07-291-3/+4
| | | |
* | | | Remove legacy_enum_values flag for GA.Jon Skeet2016-07-273-14/+2
| |/ / |/| |
* | | Ruby: translate package names from snake_case -> PascalCase.Josh Haberman2016-07-251-6/+44
| | |
* | | Merge pull request #1837 from haberman/rubygencodenameJoshua Haberman2016-07-253-7/+7
|\ \ \ | |/ / |/| | Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
| * | Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.Josh Haberman2016-07-253-7/+7
| | | | | | | | | | | | | | | This brings us more into line with other langauges, and makes it more obvious when we are requiring protobuf generated code.
* | | Correctly sets the generate_for_named_framework option after parsing.Sergio Campama2016-07-231-8/+17
|/ / | | | | | | - Also updates the documentation with a bit more information.
* | Merge pull request #1829 from xfxyjwf/fixcppFeng Xiao2016-07-233-343/+6
|\ \ | | | | | | Fix sign-comparison warnings and add a test for that.
| * | Fix sign-comparison warnings in public header files.Feng Xiao2016-07-222-6/+6
| | |
| * | Add a test to catch sign-comparison warnings.Feng Xiao2016-07-221-337/+0
| | | | | | | | | | | | | | | | | | | | | | | | grpc build treates them as errors and such issues (protobuf change breaks grpc) has been reported repeatedly. For example: https://github.com/google/protobuf/issues/1813 Change-Id: I077c4557cf3effd5195f88802c38999b884edc30
* | | Fixes the parsing of the proto-framework map file.Sergio Campama2016-07-222-2/+3
|/ / | | | | | | | | - Fixes memory issue where the pointer to the StringPiece would be allocated on the stack, and would mangle the output. - Fixes length of the file name when parsing the comma separated files.
* | Merge pull request #1810 from xfxyjwf/versioningFeng Xiao2016-07-204-38/+57
|\ \ | | | | | | Versioning Java GeneratedMessage class
| * | Versioning Java GeneratedMessage.Feng Xiao2016-07-194-38/+57
| | | | | | | | | | | | Change-Id: Ib2bb5042deaabdf452d5be2ad1ce40d739ad8d1b
* | | restore old behavior for toObjectNikolai Vavilov2016-07-191-10/+18
| | |
* | | nitsNikolai Vavilov2016-07-191-32/+21
| | |
* | | Make implicit defaults consistent with explicit defaultsNikolai Vavilov2016-07-191-33/+44
|/ /
* | Merge pull request #1802 from haberman/jsmapbinJoshua Haberman2016-07-181-32/+70
|\ \ | | | | | | JavaScript: segregate references to binary functionality