aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Down-integrate from internal branch.Gravatar Jisi Liu2015-08-21
| | | | Change-Id: Ieb7a2c2fbf35bc2a8fa65b915a5ecb68c83863e4
* Merge pull request #621 from nico/staticassGravatar Jisi Liu2015-07-20
|\ | | | | Let GOOGLE_COMPILE_ASSERT use static_assert if available.
* \ Merge pull request #604 from haberman/ruby-conformanceGravatar Joshua Haberman2015-07-20
|\ \ | | | | | | Added Ruby to conformance tests.
* \ \ Merge pull request #622 from pherl/splitheadersGravatar Jisi Liu2015-07-17
|\ \ \ | | | | | | | | Addming missing includes in stubs headers.
| * | | Addming missing includes in stubs headers.Gravatar Jisi Liu2015-07-17
| | | | | | | | | | | | | | | | | | | | | | | | This is to prepare removing those additional headers in common.h Change-Id: I707d6d8eaf193eb28195a827c7fec738b968ab3e
| | | * Let GOOGLE_COMPILE_ASSERT use static_assert if available.Gravatar Nico Weber2015-07-17
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | The motivation is that gcc 4.8+ and clang trunk warn on unused local typedefs, which COMPILE_ASSERT adds. After this change, the warning will be happy at least in C++11 builds. static_assert also produces a slighly nicer diagnostic than the typedef method. https://github.com/google/re2/commit/eb93e8bc43ac8d05322fb3e9fc885898ad924f8a did the same change in re2.
* | | Merge pull request #613 from pherl/splitheadersGravatar Jisi Liu2015-07-17
|\| | | | | | | | Split up common.h headers
* | | Merge pull request #601 from anandolee/masterGravatar Jie Luo2015-07-17
|\ \ \ | | | | | | | | ignore UTF-8 BOM
| | * \ Merge branch 'master' of github.com:google/protobuf into splitheaderGravatar Jisi Liu2015-07-17
| | |\ \ | |_|/ / |/| | | | | | | Change-Id: I5f6cbc2430200e3751ad754cc7ae604338db6f91
| | * | Update make file for extra headers.Gravatar Jisi Liu2015-07-17
| | | | | | | | | | | | | | | | Change-Id: Ifbc415755266ba3d0ffa5661fcd7c7d2e3b32a22
| | * | Split up common.h headersGravatar Jisi Liu2015-07-16
| | | | | | | | | | | | | | | | Change-Id: I223783111d743aa5193bf70fa1b9b54c7b4389c3
| | | * Added Ruby to conformance tests.Gravatar Josh Haberman2015-07-16
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This involved fixing a few important bugs in the Ruby implementation -- mostly cases of mixing upb field types and descriptor types (upb field types do not distinguish between int/sint/fixed/sfixed like descriptor types do). Also added protobuf-specific exceptions so parse errors can be caught specifically. Change-Id: Ib49d3db976900b2c6f3455c8b88af52cfb86e036
| * / ignore UTF-8 BOM if it is in the begining of a proto fileGravatar Jie Luo2015-07-16
| |/
* / Install missing headersGravatar Rob Earhart2015-07-14
|/ | | | | | Install google/protobuf/stubs/status.h, and google/protobuf/stubs/stringpiece.h -- these are required in order to include google/protobuf/util/type_resolver.h. Install google/protobuf/stubs/bytestream.h -- this is required in order to include google/protobuf/util/json_util.h.
* Internal local modifications.Gravatar Bo Yang2015-07-09
|
* Merge pull request #500 from TeBoring/tempGravatar Paul Yang2015-07-01
|\ | | | | Implement parsing for proto3 primitive repeated fields.
* \ Merge pull request #551 from ostrovsky/masterGravatar Feng Xiao2015-07-01
|\ \ | | | | | | MinGW64+MSYS2 compilation issues
| * | MinGW64+MSYS2 compilation issues and portable isnan using MathLimitsGravatar Karol Ostrovsky2015-07-01
| | |
* | | Merge pull request #458 from xfxyjwf/memory_leakGravatar Paul Yang2015-06-30
|\ \ \ | | | | | | | | Delete default UnknownFieldSet when shuting down.
* | | | Fix "sometimes-uninitialized" warning on Windows Clang.Gravatar Matt Giuca2015-06-30
| |/ / |/| |
* | | fix compiler warnings.Gravatar Jisi Liu2015-06-24
| | | | | | | | | | | | | | | | | | | | | - control reaches end of non-void function. - remove a deprecated IsMatch. Change-Id: Ifdeb15879bbcf591c48dc7fda1cd8994bdf87bb3
* | | Merge pull request #503 from thomasvl/add_nonnill_markupGravatar Paul Yang2015-06-19
|\ \ \ | | | | | | | | Add nonnull/nullable/null_resettable markup to ObjC library.
* | | | using ::isnan to avoid conflicts with std::isnan for C++11 build.Gravatar Jisi Liu2015-06-18
| | | | | | | | | | | | | | | | Change-Id: I057b44eff04c3b0062a4fd4307ce6e4ca1eb952b
* | | | Merge pull request #501 from xfxyjwf/downGravatar Feng Xiao2015-06-17
|\ \ \ \ | | | | | | | | | | Down-integrate from internal code base.
| * | | | Fix broken builds.Gravatar Feng Xiao2015-06-17
| | | | |
* | | | | Make the code independent of config.hGravatar Jisi Liu2015-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | Add nonnil markup to ObjC library.Gravatar Thomas Van Lenten2015-06-16
| |/ / / |/| | | | | | | | | | | Add the clang annotations to the objc library and generated code to help with Swift bridging and compiler checks.
| * | | Down-integrate from internal code base.Gravatar Feng Xiao2015-06-15
|/ / / | | | | | | | | | | | | | | | [ci skip] Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d
| | * Implement parsing for proto3 primitive repeated fields. Previously, forGravatar Bo Yang2015-06-15
| |/ |/| | | | | | | proto3 primitive repeated fields, packed data cannot be parsed if definition is unpacked. Neither is the other way.
* | Merge pull request #488 from AustinSchuh/ruby_test_fixGravatar Feng Xiao2015-06-15
|\ \ | | | | | | Modified FindRubyTestDir to use GOOGLE_THIRD_PARTY_PROTOBUF
* \ \ Merge pull request #495 from pherl/masterGravatar Jisi Liu2015-06-13
|\ \ \ | | | | | | | | Make pbconfig.h independent of config.h
| * | | Make pbconfig.h independent of config.hGravatar Jisi Liu2015-06-13
| | | | | | | | | | | | | | | | Change-Id: I31ead985b4ac5b02fb7558d34c1da19fd837b50a
* | | | Merge pull request #481 from Qartar/masterGravatar Feng Xiao2015-06-12
|\ \ \ \ | | | | | | | | | | Workaround for MSVC's string literal compiler limit.
| * | | | Workaround for MSVC's string literal compiler limit.Gravatar Qartar2015-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Give descriptor.proto a go packageGravatar Tamir Duberstein2015-06-12
| |/ / / |/| | | | | | | | | | | | | | | This is currently done in golang/protobuf using `sed`. This change should simplify things.
| | * | Modified FindRubyTestDir to use GOOGLE_THIRD_PARTY_PROTOBUFGravatar Austin Schuh2015-06-10
| |/ / |/| |
* | | Merge pull request #480 from thomasvl/objc_beta_dropGravatar Paul Yang2015-06-09
|\ \ \ | | | | | | | | Beta quality drop of Objective C Support.
* | | | Refactored threadlocal logic.Gravatar Austin Schuh2015-06-08
| |/ / |/| | | | | | | | | | | | | | | | | 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.
| * | Beta quality drop of Objective C Support.Gravatar Thomas Van Lenten2015-06-08
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | Merge pull request #468 from AustinSchuh/unsigned_protoGravatar Feng Xiao2015-06-06
|\ \ | | | | | | Marked another compiler literal unsigned.
| * | Marked another compiler literal unsigned.Gravatar Austin Schuh2015-06-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fixed bug in GOOGLE_PREDICT_FALSE.Gravatar Austin Schuh2015-06-05
|/ / | | | | | | | | | | | | 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.
* | Merge pull request #462 from anandolee/masterGravatar Jie Luo2015-06-04
|\ \ | | | | | | Migrate writer to printer for C#
* \ \ Merge pull request #457 from xfxyjwf/cmakeGravatar Feng Xiao2015-06-04
|\ \ \ | | | | | | | | Add cmake support.
| | * | Migrate writer to io::Printer for C#Gravatar Jie Luo2015-06-04
| | | |
* | | | Merge pull request #453 from bakineggs/masterGravatar Feng Xiao2015-06-03
|\ \ \ \ | | | | | | | | | | Add protoc path detection for Mac OS
| | | | * Delete default UnknownFieldSet when shuting down.Gravatar Feng Xiao2015-06-02
| |_|_|/ |/| | |
* | | | Merge pull request #444 from xfxyjwf/vs2010_fixGravatar Feng Xiao2015-06-02
|\ \ \ \ | | | | | | | | | | Fix two issues on vs2010.
| | * | | Add protoc path detection for Mac OSGravatar Dan Barry2015-06-02
| |/ / / |/| | |
* | | | Merge pull request #305 from ezegomez/masterGravatar Feng Xiao2015-06-02
|\ \ \ \ | | | | | | | | | | Fix unittest in i386