- 09 Jul, 2018 2 commits
-
-
Paul Yang authored
* Enable ignoring unknown in json parsing in php * Update generated descriptor files * Update failure list for other languages. * Remove unnecessary php files
-
Warren Falk authored
-
- 25 Jun, 2018 2 commits
-
-
Sydney Acksman authored
* Remove protoc conditional properties * Fix duplicate brace
-
Sebastian Schuberth authored
This potentially avoids compiler warnings.
-
- 21 Jun, 2018 1 commit
-
-
Sydney Acksman authored
* Added props to C# tools * Add targets file to makefile.am
-
- 29 May, 2018 1 commit
-
-
Adam Cozzette authored
-
- 14 May, 2018 2 commits
-
-
Jisi Liu authored
-
Cameron Taggart authored
-
- 11 May, 2018 1 commit
-
-
Paul Yang authored
-
- 03 May, 2018 1 commit
-
-
David Chennells authored
Add mention to the "Build" section of the ReadMe of the requirement of installing an optional component to VS2017.
-
- 27 Apr, 2018 1 commit
-
-
Jon Skeet authored
With this fix, Unity using IL2CPP should work with one of two approaches: - Call `FileDescriptor.ForceReflectionInitialization<T>` for every enum present in generated code (including oneof case enums) - Ensure that IL2CPP uses the same code for int and any int-based enums The former approach is likely to be simpler, unless IL2CPP changes its default behavior. We *could* potentially generate the code automatically, but that makes me slightly uncomfortable in terms of generating code that's only relevant in one specific scenario. It would be reasonably easy to write a tool (separate from protoc) to generate the code required for any specific set of assemblies, so that Unity users can include it in their application. We can always decide to change to generate it automatically later.
-
- 19 Apr, 2018 1 commit
-
-
Sydney Acksman authored
* Edited MessageFieldGenerator to clone to backing field instead of property * Generated C# proto code
-
- 06 Apr, 2018 1 commit
-
-
Jon Skeet authored
The SampleEnumMethod method was previously only called via reflection, so the Unity linker thought it could be removed. Ditto the parameterless constructor in ReflectionHelper. This PR should avoid that issue, reducing the work needed by customers to use Google.Protobuf from Unity.
-
- 04 Apr, 2018 1 commit
-
-
ObsidianMinor authored
-
- 02 Apr, 2018 1 commit
-
-
Paul Yang authored
* Fix setup.py for windows build. * Bump version number to 3.5.2 * Cat the test-suite.log on errors for presubits
-
- 27 Mar, 2018 4 commits
-
-
Jon Skeet authored
-
Jon Skeet authored
For oneofs, to get the case, we need to call the property that returns the enum value. We really want it as an int, and modern runtimes allow us to create a delegate which returns an int from the method. (I suspect that the MS runtime has always allowed that.) Old versions of Mono (e.g. used by Unity3d) don't allow that, so we have to convert the enum value to an int via boxing. It's ugly, but it should work.
-
Jon Skeet authored
-
Jon Skeet authored
This should work on Unity, Mono and .NET 3.5 as far as I'm aware. It won't work on platforms where reflection itself is prohibited, but that's a non-starter basically.
-
- 14 Mar, 2018 1 commit
-
-
Adam Cozzette authored
-
- 06 Mar, 2018 1 commit
-
-
Bo Yang authored
-
- 01 Mar, 2018 1 commit
-
-
Jon Skeet authored
-
- 06 Feb, 2018 1 commit
-
-
ObsidianMinor authored
Updated NUnit packages, removed NUnitLite added packages for dotnet and Visual Studio, changed dotnet command in buildall to dotnet test, and deleted Program.cs (because it's no longer required).
-
- 31 Jan, 2018 1 commit
-
-
John Brock authored
Increased `CodedInputStream.DefaultSizeLimit` to `Int32.MaxValue` to make it consistent with the Java implementation.
-
- 25 Jan, 2018 1 commit
-
-
Jon Skeet authored
This will allow SourceLink as per #4179, and mean that we can use C# 7.0 language features in the library (but not in generated code). This does not affect which platforms we're *targeting*, so end users won't see any difference. It would be nice to update to 2.1.4, but AppVeyor's "Visual Studio 2017" environment is only 2.0.3.
-
- 15 Jan, 2018 1 commit
-
-
Jon Skeet authored
By default, unknown fields are preserved when parsing. To discard them, use a parser configured to do so: var parser = MyMessage.Parser.WithDiscardUnknownFields(true);
-
- 19 Dec, 2017 2 commits
- 13 Dec, 2017 2 commits
-
-
Jan Tattermusch authored
* Add auto-generated header to C# generated files * regenerate C# protos
-
Jie Luo authored
Add unknown field support for csharp
-
- 12 Dec, 2017 1 commit
-
-
Feng Xiao authored
-
- 09 Dec, 2017 2 commits
- 01 Dec, 2017 1 commit
-
-
Adam Cozzette authored
-
- 30 Nov, 2017 1 commit
-
-
Jie Luo authored
-
- 29 Nov, 2017 1 commit
-
-
Jon Skeet authored
-
- 14 Nov, 2017 1 commit
-
-
Jon Skeet authored
-
- 12 Nov, 2017 3 commits
-
-
Jon Skeet authored
-
Jon Skeet authored
-
Jon Skeet authored
unittest_proto3 had been changed in a very backward-incompatible way which was never going to work with C# as it imports proto2 messages. This is now a copy of the old file, but with a package name change for compatibility with the remaining files in src/google/protobuf. The other moves are for files that are only used by C#.
-