1198 Commits (bd03560d9f17487737efc71dd03f21141a942f29)

Author SHA1 Message Date
Joe Schafer 44660b306a Rename maven to protobuf_maven in MODULE.bazel (#18641) 2 months ago
Mark Hansen 25724ab53e Lite: Remove intermediary dynamicMethod function trampolines 2 months ago
Protobuf Team Bot 0d7fd35086 Re-export includingDefaultValueFields in deprecated state for important Cloud customer. 2 months ago
Anuraag (Rag) Agrawal 461004e82d java: remove legacy note in docstring about calling includingDefaultValueFields with no args (#18569) 2 months ago
Mark Hansen 4e44304dee Short-circuit the second instanceof check in addAllCheckingNulls 2 months ago
Mark Hansen 429a93d5fd Remove some rawtypes warning suppressions in ArrayDecoders 2 months ago
Xufei Tan 49ce8d87b2 Internal change. 2 months ago
Mark Hansen f7b0faf558 Speed up SingleFieldBuilder.getBuilder() by avoiding reloading this.builder at return. 2 months ago
Mark Hansen 6ea07ef84c Remove unnecessary intermediate casts in CodedOutputStream 2 months ago
Mark Hansen fe349b7398 Remove no-op byte & 0xFF code from BinaryWriter 2 months ago
Mark Hansen 50c08eea1a Remove no-op byte & 0xFF in CodedOutputStream 2 months ago
Protobuf Team Bot 6628b8a3dc Restore runtime compatibility with 3.22.x gencode by re-adding the mutableCopy(list) methods. 2 months ago
Deanna Garcia 2d37fa821a Update Protobuf Java/Kotlin GitHub README. 2 months ago
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. 2 months ago
Mark Hansen f8f5136c42 Speed up CodedOutputStream by extracting rarely-executed string formatting code 2 months ago
Protobuf Team Bot 4fbb0c5eed Return constant Value objects for true, false, and "" 2 months ago
Mark Hansen a51f98ce0c Optimise CodedOutputStream.ArrayEncoder.writeFixed32NoTag/writeFixed64NoTag 2 months ago
Mark Hansen 76ab5f2b10 CodedOutputStream: avoid updating position to go beyond end of array. 2 months ago
Mark Hansen 95ef4134d3 Add tests that CodedOutputStream.spaceLeft isn't negative after overflow. 2 months ago
Mark Hansen 0e75d92cce Convert IndexOutOfBoundsException to OutOfSpaceException in UnsafeDirectNioEncoder 2 months ago
Mark Hansen 63fc32250a Add tests for overflowing space available when writing 32/64-bit fixed integers. 2 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. 2 months ago
Mark Hansen c8c232f196 Add a test for writing a single byte, including beyond the end of the bounds. 2 months ago
Mark Hansen 5553ff1e50 Migrate CodedOutputStreamTest to @Parameterized. 2 months ago
Nathan Baulch e4cbc79ab4 Fix minor typos (#17682) 2 months ago
Protobuf Team Bot 83569cff3d Mute the minor version warning https://github.com/protocolbuffers/protobuf/issues/18096 2 months ago
Mark Hansen 030fcadb88 Inline byte array assertions (assertEqualBytes). 2 months ago
Protobuf Team Bot a037f28ff8 Add recursion check when parsing unknown fields in Java. 2 months ago
Mike Kruskal 4c923285a3 Fix packed reflection handling bug in edition 2023. 2 months ago
Xufei Tan 774ecb2c48 Internal change. 2 months ago
Adam Cozzette dca7bf06d8 Java: make sure message.getExtension() returns immutable lists 2 months ago
Protobuf Team Bot 52544482bf Move cc_proto_library from Bazel repository 3 months ago
Zoey Greer 5d9deab879 Replace deprecated use of `toBytes()` with `Character` property `.code` (#18236) 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