Jon Skeet
30e8157550
Fix one cref that Mono was unhappy with
10 years ago
Jon Skeet
811fc89f0e
Document everything, and turn on errors if we fail to document anything in the future.
10 years ago
Feng Xiao
dc80689af3
Merge pull request #653 from airtimemedia/master
...
Various compilation fixes
10 years ago
Jon Skeet
b59bfcb309
Merge pull request #681 from jskeet/json-fieldmask
...
JSON formatting for FieldMask
10 years ago
Jon Skeet
8136ad5c3c
Merge pull request #677 from jskeet/move-protos
...
Remove a redundant layer of directory hierarchy.
10 years ago
Jon Skeet
415f72e079
Merge pull request #680 from jskeet/aptca
...
Allow partially-trusted callers again.
10 years ago
Jon Skeet
0e30de3d6b
JSON formatting for FieldMask
10 years ago
Jon Skeet
db9f47a3ed
Merge pull request #678 from jskeet/stream-ctor
...
Expose Coded*Stream constructors directly.
10 years ago
Jon Skeet
0e0e0c97e7
Expose Coded*Stream constructors directly.
10 years ago
Jon Skeet
0f370b468b
Remove a redundant layer of directory hierarchy.
10 years ago
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
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
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
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