aboutsummaryrefslogtreecommitdiff
path: root/editors
Commit message (Collapse)AuthorAgeFilesLines
* Improve fix for https://github.com/google/protobuf/issues/295Philipp Stephani2017-05-231-1/+3
| | | | | | | | Requiring the legacy ‘cl’ library unconditionally pollutes the namespace. Instead, require it only when compiling and in known-broken versions. This is almost the same patch that opoplawski suggested, except that I removed the test for ‘emacs-repository-version’, which isn’t defined in Emacs 24.3.
* [master] Add dependency cl. Fixes google/protobuf#295.Yutian Li2016-08-051-1/+2
|
* down-integrate internal changesBo Yang2015-05-212-2/+2
|
* Add oneof keyword to proto.vimNobuaki Sukegawa2014-11-271-1/+1
|
* Replace links to code.google.com/protobuf with ↵Feng Xiao2014-10-011-1/+1
| | | | developers.google.com/protocol-buffers
* Fix issue/333. skip any escaped characters in quotes.liujisi@google.com2012-07-131-2/+2
|
* Support for C-style comments in editors/proto.vim -- patch from infnty.liujisi@google.com2011-07-051-2/+1
|
* Some sort of emacs protobuf mode fix.kenton@google.com2009-12-181-1/+2
|
* Fix protobuf-mode on XEmacs.kenton@google.com2009-09-151-1/+2
|
* Fix problems with emacs protobuf mode, I guess. See ↵kenton@google.com2009-07-081-0/+1
| | | | <http://www.opensubscriber.com/message/emacs-devel@gnu.org/7155093.html>. Patch from domq@google.com.
* Add Emacs editor mode. Contributed by Alexandre Vassalotti.kenton@google.com2009-05-011-0/+217
|
* Integrate changes from internal Google-internal branch.kenton@google.com2008-09-241-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General * License changed from Apache 2.0 to New BSD. * It is now possible to define custom "options", which are basically annotations which may be placed on definitions in a .proto file. For example, you might define a field option called "foo" like so: import "google/protobuf/descriptor.proto" extend google.protobuf.FieldOptions { optional string foo = 12345; } Then you annotate a field using the "foo" option: message MyMessage { optional int32 some_field = 1 [(foo) = "bar"] } The value of this option is then visible via the message's Descriptor: const FieldDescriptor* field = MyMessage::descriptor()->FindFieldByName("some_field"); assert(field->options().GetExtension(foo) == "bar"); This feature has been implemented and tested in C++ and Java. Other languages may or may not need to do extra work to support custom options, depending on how they construct descriptors. C++ * Fixed some GCC warnings that only occur when using -pedantic. * Improved static initialization code, making ordering more predictable among other things. * TextFormat will no longer accept messages which contain multiple instances of a singular field. Previously, the latter instance would overwrite the former. * Now works on systems that don't have hash_map. Python * Strings now use the "unicode" type rather than the "str" type. String fields may still be assigned ASCII "str" values; they will automatically be converted. * Adding a property to an object representing a repeated field now raises an exception. For example: # No longer works (and never should have). message.some_repeated_field.foo = 1
* Apply Leandro Lucarella <llucax@gmail.com>'s patches for VIM highlightingtemporal2008-07-311-1/+9
| | | | | and not setting execute bit on protoc outputs.
* Initial checkin.temporal2008-07-102-0/+88