Paul Yang
cf7c15e31a
Fix ruby gc_test in ruby 2.4 ( #4011 )
...
* Fix ruby gc_test in ruby 2.4
* Initialize global variables to Qnil.
7 years ago
Adam Cozzette
9b09a2af14
Merge pull request #4017 from acozzette/update-file-lists
...
Ran update_file_lists.sh to update Bazel and CMake file lists
7 years ago
Adam Cozzette
0fcca8f910
Merge pull request #4018 from acozzette/android-portable-log2-floor
...
Use the portable version of Log2Floor for Clang with older Android NDK versions
7 years ago
Jeffrey Quesnelle
f5b086273a
use const char* instead of const std::string& in normalize()
7 years ago
Adam Cozzette
63a0afca70
Use the portable version of Log2Floor for Clang with older Android NDK versions
...
This is necessary for avoiding a strange compiler error that we have
already run into with older versions of Clang on NaCl.
7 years ago
Paul Yang
0e7b589566
Add discard unknown API in ruby. ( #3990 )
...
* Add discard unknown API in ruby.
* Add test for oneof message field.
* Add TestUnknown to represent unknown field data clearly.
* Only serialize the message with unknown fields itself in test.
* Move discard_unknown from Message to Google.Protobuf
7 years ago
Adam Cozzette
609d752650
Ran update_file_lists.sh to update Bazel and CMake file lists
...
This should fix Bazel builds, since those were missing a new file
(implicit_weak_message.cc).
7 years ago
Jeffrey Quesnelle
b32c2a80e0
fix undefined behavior in C++03
7 years ago
Rodrigo Hernandez
24493eef93
Using binary one's complement to negate an unsigned int
...
This removes a Visual Studio warning:
warning C4146: unary minus operator applied to unsigned type, result
still unsigned.
7 years ago
Paul Yang
c370f88fb1
Recursively clear unknown fields in submessages. ( #3982 )
...
* Recursively clear unknown fields in submessages.
* Recursively discard unknown fields in submsg for c extension
* Fix zts build
* Add comment for tests
* Add a TODO to add a util for encoding varint for better readability.
* Add test for oneof message field.
7 years ago
Jisi Liu
1b5b3b2839
Merge pull request #4013 from laszlocsomor/io_win32
...
io_win32: support non-ASCII paths
7 years ago
Laszlo Csomor
a3a1c93fb4
io_win32_unittest: remove incorrect error check
...
Unlike GetEnvironmentVariableW,
GetCurrentDirectoryW doesn't set
ERROR_INSUFFICIENT_BUFFER.
7 years ago
Laszlo Csomor
eb3bd6ec29
io_win32_unittest: fix condition in GetCwdAsUtf8
7 years ago
Laszlo Csomor
3f1b1a6da5
io_win32_unittest: use CWD as last tempdir
...
If the test cannot find a temp directory by
checking environment variables, it will fall back
to using the current working directory as the temp
directory root.
This is what the test used to do as of commit
6de51caed5
and what was then changed by commit
792d098769
7 years ago
Laszlo Csomor
57a01c7fbe
io_win32: add more encoding-related tests
7 years ago
Laszlo Csomor
65da9fd97f
io_win32: support non-ASCII paths
...
Fixes https://github.com/google/protobuf/issues/3951
7 years ago
Laszlo Csomor
953a0253fc
io_win32_unittest: make //:win32_test run again
...
Do not use "googletest.h", apprently that leads to
linking errors on Windows which I couldn't figure
out how to solve, and decided to just go with
plain gTest instead.
See https://github.com/google/protobuf/issues/3951
7 years ago
Bo Yang
457f6a607c
Add release log
7 years ago
Bo Yang
ba60b854b6
Update php c extension version number to 3.5.0.1
7 years ago
Bo Yang
212563d756
Fix memory leak in php7
7 years ago
Bo Yang
3b7a5f4515
Fix several more memory leak
7 years ago
Bo Yang
7d3437152a
Fix memory leak when creating map field via array.
7 years ago
Bo Yang
e0d3aa057b
Fix memory leak when creating repeated field via array.
7 years ago
Paul Yang
de44982a74
Remove duplicate typedef. ( #3975 )
7 years ago
W
0316ae802d
--pre is not necessary
...
--pre was not necessary to install google-protobuf when I tried it today (2017-12-06).
7 years ago
Adam Cozzette
9021f623e1
Merge pull request #3988 from acozzette/down-integrate
...
Integrated internal changes from Google
7 years ago
Yilun Chong
173f3043d3
Merge pull request #3926 from BSBandme/down_sync_benchmark
...
Sync benchmark changes from internal
7 years ago
Adam Cozzette
e372df5c97
Fixed failing JS tests
7 years ago
Feng Xiao
db7c043f6d
Merge pull request #3968 from fahhem/patch-2
...
Add a check_version() for use in WORKSPACEs
7 years ago
Fahrzin Hemmati
35119e39a0
Add a check_protobuf_required_bazel_version() for use in WORKSPACEs
7 years ago
Yilun Chong
1fd6c1761e
Fix bugs to pass tests
7 years ago
Adam Cozzette
7bb8584f9d
Updated conformance failure lists
7 years ago
Bo Yang
b140cb3145
Fix memory leak when creating map field via array.
7 years ago
Thomas Van Lenten
716acc3b97
Remove Xcode directives on some configs.
...
Travis changed their default image:
https://blog.travis-ci.com/2017-11-21-xcode8-3-default-image-announce
So there is no need to set a specific image any more, and the non
apple language tests should be able to use the default images.
7 years ago
Bo Yang
1acacf46cc
Fix memory leak when creating repeated field via array.
7 years ago
Yilun Chong
1c062a65af
Sync internal benchmark changes
7 years ago
Adam Cozzette
5d647e19e7
Updated Makefile.am to add a new file to EXTRA_DIST
7 years ago
Adam Cozzette
0ba8eea655
Merge branch 'master' into down-integrate
7 years ago
Adam Cozzette
92a7e778e7
Integrated internal changes from Google
7 years ago
Adam Cozzette
a711e3d5b4
Merge pull request #3979 from acozzette/3.5.x-merge
...
Merge 3.5.x branch into master
7 years ago
Adam Cozzette
a27da09339
Merge branch '3.5.x' into 3.5.x-merge
7 years ago
Paul Yang
94bb1eed17
Remove duplicate typedef. ( #3975 )
7 years ago
Paul Yang
74e7decbbf
Provide discardUnknonwnFields API in php ( #3976 )
...
* Provide discardUnknownFields API in php implementation
* Provide discardUnknownFields API in php c extension.
7 years ago
Feng Xiao
6de51caed5
Merge pull request #3824 from anuraaga/dev_rag
...
[Java] Add a UTF-8 decoder that uses Unsafe to directly decode a byte buffer.
7 years ago
Feng Xiao
da89eb25ef
Merge pull request #3955 from linux-on-ibm-z/master
...
Adding Release_CompareAndSwap 64-bit variant
7 years ago
Jie Luo
6d6099553b
Update csharp version number ( #3958 )
7 years ago
Joshua Haberman
0289dd8f90
Merge pull request #2519 from rubynerd-forks/ruby-fix-repeated-message-type-field
...
unwrap descriptor class before comparison of RepeatedField types
7 years ago
Jon Skeet
74f64b667c
Fix JsonTokenizer exception message
7 years ago
Anuraag Agrawal
3e944aec9e
Add a UTF-8 decoder that uses Unsafe to directly decode a byte buffer.
7 years ago
Adam Cozzette
3c6fd3f7f9
Merge pull request #3960 from acozzette/libprotoc-export-fix
...
Added back in LIBPROTOC_EXPORT which was removed by mistake
7 years ago