Ivan Shynkarenka
ddf2c6b6d0
Cygwin: error: ‘constinit’ variable ‘google::protobuf::_Struct_default_instance_’ does not have a constant initializer #9562 ( #10261 )
3 years ago
Brent Shaffer
d807712f1a
address review comments
3 years ago
tony
a6da5f7aa4
issue 8101 fix csharp name starting with digit
3 years ago
Joshua Haberman
a0e3399cd5
Sync from Piper @461060848
...
PROTOBUF_SYNC_PIPER
3 years ago
Brent Shaffer
0b90ee8d3f
address review comments
3 years ago
Jon Skeet
934b3b0871
Remove warning from plugin.proto that it's experimental
...
(The proto has been in production use for a long time now.)
3 years ago
Mike Kruskal
445a49480c
Adding Github Action to keep CMake generated file lists up to date ( #10243 )
3 years ago
theodorerose
463629bbe1
revert subprocess changes from open source
3 years ago
theodorerose
6cf86ac37a
Sync from Piper @460213275
...
PROTOBUF_SYNC_PIPER
3 years ago
Anis Ladram
1e9d43fe71
Add explicit abort() at the end of AlignFail
...
GCC cannot infer that `LogMessage::Finish()` (called indirectly by
`GOOGLE_LOG(FAIL)` in `AlignFail`) exits program when `level_ ==
LOGLEVEL_FATAL`. Compilation will create a warning in projects importing
the library for debug builds. The attribute cannot be individually
assigned to `LogMessage::Finish()` because it does return conditionally
of the log level. Tried with GCC 9.3.0 and GCC 12.1.0.
This change adds an explicit abort() for compiler to clearly understand
this does not return, and enables `[[noreturn]]` for MSVC as well.
3 years ago
theodorerose
4f593b7482
Sync from Piper @460195408
...
PROTOBUF_SYNC_PIPER
3 years ago
petr.dannhofer
c1278f8358
"Fixed" Visual Studio constinit errors both for clang-cl and msvc compilers under c+17 and c+20 standards
3 years ago
Matt Fowles Kulukundis
c7908f46c2
Slightly prettier way to express int min
3 years ago
tony
efa2b29058
Use nullptr instead of NULL
3 years ago
theodorerose
cc696d4bab
Sync from Piper @458570529
...
PROTOBUF_SYNC_PIPER
3 years ago
Deanna Garcia
24106fbe3a
Kdocify comments from source
3 years ago
Matt Kulukundis
1de4f31e90
fix to not use absl
3 years ago
Matt Fowles Kulukundis
3d3bd8d2fe
Avoid INT_MIN in obj-c codegen
3 years ago
tony
a34d060773
Fix for grpc.tools #17995 & protobuf #7474
...
Use CreateProcessW so that non-ascii paths are handled correctly
3 years ago
theodorerose
db6ac0da02
fix codespell
3 years ago
theodorerose
8b4a62b4b3
merged from upstream
3 years ago
theodorerose
ee7ba6d8f1
Sync from Piper @458326765
...
PROTOBUF_SYNC_PIPER
3 years ago
theodorerose
d296b2be9d
update build rules
3 years ago
theodorerose
152f97d8c1
merged from upstream
3 years ago
theodorerose
e98edc5991
Sync from Piper @456510836
...
PROTOBUF_SYNC_PIPER
3 years ago
theodorerose
617ee9dc66
update build rules
3 years ago
theodorerose
628a7e6fa4
Sync from Piper @457757259
...
PROTOBUF_SYNC_PIPER
3 years ago
theodorerose
52e071ecb3
merge 21.x into main
3 years ago
Protobuf Team Bot
839b18b1ba
Updating version.json and repo version numbers to: 21.2
3 years ago
theodorerose
39996cfa12
cherry-pick: arenastring
3 years ago
theodorerose
ae41e72dd3
Sync from Piper @456510836
...
PROTOBUF_SYNC_PIPER
3 years ago
Jorg Brown
7bb756c1cc
Re-instate commit c0fc2e881b
3 years ago
Jorg Brown
24d0a3bed1
Revert all changes to strutil.{h,cc} from this PR
3 years ago
Jorg Brown
a075d2fb14
Remove extraneous ';'
3 years ago
Jorg Brown
81491e034f
Can't use char * for quoted literals. I knew that.
3 years ago
Jorg Brown
e9668e41be
Find out who is calling StringReplace, or if the call is from strutil
...
itself.
3 years ago
Jorg Brown
dc7f4debbc
More debugging information please
3 years ago
Jorg Brown
126841ed7d
Add some extra tracing to figure out a crash during build
3 years ago
Jorg Brown
a94d41960e
Add missing file names to BUILD.bazel files.
3 years ago
Jorg Brown
a3e1de0113
Sync from Piper @455586341
...
PROTOBUF_SYNC_PIPER
3 years ago
Dave MacLachlan
e04ca460fb
Fix up missing include files for unordered_set/map
3 years ago
Thomas Van Lenten
772c98984a
Add package_as_prefix_forced_prefix generation option.
...
This is a generation option that provides serves the same purpose as the
existing GPB_OBJC_USE_PACKAGE_AS_PREFIX_PREFIX environment variable; just
providing a different way to set/enable it.
3 years ago
Elliotte Rusty Harold
ce537e8a3e
Sync from Piper @454206746
...
PROTOBUF_SYNC_PIPER
3 years ago
Marc Plano-Lesay
85225b83c3
Remove unused Offset function ( #10120 )
...
This fails to build with -Werror.
3 years ago
David Neto
af699898d2
Length check accommodates NUL emitted by sprintf ( #10128 )
...
Update the length check in google::protobuf::CEscapeInternal to account
for the extra NUL character emitted by snprintf when escaping hex and
octal sequences.
That function is an internal detail, not exported via any header.
Internally, it is used in two places, and both calls make buffers
that do have space for the extra NUL.
So in the actual usage, the check is redundant.
3 years ago
Dave MacLachlan
922f5024cb
Clean up some warnings
...
Move to explicit on single arg c'tors.
Move to unordered container types when working with pointers as order is likely unnecessary and just a performance issue.
3 years ago
Elliotte Rusty Harold
9e24b1912e
Sync from Piper @453894829
...
PROTOBUF_SYNC_PIPER
3 years ago
strangewiz
c0fc2e881b
Remove use of sprintf in strutil.cc ( #10112 )
...
Co-authored-by: Justin Cohen <justincohen@google.com>
3 years ago
secup
d37cbfd448
Update inlined_string_field.h ( #10107 )
...
Modify to #ifdef to prevent certain projects to report warnings are errors. thx u
3 years ago
Namgoo Lee
e7cc1aa970
remove const from function return type if returning const value ( #10101 )
3 years ago