Jon Skeet
9f597a4c59
Add regression test for https://github.com/protocolbuffers/protobuf/issues/9526
3 years ago
Jon Skeet
afb0ca40b3
Change C# editor config to use LF by default
3 years ago
Jon Skeet
e1e9d3e6da
Normalize all C# and .proto files to LF
...
This commit should have no non-whitespace changes
Fixes #9526 (in terms of content)
3 years ago
mkruskal-google
43bb1bfe42
Merge pull request #9692 from mkruskal-google/master
...
Reverting change to target frameworks that breaks kokoro
3 years ago
Jason Lunn
3dee6efa54
Merge pull request #9690 from JasonLunn/format_jruby_with_google-java-format
...
Run all JRuby source files through `google-java-format.`
3 years ago
Jason Lunn
615a8d99f8
Merge pull request #9691 from JasonLunn/fix_warnings
...
Cleanup warnings seen when running tests.
3 years ago
mkruskal-google
a114b008a2
Reverting change to target frameworks that breaks kokoro
3 years ago
Jason Lunn
d0fc2794c4
Cleanup warnings seen when running tests.
3 years ago
Jason Lunn
5b28ae70c0
Run all JRuby source files through `google-java-format.`
3 years ago
Jason Lunn
8e7f936696
Implement `respond_to?` in RubyMessage ( #9677 )
...
All synthetic methods implemented by `method_missing` are now supported by `respond_to?`.
Fixes issue #9202 .
* Fix null pointer exceptions exposed by new regression tests.
* Fix clear_ on oneofs so that it is safe to call repeatedly and so that respond_to? does not depend on whether the oneof is currently cleared.
* Code cleanup: reenable more tests on JRuby.
* Align JRuby behavior with CRuby by throwing a RuntimeError when attempting to assign to a oneof.
3 years ago
Jensaarai
b5a35bcc7e
Add C# .editorconfig to Makefile.am
3 years ago
Jensaarai
fb6016eaed
Add .editorconfig for csharp directory
...
Nicer experience for e.g. VS Code
3 years ago
Jensaarai
10df21ed5e
Add .NET 6 target to Google.Protobuf test projects
...
* .NET 5 reaches end-of-support in May, so update the Benchmarks project
to `net6.0`
* Update some NuGet packages to latest.
3 years ago
David L. Jones
236d04c5b4
Merge pull request #9669 from dlj-NaN/sync-stage
...
Integrate from Piper for C++, Java, and Python
Note that this renames several source files under src/google/protobuf/compiler.
3 years ago
David L. Jones
75418a54ae
Update ignored file paths after renaming.
3 years ago
David L. Jones
b012ef28b9
Regenerate cmake file lists.
3 years ago
David L. Jones
d06af454b5
Regenerate BUILD file lists
3 years ago
David L. Jones
40db3dabf0
Sync from Piper @436871048
...
PROTOBUF_SYNC_PIPER
3 years ago
Darly Paredes
744baa96ec
Merge pull request #9665 from darly/sync-stage
...
Integrate from Piper for C++, Java, and Python
3 years ago
Darly
d255f09036
Adding missing python files to the Makefile.am
3 years ago
Trent Houliston
85cb72481c
Fix invalid dependency manifest when using `descriptor_set_out` ( #9647 )
...
* Fix invalid dependency manifest when using `descriptor_set_out`
* Put the descriptor file in the temp directory so it gets deleted
3 years ago
Jason Lunn
80308c85a1
Merge pull request #9637 from JasonLunn/fix_9507
...
Fix NPE during encoding and add regression test for issue 9507.
3 years ago
Elliotte Rusty Harold
575d56bf85
sync JUnit version ( #9662 )
3 years ago
Darly Paredes
8e3746559d
Merge tag 'refs/tags/sync-piper' into sync-stage
3 years ago
Darly Paredes
a4c9effec1
Sync from Piper @436517178
...
PROTOBUF_SYNC_PIPER
3 years ago
Elliotte Rusty Harold
8c170146ee
download_data.sh no longer exists ( #9661 )
...
@haberman download_data.sh doesn't seem to exist any more and I can't find it in the git log
3 years ago
James Newton-King
e5ae3bb763
[C#] Update GetExtension to support getting typed value ( #9655 )
3 years ago
Adam Cozzette
405913c712
Merge pull request #9652 from acozzette/sync-stage
...
Integrate from Piper for C++, Java, and Python
3 years ago
yeqown
a69354f31b
apply a registration for `protoc-gen-fieldmask` extension ( #9646 )
...
* Update options.md
* add one blank line
3 years ago
Adam Cozzette
db80d59966
Add new Python file to Makefile.am
3 years ago
Adam Cozzette
d2256ed112
Fix warning about unused variable in unit test
3 years ago
Adam Cozzette
5ead3ba171
Update CHANGES.txt with recent internal changes
3 years ago
Adam Cozzette
2f09990544
Merge tag 'refs/tags/sync-piper' into sync-stage
...
# Conflicts:
# java/core/src/main/java/com/google/protobuf/Utf8.java
3 years ago
Adam Cozzette
a336ba0346
Sync from Piper @435734090
...
PROTOBUF_SYNC_PIPER
3 years ago
amirhadadi
46c3651c31
Implement Utf8.decodeUtf8 by using String constructor ( #9415 )
...
* Implement Utf8.decodeUtf8 by using String constructor and a search for the replacement string "\uFFFD". This greatly simplifies the implementation, speeds it up for ascii and saves in memory allocations for non ascii strings.
* Remove irrelevant comment about indexOf.
* Code style changes following review.
* Remove TODO + remove final per google style.
* Delete decodeUtf8 from UnsafeProcessor as it inherits the intended implementation from its parent.
* Move decodeUtf8 implementation from Utf8::Processor to Utf8 since it has only a single implementation which is independent of whether the processor is safe or unsafe.
* Change only the logic of UnsafeProcessor to use String constructor
This is done since some Android versions will see a performance regression if this change is applied.
So we are making this change only for UnsafeProcessor which is not used on Android.
* Remove duplicated Javadoc
Co-authored-by: ahadadi <ahadadi@outbrain.com>
3 years ago
Joshua Haberman
7f1acff2a4
Fixed Ruby 3.1 tests by marking intersect? as unimplemented. ( #9645 )
...
* Fixed Ruby 3.1 tests by marking intersect? as unimplemented.
* Updated compatibility tests.
3 years ago
Marco Concetto Rudilosso
abdfd093af
Allow pre-compiled binaries for ruby 3.1.0 ( #9566 )
...
* Allow pre-compiled binaries for ruby 3.1.1
* add comment
* fix build and use ruby 3.1.0
* add ruby31 to build CI for tests and release
* trying to fix ci
* install ruby 3.1.0 in ruby_build_environment.sh
* use head for rvm to install 3.1.0
* just install master version of rvm in prepare_build_macos_rc
* force install of master rvm in ruby_build_environment.sh
* Use coroutine=universal when compiling ruby31
* use ucontext
* fix filename
* fix coroutine name
* use git head for rake-compiler-dock
* use newest rake-compiler-dock version
3 years ago
Adam Cozzette
85eb57d267
Fix typo in src/README.md ( #9644 )
3 years ago
deannagarcia
854d86bb09
Merge pull request #9640 from protocolbuffers/toolchainCleanup
...
Toolchain cleanups
3 years ago
Jason Lunn
40cb0e43c0
Merge pull request #9638 from JasonLunn/master
...
Add alternative instructions for Homebrew users.
3 years ago
Deanna Garcia
faae704730
Toolchain cleanups
3 years ago
Jason Lunn
557f6fbfc8
Add alternative instructions for Homebrew users.
3 years ago
Jason Lunn
58e320a732
Fix NPE during encoding and add regression test for issue 9507.
3 years ago
deannagarcia
178ebc179e
Merge pull request #9628 from protocolbuffers/windowsSysroot
...
Removing toolchain_dir variable
3 years ago
Joshua Haberman
7ecf43f0ce
Updated Ruby to the latest upb. ( #9589 )
...
* Updated Ruby to the latest upb.
* Updated to newer upb.
3 years ago
Deanna Garcia
202ec9ed9b
Removing toolchain_dir variable
3 years ago
Arfrever Frehtes Taifersar Arahesis
5dab09408c
Enable GeneratedDescriptorTest.EnormousDescriptor test for GCC/Clang CMake builds ( #9617 )
3 years ago
Arfrever Frehtes Taifersar Arahesis
bd935e101d
cmake: Call get_filename_component() with DIRECTORY mode instead of PATH mode ( #9614 )
...
PATH mode is legacy alias for DIRECTORY mode (needed only for CMake <= 2.8.11):
https://cmake.org/cmake/help/latest/command/get_filename_component.html
3 years ago
Go Kudo
1722b16e03
[PHP] fix PHP build system ( #9571 )
...
* [PHP] fix PHP extension build system
* fix year
* fix EXTRA_DIST
* remove include header
* add comment
* Revert "add comment"
This reverts commit e462966aa927b01d888527c17aaf29ea9ac6b6b4.
* add comment
* fix dangling commit
Co-authored-by: Go Kudo <g-kudo@colopl.co.jp>
3 years ago
Adam Cozzette
1ddad63dd9
Sync from Piper @acozzette/proto_github_202203101748
...
PROTOBUF_SYNC_PIPER
3 years ago