763 Commits (bc6990cfb4c353a283c9247f213a22bc996011d9)

Author SHA1 Message Date
Mark Hansen 3e37dafd74 Add unit test coverage for CodedOutputStream.write(byte[],int,int) 2 months ago
Mark Hansen 25e8fc197d Add unit test coverage for CodedOutputStream.write(ByteBuffer) 2 months ago
Mark Hansen a8ba3bb648 Add tests for CodedOutputStream.ByteOutputEncoder 2 months ago
Mark Hansen cdfc168184 Add tests for OutOfSpaceException in CodedOutputStream.OutputStreamEncoder. 2 months ago
Mark Hansen 33d4ac4064 Hoist AbstractBufferedEncoder.position to a field when reading/writing it repeatedly. 2 months ago
Mark Hansen 25e50caa3e Micro-optimise CodedOutputStream.AbstractBufferedEncoder.buffer(byte) 2 months ago
Mark Hansen dd78f0ac12 No-op: move position updating to end of method for consistency 2 months ago
Mark Hansen 24160d5bf8 CodedOutputStream: Avoid updating position to go beyond end of array. 2 months ago
Mark Hansen bc24489f93 Throw more informative OutOfSpaceExceptions when we run out of space serializing a proto. 2 months ago
Mike Kruskal 1fe26cf0c1 Updating version.json and repo version numbers to: 30.0-dev (#18567) 2 months ago
Mark Hansen 0ea9685deb Use an explicit locale when formatting OutOfSpaceException. 3 months ago
Mark Hansen f8f5136c42 Speed up CodedOutputStream by extracting rarely-executed string formatting code 3 months ago
Mark Hansen a51f98ce0c Optimise CodedOutputStream.ArrayEncoder.writeFixed32NoTag/writeFixed64NoTag 3 months ago
Mark Hansen 76ab5f2b10 CodedOutputStream: avoid updating position to go beyond end of array. 3 months ago
Mark Hansen 95ef4134d3 Add tests that CodedOutputStream.spaceLeft isn't negative after overflow. 3 months ago
Mark Hansen 0e75d92cce Convert IndexOutOfBoundsException to OutOfSpaceException in UnsafeDirectNioEncoder 3 months ago
Mark Hansen 63fc32250a Add tests for overflowing space available when writing 32/64-bit fixed integers. 3 months ago
Mark Hansen d98f5e160d When attempting to write a byte beyond the end of a byte[], don't update the position until after we've finished the bounds checks. 3 months ago
Mark Hansen c8c232f196 Add a test for writing a single byte, including beyond the end of the bounds. 3 months ago
Mark Hansen 5553ff1e50 Migrate CodedOutputStreamTest to @Parameterized. 3 months ago
Nathan Baulch e4cbc79ab4 Fix minor typos (#17682) 3 months ago
Protobuf Team Bot 83569cff3d Mute the minor version warning https://github.com/protocolbuffers/protobuf/issues/18096 3 months ago
Mark Hansen 030fcadb88 Inline byte array assertions (assertEqualBytes). 3 months ago
Protobuf Team Bot a037f28ff8 Add recursion check when parsing unknown fields in Java. 3 months ago
Mike Kruskal 4c923285a3 Fix packed reflection handling bug in edition 2023. 3 months ago
Xufei Tan 774ecb2c48 Internal change. 3 months ago
Adam Cozzette dca7bf06d8 Java: make sure message.getExtension() returns immutable lists 3 months ago
Protobuf Team Bot 52544482bf Move cc_proto_library from Bazel repository 3 months ago
Mark Hansen 5fb73242c5 Automated rollback of commit 3f1de2c6e8. 3 months ago
Mark Hansen 05a8a40123 Protobuf Lite ArrayLists: Defer allocating backing array until we have some idea how much to allocate. 3 months ago
Mark Hansen 4e8469cb45 Allocate correct-sized array when parsing packed fixed-width primitives 3 months ago
Mark Hansen ae51a89bf3 Add tests for ArrayDecoders decoding packed negative-sized primitive lists. 3 months ago
Mark Hansen 3f1de2c6e8 CodedOutputStream: Avoid updating position to go beyond end of array. 3 months ago
Mark Hansen cf0cf766c6 Remove unnecessarily suppressed unchecked warnings 3 months ago
Mark Hansen 37f481c16f ArrayDecoders: tag methods as throwing more-specific exception 3 months ago
Mark Hansen 4be4bf2b5c Grow ProtobufArrayList starting from array length, not size 3 months ago
Mark Hansen ee419f22e0 Bugfix: Make extensions beyond n=16 immutable. 3 months ago
Mark Hansen 3d4d514c64 Add test showing that not all the messages inside a Lite FieldSet were made immutable. 3 months ago
Mark Hansen e3cc31a12e Reserve capacity in ProtobufArrayList when calling Builder.addAllRepeatedMessage(Collection) 3 months ago
Mark Hansen bd1887e436 Avoid allocating iterators when calling Message.Builder.addAllFoo(RandomAccess List) 3 months ago
Mike Kruskal 90c3fa2c39 Remove more outdated conformance tests. 3 months ago
Mike Kruskal 0d9baf367f Remove outdated conformance/fuzz tests. 4 months ago
Sandy Zhang df8a11e266 Binary compatibility shims for GeneratedMessageV3, SingleFieldBuilderV3, RepeatedFieldBuilderV3, and their nested classes to restore binary compatibility with <=v3.x.x generated code built against v3.x.x prior to v4.26.0 breaking release. 4 months ago
Mike Kruskal 5cbf13bc9a Internal changes 4 months ago
Protobuf Team Bot 737803eec4 Implement a mechanism to control the output format of Message.toString within a Runnable instance. 4 months ago
Protobuf Team Bot b817373e6b Internal change 4 months ago
Protobuf Team Bot 939338d225 Internal change 4 months ago
Mike Kruskal e49ce62d1e Clean up documentation of deprecated features. 4 months ago
Protobuf Team Bot ca0c631ddc Skip a volatile read. 4 months ago
Mark Hansen 769305467a Automated g4 rollback of changelist 662071950. 4 months ago