| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now the Build tool needs to define -DHAVE_ZLIB and -DHAVE-PTHREAD rather
than providing a config.h
- Make pbconfig.h a manually written file to handle hash conditions
according to platform related macros.
- Remove #include "config.h" from source code.
- Changed the configure.ac and Makefile.am to pass down the macros.
- Change cmake to pass down the the macros.
Change-Id: I537249d5df8fdeba189706aec436d1ab1104a4dc
|
|\
| |
| | |
Modified FindRubyTestDir to use GOOGLE_THIRD_PARTY_PROTOBUF
|
| | |
|
|\ \
| | |
| | | |
Make pbconfig.h independent of config.h
|
| |/
| |
| |
| | |
Change-Id: I31ead985b4ac5b02fb7558d34c1da19fd837b50a
|
|\ \
| | |
| | | |
Workaround for MSVC's string literal compiler limit.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Escape characters don't count for string literal size, no need to pre-generate escape string.
Added unit test to touch enormous cpp generated descriptor.
Updated makefile to include enormous_descriptor.proto
Fixed language compatibility error.
|
| |/
|/|
| |
| |
| | |
This is currently done in golang/protobuf using `sed`. This change
should simplify things.
|
|\ \
| | |
| | | |
Beta quality drop of Objective C Support.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add more to the ObjC dir readme.
- Merge the ExtensionField and ExtensionDescriptor to reduce overhead.
- Fix an initialization race.
- Clean up the Xcode schemes.
- Remove the class/enum filter.
- Remove some forced inline that were bloating things without proof of performance wins.
- Rename some internal types to avoid conflicts with the well know types protos.
- Drop the use of ApplyFunctions to the compiler/optimizer can do what it wants.
- Better document some possible future improvements.
- Add missing support for parsing repeated primitive fields in packed or unpacked forms.
- Improve -hash.
- Add *Count for repeated and map<> fields to avoid auto create when checking for them being set.
|
|/
|
|
|
|
|
| |
Refactored the threadlocal logic for Android and IOS into logic in
platform_macro.h which computes a GOOGLE_PROTOBUF_NO_THREADLOCAL
define which is then used elsewhere. This allows new platforms
without THREADLOCAL to be easily defined.
|
|\
| |
| | |
Marked another compiler literal unsigned.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When compiling a protobuf with gcc 4.1.2 for powerpc, I ran into
another of the following warning message:
INFO: From Compiling my_proto.pb.cc powerpc-603e-linux-gcc:
bazel-out/local_linux-dbg/genfiles/my_proto.pb.cc: In member
function `virtual void MyProto::Clear()':
bazel-out/local_linux-dbg/genfiles/my_proto.pb.cc:223: warning: this
decimal constant is unsigned only in ISO C90
The line in the proto file that was triggering it was:
if (_has_bits_[24 / 32] & 4278190080) {
ZR_(field1_, field2_);
}
_has_bits_ is a uint32. The constant mask should therefore be
unsigned. This change updates the constant to be generated as
unsigned.
|
|/
|
|
|
|
|
| |
The GOOGLE_PREDICT_FALSE macro is both incorrect, and doesn't match
the macro definition in glog, which causes conflicts when including
both libraries. This commit fixes that by making it identical to
what is in glog.
|
|\
| |
| | |
Migrate writer to printer for C#
|
| | |
|
|\ \
| | |
| | | |
Add cmake support.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add protoc path detection for Mac OS
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
Fix two issues on vs2010.
|
| | |
| | |
| | |
| | |
| | |
| | | |
RepeatedField::begin()/end() will return NULL when the content is empty.
Passing these NULL values to std::copy() will result in runtime complains
from some compilers (e.g., vs2010).
|
| | |
| | |
| | |
| | |
| | | |
destroy() should always call the destructor because the caller may rely on
the destructor to do clean-ups.
|
|\ \ \
| | | |
| | | | |
Fix unittest in i386
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | /
| | |/
| |/| |
Change the C# enum generator inherit from primitive generator
|
| | | |
|
|\| |
| | |
| | | |
Add oneof support for c#
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Make MapAllocator work with C++11.
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I0e1d9e248403631cb57ebed5231e85d19b9bb3df
|
|\| | |
| | | |
| | | | |
Remove std::is_trivially_default_constructible.
|
| | | |
| | | |
| | | |
| | | | |
This type_traits is only added after g++ 5.1.0 but we need to support g++ 4+.
|
|/ / /
| | |
| | |
| | |
| | | |
put built libraries. This directory hides the one that contains
ruby_generated_code.proto and ruby_generated_code.rb.
|
| | |
| | |
| | |
| | | |
allocator to allocate memory twice for uint64.
|
| | | |
|
| | |
| | |
| | |
| | | |
Change-Id: I808f4a3689e723d4490aa9ba6f1c14e3936ddcec
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We use a custom allocator for map fields and this allocator must be
passed correctly to hash_map to make sure it's allocated properly
with our custom allocator.
Change-Id: Ie59fa24bf11ff28ffd0fa870e24e456c66b2b9c5
|
| | |
| | |
| | |
| | | |
src/google/compiler/ruby depend on these two files, but they were missed in language distributions other than ruby
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Undef GOOGLE_PROTOBUF_MISSING_HASH after it is used.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a follow up CL for df184fba00acc7d4aa7b9d64693c53c815a64eda
(Id937e25bbb35968ee76c92bd4a8ce6247408c443), which added
#undef GOOGLE_PROTOBUF_MISSING_HASH
where GOOGLE_PROTOBUF_MISSING_HASH macro is never defined.
With this CL, GOOGLE_PROTOBUF_MISSING_HASH macro will be cleaned up
after it is used.
|
|\ \ \
| | | |
| | | | |
Objective C Second Alpha Drop
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Style fixups in the code.
- map<> serialization fixes and more tests.
- Autocreation of map<> fields (to match repeated fields).
- @@protoc_insertion_point(global_scope|imports).
- Fixup proto2 syntax extension support.
- Move all startup code to +initialize so it happen on class usage and not app startup.
- Have generated headers use forward declarations and move imports into generated code, reduces what is need at compile time to speed up compiled and avoid pointless rippling of rebuilds.
|
|\ \ \ \
| | | | |
| | | | | |
down-integrate internal changes
|
| |/ / / |
|