aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix default instance destructorJisi Liu2016-10-1014-13/+112
|
* Bump library version to 11Bo Yang2016-10-101-2/+2
|
* Add back removed descriptor field.Bo Yang2016-10-103-137/+230
|
* Fixed quadratic behavior in JSPB deserialization of repeated fields (#2117) ↵Adam Cozzette2016-10-101-7/+3
| | | | | | | | | (#2146) Currently deserialization of a non-packed binary repeated field is quadratic in the number of elements, because each time we parse a new element we copy over all elements we have parsed so far. This CL fixes the performance problem by having the generated deserialization code just call addX() instead of using getX() and setX().
* Bump library veriosn to 3.1Bo Yang2016-10-1014-30/+30
|
* Fix bugs for internal integration.Bo Yang2016-10-101-1/+1
|
* Fix bugs for internal integration.Bo Yang2016-10-101-0/+1
|
* Integrate internal changesBo Yang2016-10-10153-5232/+9436
|
* Silence compile warnings in bazelAndy Hochhaus2016-10-092-9/+17
|
* Merge pull request #2192 from google/3.0.xJisi Liu2016-09-2713-13/+13
|\ | | | | Merge 3.0.x into master.
| * Update generated files.Jisi Liu2016-09-1412-12/+12
| |
| * Fix the version number for 3.0.2Jisi Liu2016-09-131-1/+1
| |
* | Fixes static analyzer issues from xcode.Sergio Campama2016-09-205-4/+7
| |
* | Merge pull request #2112 from pherl/mergeJisi Liu2016-09-1528-8/+153
|\ \ | | | | | | Merge 3.0.x into master
| * | Merge remote-tracking branch 'origin/3.0.x' into mergeJisi Liu2016-09-1428-8/+153
| |\|
| | * Fix #2032 unused parameter 'deterministic'Khing2016-09-0813-0/+55
| | | | | | | | | | | | | | | | | | Parameter deterministic is unused in InternalSerializeWithCachedSizesToArray(), which generates unused parameter warning in every message.
| | * Merge pull request #1862 from pherl/3.0.0-GAJisi Liu2016-09-023-14/+2
| | |\ | | | | | | | | Cherry pick c# changes from master
| | | * Remove legacy_enum_values flag for GA.Jon Skeet2016-07-273-14/+2
| | | |
| | * | Fixes extra whitespace on generated comments. (#1950)Sergio Campamá2016-08-171-2/+10
| | | | | | | | | | | | | | | | Fixes extra whitespace on generated comments.
| | * | Adds support for appledoc in generated code. (#1928)Sergio Campamá2016-08-179-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
| | * | Merge pull request #1905 from pherl/fixdocJisi Liu2016-08-0215-8/+98
| | |\ \ | | | | | | | | | | Add and fix C++ runtime docs
| | | * | Add and fix C++ runtime docsJisi Liu2016-08-0215-8/+98
| | | |/
* | | | Merge pull request #2123 from thomasvl/objc_better_versioning_take2Thomas Van Lenten2016-09-151-10/+14
|\ \ \ \ | | | | | | | | | | Update the ObjC version checks to support a min and current version.
| * | | | Update the ObjC version checks to support a min and current version.Thomas Van Lenten2016-09-151-10/+14
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Capture the version used to generated. - Check at compile time and runtime that generated code isn't from a newer version, also check that the min version required is also supported. - Keep the old constants/macros/functions to special case the last version that was working so those generated sources still work until we decide otherwise.
* / / / Check in php implementation. (#2052)Paul Yang2016-09-154-6/+844
|/ / / | | | | | | | | | | | | This pull request includes two implementation: C extension and PHP package. Both implementations support encode/decode of singular, repeated and map fields.
* | | 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