- 01 Aug, 2016 1 commit
-
-
Feng Xiao authored
Turns out travis doesn't have the library dependencies to run a 32-bit binary. Change-Id: I5fadbcade2eb71c1e9ce21d90fa9459797df0e81
-
- 25 Jul, 2016 1 commit
-
-
Jisi Liu authored
-
- 19 Jul, 2016 2 commits
- 18 Jul, 2016 2 commits
- 14 Jul, 2016 2 commits
-
-
Feng Xiao authored
Currently some public API methods are defined in GenreatedMessage.java and they have a generric return type: class GeneratedMessage { class Builder<BuilderType extends Builder<BuilderType>> { public BuilderType setField(...); public BuilderType setExtension(...); } } With these definitions, the compiled byte code of a callsite will have a direct reference to GeneratedMessage. For example: fooBuilder.setField(...); becomes: ##: invokevirtual // Method Builder.setField:(...)LGeneratedMessage.Builder ##: checkcast // class Builder This will prevent us from updating generated classes to subclass a different versioned GeneratedMessageV3 class in the future (we can't do it in a binary compatible way). This change addresses the problem by overriding these methods directly in the generated class: class Foo { class Builder extends GeneratedMessage.Builder<Builder> { public Builder setField(...) { return super.setField(...); } } } After this, fooBuilder.setField(...) will be compiled to: ##: invokevirtual // Method Builder.setField:(...)LFoo.Builder The callsites will no longer reference GeneratedMessage directly and we can change Foo to subclass GeneratedMessageV3 without breaking binary compatiblity. The downside of this change is: 1. It increases generated code size (though it saves some instructions on the callsites). 2. We can never stop generating these overrides because doing that will break binary compatibility. Change-Id: I879afbbc1325a66324a51565e017143489b06e97
-
Feng Xiao authored
-
- 13 Jul, 2016 2 commits
- 03 Jul, 2016 1 commit
-
-
Otto Kekäläinen authored
-
- 01 Jul, 2016 1 commit
-
-
chezRong authored
-
- 29 Jun, 2016 1 commit
-
-
Adam Cozzette authored
This includes all internal changes from around May 20 to now.
-
- 20 May, 2016 1 commit
-
-
Feng Xiao authored
-
- 17 May, 2016 1 commit
-
-
Feng Xiao authored
-
- 11 May, 2016 1 commit
-
-
Feng Xiao authored
-
- 10 May, 2016 2 commits
- 06 May, 2016 1 commit
-
-
Jisi Liu authored
-
- 28 Apr, 2016 1 commit
-
-
Jisi Liu authored
-
- 22 Apr, 2016 1 commit
-
-
Jakub Kukul authored
-
- 30 Mar, 2016 1 commit
-
-
Jisi Liu authored
-
- 19 Mar, 2016 1 commit
-
-
Pradeep Gollakota authored
- Using custom URL for types in Any will no longer throw an InvalidProtocolBufferException in JsonFormat - Fixes #1128
-
- 03 Feb, 2016 1 commit
-
-
Dongjoon Hyun authored
-
- 29 Jan, 2016 3 commits
- 28 Jan, 2016 1 commit
-
-
Jisi Liu authored
Moving the files to their original location, so that opensource changes can be picked during the internal merge. Those files will be moved into the correct location after merging with internal code. Note: do NOT merge this into master without the other internal down-integration commit.
-
- 16 Jan, 2016 2 commits
-
-
Joshua Humphries authored
-
Joshua Humphries authored
-
- 13 Jan, 2016 1 commit
-
-
nmittler authored
protobuf/java will become a parent pom that will contain two modules: core - contains all of the code for the protobuf-java artifact util - contains all of the code for the protobuf-java-util artifact Also cleaned up various Maven warnings.
-
- 06 Jan, 2016 1 commit
-
-
Feng Xiao authored
-
- 21 Dec, 2015 1 commit
-
-
Feng Xiao authored
-
- 16 Dec, 2015 1 commit
-
-
Feng Xiao authored
Change-Id: Ibb3fe6f919cc7ca0df91da5e1697ba33d259e433
-
- 14 Dec, 2015 1 commit
-
-
Feng Xiao authored
Change-Id: I3daf32cb93dfe0fca38f8b48615ccfc307f748e9
-
- 12 Dec, 2015 1 commit
-
-
Feng Xiao authored
-
- 25 Nov, 2015 1 commit
-
-
Dave Hughes authored
"equals".equals("euqals") == false
-
- 05 Nov, 2015 1 commit
-
-
Joshua Humphries authored
-
- 06 Oct, 2015 1 commit
-
-
Jisi Liu authored
-
- 05 Oct, 2015 1 commit
-
-
Jisi Liu authored
-