aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
| | | * | | | | Fix JSON formatting to always emit fields in field order, including oneofsGravatar Jon Skeet2015-07-31
| | |/ / / / / | |/| | | | |
| * | | | | | Fix trivial bug in field orderings.Gravatar Jon Skeet2015-07-31
|/ / / / / / | | | | | | | | | | | | | | | | | | (Shows the benefit of unit testing even code "too simple to fail"...)
* | | | | | Merge pull request #666 from jskeet/wkt-timesGravatar Jon Skeet2015-07-31
|\ \ \ \ \ \ | | | | | | | | | | | | | | Well-known type operations for Timestamp and Duration
| * | | | | | Well-known type operations for Timestamp and Duration (but not JSON formatting).Gravatar Jon Skeet2015-07-31
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | While I've provided operators, I haven't yet provided the method equivalents. It's not clear to me that they're actually a good idea, while we're really targeting C# developers who definitely *can* use the user-defined operators.
* | | | | | Merge pull request #665 from jskeet/types_fieldGravatar Jon Skeet2015-07-31
|\ \ \ \ \ \ | | | | | | | | | | | | | | Handle field names of "descriptor" and "types".
| * | | | | | Handle field names of "descriptor" and "types".Gravatar Jon Skeet2015-07-31
|/ / / / / /
| * | | | | Fix build failure on Windows when Unicode build is enabled.Gravatar Yohei Yukawa2015-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow up CL for e9abc404df99ef85d3e25aaaccd4aa83e381, which breaks build when UNICODE macro is defined. protoc has explicitly called MBCS version of APIs / funcsions rather than UTF-16 (wchar_t) version of them regardless of UNICODE macro definition (and it indeed works as expected). Hence it makes sense to call GetModuleFileNameA explicitly.
* | | | | | Merge pull request #664 from jtattermusch/expose_umbrella_class_name2Gravatar Jan Tattermusch2015-07-30
|\ \ \ \ \ \ | | | | | | | | | | | | | | Expose GetUmbrellaClassName in csharp_names.h
| * | | | | | refactor umbrella class helpersGravatar Jan Tattermusch2015-07-30
|/ / / / / /
* | | | | | Merge pull request #632 from google/csharp-experimentalGravatar Jan Tattermusch2015-07-30
|\ \ \ \ \ \ | | | | | | | | | | | | | | Merge C# proto3 from csharp-experimental to master
| * \ \ \ \ \ Merge pull request #660 from jskeet/throw-on-nullGravatar Jan Tattermusch2015-07-30
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Throw on null for string/bytes single fields
| | | | * | | | Move pthread include.Gravatar Tom Hughes2015-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on pull request feedback. See commit 60c5222 for why the pthread header is necessary.
| | * | | | | | Generated code for previous commit.Gravatar Jon Skeet2015-07-30
| | | | | | | |
| | * | | | | | Prohibit null values for string/bytes fields in generated code.Gravatar Jon Skeet2015-07-30
| | | | | | | |
| | * | | | | | Rename ThrowHelper to Preconditions and make it public - we'll want to use ↵Gravatar Jon Skeet2015-07-30
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it from the generated code soon. Additionally, change it to return the value passed, and make it generic with a class constraint. A separate method doesn't have the class constraint, for more unusual scenarios.
| * | | | | | Merge pull request #659 from jskeet/fix-frozenGravatar Jon Skeet2015-07-30
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Remove a few hangers-on from frozenness.
| | * | | | | | Generated code from previous commit.Gravatar Jon Skeet2015-07-30
| | | | | | | |
| | * | | | | | More freezing tidy-up; generated code in next commit.Gravatar Jon Skeet2015-07-30
| | | | | | | |
| | * | | | | | Minor bits of left-over frozenness.Gravatar Jon Skeet2015-07-30
| |/ / / / / /
| * | | | | | Merge pull request #654 from jtattermusch/csharp_hide_freezeGravatar Jon Skeet2015-07-30
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Remove the C# Freeze API
| * \ \ \ \ \ \ Merge pull request #655 from jtattermusch/csharp_expose_more_info_about_serviceGravatar Jon Skeet2015-07-30
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Expose IsClientStreaming and IsServerStreaming in MethodDescriptor
| | | * | | | | | regenerate codeGravatar Jan Tattermusch2015-07-29
| | | | | | | | |
| | | * | | | | | remove the freeze APIGravatar Jan Tattermusch2015-07-29
| | |/ / / / / / | |/| | | | | |
| | * | | | | | add IsClientStreaming and IsServerStreaming to MethodDescriptorGravatar Jan Tattermusch2015-07-29
| |/ / / / / /
* | | | | | | Merge pull request #652 from TeBoring/objectivecGravatar Paul Yang2015-07-29
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Move the definition of GOOGLE_FALLTHROUGH_INTENDED to port.h
| | | | | | | * Merge branch 'master' of https://github.com/zsurocking/protobufGravatar Xiao Hang2015-07-29
| | | | | | |/| | | | | | |/|/
| | | | | * | Generate a package name suffix ".nano" for nano messagesGravatar Xiao Hang2015-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also introducing an option javanano_use_deprecated_package to allow users to disable the suffix
| * | | | | | Move the definition of GOOGLE_FALLTHROUGH_INTENDED to port.hGravatar teboring2015-07-29
| | |_|_|/ / | |/| | | |
| | | | * | Remove unused private fields.Gravatar Tom Hughes2015-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes compilation when -Wunused-private-field is enabled (e.g., when using -Wall).
* | | | | | Merge pull request #651 from litinglin/masterGravatar Feng Xiao2015-07-29
|\ \ \ \ \ \ | |/ / / / / |/| | | | | On x64 MSVC platform, macro PROTOBUF_LITTLE_ENDIAN won't be set
| | | | * | Fix compilation error when using C++11.Gravatar Tom Hughes2015-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue occurs when the template type deduction results in NodeType being const. Shortened version of compile error: no matching function for call to 'operator new' new (p) NodeType(std::forward<Args>(args)...); candidate function not viable: no known conversion from 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > *' to 'void *' for 2nd argument; take the address of the argument with & inline __attribute__ ((__visibility__("hidden"), __always_inline__)) void* operator new (std::size_t, void* __p) noexcept {return __p;}
| * | | | | Windows is always little-endian.Gravatar LitingLin2015-07-30
| | | | | |
| * | | | | A bug about PROTOBUF_LITTLE_ENDIAN remain undefined on MSVC x64Gravatar LitingLin2015-07-30
|/ / / / /
| * | | | Merge pull request #638 from jskeet/portableGravatar Jan Tattermusch2015-07-29
| |\ \ \ \ | | | | | | | | | | | | First attempt at using profile 259 for Google.Protobuf.
| | | | * | Set cmake include directories on library targets.Gravatar Tom Hughes2015-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmake targets that depend on these libraries will automatically have these include directories.
| | | | * | Include pthread.h when using GOOGLE_PROTOBUF_NO_THREADLOCAL.Gravatar Tom Hughes2015-07-28
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | When GOOGLE_PROTOBUF_NO_THREADLOCAL is defined, classes that depend on pthread functions are included (such as ThreadLocalStorage).
| | * | | Update the readme file to indicate supported platformsGravatar Jon Skeet2015-07-28
| | | | |
| | * | | Humbug - previous commit didn't include project file changes :(Gravatar Jon Skeet2015-07-28
| | | | |
| | * | | Tweaks to Profile259 supportGravatar Jon Skeet2015-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix nupec paths - Remove an obsolete part of the JSON build - Add documentation and tests to reflection extension methods, and improve implementations
| | | | * Generate a package name suffix ".nano" for nano messagesGravatar Xiao Hang2015-07-27
| |_|_|/ |/| | | | | | | | | | | Also introducing an option javanano_use_deprecated_package to allow users to disable the suffix
* | | | Merge pull request #635 from TeBoring/objectivecGravatar Paul Yang2015-07-27
|\ \ \ \ | | | | | | | | | | Update minimal ios and osx version for deployment.
* \ \ \ \ Merge pull request #642 from nico/unusedGravatar Feng Xiao2015-07-27
|\ \ \ \ \ | |_|_|_|/ |/| | | | Remove two unused functions.
| | * | | Update minimal ios and osx version for deployment.Gravatar Bo Yang2015-07-27
| |/ / / |/| | |
| | | * First attempt at using profile 259 for Google.Protobuf.Gravatar Jon Skeet2015-07-27
| | |/ | | | | | | | | | | | | | | | | | | | | | This requires .NET 4.5, and there are a few compatibility changes required around reflection. Creating a PR from this to see how our CI systems handle it. Will want to add more documentation, validation and probably tests before merging. This is in aid of issue #590.
| * / Remove two unused functions.Gravatar Nico Weber2015-07-25
|/ /
| * Merge pull request #641 from jtattermusch/csharp_descriptor_databaseGravatar Jon Skeet2015-07-25
| |\ | | | | | | Expose original binary data for file descriptor
| | * expose original binary data for filedescriptorGravatar Jan Tattermusch2015-07-24
| |/
| * Merge pull request #634 from jskeet/reflection2Gravatar Jon Skeet2015-07-23
| |\ | | | | | | Reflection part 2 - for discussion
| | * Implemented Jan's suggestion of FieldCollection, replacing ↵Gravatar Jon Skeet2015-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FieldAccessorCollection. I think Jan was actually suggesting keeping both, but that feels redundant to me. The test diff is misleading here IMO, because I wouldn't expect real code using reflection to use several accessors one after another like this, unless it was within a loop. Evidence to the contrary would be welcome :) This change also incidentally goes part way to fixing the issue of the JSON formatter not writing out the fields in field number order - with this change, it does except for oneofs, which we can fix in a follow-up change. I haven't actually added a test with a message with fields deliberately out of order - I'm happy to do so though. It feels like it would make sense to be in google/src/protobuf, but it's not entirely clear what the rules of engagement are for adding new messages there. (unittest_proto3.proto?)
| | * Added newlinesGravatar Jon Skeet2015-07-22
| | |