788 Commits (61e3fafb59d4545e290e24100ba3e0b7d40e609f)

Author SHA1 Message Date
Protobuf Team Bot 3e0f82e57f Fix handling of implicit field presence in mergeFrom to match the behavior in other places. 2 weeks ago
Protobuf Team Bot 5a09cfd577 Rename private `getFooFieldBuilder` method to avoid name conflicts. 3 weeks ago
Protobuf Team Bot b1882d357b Clarify exception message for repeated builders. 3 weeks ago
nickreid c81b6edad2 Internal change 4 weeks ago
Protobuf Team Bot 0657eed703 Internal change 4 weeks ago
Protobuf Team Bot 85bbceea81 Internal Change 1 month ago
Ted Xie 89533c743f Add missing java load 1 month ago
nickreid 7f6e90ba46 Replace all regexes in TextFormat.Tokenizer with direct char scanning. 1 month ago
Mark Hansen 84a4472a0f Make GeneratedMessageLite.isInitialized(T message, boolean shouldMemoize) private 1 month ago
Protobuf Team Bot 8c1fa83fb8 Make usingShortRepeatedPrimitives for textproto printer public 1 month ago
Protobuf Team Bot b8d356701a Add support to print repeated fields with primitive values using short notation 1 month ago
Protobuf Team Bot c0a99b096f Auto-generate files after cl/687389326 1 month ago
Protobuf Team Bot 18903c4a4c Implement Java feature `use_old_outer_classname_default` for edition 2024. 1 month ago
Mark Hansen fe6234122b Automated rollback of commit 2b0a414573. 1 month ago
Mark Hansen 2b0a414573 Change access of GeneratedMessageLite.MethodToInvoke to 'protected' 2 months ago
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
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
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
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