Rose
ef1c9fd907
[C++] Fix missing #ifdef for undefined identifiers ( #9201 )
...
* Fix #if for undefined identifiers
* port_undef.inc
2021-11-10 16:37:03 -08:00
Kent Ross
d88c8d5d4b
Implement unambiguous comparisons for RepeatedPtrIterator in C++20 ( #9139 )
2021-11-04 07:16:02 -07:00
Adam Cozzette
7ccf4d8f67
Merge pull request #9169 from protocolbuffers/3.19.x
...
Merge 3.19.x into master
2021-11-02 10:10:47 -07:00
Adam Cozzette
7c40b2df1f
Update protobuf version ( #9167 )
2021-10-28 14:07:53 -07:00
Marnix Bouhuis
e58469bdbe
JS: Fixed ReferenceError: window is not defined
when getting the global object ( #9156 )
2021-10-28 17:46:36 +00:00
Chris Bainbridge
65852d6e9c
Fix comment syntax in any.proto ( #8792 )
...
* Fix comment syntax in any.proto
Remove extra spaces which cause incorrect indentation in godoc.
Remove the "====" style title which is not rendered by godoc.
* Run ./generate_descriptor_proto.sh
2021-10-27 11:28:21 -07:00
appledragon
1d2e8d9302
for old clang build issue, related with https://reviews.llvm.org/D12375 ( #9159 )
...
This seems wrong: given [[foo]] [[bar]], we'll now parse the second one as an MS attribute in a context where both are allowed.
2021-10-27 09:45:42 -07:00
Marnix Bouhuis
e350ef8c20
JS: Fixed ReferenceError: window is not defined
when getting the global object ( #9156 )
2021-10-26 09:48:47 -07:00
deannagarcia
d630f96dce
Merge pull request #9144 from appledragon/master
...
for windows build fail issue, confliction with std max
2021-10-25 14:30:45 -07:00
Taufiq Rahman
84c2e1e502
Fix grammatical error in comments #7603
2021-10-26 02:09:13 +06:00
appledragon
02d2e5fdd7
Update stl_util.h
2021-10-25 15:31:06 +08:00
Adam Cozzette
42db8a3f96
Make IsDescriptor* helpers lenient about descriptor name ( #9127 )
...
Our internal version of the codebase has a different path and package
name for descriptor.proto, so this change updates IsDescriptorProto()
and IsDescriptorOptionMessage() to be able to handle both the internal
and external descriptor types.
2021-10-21 11:47:05 -07:00
Adam Cozzette
e6430dd4a0
Merge pull request #9136 from protocolbuffers/3.19.x
...
Merge 3.19.x into master
2021-10-21 11:45:51 -07:00
Adam Cozzette
17b30e9647
Update protobuf version ( #9119 )
2021-10-20 10:14:02 -07:00
Joshua Haberman
912eb8b89e
Merge pull request #9121 from haberman/rubyfix
...
Fix for descriptor_pb.rb: google/protobuf should be required first.
2021-10-19 17:14:26 -07:00
Joshua Haberman
bb5a2684de
Minor whitespace fixes and test fixups.
2021-10-19 16:21:24 -07:00
deannagarcia
51cb7f99d7
Merge pull request #9120 from protocolbuffers/kotlinInlining
...
Fixing inlining and deprecation for repeated string fields in kotlin
2021-10-19 15:21:52 -07:00
Joshua Haberman
4c445b1803
Fix for descriptor_pb.rb: google/protobuf should be required first.
2021-10-19 14:51:52 -07:00
Deanna Garcia
ad9eb238cc
Fixing formatting
2021-10-19 21:36:30 +00:00
Deanna Garcia
33113ce9f9
Fixing inlining and deprecation for repeated string fields in kotlin
2021-10-19 21:34:32 +00:00
Adam Cozzette
3f3e6f47c6
Update version to 3.19.0-rc2 and fix changelog about Java 7 ( #9116 )
...
* Update protobuf version
* Update CHANGES.txt to reflect that we're not yet dropping Java 7
2021-10-19 09:01:57 -07:00
Masaki Hara
d08bc71c96
Suppress dot-delimiter warning if ruby_package consists of a single component ( #7276 )
2021-10-15 20:11:59 -07:00
Adam Cozzette
519340d662
Update protobuf version ( #9106 )
2021-10-15 14:33:06 -07:00
Adam Cozzette
f367bfb13d
Use dedicated helper functions for map descriptors ( #9099 )
...
The Descriptor class now has map_key() and map_value() methods for
accessing the special key and value fields in generated map entry
messages. This commit updates all the relevant code to use these
accessors instead of the clunkier FindFieldByName("key") or
FindFieldByName("value") approach.
2021-10-15 14:26:54 -07:00
Adam Cozzette
d049bce844
Remove references to HAVE_PTHREAD ( #9100 )
...
This is based on @haberman's changes in #8257 . Now that we're using
std::mutex we no longer need to check whether pthreads are available, so
this commit removes references to HAVE_PTHREAD. I left the autotools
build alone, though, since we are likely to drop support for it soon
anyway.
2021-10-15 13:10:38 -07:00
Jorg Brown
72f085747e
Use int32_t rather than int32.
2021-10-14 19:44:18 -07:00
Marnix Bouhuis
6bc21b531e
Update the way we get the global object, to comply with CSP no-unsafe-eval ( #8864 )
2021-10-14 15:15:20 -07:00
Adam Cozzette
68c17dcde8
Tweak syntax of casting function to void
...
GCC 4.9 seems to be unable to handle (void) syntax with a function, but
it is OK with a static_cast to void.
2021-10-12 11:12:39 -07:00
Adam Cozzette
4ffb31e906
Merge tag 'refs/tags/sync-piper' into sync-stage
2021-10-12 10:19:11 -07:00
Adam Cozzette
1f66b1b032
Sync from Piper @402594188
...
PROTOBUF_SYNC_PIPER
2021-10-12 10:19:10 -07:00
Dietmar Scheidl
3bdcc1266b
Fix build on AIX and SunOS ( #8373 ) ( #9065 )
...
* fix includes for AIX and SunOS
2021-10-11 13:46:54 -07:00
mgabris
1b22582bc0
Fix unused variable warnings in extension_set.h ( #9073 )
2021-10-11 13:39:14 -07:00
johanmoe
15c63ad850
Fix build error with MinGW ( #9077 )
...
Fixes:
* zero_copy_stream_impl.cc uses F_GETFL when build with MinGW,
which isn't defined under Windows.
2021-10-09 11:45:56 -07:00
NexusNull
5142e362bc
Update README.md ( #9078 )
...
remove dollar sign for easier copying
2021-10-09 11:42:59 -07:00
Adam Cozzette
3afc828309
Sync from Piper @401883098
...
PROTOBUF_SYNC_PIPER
2021-10-08 16:45:26 -07:00
Adam Cozzette
2a75e8ca58
Merge branch '3.18.x' into merge-3.18.x
2021-10-05 14:04:13 -07:00
Adam Cozzette
0dab03ba7b
Update protobuf version to 3.18.1 ( #9051 )
...
* Update protobuf version
* Update PHP release notes in package.xml
2021-10-04 17:43:33 -07:00
Jason Lunn
f88c8ef11a
Remove vestigial function that makes a dated claim that Ruby doesn't support proto2
2021-10-04 15:46:14 +00:00
Thomas Van Lenten
ffcae81f1f
Merge pull request #9039 from thomasvl/test_parse_simple
...
ObjC: Test the simple parse helper and fix an edge case with errors in the final line
2021-10-01 15:46:03 -04:00
Thomas Van Lenten
be37b08a31
review feedback
2021-10-01 14:31:26 -04:00
Thomas Van Lenten
9ab14a81e1
Fix spacing in message (missing a space between words from line split)
2021-10-01 13:50:50 -04:00
Thomas Van Lenten
a9e1d7c177
Remove some of the state handoff via ivars within Parser.
...
Hopefully makes things a litte easier to follow.
2021-09-30 17:56:37 -04:00
Thomas Van Lenten
a7823bbd45
Ensure errors are reported from the last chunk of a file.
...
- Fix case where no error was provide if the consumer rejected something in the
final chunk of input.
- Expose a more testable interface for the parser.
- Test all the basic behaviors of the parser.
2021-09-30 15:46:52 -04:00
Josh Haberman
129b3e8a98
Merge branch 'master' into sync-stage
2021-09-28 15:28:48 +00:00
Joshua Haberman
567efd4c3e
Merge pull request #9026 from haberman/merge-release
...
Merge 3.18.x release branch to master
2021-09-27 17:55:39 -07:00
Joshua Haberman
2128ce074f
Merge branch '3.18.x' into merge-release
2021-09-27 15:29:06 -07:00
Josh Haberman
28c52fd5c4
Merge tag 'refs/tags/sync-piper' into sync-stage
2021-09-27 19:18:42 +00:00
Josh Haberman
624d29d833
Sync from Piper @399250367
...
PROTOBUF_SYNC_PIPER
2021-09-27 19:18:41 +00:00
Joshua Haberman
5e8396fd27
Performance fix for DynamicMessage: force GetRaw() to be inlined.
2021-09-24 15:17:30 -07:00
Thomas Van Lenten
5d5bc234ea
Move some common code into a helper.
2021-09-24 13:22:10 -04:00