- 29 Sep, 2015 1 commit
-
-
Ming Zhao authored
library.
-
- 25 Sep, 2015 1 commit
-
-
Feng Xiao authored
Handled blocks being too small in arena.cc
-
- 23 Sep, 2015 1 commit
-
-
Jan Tattermusch authored
Generate C# directory hierarchy with new option
-
- 16 Sep, 2015 1 commit
-
-
Feng Xiao authored
Add GOOGLE_ATTRIBUTE_NOINLINE to GetArena() and GetMaybeArenaPointer(…
-
- 14 Sep, 2015 1 commit
-
-
0xAAE authored
Add GOOGLE_ATTRIBUTE_NOINLINE to GetArena() and GetMaybeArenaPointer() methods. This is to avoid "unresolved link" errors in MSVC 2015 during Release build
-
- 10 Sep, 2015 2 commits
- 09 Sep, 2015 3 commits
-
-
Feng Xiao authored
Small fixes
-
Brian Silverman authored
It isn't always, which causes problems when trying to put negative values into the array with C++11.
-
Brian Silverman authored
Bazel expects all tests to do this.
-
- 08 Sep, 2015 2 commits
- 05 Sep, 2015 1 commit
-
-
Paul Yang authored
Fix podspec by adding missing comma
-
- 04 Sep, 2015 6 commits
-
-
Jorge Canizales authored
-
Jan Tattermusch authored
Pack/Unpack implementation for Any.
-
Jon Skeet authored
We still need the JSON representation, which relies on something like a DescriptorPool to fetch message types from based on the type URL. That will come a bit later. (The DescriptorPool comment in this commit is just a note which will prove useful if we use DescriptorPool itself.)
-
Joshua Haberman authored
Fix Python 3.4 cpp implementation
-
Feng Xiao authored
Rename 'BYTE_SIZE' macro to 'GOOGLE_PROTOBUF_BYTE_SIZE'
-
kbinani authored
Xcode raises warning that says "'BYTE_SIZE' macro redefined". The original 'BYTE_SIZE' macro definition is here, for example: '/Applications/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/mach/vm_param.h'
-
- 01 Sep, 2015 5 commits
-
-
Jon Skeet authored
Other changes are due to the well-known types changing without us regenerating.
-
Jon Skeet authored
-
Jon Skeet authored
-
Jon Skeet authored
This introduces a new C# option, base_namespace. If the option is not specified, the behaviour is as before: no directories are generated. If the option *is* specified, all C# namespaces must be relative to the base namespace, and the directories are generated relative to that namespace. Example: - Any.proto declares csharp_namespace = "Google.Protobuf.WellKnownTypes" - We build with --csharp_out=Google.Protobuf --csharp_opt=base_namespace=Google.Protobuf - The Any.cs file is generated in Google.Protobuf/WellKnownTypes (where it currently lives) We need a change to descriptor.proto before this will all work (it wasn't in the right C# namespace) but that needs the other descriptors to be regenerated too. See next commit...
-
Jon Skeet authored
-
- 31 Aug, 2015 1 commit
-
-
Dan O'Reilly authored
Fixes the ScalarMapContainer/MessageMapContainer implementations on Python 3.4, by dynamically allocating their PyTypeObjects using PyType_FromSpecWithBases, instead of statically allocating them. This is necessary because Python 3.4+ disallows statically allocating a class with a dynamically allocated parent. Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
-
- 29 Aug, 2015 3 commits
-
-
Feng Xiao authored
Conflicts: src/google/protobuf/extension_set.h
-
Joshua Haberman authored
Fix for https://github.com/google/protobuf/issues/758
-
Josh Haberman authored
Change-Id: Ifef8a300258214aae8f6b8516fbc61b7335b5724
-
- 28 Aug, 2015 11 commits
-
-
https://github.com/google/protobuf/issues/758Josh Haberman authored
Change-Id: I590b34b96c84a3ba6e094a0bd86f153147ade3d3
-
Feng Xiao authored
Move StringSpaceUsedIncludingSelf to lite library.
-
Feng Xiao authored
Remove a static initializer by removing a global of non-POD type.
-
Feng Xiao authored
Fix GOOGLE_PROTOBUF_ATOMICOPS_ERROR syntax error
-
Austin Schuh authored
When the user passed in a block which was smaller than the Block structure, this code would blow past the end of the memory and crash. Check for that condition.
-
Feng Xiao authored
Delete kNanosPerSecond from time.cc.
-
Peter Kasting authored
These are banned by the Google style guide, and Chromium has a hard no-new-static-initializers policy preventing updating to a new version of libprotobuf unless this is resolved. This is the first such change, I'll need to make at least one more in the future. Luckily, the protobuf source tree already has an alternative to static initializers in once.h; use that machinery instead. I defined everything in the .cc file in a blob to replace the old implementation rather than matching the .h layout precisely; let me know if a different ordering is preferred. I also eliminated the macro that used to be used here as spelling everything out only takes one additional line, and the macro didn't actually handle all details of using a particular member variable, just the declaration, so it felt a bit error-prone.
-
Peter Kasting authored
-
Peter Kasting authored
-
Peter Kasting authored
-
Peter Kasting authored
It's not enough to check for C++11 language support, as it's possible for projects to enable C++11 language and library features independently (e.g. Chromium currently does this). Instead, explicitly check the library version to see if it is recent enough to include unordered_{map|set}.
-
- 27 Aug, 2015 1 commit
-
-
Feng Xiao authored
Fix the no-op definitions of GOOGLE_PREDICT_{TRUE,FALSE}
-