Adam Cozzette
1288d1ee2d
Fix dist install test by ensuring that we use Python 3 ( #9011 )
...
* Fix dist install test by ensuring that we use Python 3
Now that we have dropped Python 2 support, we need to make sure this
install test uses Python 3.
* Update Docker image to install Python 3 version of setuptools
* Run pip3 instead of pip
3 years ago
Prawn
8c39a1c4fd
An additional range so we can have FieldOptions, MessageOptions, EnumOptions, FileOptions, and OneOfOptions ( #9012 )
3 years ago
deannagarcia
2a5bf40b37
Merge pull request #9010 from protocolbuffers/toolchain
...
Creating bazel toolchain to crosscompile with
3 years ago
Thomas Van Lenten
c4e0deddb9
Add two new generation options around objc prefix usage.
...
- `require_prefixes`: Fail generation if a file doesn't have the option.
- `prefixes_must_be_registered`: If a prefix is in a file, it must be registered
in the expected file. There is a grey space here for files without packages as
there is no way to register it, so these case will still warn at the moment.
3 years ago
AN Long
b75bb09551
Add python-requires in setup.py ( #8989 )
...
* Add python-requires in setup.py
* Update setup.py
3 years ago
johanmoe
06c8cbea59
Fix cmake install for protoc component ( #8994 )
...
Fixes:
* RUNTIME DESTINATION for protoc TARGET is not given a COMPONENT option
3 years ago
Deanna Garcia
b1877bb27f
Style nits
3 years ago
Eddie-cz
58a7c8ab92
Update port_def.inc ( #8993 )
3 years ago
Vasily Fomin
8b59d5367c
Fix typo in Descriptor docstring ( #9001 )
3 years ago
Deanna Garcia
33f3c0ec99
Addressing first round of comments
3 years ago
Deanna Garcia
5532dae1da
Creating bazel toolchain to crosscompile with
3 years ago
zhangskz
740c4b082d
Update ruby_generator.cc to allow proto2 imports in proto3 ( #9003 )
...
* Update ruby_generator.cc to allow proto2 imports in proto3, with updated unit tests
* Update Makefile.am with new ruby_generated_code_proto2_import.proto
* Fix ruby_generator unit test to use temporary test directory for imported protos
* Add test for imported proto2 to ruby/tests
* Fix proto_path, restore to ../src/protoc, and fix/cleanup unit test.
* Rename Proto2TestMessage to TestImportedMessage for consistency, for ruby compiler tests
3 years ago
Elliotte Rusty Harold
a93074e546
deps: add j2objc annotations ( #9005 )
...
* deps: add j2objc annotations
@pzd this will be needed on the next sync with google3
3 years ago
Elliotte Rusty Harold
15c40c6cda
Merge pull request #9002 from elharo/elharo-patch-1
...
docs: 3.18.0 is released
3 years ago
Jason Erb
8e451fa7c4
Protobuf: Fix for C5041 for VC++ >= 15.5 ( #8979 )
...
* Protobuf: Fix for C5041 for VC++ > 15.5
Introduced in 15.5: https://docs.microsoft.com/en-us/cpp/overview/cpp-conformance-improvements-2017?view=msvc-160#inline-variables
15.5 is 1912: https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-160
Issue: #8978
* Fix comment wording for #8978
3 years ago
Sil3ntStorm
32677158b4
Fix unused variable warnings outside of compiler directory ( #8945 )
3 years ago
Prawn
e9b977fdce
Adding an extension number for protoc-gen-jsonschema ( #8999 )
3 years ago
Elliotte Rusty Harold
06cfc9a0e6
docs: 3.18.0 is released
3 years ago
Elliotte Rusty Harold
2501e9b856
Merge pull request #8912 from protocolbuffers/elharo-patch-3
...
same directory ignore
3 years ago
Paul Yang
89b14b1d16
Update change log ( #8974 )
3 years ago
zhangskz
69b0a78315
Merge pull request #8968 from zhangskz/sync-stage
...
Integrate from Piper for C++, Java, and Python
3 years ago
zhangskz
0fe47f3971
Merge branch 'master' into sync-stage
3 years ago
Sandy Zhang
e56c930d39
Fix map_test.proto package name
3 years ago
Elliotte Rusty Harold
5f55fe1d6b
enforce android API level 14 ( #8971 )
...
* enforce android API level 14
Add animal-sniffer plugin to check for android compatibility
* Revert "Merge pull request #7855 from belugabehr/ObjectsRequireNonNull"
This reverts commit a3e5587447
, reversing
changes made to f79f956b74
.
3 years ago
Paul Yang
12fb2b7450
Update protobuf version ( #8973 )
...
* Update protobuf version
* Update php notes
3 years ago
Sil3ntStorm
385672597f
Disable MSVC warning C4125 (decimal digit terminates octal escape sequence) ( #8928 )
3 years ago
Sil3ntStorm
8c7e082920
Fix warning about unary minus operator ( #8929 )
3 years ago
Sil3ntStorm
d6699989ab
Fix shadowing warnings ( #8926 )
3 years ago
junzeng
fabb59448a
Clean up unused code in src\google\protobuf\compiler\cpp\cpp_helpers.h ( #8819 )
...
Co-authored-by: junzeng <hjunzeng6@gmail.com>
3 years ago
Sandy Zhang
f286ae16f1
Update release notes.
3 years ago
Sandy Zhang
6dd2176354
Sync from Piper @396393195
...
PROTOBUF_SYNC_PIPER
3 years ago
Sandy Zhang
6901a36a62
Merge tag 'refs/tags/sync-piper' into sync-stage
3 years ago
Joshua Haberman
ac02d6cbaa
Merge pull request #8970 from haberman/ruby-repeated-plus-arena
...
Fixed a memory bug with RepeatedField#+.
3 years ago
Joshua Haberman
39dc8ad11f
Merge pull request #8969 from haberman/php-destructor2
...
Fixed PHP SEGV when constructing messages from a destructor.
3 years ago
Joshua Haberman
26e0ee8eec
Fixed multirequest.sh script for when nohup.out does not exist.
3 years ago
David L. Jones
96d983a02e
Tweak update_file_lists.sh to handle changes to Makefile.am. ( #8965 )
3 years ago
Joshua Haberman
66a3e1a670
Added missing file to EXTRA_DIST.
3 years ago
Joshua Haberman
79ac88bbbb
Fixed a memory bug with RepeatedField#+.
...
We need to fuse the arrays so that the second array's data
stays live.
3 years ago
Sandy Zhang
565294d79f
Remove duplicate build_ext class and get_ext_filename method
3 years ago
Joshua Haberman
759a539736
Fixed PHP SEGV when constructing messages from a destructor.
...
This also fixes the keep_descriptor_pool_after_request option, which
was not working properly.
3 years ago
Sandy Zhang
5dcc8f2392
Add release notes.
3 years ago
Sandy Zhang
c43d053c1b
Merge tag 'refs/tags/sync-piper' into sync-stage
3 years ago
Sandy Zhang
215dd1335b
Sync from Piper @395989630
...
PROTOBUF_SYNC_PIPER
3 years ago
Joshua Haberman
7beab00b05
Merge pull request #8966 from jtattermusch/reintroduce_setuppy_aarch64
...
Reintroduce setup.py changes from #8280 erased by piper import #8902
3 years ago
Joshua Haberman
605ab956e0
Merge pull request #8964 from haberman/php-8.1
...
Added support for PHP 8.1 (currently in RC1) to the C extension
3 years ago
Joshua Haberman
757615ae54
Merge pull request #8959 from VeryStrongFingers/patch-1
...
Update Field Presence doc
3 years ago
Jan Tattermusch
3efd68c793
Reintroduce setup.py changes from #8280 erased by piper import #8902
3 years ago
Joshua Haberman
44df0abc02
Added support for PHP 8.1 (currently in RC1).
3 years ago
Joshua Haberman
19bac6af2d
Merge pull request #8961 from haberman/axe-py2
...
Removed Python 2.x support for Python.
3 years ago
Joshua Haberman
e5775e4fb6
Updated tests.sh to remove testing of old Python.
3 years ago