Josh Humphries
f82be68831
avoid possible exception; error if octal or hex literal that is too large
2 years ago
Thomas Van Lenten
9b64c403f6
[ObjC] Clean up includes.
...
- Sort things.
- Remove the duplicate (not sure if some automation went wrong at some point).
2 years ago
Josh Humphries
0bc90b189c
put helpers into anon namespace
2 years ago
Josh Humphries
1eb29b8257
validate reserved names are identifiers
2 years ago
Josh Humphries
7702355b9c
address latest review comments
2 years ago
Mike Kruskal
0264866ce6
Use generated WKT code in Bazel builds ( #10576 )
...
* Use generated WKT code in Bazel builds
* Prefer src over external for genrule
* Prefer external over src for genrule
* Proper fix for windows proto path issues
2 years ago
Josh Humphries
4c69337faa
use template instead of macro
2 years ago
Josh Humphries
35dd193f47
add test to verify parsing of extremely large decimal integers to double values
2 years ago
Josh Humphries
4e54ec20d1
change format of int range in error message; use macro to make DRY
2 years ago
Josh Humphries
87f24e4759
add allowed ranges to error messages
2 years ago
Josh Humphries
2270d3f93c
allow excessively large int literal values (that would otherwise overflow uint64 or underflow int64) to be used as float/double values
2 years ago
Deanna Garcia
18c5411608
Merge release branch 21.x into main
2 years ago
deannagarcia
396ce45846
Merge pull request #10546 from deannagarcia/main
...
Apply patch
2 years ago
Josh Humphries
cbd5c84b6b
update existing test expectations and add new tests
2 years ago
Josh Humphries
c23d0b87c5
add check for custom JSON name conflicts
...
- also, include check for default JSON name conflicts even in proto2
files (but only warn)
- if custom JSON name conflicts with other default name, only a
warning in proto2
2 years ago
deannagarcia
bea6726c73
Merge pull request #10579 from protocolbuffers/21.x-202209142140
...
Update version.json to: 21.7-dev
2 years ago
Deanna Garcia
b1924e1de9
Update version.json to: 21.7-dev
2 years ago
Mike Kruskal
4877014174
Fix stale descriptor files after comment change ( #10577 )
2 years ago
deannagarcia
929e13d1a9
Merge pull request #10572 from deannagarcia/21.x
...
Backport python release improvement
2 years ago
zhangskz
de7597e577
Update python/release.sh to handle delay between twine upload and pip install ( #10324 )
2 years ago
Xavier Léauté
330a94b46a
fix serialization warnings in generated code when compiling with Java version 18 and above
...
Java 18 added additional linter checks as part of
https://bugs.openjdk.java.net/browse/JDK-8274336 and
https://bugs.openjdk.java.net/browse/JDK-8274335
These additional checks cause generated protobuf code to raise the
following compiler warning: "non-transient instance field of a
serializable class declared with a non-serializable type"
This change fixes the code generation to annotate the generated fields
with the necessary suppressions to avoid false positives.
All the code generated from src/google/protobuf/*.proto now
compiles successfully without serialization warnings in Java 18.
fixes #9673
2 years ago
deannagarcia
480bd3b970
Merge pull request #10557 from protocolbuffers/21.x-202209132118
...
Update versions for 21.6 release
2 years ago
Deanna Garcia
aa8c73d845
Updating changelog
2 years ago
Protobuf Team Bot
24487dd104
Updating version.json and repo version numbers to: 21.6
2 years ago
deannagarcia
d88266c319
Merge pull request #10545 from deannagarcia/21.x
...
Apply patch
2 years ago
Deanna Garcia
6cf8108271
Apply patch
2 years ago
Deanna Garcia
cd0ee8f45d
Apply patch
2 years ago
deannagarcia
db38a8c2da
Merge pull request #10488 from protocolbuffers/zhangskz-patch-1
...
Update conformance/README.md for jruby
2 years ago
deannagarcia
4e4d852ce8
Merge pull request #10493 from grongor/patch-1
...
Move note to the top
2 years ago
deannagarcia
25fd37b485
Merge pull request #10519 from alkasm/patch-1
...
Update docs for MessageToJson indent parameter
2 years ago
Mike Kruskal
5cceb82fb9
Merge tag 'refs/tags/sync-piper' into sync-stage
2 years ago
Mike Kruskal
7764c864bd
Sync from Piper @473817856
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
a2fe9065f3
Merge pull request #10540 from mkruskal-google/sync-stage
...
Integrate from Piper for C++, Java, and Python
2 years ago
Matt Fowles Kulukundis
2206b63c46
Merge pull request #10403 from shadchin/python311
...
Fix build with Python 3.11
2 years ago
Mike Kruskal
dfd7b19b3c
Update changelog
2 years ago
Mike Kruskal
459602940d
Sync from Piper @473817856
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
b8b06a62c6
Merge tag 'refs/tags/sync-piper' into sync-stage
2 years ago
Alexander Shadchin
da973aff2a
Fix build with Python 3.11
...
The PyFrameObject structure members have been removed from the public C API.
2 years ago
Mike Kruskal
4fdfab1ec5
Merge pull request #10527 from mkruskal-google/sync-stage
...
Integrate from Piper for C++, Java, and Python
2 years ago
Mike Kruskal
fcd26beabe
Dedupe kokoro builds ( #10400 )
...
* Attempt to dedupe Bazel test
* Intentionally break a test to make sure presubmits still run
* Moving some shared configs to higher directories
* Adding root common.cfg
* Adding action cfgs at root directory
* Adding empty presubmit/continuous
* Going back to leaf directories
* Adding empty presubmit/continuous
* Unify continuous and presubmit configs
* Consolidate all presubmit/continuous into a common config file
* Revert "Intentionally break a test to make sure presubmits still run"
This reverts commit 978eb19f80ea46f4a0e07789f86e791c5f9790ac.
* Fixing POC config files
2 years ago
Mike Kruskal
39ab3f9684
Fix breakages from sync
2 years ago
Mike Kruskal
081901beab
Bump upb version to head
2 years ago
Mike Kruskal
78b1dc169c
Spelling fixes
2 years ago
Mike Kruskal
87f8593fb8
Updating changelog
2 years ago
Mike Kruskal
b2498bb980
Merge tag 'refs/tags/sync-piper' into sync-stage
2 years ago
Mike Kruskal
10cbdfef5f
Sync from Piper @473279986
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
1595417dd3
Sync from Piper @473279986
...
PROTOBUF_SYNC_PIPER
2 years ago
Matt Fowles Kulukundis
9c40a8447b
Merge pull request #10520 from jskeet/deprecated-enum-value
...
Apply Obsolete attribute to deprecated enums and enum values in C# generated code
2 years ago
Jon Skeet
5036705c8d
Apply Obsolete attribute to deprecated enums and enum values in C# generated code
...
Fixes #10513
2 years ago
Jon Skeet
fc1dbc6fac
Fix 32-bit floating point JSON parsing of maximal values for C#
...
Fixes #10509 .
2 years ago