Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add script for run and upload the benchmark result to bq | Yilun Chong | 2018-04-10 | 1 | -2/+2 |
| | |||||
* | Add a check_protobuf_required_bazel_version() for use in WORKSPACEs | Fahrzin Hemmati | 2017-12-04 | 1 | -0/+2 |
| | |||||
* | Fix go example test. | Feng Xiao | 2017-09-13 | 1 | -3/+3 |
| | | | | It needs "-I" flag to find imported file google/protobuf/timestamp.proto | ||||
* | Add bazel support for examples. | Feng Xiao | 2017-09-08 | 9 | -64/+286 |
| | | | | | | | | The example utilizes native bazel rules (proto_library, cc_proto_library, java_proto_library, java_lite_proto_library) to show how easy it is to build protobuf with bazel's native support. It also makes use of well known types which was not possible until the latest bazel 0.5.4 release and https://github.com/google/protobuf/pull/3594 . | ||||
* | from __future__ import print_function | cclauss | 2017-08-18 | 1 | -8/+11 |
| | | | The future import is required to support the print(x, end=" ") parameter in Python 2. | ||||
* | print() function & define raw_input() for Python 3 | cclauss | 2017-08-18 | 1 | -3/+10 |
| | |||||
* | Add classpath for java example Makefile | king6cong | 2017-07-31 | 2 | -1/+8 |
| | |||||
* | add protobuf_generate function, allows use of target_sources where available | Walter Gray | 2017-06-02 | 1 | -16/+1 |
| | |||||
* | Integrate from internal code base. | Feng Xiao | 2016-07-13 | 1 | -63/+63 |
| | |||||
* | Use ExternalProject_Add to build the examples in a stand-alone fashion. | Walter Gray | 2016-06-06 | 1 | -60/+44 |
| | |||||
* | CMake project updates | Konstantin Podsvirov | 2016-06-04 | 1 | -0/+79 |
| | | | | | | | | | A series of improvements: - Improved Protobuf module compatibility (disabled by default); - Hide advanced settings; - Added build tree configuration; - Added build of examples. | ||||
* | Merge pull request #1144 from dongjoon-hyun/remove_redundant_the | Joshua Haberman | 2016-02-11 | 1 | -1/+1 |
|\ | | | | | Remove redundant `the`. | ||||
| * | Remove redundant `the` in comments. | Dongjoon Hyun | 2016-02-03 | 1 | -1/+1 |
| | | |||||
* | | Updated python examples to use with. | Parth Kolekar | 2016-01-26 | 2 | -9/+6 |
|/ | |||||
* | Merge pull request #1052 from tswast/master | Feng Xiao | 2015-12-17 | 3 | -22/+53 |
|\ | | | | | Add region tags to the Go protobuf examples. | ||||
| * | Improves readability of Go example test. | Tim Swast | 2015-12-16 | 1 | -25/+5 |
| | | |||||
| * | Add region tags to the Go protobuf examples. | Tim Swast | 2015-12-15 | 3 | -22/+73 |
| | | | | | | | | | | | | | | | | | | | | | | This will allow us to like to specific snippets of code in the documentation. I plan to create a tutorial similar to the C# tutorial https://developers.google.com/protocol-buffers/docs/csharptutorial Since that tutorial has sections for populating a proto, parsing, and serializing, I made a region for each of these for Go. To make the populating sample more self-contained, I refactor the listing example slightly. | ||||
* | | Add region tags for protocol buffers tutorials. | Tim Swast | 2015-12-01 | 1 | -3/+17 |
|/ | | | | | | | | | Since these tags might be confusing, added a note that these are not part of the normal protocol buffers syntax. I also linked to the main tutorials page that uses these examples https://developers.google.com/protocol-buffers/docs/tutorials so that anyone who arrived here without going through that info first can get more explanation if they want. | ||||
* | Add a Go language example. | Tim Swast | 2015-11-25 | 6 | -0/+387 |
| | | | | | | | | | | | | | | | | | | This follows the other examples so that it can be used as a tutorial, such as the ones at: https://developers.google.com/protocol-buffers/docs/tutorials Even though Go generally does not use Makefiles, I added targets for the Go examples to be consistent with the other languages. Edit: Fix Travis run. Change to use $HOME instead of ~. Add protoc to path. GOPATH entry cannot start with shell metacharacter '~': "~/gocode" Edit(2): Fix Go code style to address comments. | ||||
* | rename persons to people | Jan Tattermusch | 2015-07-20 | 7 | -8/+8 |
| | |||||
* | use Google.Protobuf namespace for C# | Jan Tattermusch | 2015-07-20 | 1 | -1/+1 |
| | |||||
* | fixed java example | Jan Tattermusch | 2015-07-20 | 2 | -5/+5 |
| | |||||
* | fix python example | Jan Tattermusch | 2015-07-20 | 2 | -5/+5 |
| | |||||
* | fix C++ example | Jan Tattermusch | 2015-07-20 | 2 | -7/+7 |
| | |||||
* | update addressbook.proto to proto3 | Jan Tattermusch | 2015-07-20 | 1 | -8/+8 |
| | |||||
* | Make generate_protos.sh Windows-friendly. | Jon Skeet | 2015-05-14 | 1 | -0/+3 |
| | | | | | | | | | | To my surprise, executing generate_protos.sh used the version of Bash installed with Git for Windows by default. After a few modifications to detect the most appropriate protoc to use, this worked pretty simply. This change also: - adds generation of the address book tutorial proto, - fixes the addressbook.proto to specify proto2 explicitly (to avoid a warning from protoc; I don't think we want warnings...) - fixes the addressbook.proto C# namespace (which I thought I'd done before, but apparently hadn't) - includes the regenerated UnittestCustomOptions.cs apart from the DescriptorProtoFIle => Descriptor change | ||||
* | Don't hard-code the python path | Tamir Duberstein | 2015-05-06 | 2 | -2/+2 |
| | |||||
* | Down-integrate from internal branch. | Feng Xiao | 2014-10-03 | 1 | -1/+0 |
| | |||||
* | Replace links to code.google.com/protobuf with ↵ | Feng Xiao | 2014-10-01 | 1 | -1/+1 |
| | | | | developers.google.com/protocol-buffers | ||||
* | merge tags/2.6.0 into trunk | jieluo@google.com | 2014-08-25 | 1 | -0/+1 |
| | |||||
* | change java compiler to only produce one java file | jieluo@google.com | 2014-08-07 | 1 | -1/+1 |
| | |||||
* | down integrate to svn | jieluo@google.com | 2014-07-18 | 1 | -1/+1 |
| | |||||
* | Close resources properly for java tests and examples. | liujisi@google.com | 2011-06-07 | 1 | -4/+10 |
| | |||||
* | Allow dependents to use pkg-config to figure out what flags to pass to link ↵ | kenton@google.com | 2009-08-03 | 1 | -2/+4 |
| | | | | against protobuf. | ||||
* | Down-integrate some code from an internal branch. (More to come.) | kenton@google.com | 2009-07-24 | 2 | -0/+6 |
| | |||||
* | Make sure examples link properly. | kenton@google.com | 2009-05-06 | 2 | -3/+7 |
| | |||||
* | Make Python example output identical to C++ and Java by removing redundant | kenton@google.com | 2008-10-07 | 1 | -3/+3 |
| | | | | | spaces. | ||||
* | Initial checkin. | temporal | 2008-07-10 | 9 | -0/+503 |