~ubuntu-branches/debian/experimental/protobuf/experimental

« back to all changes in this revision

Viewing changes to src/google/protobuf/unittest_custom_options.proto

  • Committer: Package Import Robot
  • Author(s): Robert S. Edmonds, Micah Anderson, Colin Watson, Steve Langasek, Robert S. Edmonds
  • Date: 2013-10-12 18:32:37 UTC
  • mfrom: (1.3.1) (10.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20131012183237-jz6tvmj9tn68atrf
Tags: 2.5.0-1
[ Micah Anderson ]
* New upstream version. (Closes: #704731.)
* Update debian/watch.
* Refresh patches.

[ Colin Watson ]
* Use the autotools-dev dh addon to update config.guess/config.sub for
  arm64. (Closes: #725976.)

[ Steve Langasek ]
* Don't recommend protobuf-compiler from the bindings, it's not used and
  this doesn't need to be pulled in at runtime. (Closes: #703628.)
* Mark protobuf-compiler Multi-Arch: foreign; the output of this command
  is architecture-independent source, we don't need the version of the
  compiler to match the target arch.
* Bump to debhelper compat 9, so that our libs get installed to the
  multiarch locations.
* Mark the library packages Multi-Arch: same.
* Fix debian/rules to support cross-building of the python bindings.
* Build-depend on libpython-dev, not python-dev, for cross-build
  compatibility.
* (Closes: #726083.)

[ Robert S. Edmonds ]
* Upload to experimental.
* Bump ABI version from 7 to 8.
* Bump Standards-Version to 3.9.4.
* Convert from python-support to dh-python.
* Drop support for python2.6.
* python-protobuf: switch back to the pure Python implementation, as
  upstream appears to no longer be maintaining the current C++ based Python
  binding. See the following upstream issues for details:
  - https://code.google.com/p/protobuf/issues/detail?id=434
  - https://code.google.com/p/protobuf/issues/detail?id=503

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
message CustomOptionFooResponse {
117
117
}
118
118
 
 
119
message CustomOptionFooClientMessage {
 
120
}
 
121
 
 
122
message CustomOptionFooServerMessage {
 
123
}
 
124
 
119
125
service TestServiceWithCustomOptions {
120
126
  option (service_opt1) = -9876543210;
121
127
 
364
370
  option (enumopt) = { s:'EnumAnnotation' };
365
371
  VALUE = 1 [(enumvalopt) = { s:'EnumValueAnnotation' }];
366
372
}
 
373
 
 
374
// Test custom options for nested type.
 
375
message NestedOptionType {
 
376
  message NestedMessage {
 
377
    option (message_opt1) = 1001;
 
378
    optional int32 nested_field = 1 [(field_opt1) = 1002];
 
379
  }
 
380
  enum NestedEnum {
 
381
    option (enum_opt1) = 1003;
 
382
    NESTED_ENUM_VALUE = 1 [(enum_value_opt1) = 1004];
 
383
  }
 
384
  extend google.protobuf.FileOptions {
 
385
    optional int32 nested_extension = 7912573 [(field_opt2) = 1005];
 
386
  }
 
387
}