|
Update the protocol buffer compiler plugin to use Int64 from the fixnum package
The 64-bit integers in protocol buffer messages now use the Int64
object from the fixnum package for representing 64-bit integers
instead of an 8-byte binary buffer.
When generating JSON the 64-bit integers in the 53-bit range are
written as integers. Larger integeres are still written as strings.
R=sigmund@google.com
BUG=
Committed: https://github.com/dart-lang/protoc-plugin/commit/8f6ddff
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+40 lines, -33 lines) |
Patch |
|
M |
Makefile
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
lib/file_generator.dart
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
lib/protobuf_field.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
prepend.dart
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
pubspec.yaml
|
View
|
|
1 chunk |
+3 lines, -3 lines |
1 comment
|
Download
|
|
M |
test/file_generator_test.dart
|
View
|
|
4 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/generated_message_test.dart
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
test/json_test.dart
|
View
|
|
2 chunks |
+16 lines, -10 lines |
0 comments
|
Download
|
|
M |
test/test_util.dart
|
View
|
|
2 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
|
M |
test/unknown_field_set_test.dart
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/validate_fail_test.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|