aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp
Commit message (Collapse)AuthorAge
* Merge branch 'master' into 3.4.xGravatar Bo Yang2017-08-05
|\
* | Bump csharp versionGravatar Jisi Liu2017-08-02
| |
| * Update the comment on the message_type to cover what it should be.Gravatar Thomas Van Lenten2017-07-26
| |
* | Merge from masterGravatar Jisi Liu2017-07-25
| |
* | Update version number for 3.4.0Gravatar Jisi Liu2017-07-24
| |
| * Merge pull request #3281 from BSBandme/ConformanceTestYilunChongGravatar Yilun Chong2017-07-24
| |\ | | | | | | Proto2 test message support to conformance test
| * \ Merge pull request #3375 from TeBoring/3.3.xGravatar Paul Yang2017-07-19
| |\ \ | | | | | | | | Merge 3.3.x into master
* | | | Merge master into 3.4.xGravatar Jisi Liu2017-07-18
|\| | |
* | | | Update csharp and php descriptorGravatar Jisi Liu2017-07-18
| | | |
| | * | Merge 3.3.x into masterGravatar Bo Yang2017-07-18
| | |\ \
| * | | | Support PHP generic services (#3269)Gravatar Matt A2017-07-18
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add php_generic_services option * Generate PHP generic services * Respect namespaces for generated PHP services * Test PHP generated services * Rename PHP generator service method doc comment function * Correct phpdoc service method case * Test namespaced PHP generic services * Always use the FQCN for PHP generic service input/output * Add generated_service_test to php test.sh * Add php service test protos to CI * Add php service files to php_EXTRA_DIST * Use Interface suffix for php generic services
| * | | Fix repository URL in C# project fileGravatar Jon Skeet2017-07-13
| | | |
| * | | C#: Implement IReadOnlyDictionary<K,V> in MapField<K,V>Gravatar Jean-Rémy Bancel2017-07-12
| | | |
| | | * delete backup filesGravatar Yilun Chong2017-07-05
| | | |
| | | * fix php failing list and csharp generated protoGravatar Yilun Chong2017-07-05
| | | |
| * | | Ensure leaveOpen is true when writing to a bufferGravatar Jon Skeet2017-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that the compatibility tests have had to cahnge as well, to cope with internal changes. (The test project has access to internals in the main project.) Fixes #3209.
| * | | Make Any easier to work with in C#Gravatar Jon Skeet2017-07-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a TryUnpack method which doesn't throw if the type is wrong - Make GetTypeName public for easier determination of the message type Fixes #3294.
| | | * add some test proto2 supported, add js proto2 supported, fixed some errorGravatar Yilun Chong2017-06-30
| | | |
| | | * change php objc nodejs csharp rubyGravatar Yilun Chong2017-06-29
| | | |
| | | * fix csharp conformance testGravatar Yilun Chong2017-06-28
| | | |
| | | * fix csharp conformance testGravatar Yilun Chong2017-06-28
| | | |
| | | * fix csharpGravatar Yilun Chong2017-06-28
| | | |
| | | * add csharp supportGravatar Yilun Chong2017-06-28
| | |/ | |/|
| | * Update version number to 3.3.2Gravatar Bo Yang2017-06-21
| | |
| * | Add new file option php_namespace. (#3162)Gravatar Paul Yang2017-06-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add new file option php_namespace. Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace. * Uncomment commented tests * Revert gdb test change * Update csharp descriptor. * Add test for empty php_namespace.
| * | update csharp README and fix .NET 3.5 build errorGravatar John Brock2017-05-25
| | |
| * | Add IncludeSource in csproj as per review commentsGravatar Jon Skeet2017-05-24
| | |
| * | Convert C# projects to MSBuild (csproj) formatGravatar Jon Skeet2017-05-24
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Update version number to 3.3.1Gravatar Feng Xiao2017-05-08
|/
* Update version number and changelog for 3.3.0Gravatar Feng Xiao2017-04-05
|
* Fix C++ build for down-integration.Gravatar Feng Xiao2017-03-29
|
* Merge pull request #2884 from anandolee/masterGravatar Jie Luo2017-03-27
|\ | | | | Add FormatEnumsAsIntegers support for Json Format. Scale JsonFormatter.Settings for multi options.
| * Add FormatEnumAsInt support for Json Format. And scale ↵Gravatar Jie Luo2017-03-24
| | | | | | | | JsonFormatter.Settings to multiple options.
* | Add file option php_class_prefix (#2849)Gravatar Paul Yang2017-03-17
|/ | | | This option will be prepended to generated classes of all messages in the containing file.
* There might be duplicated enum values when allow_alias is true. Add ↵Gravatar Jie Luo2017-02-28
| | | | PreferredAlias into OriginalNameAttribute to remove the duplication (#2727)
* Updating READMEGravatar John Brock2017-02-23
| | | | | - Adding more detail on running tests - Adding info about the status of .NET 3.5 support and how to enable .NET 3.5
* Upgrading test-related librariesGravatar John Brock2017-02-23
| | | | | NUnit 3.4.0 —> 3.6.0 dotnet-test-nunit 3.4.0-alpha-2 —> 3.4.0-beta-3
* Fixes for .NET 3.5 compatibilityGravatar John Brock2017-02-23
| | | | | * Changing DOTNET35 framework symbols in preprocessor directives to the default built-in value of NET35. * Adding extension method StreamExtension.CopyTo for .NET 3.5 because it didn’t exist until .NET 4, and adding associated unit tests.
* Merge pull request #2701 from anandolee/masterGravatar Jie Luo2017-02-13
|\ | | | | Add csharp compatibility tests against v3.0.0
| * Add csharp compatibility tests against v3.0.0 and run on Travis.Gravatar Jie Luo2017-02-10
| |
| * Add proto and test files for csharp compatibility tests against v3.0.0.Gravatar Jie Luo2017-02-09
| | | | | | | | All the files are copied from 3.0.0 (JosnFormaterTest was deleted)
* | Fix CopyTo argument validationGravatar Jon Skeet2017-02-06
| | | | | | | | Fixes #2669.
* | Merge 3.2.x branch into master (#2648)Gravatar Paul Yang2017-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Down-integrate internal changes to github. * Update conformance test failure list. * Explicitly import used class in nano test to avoid random test fail. * Update _GNUC_VER to use the correct implementation of atomic operation on Mac. * maps_test.js: check whether Symbol is defined before using it (#2524) Symbol is not yet available on older versions of Node.js and so this test fails with them. This change just directly checks whether Symbol is available before we try to use it. * Added well_known_types_embed.cc to CLEANFILES so that it gets cleaned up * Updated Makefile.am to fix out-of-tree builds * Added Bazel genrule for generating well_known_types_embed.cc In pull request #2517 I made this change for the CMake and autotools builds but forgot to do it for the Bazel build. * Update _GNUC_VER to use the correct implementation of atomic operation on Mac. * Add new js file in extra dist. * Bump version number to 3.2.0 * Fixed issue with autoloading - Invalid paths (#2538) * PHP fix int64 decoding (#2516) * fix int64 decoding * fix int64 decoding + tests * Fix int64 decoding on 32-bit machines. * Fix warning in compiler/js/embed.cc embed.cc: In function ‘std::string CEscape(const string&)’: embed.cc:51:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < str.size(); ++i) { ^ * Fix include in auto-generated well_known_types_embed.cc Restore include style fix (e3da722) that has been trampled by auto-generation of well_known_types_embed.cc * Fixed cross compilations with the Autotools build Pull request #2517 caused cross compilations to start failing, because the js_embed binary was being built to run on the target platform instead of on the build machine. This change updates the Autotools build to use the AX_PROG_CXX_FOR_BUILD macro to find a suitable compiler for the build machine and always use that when building js_embed. * Minor fix for autocreated object repeated fields and maps. - If setting/clearing a repeated field/map that was objects, check the class before checking the autocreator. - Just to be paranoid, don’t mutate within copy/mutableCopy for the autocreated classes to ensure there is less chance of issues if someone does something really crazy threading wise. - Some more tests for the internal AutocreatedArray/AutocreatedDictionary classes to ensure things are working as expected. - Add Xcode 8.2 to the full_mac_build.sh supported list. * Fix generation of extending nested messages in JavaScript (#2439) * Fix generation of extending nested messages in JavaScript * Added missing test8.proto to build * Fix generated code when there is no namespace but there is enum definition. * Decoding unknown field should succeed. * Add embed.cc in src/Makefile.am to fix dist check. * Fixed "make distcheck" for the Autotools build To make the test pass I needed to fix out-of-tree builds and update EXTRA_DIST and CLEANFILES. * Remove redundent embed.cc from src/Makefile.am * Update version number to 3.2.0-rc.1 (#2578) * Change protoc-artifacts version to 3.2.0-rc.1 * Update version number to 3.2.0rc2 * Update change logs for 3.2.0 release. * Update php README * Update upb, fixes some bugs (including a hash table problem). (#2611) * Update upb, fixes some bugs (including a hash table problem). * Ruby: added a test for the previous hash table corruption. Verified that this triggers the bug in the currently released version. * Ruby: bugfix for SEGV. * Ruby: removed old code for dup'ing defs. * Reverting deployment target to 7.0 (#2618) The Protobuf library doesn’t require the 7.1 deployment target so reverting it back to 7.0 * Fix typo that breaks builds on big-endian (#2632) * Bump version number to 3.2.0
* | C#: Implement IReadOnlyList<T> in RepeatedField<T>Gravatar Jon Skeet2017-01-30
|/ | | | | | | | We explicitly don't do this when targeting .NET 3.5, where the interface doesn't exist. No implementation is required, as we're already implementing everything we need for IList<T>.
* Add Oneof custom options testGravatar Jie Luo2017-01-27
|
* Support custom options in C#Gravatar Jon Skeet2017-01-19
| | | | | | | | | | | | This consists of: - Changing the codegen for the fixed set of options protos, to parse unknown fields instead of skipping them - Add a new CustomOptions type in the C# support library - Expose CustomOptions properties from the immutable proto wrappers in the support library Only single-value options are currently supported, and fetching options values requires getting the type right and knowing the field number. Both of these can be addressed at a later time. Fixes #2143, at least as a first pass.
* Add ByteString.FromStream and ByteString.FromStreamAsync in C#Gravatar Jon Skeet2017-01-10
| | | | | | | | | | Fixes #2088. We now have separate tests for netcoreapp and net45 to test the two branches here. (netstandard10 doesn't have MemoryStream.GetBuffer) Although most of this library doesn't have any async functionality, this feels like a natural place to locally add it.
* Add global.json file to pick dotnet core SDK version.Gravatar Jon Skeet2017-01-10
|
* Give C# ByteString a sensible GetHashCode implementation.Gravatar Jon Skeet2016-12-16
| | | | Fixes #2511.
* Merge pull request #2487 from jtattermusch/csharp_leading_whitespaceGravatar Jan Tattermusch2016-12-13
|\ | | | | remove leading whitespace in C# xml comments