aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| | * implement remove strdup usage and implement our ownJisi Liu2017-08-111-2/+12
| | | | | | | | | | | | | | | strdup is not part C or C++ standard but POXIS function. Several compilers failed to compile strdup or generate warnings.
| | * Adding missing imports for strdupJisi Liu2017-08-111-0/+1
| | |
| | * Fix mkdirJisi Liu2017-08-111-2/+6
| | |
| | * Make win32_io only for MSVCJisi Liu2017-08-1112-12/+22
| | | | | | | | | | | | | | | This excludes cygwin and mingw from using the self implemented functions.
| | * Fix the declaration order in ming32Jisi Liu2017-08-111-5/+5
| | |
| | * Fixing io_win32 for MinGW32Jisi Liu2017-08-111-0/+3
| | |
| * | Make compilers without ref-qualifier support happy.Jisi Liu2017-08-111-2/+4
| |/
| * Make no warning test stricter.Jisi Liu2017-08-101-12/+7
| | | | | | | | | | - Now it includes -Wextra except for unused-parameter. - Removed gtest dependency
| * Make code free of missing-field-initializers warningsv3.4.0rc2Jisi Liu2017-08-0916-61/+64
| |
| * Merge branch 'master' into 3.4.xBo Yang2017-08-052-0/+2
| |\
| * | Fix invalid offsetof warning.Jisi Liu2017-08-0315-144/+315
| | | | | | | | | | | | Use composition instead of inheritance for oneof default.
| * | Add destructors for default instances to the shutdown code.Gerben Stavenga2017-08-0216-73/+152
| | | | | | | | | | | | Verified test succeed under draconian heap checker
| * | Adding the missing headerJisi Liu2017-08-011-0/+1
| | |
| * | Export functions in io_win32.h in win DLL buildJisi Liu2017-08-011-13/+14
| | | | | | | | | | | | | | | Previous code duplicates io_win32.cc in sources of all the libraries that include io_win32.h header.
| * | Fix makefile.amJisi Liu2017-07-251-0/+3
| | |
| * | Fix build filesJisi Liu2017-07-251-0/+3
| | |
| * | Merge remote-tracking branch 'origin/master' into mergeJisi Liu2017-07-252-2/+3
| |\ \
| * | | Merge from masterJisi Liu2017-07-2533-89/+1276
| | | |
| * | | Merge remote-tracking branch 'origin/3.4.x' into vbJisi Liu2017-07-241-22/+32
| |\ \ \
| | * | | Omit the zip test if tools are not availableJisi Liu2017-07-241-22/+32
| | | | |
| * | | | Update required version on pre-generated filesJisi Liu2017-07-2412-12/+12
| | | | |
| * | | | Update pre generated filesJisi Liu2017-07-2412-12/+12
| | | | |
| * | | | Update version number for 3.4.0Jisi Liu2017-07-242-8/+8
| |/ / /
| * | | Fix distcheckJisi Liu2017-07-191-0/+1
| | | |
| * | | remove profileJisi Liu2017-07-193-2238/+0
| | | |
| * | | Merge master into 3.4.xJisi Liu2017-07-1884-1014/+1728
| |\ \ \
| * | | | Merge from Google internal for 3.4 releaseJisi Liu2017-07-18169-4951/+11729
| | | | |
* | | | | Fixing warning under Clang 6.x (-Wexpansion-to-defined) where the macro ↵drivehappy2017-08-151-2/+5
| | | | | | | | | | | | | | | | | | | | expansion producing 'defined' was warning on undefined behavior.
* | | | | Clean up typedefs for Atomic32/Atomic64Brad Larson2017-08-101-21/+14
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The typedefs for Atomic32 and Atomic64 were sometimes causing Atomic32 to be an int32 rather than an intptr_t on 32-bit platforms. On some of these platforms (ARM/CortexM building with GCC 6 in one case) int32 is a long int, while intptr_t is an int, which causes a compiler error even though long int and int are both 4 bytes. Having Atomic32 always be intptr_t on 32-bit platforms and Atomic64 always be intptr_t on 64-bit platforms should resolve any of these types of errors.
* | | | Add a objc_class_prefix to test_messages_proto3.proto.Thomas Van Lenten2017-07-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both test_messages_proto3.proto & test_messages_proto2.proto define message ForeignMessage {...} and enum ForeignEnum {...} but since objc doesn't use the proto package in the naming, these end up conflicting. Adding the objc_class_prefix option to the proto3 file ensure the generated objc types are all unique.
* | | | Merge pull request #3410 from adam-26/1745Adam Cozzette2017-07-251-0/+1
|\ \ \ \ | |_|_|/ |/| | | Fix issue #1745 - javascript allow dot in filename
| * | | Fix quotation marksAdam2017-07-241-1/+1
| | | |
| * | | Fix issue #1745 - javascript allow dot in filenameAdam2017-07-241-0/+1
| | | |
* | | | Merge pull request #3407 from bklarson/masterAdam Cozzette2017-07-2515-1/+29
|\ \ \ \ | | | | | | | | | | Add declaration for AddDescriptorsImpl()
| * | | | Put AddDescriptorsImpl() in anonymous namespaceBrad Larson2017-07-2414-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AddDescriptorsImpl() is a private static implementation detail, and needs to be declared but won't be used from outside the source file. Place it inside an anonymous namespace to fix a previous build error that would result in more restrictive build enviornments that use -Werror=missing-declarations or similar compiler flags.
| * | | | Add -Werror=missing-declarations to test buildsBrad Larson2017-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat missing declarations as an error for test builds, to prevent future updates which add functions without properly declaring them. This will prevent broken builds in more restrictive build environments.
* | | | | Merge pull request #3281 from BSBandme/ConformanceTestYilunChongYilun Chong2017-07-242-3/+219
|\ \ \ \ \ | |_|/ / / |/| | | | Proto2 test message support to conformance test
| * | | | Merge branch 'master' into ConformanceTestYilunChongYilun Chong2017-06-3040-819/+968
| |\ \ \ \
| * | | | | add some test proto2 supported, add js proto2 supported, fixed some errorYilun Chong2017-06-302-4/+4
| | | | | |
| * | | | | change php objc nodejs csharp rubyYilun Chong2017-06-291-7/+7
| | | | | |
| * | | | | add message set test caseYilun Chong2017-06-281-0/+20
| | | | | |
| * | | | | add support for proto2Yilun Chong2017-06-261-4/+4
| | | | | |
| * | | | | add test_proto2_message.proto and change conformnace/makefile.amYilun Chong2017-06-231-0/+196
| | | | | |
* | | | | | Merge pull request #2969 from laszlocsomor/masterFeng Xiao2017-07-2414-81/+950
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Windows: support long paths in open/mkdir/access
| * | | | | Windows: support long pathsLaszlo Csomor2017-07-1114-81/+950
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add implementations of open(2), mkdir(2), stat(2), etc. that support long paths under Windows (paths longer than MAX_PATH in <windows.h>, which is 260 characters). The implementations are in a separate namespace (google::protobuf::internal::win32), so they won't collide with the standard implementations in <io.h>, but after importing them with `using` they can be drop-in replacements. Fixes https://github.com/bazelbuild/bazel/issues/2634 Fixes https://github.com/google/protobuf/issues/2891
* | | | | | Fixed dynamic initialization for C++ liteAdam Cozzette2017-07-1915-75/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An ifdef condition seems to have been inverted by mistake, causing the dynamic initialization to occur for lite if and only if the _NO_STATIC_INITIALIZER macro is set. This problem manifested itself as segfaults due to uninitialized empty strings: https://github.com/google/protobuf/issues/2839 Since no one complained about initialization not happening, it would appear that we can just disable this initialization for lite unconditionally, so that is what this change does. Instead of the default instance initialization happening pre-main, it now always happens lazily when needed.
* | | | | | Merge pull request #3375 from TeBoring/3.3.xPaul Yang2017-07-1934-23/+98
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | Merge 3.3.x into master
| * | | | | Merge 3.3.x into masterBo Yang2017-07-1834-23/+98
| |\ \ \ \ \
| | * | | | | Update C++ generated code.Bo Yang2017-06-2113-13/+13
| | | | | | |
| | * | | | | Update version number to 3.3.2Bo Yang2017-06-212-4/+4
| | | | | | |