Jon Skeet
e94bdd9303
Allow partially-trusted callers again.
...
Fixes issue #552 . (And yay, it looks like our build profile supports this...)
10 years ago
Jon Skeet
bf1cc9217a
Merge pull request #675 from jtattermusch/signing
...
Add ReleaseSigned configuration for C#
10 years ago
Jon Skeet
da776fbd1e
Merge pull request #672 from jskeet/json-struct
...
Formatting of Struct as JSON
10 years ago
Konstantin Podsvirov
5500b0691f
Fix: comment typo
10 years ago
Konstantin Podsvirov
ebfca175e2
Install well-known type proto files from CMake project
10 years ago
Jon Skeet
e7caf15577
Initial pass at formatting Struct as JSON.
...
This seems remarkably little code, but it appears to work. I can add tests for invalid structs at some point, once the general approach is approved.
10 years ago
Jon Skeet
115e6c735e
Merge pull request #671 from jskeet/json-time
...
JSON formatting for Timestamp and Duration
10 years ago
Jon Skeet
801b169bce
Addressed issues raised in code review. Will merge when green.
10 years ago
Jon Skeet
16e272e0c4
Format JSON for Duration and Timestamp.
...
This is taking an approach of putting all the logic in JsonFormatter. That's helpful in terms of concealing the details of whether or not to wrap the value in quotes, but it does lack flexibility. I don't *think* we want to allow user-defined formatting of messages, so that much shouldn't be a problem.
10 years ago
Jan Tattermusch
e61b528b5a
Update Makefile.am
10 years ago
Konstantin Podsvirov
0be0789018
CMake installation now compatible with origin FindProtobuf module
10 years ago
Jan Tattermusch
d331d2f60f
make changes and fixes in signing
10 years ago
Jan Tattermusch
0df900f0dc
added protoc.exe and well known protobuf files to the nuspec file
10 years ago
Jan Tattermusch
538ef54f1e
build signed assemblies
10 years ago
Jan Tattermusch
80f89b4ecf
Merge pull request #669 from jskeet/simpify-json-tests
...
Simpify json tests
10 years ago
Jan Tattermusch
82aa6bbdfc
Merge pull request #668 from jskeet/json_ordering
...
Fix C# JSON field ordering
10 years ago
Nobuaki Sukegawa
992531723c
Fix gcc C++11 build
10 years ago
Konstantin Podsvirov
743ec448c5
Parsing version from configure.ac for CMake project
10 years ago
Konstantin Podsvirov
82983433cf
Install protobuf from cmake project
...
Additional export as "protobuf" package
for importing from other cmake projects
10 years ago
Paul Yang
bfbf35da9e
Merge pull request #643 from yukawa/fix_win_unicode_build
...
Fix build failure on Windows when Unicode build is enabled.
10 years ago
Jan Tattermusch
abd7083b0c
Merge pull request #667 from jskeet/fix-field-orderings
...
Fix trivial bug in field orderings.
10 years ago
Jon Skeet
6cf5f660e5
Simplify the JSON tests for readability
...
Use ' instead of " in the expected JSON, then replace it before asserting.
10 years ago
Jon Skeet
4fed0b515f
Fix JSON formatting to always emit fields in field order, including oneofs
10 years ago
Jon Skeet
fd02e45b2a
Fix trivial bug in field orderings.
...
(Shows the benefit of unit testing even code "too simple to fail"...)
10 years ago
Jon Skeet
c20f67fdb4
Merge pull request #666 from jskeet/wkt-times
...
Well-known type operations for Timestamp and Duration
10 years ago
Jon Skeet
9629797331
Well-known type operations for Timestamp and Duration (but not JSON formatting).
...
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.
10 years ago
Jon Skeet
5bdb1fb311
Merge pull request #665 from jskeet/types_field
...
Handle field names of "descriptor" and "types".
10 years ago
Jon Skeet
f994cfe808
Handle field names of "descriptor" and "types".
10 years ago
Yohei Yukawa
8c27eea686
Fix build failure on Windows when Unicode build is enabled.
...
This is a follow up CL for e9abc404df
,
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.
10 years ago
Jan Tattermusch
b193503aa7
Merge pull request #664 from jtattermusch/expose_umbrella_class_name2
...
Expose GetUmbrellaClassName in csharp_names.h
10 years ago
Jan Tattermusch
43a2dee708
refactor umbrella class helpers
10 years ago
Jan Tattermusch
12febd0a76
Merge pull request #632 from google/csharp-experimental
...
Merge C# proto3 from csharp-experimental to master
10 years ago
Jan Tattermusch
bde01d5326
Merge pull request #660 from jskeet/throw-on-null
...
Throw on null for string/bytes single fields
10 years ago
Tom Hughes
c6095505dc
Move pthread include.
...
Based on pull request feedback. See commit 60c5222
for why the pthread
header is necessary.
10 years ago
Jon Skeet
d18cc08456
Generated code for previous commit.
10 years ago
Jon Skeet
3980cf9df1
Prohibit null values for string/bytes fields in generated code.
10 years ago
Jon Skeet
68380f0f66
Rename ThrowHelper to Preconditions and make it public - we'll want to use 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.
10 years ago
Jon Skeet
7909b2edeb
Merge pull request #659 from jskeet/fix-frozen
...
Remove a few hangers-on from frozenness.
10 years ago
Jon Skeet
dea15a7ca4
Generated code from previous commit.
10 years ago
Jon Skeet
f03271665f
More freezing tidy-up; generated code in next commit.
10 years ago
Jon Skeet
3b2fe97b6f
Minor bits of left-over frozenness.
10 years ago
Jon Skeet
7a0effb9e9
Merge pull request #654 from jtattermusch/csharp_hide_freeze
...
Remove the C# Freeze API
10 years ago
Jon Skeet
9cfea1d6f6
Merge pull request #655 from jtattermusch/csharp_expose_more_info_about_service
...
Expose IsClientStreaming and IsServerStreaming in MethodDescriptor
10 years ago
Jan Tattermusch
7ec023acf4
regenerate code
10 years ago
Jan Tattermusch
3783d9a8ad
remove the freeze API
10 years ago
Jan Tattermusch
fa29148137
add IsClientStreaming and IsServerStreaming to MethodDescriptor
10 years ago
Paul Yang
c6dffbcb4f
Merge pull request #652 from TeBoring/objectivec
...
Move the definition of GOOGLE_FALLTHROUGH_INTENDED to port.h
10 years ago
Xiao Hang
32e10476c5
Merge branch 'master' of https://github.com/zsurocking/protobuf
10 years ago
Xiao Hang
801e92007f
Generate a package name suffix ".nano" for nano messages
...
Also introducing an option javanano_use_deprecated_package to allow users to disable the suffix
10 years ago
teboring
5da3fb0666
Move the definition of GOOGLE_FALLTHROUGH_INTENDED to port.h
10 years ago