Adam Cozzette
8a3c4948a4
Merge pull request #8858 from acozzette/sync-stage
...
Integrate from Piper for C++, Java, and Python
3 years ago
Adam Cozzette
75680f8a70
Remove the _build directory before building protoc
3 years ago
Adam Cozzette
ed1d7443ff
Make generate_test_protos.sh echo commands
3 years ago
Adam Cozzette
bc67ae820b
Initialize TableArena::small_size_blocks_ inside constructor
...
This should fix some compiler errors about a missing initializer when
building with -Wmissing-field-initializers on GCC 4.8.5. I think this
must be a GCC bug, so let's just work around it.
3 years ago
Adam Cozzette
0554bb24c0
Add a top-level .bazelrc to make sure we use C++11
3 years ago
Adam Cozzette
4b86ec667a
Add -k flag to bazel test runs
...
This will ensure that the build keeps going even if there is an error,
so that we can see as many results as possible without having to fix the
error and kick off another run.
3 years ago
Adam Cozzette
d7320b15ee
Fix compiler error in dynamic_message.cc
3 years ago
Adam Cozzette
0773db2124
Fix Kotlin tests
3 years ago
UebelAndre
ae26a81918
bazel: make `*.bzl` files publicly accessible for use with stardoc ( #8847 )
3 years ago
Adam Cozzette
1a024e8e36
Tweak brace initialization in descriptor.cc
3 years ago
Adam Cozzette
6cee7c604e
Temporarily disable ExtensionRegistryFactoryTest
3 years ago
Adam Cozzette
0a4fcd5d97
Fix memory leak in InlinedStringField
3 years ago
Matt Fowles Kulukundis
51405b6b92
Merge pull request #8859 from tamird/warnings
...
Disallow missing field initializers
3 years ago
Adam Cozzette
e4fb604bc1
Use pipe instead of pipe2 for compatibility with Mac OS
3 years ago
Tamir Duberstein
57a120fe3b
Disallow missing field initializers
...
Change-Id: I0f60c220d1441ee5594c9c9437a68de84c6c854a
3 years ago
Adam Cozzette
64e9f1b5c7
Add an extra pair of braces around constexpr std::array
3 years ago
Matt Fowles Kulukundis
7ab417fa49
Merge pull request #8860 from tamird/more-warnings
...
Disallow minor warnings
3 years ago
Tamir Duberstein
9e675037dc
Disallow deprecated-declarations in non-test
...
Some deprecated functions have tests, so they must be exempted.
3 years ago
Tamir Duberstein
2772f0d553
Disallow unused-function, write-strings
...
unused-function was suppressed way back in b2b65842ea
.
write-strings was suppressed in 2506cf5cf4
.
Neither appears to be needed today.
3 years ago
Tamir Duberstein
7e97fd4168
BUILD: buildifier
...
Automatically format using `buildifier BUILD`.
3 years ago
Adam Cozzette
2fd5c96f4d
Add map_test.inc to build configs and new Kotlin files to java_EXTRA_DIST
3 years ago
Adam Cozzette
d46abc1e7e
Update BUILD and cmake files and add some missing Java dependencies
3 years ago
Joshua Haberman
66d749188f
Merge pull request #8854 from haberman/google-wyhash
...
Migrate PHP & Ruby to ABSL wyhash
3 years ago
Adam Cozzette
f56438cb62
Update CHANGES.txt
3 years ago
Adam Cozzette
e1930cd028
Fix unused parameters in cpp_helpers.cc
3 years ago
Adam Cozzette
5d03f8c8a5
Merge tag 'refs/tags/sync-piper' into sync-stage
3 years ago
Adam Cozzette
562fc946c7
Sync from Piper @388508285
...
PROTOBUF_SYNC_PIPER
3 years ago
SpringHack
343f778572
Fix default value of enum(int) in json_util with proto2 ( #8835 )
3 years ago
Joshua Haberman
fa8acc8e4c
Removed wyhash files from the file list.
3 years ago
Joshua Haberman
d13afed563
Revert "Removed obsolete file from Makefile.am."
...
This reverts commit e9b368655a
.
3 years ago
Joshua Haberman
ddda90d29c
Revert "Make the Ruby DSL use a unique filename for each implicit file."
...
This reverts commit db12f11466
.
3 years ago
Joshua Haberman
726b7c2fed
Removed obsolete file from Makefile.am.
3 years ago
Joshua Haberman
3d51eb5d9f
Make the Ruby DSL use a unique filename for each implicit file.
3 years ago
Joshua Haberman
e9b368655a
Removed obsolete file from Makefile.am.
3 years ago
Joshua Haberman
db12f11466
Make the Ruby DSL use a unique filename for each implicit file.
3 years ago
Joshua Haberman
c5960fdcf5
Removed PHP support for third_party/wyhash in favor of ABSL wyhash.
3 years ago
Joshua Haberman
9d578a3a9c
Ported Ruby to ABSL wyhash.
3 years ago
Joshua Haberman
88e6a36562
Merge pull request #8850 from haberman/rubybuilder
...
Move DSL implementation from C to pure Ruby
3 years ago
Joshua Haberman
b7ab6255d6
Addressed PR comments.
3 years ago
Joshua Haberman
d339e1748e
Updated Ruby 3.0 test to 3.0.2.
3 years ago
Matt Fowles Kulukundis
79370f1ffa
Merge pull request #8844 from fowles/master
...
remove various broken build status tags
3 years ago
Joshua Haberman
2538273fee
Add new file to Makefile.am.
3 years ago
Joshua Haberman
cb649b61e3
Fix for newer Rubies where you cannot #force_encoding on a frozen string.
3 years ago
Joshua Haberman
e2360d768f
Put the raw descriptor data after __END__ in the Ruby source.
3 years ago
Joshua Haberman
275eac2a95
Merge branch 'master' into rubybuilder
3 years ago
Joshua Haberman
16e16eb8cd
pure-Ruby DSL is passing all tests!
3 years ago
Joshua Haberman
b4b5c89c31
Merge branch 'master' into rubybuilder
3 years ago
xidang
914c6fe101
Fix #8748 tests.exe link failure under mingw/mingw64 ( #8751 )
3 years ago
Yuriy Chernyshov
7326b571d2
Fix undefined symbol error around SharedCtor() ( #8827 )
...
* Fix undefined symbol error around SharedCtor()
Apparently, #8532 was incorrect if applied to 3.17.x branch.
3.17.x changed code generation to mark `SharedCtor()` and `SharedDtor()` as inline in .pb.cc.
It looks like we have a compile-time undefined behavior in C++ now. As cppreference.com [says](https://en.cppreference.com/w/cpp/language/inline ):
_The definition of an inline function <...> must be reachable in the translation unit where it is accessed (not necessarily before the point of access)._
As protobuf allows custom plugins to generate custom code, there is no limitation on where SharedCtor couble be possible referenced from. In our case we have SharedCtor invoked from corresponding `.pb.h` code, thus triggering:
```
ld: error: undefined symbol: package::Message::SharedCtor()`
>>> referenced by file.pb.h:$$$$
```
If this patch is not applicable, I can take a look into changing the code generation, but doing this will be harder then removing _inline_.
* Regenerate checked-in generated .pb.cc files
3 years ago
Matt Kulukundis
d835808b7a
remove various broken build status tags
3 years ago