1217 Commits (77717580303cbd443f88aaeea127f17d867e7282)

Author SHA1 Message Date
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
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
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
Protobuf Team Bot 673a892bd9 Internal change 4 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
Mark Hansen b71e5ee2d5 Tighten type bounds on GeneratedMessageLite.defaultInstanceMap. 4 months ago
Mark Hansen 4e6b93ca4e Remove a volatile read/write in SmallSortedMap.entrySet() 4 months ago
Mark Hansen a10b619ed9 Remove SmallSortedMap.lazyDescendingEntrySet field caching 4 months ago
Protobuf Team Bot df1aad4eb8 Fix `TextFormat.Parser` to appropriately handle unknown values for open enums 4 months ago
Deanna Garcia f5ffaf9063 Remove unused pom.xml files. 4 months ago
Mark Hansen 3281605ad4 Cleanup: fix rawtypes warnings in SchemaUtil 4 months ago
Protobuf Team Bot ef2a0dd77a Internal change 4 months ago
Mark Hansen 621f2a2786 Remove unused field MessageSchema.syntax 4 months ago
Mark Hansen 910f62779f Inline ArrayList's array into SmallSortedMap 4 months ago
Mark Hansen f9ecda5f3c Reuse empty int[0] in MessageSchema.intValue to save allocations 5 months ago
Mark Hansen 1f005c579f Avoid allocations in FieldSet.mergeFromField 5 months ago
Deanna Garcia 501fb26927 Add kotlin deprecation to messageOrNull extension properties in the generated code when the corresponding message is deprecated. 5 months ago
Protobuf Team Bot cc8b3483a5 Internal change 5 months ago
Mark Hansen be4f149abd Extract MAX_UINT32 BigInteger into a constant, so we aren't constructing it all the time 5 months ago
Mark Hansen cb323f4359 Avoid unboxing boxed primitives that we're just going to re-box back up to call compareTo with. 5 months ago