Jan Tattermusch
e61b528b5a
Update Makefile.am
9 years ago
Konstantin Podsvirov
0be0789018
CMake installation now compatible with origin FindProtobuf module
9 years ago
Jan Tattermusch
d331d2f60f
make changes and fixes in signing
9 years ago
Jan Tattermusch
0df900f0dc
added protoc.exe and well known protobuf files to the nuspec file
9 years ago
Jan Tattermusch
538ef54f1e
build signed assemblies
9 years ago
Jan Tattermusch
80f89b4ecf
Merge pull request #669 from jskeet/simpify-json-tests
...
Simpify json tests
9 years ago
Jan Tattermusch
82aa6bbdfc
Merge pull request #668 from jskeet/json_ordering
...
Fix C# JSON field ordering
9 years ago
Nobuaki Sukegawa
992531723c
Fix gcc C++11 build
9 years ago
Konstantin Podsvirov
743ec448c5
Parsing version from configure.ac for CMake project
9 years ago
Konstantin Podsvirov
82983433cf
Install protobuf from cmake project
...
Additional export as "protobuf" package
for importing from other cmake projects
9 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.
9 years ago
Jan Tattermusch
abd7083b0c
Merge pull request #667 from jskeet/fix-field-orderings
...
Fix trivial bug in field orderings.
9 years ago
Jon Skeet
6cf5f660e5
Simplify the JSON tests for readability
...
Use ' instead of " in the expected JSON, then replace it before asserting.
9 years ago
Jon Skeet
4fed0b515f
Fix JSON formatting to always emit fields in field order, including oneofs
9 years ago
Jon Skeet
fd02e45b2a
Fix trivial bug in field orderings.
...
(Shows the benefit of unit testing even code "too simple to fail"...)
9 years ago
Jon Skeet
c20f67fdb4
Merge pull request #666 from jskeet/wkt-times
...
Well-known type operations for Timestamp and Duration
9 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.
9 years ago
Jon Skeet
5bdb1fb311
Merge pull request #665 from jskeet/types_field
...
Handle field names of "descriptor" and "types".
9 years ago
Jon Skeet
f994cfe808
Handle field names of "descriptor" and "types".
9 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.
9 years ago
Jan Tattermusch
b193503aa7
Merge pull request #664 from jtattermusch/expose_umbrella_class_name2
...
Expose GetUmbrellaClassName in csharp_names.h
9 years ago
Jan Tattermusch
43a2dee708
refactor umbrella class helpers
9 years ago
Jan Tattermusch
12febd0a76
Merge pull request #632 from google/csharp-experimental
...
Merge C# proto3 from csharp-experimental to master
9 years ago
Jan Tattermusch
bde01d5326
Merge pull request #660 from jskeet/throw-on-null
...
Throw on null for string/bytes single fields
9 years ago
Tom Hughes
c6095505dc
Move pthread include.
...
Based on pull request feedback. See commit 60c5222
for why the pthread
header is necessary.
9 years ago
Jon Skeet
d18cc08456
Generated code for previous commit.
9 years ago
Jon Skeet
3980cf9df1
Prohibit null values for string/bytes fields in generated code.
9 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.
9 years ago
Jon Skeet
7909b2edeb
Merge pull request #659 from jskeet/fix-frozen
...
Remove a few hangers-on from frozenness.
9 years ago
Jon Skeet
dea15a7ca4
Generated code from previous commit.
9 years ago
Jon Skeet
f03271665f
More freezing tidy-up; generated code in next commit.
9 years ago
Jon Skeet
3b2fe97b6f
Minor bits of left-over frozenness.
9 years ago
Jon Skeet
7a0effb9e9
Merge pull request #654 from jtattermusch/csharp_hide_freeze
...
Remove the C# Freeze API
9 years ago
Jon Skeet
9cfea1d6f6
Merge pull request #655 from jtattermusch/csharp_expose_more_info_about_service
...
Expose IsClientStreaming and IsServerStreaming in MethodDescriptor
9 years ago
Jan Tattermusch
7ec023acf4
regenerate code
9 years ago
Jan Tattermusch
3783d9a8ad
remove the freeze API
9 years ago
Jan Tattermusch
fa29148137
add IsClientStreaming and IsServerStreaming to MethodDescriptor
9 years ago
Paul Yang
c6dffbcb4f
Merge pull request #652 from TeBoring/objectivec
...
Move the definition of GOOGLE_FALLTHROUGH_INTENDED to port.h
9 years ago
Xiao Hang
32e10476c5
Merge branch 'master' of https://github.com/zsurocking/protobuf
9 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
9 years ago
teboring
5da3fb0666
Move the definition of GOOGLE_FALLTHROUGH_INTENDED to port.h
9 years ago
Tom Hughes
93ba933363
Remove unused private fields.
...
Fixes compilation when -Wunused-private-field is enabled (e.g., when
using -Wall).
9 years ago
Feng Xiao
add3e8df57
Merge pull request #651 from litinglin/master
...
On x64 MSVC platform, macro PROTOBUF_LITTLE_ENDIAN won't be set
9 years ago
Tom Hughes
56327ecc02
Fix compilation error when using C++11.
...
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;}
9 years ago
LitingLin
67d51ac4f8
Windows is always little-endian.
9 years ago
LitingLin
224010c775
A bug about PROTOBUF_LITTLE_ENDIAN remain undefined on MSVC x64
9 years ago
Jan Tattermusch
74810c6ae3
Merge pull request #638 from jskeet/portable
...
First attempt at using profile 259 for Google.Protobuf.
9 years ago
Yue Zhang
c61ef6b106
Update GPBWellKnownTypes.m
...
fix an bug(forgive my english..)
9 years ago
Tom Hughes
6d72d12575
Set cmake include directories on library targets.
...
cmake targets that depend on these libraries will automatically have
these include directories.
9 years ago
Tom Hughes
60c5222287
Include pthread.h when using GOOGLE_PROTOBUF_NO_THREADLOCAL.
...
When GOOGLE_PROTOBUF_NO_THREADLOCAL is defined, classes that depend on
pthread functions are included (such as ThreadLocalStorage).
9 years ago