aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix oneof behaviour in the face of default values.Jon Skeet2015-06-121-9/+4
|
* Fix incorrect handling of non-seekable streams.Jon Skeet2015-06-121-2/+2
| | | | | | This mirrors commit 7c86bbbc7a3365c034d82173b38ec4427b98b3b2 in the pull request to the main protobuf project, but also reduces the size of the buffer created. (There's no point in creating a 1024-byte buffer if we're only skipping 5 bytes...)
* Update the AddressBook tutorial to reflect the mutable design.Jon Skeet2015-06-125-1054/+287
|
* Coded*Stream streamlining.Jon Skeet2015-06-1223-2596/+879
| | | | Remove ICodedInputStream and ICodedOutputStream, and rewrite CodedInputStream and CodedOutputStream to be specific to the binary format. If we want to support text-based formats, that can be a whole different serialization mechanism.
* Reimplement enums as int values, and get rid of EnumHelper.Jon Skeet2015-06-1116-208/+137
| | | | This makes repeated fields really awkward at the moment - but when we reimplement RepeatedField<T> to be backed by an array, we can cast the array directly...
* Optimize WriteRawInt32 for the common case of a value < 128, which is a ↵Jon Skeet2015-06-111-0/+7
| | | | | | single byte. Aside from anything else, this will be used for all tags for fields 1-15.
* Improve string encoding times.Jon Skeet2015-06-112-5/+17
| | | | | Cache a reference to Encoding.UTF8 - the property access is (rather surprisingly) significant. Additionally, when we detect that the string is all ASCII (due to the computed length in bytes being the length in characters), we can perform the encoding very efficiently ourselves.
* Use expression trees to avoid boxing when converting enums.Jon Skeet2015-06-091-4/+12
|
* First pass at the mutable API. Quite a bit more to do - in particular, it's ↵Jon Skeet2015-06-09166-133025/+11445
| | | | pretty slow right now.
* First stab at new proto3-only code generatorJon Skeet2015-06-0526-2095/+295
|
* Merge pull request #462 from anandolee/masterJie Luo2015-06-0428-1647/+1861
|\ | | | | Migrate writer to printer for C#
| * Migrate writer to io::Printer for C#Jie Luo2015-06-0428-1647/+1861
| |
* | Merge pull request #457 from xfxyjwf/cmakeFeng Xiao2015-06-0412-11/+767
|\ \ | | | | | | Add cmake support.
| * | Fix README.md formatting.Feng Xiao2015-06-041-34/+43
| | | | | | | | | | | | Change-Id: I121cb70bfdc4894c297ab1a36f1db47736c0652b
| * | Add an cmake option to exclude tests.Feng Xiao2015-06-041-2/+4
| | |
| * | Add cmake support.Feng Xiao2015-05-3112-11/+756
| | |
* | | Merge pull request #456 from xfxyjwf/androidJisi Liu2015-06-042-494/+0
|\ \ \ | | | | | | | | Remove Android.mk
| * | | Remove Android.mkFeng Xiao2015-06-022-494/+0
| | | | | | | | | | | | | | | | | | | | | | | | This file bares a different copyright license and also doesn't actually work (out-dated file lists, no config.h/pbconfig.h, refers to inexist AOSP paths).
* | | | Merge pull request #453 from bakineggs/masterFeng Xiao2015-06-031-0/+14
|\ \ \ \ | |/ / / |/| | | Add protoc path detection for Mac OS
| * | | Add protoc path detection for Mac OSDan Barry2015-06-021-0/+14
| | | |
* | | | Merge pull request #444 from xfxyjwf/vs2010_fixFeng Xiao2015-06-022-9/+9
|\ \ \ \ | |/ / / |/| / / | |/ / Fix two issues on vs2010.
| * | Call copy() only if there is something to copy.Feng Xiao2015-05-311-1/+3
| | | | | | | | | | | | | | | | | | RepeatedField::begin()/end() will return NULL when the content is empty. Passing these NULL values to std::copy() will result in runtime complains from some compilers (e.g., vs2010).
| * | Fix MapAllocator::destroy() bug.Feng Xiao2015-05-311-8/+6
| | | | | | | | | | | | | | | destroy() should always call the destructor because the caller may rely on the destructor to do clean-ups.
* | | Merge pull request #447 from murgatroid99/podspec_fixPaul Yang2015-06-021-8/+19
|\ \ \ | | | | | | | | Add remaining not-already-imported well known types files to podspec
| * \ \ Merge pull request #1 from jcanizales/podspec_fixMichael Lumish2015-06-021-7/+19
| |\ \ \ | | | | | | | | | | A few corrections to the proposed podspec
| | * | | Reorder fields so it looks like exclude_files affects preserve_pathsJorge Canizales2015-06-021-4/+4
| | | | |
| | * | | Better documentationJorge Canizales2015-06-021-4/+4
| | | | |
| | * | | Remove backslashes after commasJorge Canizales2015-06-021-12/+13
| | | | |
| | * | | Remove struct.proto too (redefines GPBValue)Jorge Canizales2015-06-021-1/+1
| | | | |
| | * | | s/pobjc/pbobjc and simplify a bit the podspecJorge Canizales2015-06-021-3/+14
| |/ / /
| * | | Ignored files that cause build errorsmurgatroid992015-06-011-3/+2
| | | |
| * | | Add remaining not-already-imported well known types files to podspecmurgatroid992015-06-011-1/+1
| |/ /
* | | Merge pull request #305 from ezegomez/masterFeng Xiao2015-06-021-1/+1
|\ \ \ | | | | | | | | Fix unittest in i386
| * | | Fix unittest in i386Ezequiel Lara Gomez2015-04-271-1/+1
| | | |
* | | | Merge pull request #451 from jcanizales/document-why-podspec-is-on-rootFeng Xiao2015-06-021-0/+5
|\ \ \ \ | | | | | | | | | | Document why the podspec is on the root of the repo
| * | | | Document why the podspec is on the root of the repoJorge Canizales2015-06-011-0/+5
| | |/ / | |/| |
* | | | Merge pull request #441 from anandolee/masterJan Tattermusch2015-06-0111-302/+677
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| Change the C# enum generator inherit from primitive generator
| * | Change the C# enum generator inherit from primitive generatorJie Luo2015-05-2911-302/+677
| | |
* | | Merge pull request #404 from anandolee/masterJie Luo2015-05-2939-2163/+4720
|\| | | | | | | | Add oneof support for c#
| * | Add oneof support for C#Jie Luo2015-05-2939-2163/+4720
| | |
* | | Add distributionManagement explicitly to prevent maven from usingBo Yang2015-05-292-0/+20
| | | | | | | | | | | | | | | default configuration. In default configuration, maven needs webdav for deployment, which cannot be found in central repository.
* | | Update version number to 3.0.0-alpha-4Bo Yang2015-05-296-6/+6
| | |
* | | Modify change logv3.0.0-alpha-3Bo Yang2015-05-281-2/+3
| | |
* | | Fixes on visual studio 2008unknown2015-05-278-12/+25
| | |
* | | Replace "\\" with "/" for windows path names.Feng Xiao2015-05-261-0/+4
| | |
* | | In std11, on mac, operator new doesn't take right reference.TeBoring2015-05-261-1/+1
| | |
* | | Add 3.0.0-alpha-3 release to CHANGES.txtBo Yang2015-05-261-0/+99
| | |
* | | Merge pull request #430 from xfxyjwf/std11_fixPaul Yang2015-05-261-0/+12
|\ \ \ | | | | | | | | Make MapAllocator work with C++11.
| * | | Make MapAllocator work with C++11.Feng Xiao2015-05-261-0/+12
| | | | | | | | | | | | | | | | Change-Id: I0e1d9e248403631cb57ebed5231e85d19b9bb3df
* | | | Merge pull request #429 from xfxyjwf/std11_fixPaul Yang2015-05-261-6/+0
|\| | | | | | | | | | | Remove std::is_trivially_default_constructible.