Commit Graph

8504 Commits

Author SHA1 Message Date
Matt Kulukundis
556df2a33a grammar nit 2021-08-13 14:50:07 -04:00
Matt Kulukundis
f8c431ae8d Add a SECURITY.md 2021-08-13 14:29:56 -04:00
Adam Cozzette
8a3c4948a4
Merge pull request #8858 from acozzette/sync-stage
Integrate from Piper for C++, Java, and Python
2021-08-09 15:55:00 -07:00
Adam Cozzette
75680f8a70 Remove the _build directory before building protoc 2021-08-09 09:37:19 -07:00
Adam Cozzette
ed1d7443ff Make generate_test_protos.sh echo commands 2021-08-06 15:53:14 -07:00
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.
2021-08-06 13:55:54 -07:00
Adam Cozzette
0554bb24c0 Add a top-level .bazelrc to make sure we use C++11 2021-08-06 11:09:53 -07:00
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.
2021-08-06 10:48:36 -07:00
Adam Cozzette
d7320b15ee Fix compiler error in dynamic_message.cc 2021-08-06 10:47:55 -07:00
Adam Cozzette
0773db2124 Fix Kotlin tests 2021-08-06 09:59:14 -07:00
UebelAndre
ae26a81918
bazel: make *.bzl files publicly accessible for use with stardoc (#8847) 2021-08-06 08:08:32 -07:00
Adam Cozzette
1a024e8e36 Tweak brace initialization in descriptor.cc 2021-08-04 15:09:26 -07:00
Adam Cozzette
6cee7c604e Temporarily disable ExtensionRegistryFactoryTest 2021-08-04 14:34:53 -07:00
Adam Cozzette
0a4fcd5d97 Fix memory leak in InlinedStringField 2021-08-04 12:48:14 -07:00
Matt Fowles Kulukundis
51405b6b92
Merge pull request #8859 from tamird/warnings
Disallow missing field initializers
2021-08-04 19:21:59 +03:00
Adam Cozzette
e4fb604bc1 Use pipe instead of pipe2 for compatibility with Mac OS 2021-08-04 08:31:56 -07:00
Tamir Duberstein
57a120fe3b
Disallow missing field initializers
Change-Id: I0f60c220d1441ee5594c9c9437a68de84c6c854a
2021-08-04 11:19:26 -04:00
Adam Cozzette
64e9f1b5c7 Add an extra pair of braces around constexpr std::array 2021-08-04 07:41:13 -07:00
Matt Fowles Kulukundis
7ab417fa49
Merge pull request #8860 from tamird/more-warnings
Disallow minor warnings
2021-08-04 17:29:02 +03:00
Tamir Duberstein
9e675037dc
Disallow deprecated-declarations in non-test
Some deprecated functions have tests, so they must be exempted.
2021-08-04 09:31:33 -04:00
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.
2021-08-04 09:25:44 -04:00
Tamir Duberstein
7e97fd4168
BUILD: buildifier
Automatically format using `buildifier BUILD`.
2021-08-04 09:25:44 -04:00
Adam Cozzette
2fd5c96f4d Add map_test.inc to build configs and new Kotlin files to java_EXTRA_DIST 2021-08-03 14:13:43 -07:00
Adam Cozzette
d46abc1e7e Update BUILD and cmake files and add some missing Java dependencies 2021-08-03 13:44:26 -07:00
Joshua Haberman
66d749188f
Merge pull request #8854 from haberman/google-wyhash
Migrate PHP & Ruby to ABSL wyhash
2021-08-03 13:05:04 -07:00
Adam Cozzette
f56438cb62 Update CHANGES.txt 2021-08-03 12:57:50 -07:00
Adam Cozzette
e1930cd028 Fix unused parameters in cpp_helpers.cc 2021-08-03 12:40:01 -07:00
Adam Cozzette
5d03f8c8a5 Merge tag 'refs/tags/sync-piper' into sync-stage 2021-08-03 12:25:42 -07:00
Adam Cozzette
562fc946c7 Sync from Piper @388508285
PROTOBUF_SYNC_PIPER
2021-08-03 11:58:05 -07:00
SpringHack
343f778572
Fix default value of enum(int) in json_util with proto2 (#8835) 2021-08-03 09:53:23 -07:00
Joshua Haberman
fa8acc8e4c Removed wyhash files from the file list. 2021-08-02 22:23:03 -07:00
Joshua Haberman
d13afed563 Revert "Removed obsolete file from Makefile.am."
This reverts commit e9b368655a.
2021-08-02 20:47:40 -07:00
Joshua Haberman
ddda90d29c Revert "Make the Ruby DSL use a unique filename for each implicit file."
This reverts commit db12f11466.
2021-08-02 20:47:36 -07:00
Joshua Haberman
726b7c2fed Removed obsolete file from Makefile.am. 2021-08-02 20:44:07 -07:00
Joshua Haberman
3d51eb5d9f Make the Ruby DSL use a unique filename for each implicit file. 2021-08-02 20:43:43 -07:00
Joshua Haberman
e9b368655a Removed obsolete file from Makefile.am. 2021-08-02 20:39:33 -07:00
Joshua Haberman
db12f11466 Make the Ruby DSL use a unique filename for each implicit file. 2021-08-02 20:38:53 -07:00
Joshua Haberman
c5960fdcf5 Removed PHP support for third_party/wyhash in favor of ABSL wyhash. 2021-08-02 15:36:53 -07:00
Joshua Haberman
9d578a3a9c Ported Ruby to ABSL wyhash. 2021-08-02 15:32:01 -07:00
Joshua Haberman
88e6a36562
Merge pull request #8850 from haberman/rubybuilder
Move DSL implementation from C to pure Ruby
2021-08-02 14:50:35 -07:00
Joshua Haberman
b7ab6255d6 Addressed PR comments. 2021-08-02 12:59:49 -07:00
Joshua Haberman
d339e1748e Updated Ruby 3.0 test to 3.0.2. 2021-08-01 12:07:15 -07:00
Matt Fowles Kulukundis
79370f1ffa
Merge pull request #8844 from fowles/master
remove various broken build status tags
2021-08-01 10:30:40 +03:00
Joshua Haberman
2538273fee Add new file to Makefile.am. 2021-07-31 13:13:45 -07:00
Joshua Haberman
cb649b61e3 Fix for newer Rubies where you cannot #force_encoding on a frozen string. 2021-07-31 13:12:14 -07:00
Joshua Haberman
e2360d768f Put the raw descriptor data after __END__ in the Ruby source. 2021-07-31 12:18:34 -07:00
Joshua Haberman
275eac2a95 Merge branch 'master' into rubybuilder 2021-07-31 11:13:37 -07:00
Joshua Haberman
16e16eb8cd pure-Ruby DSL is passing all tests! 2021-07-31 11:13:08 -07:00
Joshua Haberman
b4b5c89c31 Merge branch 'master' into rubybuilder 2021-07-30 15:04:53 -07:00
xidang
914c6fe101
Fix #8748 tests.exe link failure under mingw/mingw64 (#8751) 2021-07-30 09:04:40 -07:00