Terry Wilson
ec3db2b454
Start 1.46.0 development cycle ( #8939 )
2022-02-23 08:23:41 -08:00
yifeizhuang
26f0d611db
Start 1.45.0 development cycle ( #8825 )
2022-01-12 12:08:22 -08:00
ZHANG Dapeng
65c00cf24e
Start 1.44.0 development cycle ( #8729 )
2021-11-30 11:53:56 -08:00
Sergii Tkachenko
6d41b4283a
Start 1.43.0 development cycle
2021-10-20 13:47:03 -04:00
Eric Anderson
1f1396f3f0
Start 1.42.0 development cycle
2021-09-08 09:10:20 -07:00
yifeizhuang
343eed1c04
Start 1.41.0 development cycle ( #8351 )
2021-07-28 15:27:55 -07:00
Eric Anderson
0cabf5672a
compiler: Add GrpcGenerated annotation to generated class
...
This can be used by annotation processors to avoid processing the
gRPC-generated code. The normal Generated annotation only has SOURCE
retention, so isn't available to annotation processors.
I don't include the service name within the annotation as that assumes
we'll never have need for any other type of generated class. If there's
a request for exposing service name via an annotation in the future, we
can make an RpcService annotation or the like.
Fixes #8158
2021-07-02 22:11:40 -07:00
ZHANG Dapeng
e980ebd118
Start 1.40.0 development cycle ( #8263 )
2021-06-16 08:04:43 -07:00
Eric Gribkoff
c0eca6de25
Start 1.39.0 development cycle ( #8147 )
2021-05-05 16:30:38 -07:00
Sergii Tkachenko
e4b292aa9b
Start 1.38.0 development cycle
2021-03-25 18:49:03 -04:00
Eric Anderson
2140480736
Start 1.37.0 development cycle
2021-02-11 13:53:10 -08:00
Eric Gribkoff
f2f3bbeb5d
Start 1.36.0 development cycle ( #7770 )
2020-12-30 17:14:04 -08:00
ZHANG Dapeng
7d77f64773
compiler: remove some of the static imports in codegen ( #7751 )
...
Resolves #7741
Some of the static methods in generated code have the same method name but different package name, such `ClientCalls.asyncClientStreamingCall` and `ServerCalls.asyncClientStreamingCall`. It's less readable using static import than using full-qualified method name in-place.
2020-12-23 11:28:03 -08:00
Chengyuan Zhang
f5bbe12c9f
Start 1.35.0 development cycle ( #7641 )
2020-11-18 13:59:40 -08:00
ZHANG Dapeng
9b73e2365d
Start 1.34.0 development cycle
2020-10-06 16:10:51 -07:00
ZHANG Dapeng
09367030ae
all: fix lint
2020-08-28 13:00:44 -07:00
Eric Anderson
eca8bf8e62
Start 1.33.0 development cycle
2020-08-26 16:13:21 -07:00
Eric Anderson
19d690b435
compiler: Use namespace aliases to reduce internal diff
...
Due to historical reasons, protobuf is in the proto2:: namespace
internally instead of google::protobuf. We have been maintaining diffs
that replace each occurence of one with the other. Instead we can simply
create a namespace alias and use that alias instead of the canonical
name. That greatly reduces the size of the diff and its likelihood to
break.
If the names ever align in the future, we can swap back to the canonical
names.
2020-08-07 14:58:32 -05:00
Eric Anderson
f59c9a9c6b
compiler: Swap to ABSL_FALLTHROUGH_INTENDED
...
FALLTHROUGH_INTENDED was defined by Abseil, but is now getting an ABSL
prefix and the old name will be removed. Swapping to a new define name
to avoid redefining the existing-but-soon-to-be-deleted
FALLTHROUGH_INTENDED.
2020-08-06 11:24:12 -05:00
Eric Gribkoff
7d97443cd7
Start 1.32.0 development cycle ( #7214 )
2020-07-15 13:51:06 -07:00
ZHANG Dapeng
97112b223f
compiler: support proto3 field presence for codegen
...
Support proto3 field presence #7051 .
This is the same change as https://github.com/grpc/grpc/pull/22998/files#diff-6c29ff8771ae54ddf2c14e2ef3eb554fR37-R44
2020-05-21 15:39:10 -07:00
Chengyuan Zhang
d667a67d15
Start 1.31.0 development cycle ( #7050 )
2020-05-19 16:46:16 -07:00
Andrew Gasparovic
2119fac35b
compiler: Remove unused function ( #6911 )
2020-04-08 14:12:00 -07:00
ZHANG Dapeng
c91e127f93
Start 1.30.0 development cycle
2020-04-07 14:12:53 -07:00
Jihun Cho
3e9f3964c4
Start 1.29.0 development cycle
2020-02-26 09:37:27 -08:00
Jihun Cho
47c0b0b792
complier: fix typo in comment ( #6747 )
2020-02-24 14:32:26 -08:00
Jihun Cho
3b1af27073
compiler: add std:: qualifications to all references to std::string
2020-02-24 11:34:19 -08:00
Eric Anderson
ca56aa30d4
Start 1.28.0 development cycle
2020-01-14 15:10:05 -08:00
Eric Gribkoff
bfa085a1cf
Start 1.27.0 development cycle ( #6480 )
2019-12-03 17:27:55 -08:00
Jihun Cho
7db873f1f6
Roll-forward of stub,compiler: generated stub extends Abstract{Async,Future,Blocking}Stub #6196 ( #6458 )
...
This reverts commit 2eb3f8c34e (#6317 ).
2019-11-25 09:41:16 -08:00
Kun Zhang
47d798bbec
Start 1.26.0 development cycle ( #6329 )
2019-10-23 15:27:22 -07:00
Jihun Cho
2eb3f8c34e
stub,compiler: Rollback Abstract{Future,Blocking,Async}Stub ( #6317 )
...
rollback of #6304 & #6196
2019-10-22 13:27:30 -07:00
Carl Mastrangelo
f2d0f87d2e
compiler: set safe and idempotent bits on method descriptors
2019-10-22 10:59:11 -07:00
Jihun Cho
45d49a56cc
stub,compiler: generated stub extends Abstract{Async,Future,Blocking}Stub ( #6196 )
2019-10-17 14:49:24 -07:00
Jihun Cho
e3be6a6bfa
compiler: add license header for cpp codes ( #6208 )
2019-09-27 09:22:42 -07:00
Chengyuan Zhang
fa8f89a1a6
Start 1.25.0 development cycle ( #6141 )
2019-09-10 17:41:37 -07:00
ZHANG Dapeng
e14f8de4ab
Start 1.24.0 development cycle
2019-07-31 11:03:13 -07:00
liym
47b11ab7a1
compiler: Use 'SERVICE_NAME' instead of duplicated '$Package$$service… ( #5943 )
...
* compiler: Use 'SERVICE_NAME' instead of duplicated '$Package$$service_name$'
* compiler: Align indentation
* Fix typo
* Add modified golden files and all re-generated code to meet Travis CI and Windows build requirements
See PR #5943
* Polishing
2019-07-24 10:37:13 -07:00
Jihun Cho
e57d4c5a8e
Start 1.23.0 development cycle ( #5899 )
2019-06-18 15:54:16 -07:00
Eric Anderson
50b08eee3b
Delete protobuf-nano
...
Nano was dropped from upstream protobuf. See gRFC L51
2019-05-22 08:49:07 -07:00
Eric Anderson
3aa3218fb2
Start 1.22.0 development cycle
2019-05-09 13:53:12 -07:00
Kun Zhang
026e4c53bd
Start 1.21.0 development cycle ( #5515 )
2019-03-28 13:27:45 -07:00
Carl Mastrangelo
041cf2abd4
Start 1.20.0 development cycle
2019-02-12 14:46:28 -08:00
ZHANG Dapeng
4337da6d7d
Start 1.19.0 development cycle
2019-01-02 15:31:01 -08:00
Jihun Cho
1506135333
Start 1.18.0 development cycle
2018-11-19 14:49:35 -08:00
Eric Anderson
967cc64770
Start 1.17.0 development cycle
2018-10-11 09:29:23 -07:00
Kun Zhang
28d44ae46d
Start 1.16.0 development cycle ( #4803 )
2018-08-27 17:21:46 -07:00
elandau
0d4051ca6e
Include Java's @Deprecated annotation on RPC services or methods with `option deprecated = true;`
2018-08-15 12:24:01 -07:00
zpencer
4335445d98
Start 1.15.0 development cycle ( #4650 )
2018-07-18 10:48:04 -07:00
Carl Mastrangelo
146b6006b3
compiler,stub: update RpcMethod docs and usage
2018-07-12 17:01:47 -07:00