Josh Haberman
8c717ad530
Worked around memory leak bug in Ruby interpreter.
...
Change-Id: I8e2b425f9008e6b82d41d59783bb8b04af1f886f
Fixes: https://github.com/google/protobuf/issues/474 .
10 years ago
Paul Yang
ab2094de11
Merge pull request #554 from jcanizales/proto-objc-bazel
...
Add Bazel target for the Objective-C protobuf runtime
10 years ago
Jorge Canizales
d5d7bb3bfb
Add Bazel target for protobuf ObjC runtime
...
Also add WKT headers to the umbrella file, and simplify Podspec with it.
Plus some layout improvements to the BUILD file.
10 years ago
Paul Yang
0a27430bd4
Merge pull request #500 from TeBoring/temp
...
Implement parsing for proto3 primitive repeated fields.
10 years ago
Feng Xiao
ec7bbc76be
Merge pull request #551 from ostrovsky/master
...
MinGW64+MSYS2 compilation issues
10 years ago
Karol Ostrovsky
ee35402244
MinGW64+MSYS2 compilation issues and portable isnan using MathLimits
10 years ago
Paul Yang
eb162dad5f
Merge pull request #458 from xfxyjwf/memory_leak
...
Delete default UnknownFieldSet when shuting down.
10 years ago
Feng Xiao
c3cb53b8f4
Merge pull request #556 from mgiuca/fix-clang-warning
...
Fix "sometimes-uninitialized" warning on Windows Clang.
10 years ago
Jon Skeet
38d8d3948a
Remove unused code in C# codegen
10 years ago
Jon Skeet
ee835a3fe4
Fix copyright lines for all C# code.
...
Everything should now be consistent - the only difference between files is the year (aside from generated files).
Fixes issue #531 .
10 years ago
Jon Skeet
f34d37a3d4
Tidying up and extra tests.
...
This is mostly just making things internal instead of public, removing and reordering a bunch of code in CodedInputStream/CodedOutputStream, and generally tidying up.
10 years ago
Jon Skeet
b9d1d3891f
Tests changed enough to build
10 years ago
Jon Skeet
f2a27cc2c7
First pass (not yet compiling) at removing all the array handling code from Coded*Stream.
...
Prod code works, but some tests are broken. Obviously those need fixing, then more tests,
and review benchmarks.
10 years ago
Matt Giuca
43dcbbfec7
Fix "sometimes-uninitialized" warning on Windows Clang.
10 years ago
Jon Skeet
241e17ba78
Merge pull request #550 from jskeet/issue307
...
Fix for doubly-nested types - issue #307 .
10 years ago
Jon Skeet
8d83f8d13e
Fix for doubly-nested types - issue #307 .
...
No specific test case - if the generated code compiles, the issue is fixed :)
10 years ago
Jon Skeet
b08b6bf62e
Merge pull request #544 from jskeet/csharp-cleanup
...
Clean up C# code
10 years ago
Jon Skeet
6b01539dfc
Merge pull request #543 from jskeet/proto3-map
...
Proto3 map support for C#
10 years ago
Jon Skeet
fb77cc9d9f
More cleanup, based around searches for "Google.ProtocolBuffers"
...
- Remove some old proto2-based C#-only messages
- Remove the "build" directory which only contained out-of-date files
- Remove the csharp_namespace option from proto2 messages
- Change "Google.ProtocolBuffers" to "Google.Protobuf" in other messages
10 years ago
Jon Skeet
aa5104143c
Remove a lot of code which wasn't needed any more.
10 years ago
Jon Skeet
e75a10d8ff
Fix or delete old projects.
...
ProtoDump isn't currently useful, but will be when ToString emits JSON: fixed.
ProtoBench: deleted; we should reinstate when there's a common proto3 benchmark.
ProtoMunge: delete; not useful enough to merit fixing up.
Removed the [TestFixture] from ByteStringTest as Travis uses a recent enough version of NUnit.
10 years ago
Jon Skeet
286edc0fc2
Tests for FieldCodec, along with a fix.
10 years ago
Jon Skeet
e6fc9778f5
Generated code changes for previous commit.
10 years ago
Jon Skeet
c12833104f
Tweaks and more tests for maps
...
- Change the default message hash code to 1 to be consistent with other code
- Change the empty list/map hash code to 0 as "empty map" is equivalent to "no map"
- Removed map fields from unittest_proto3.proto
- Created map_unittest_proto3.proto which is like map_unittest.proto but proto3-only
- Fixed factory methods in FieldCodec highlighted by using all field types :)
- Added tests for map serialization:
- Extra fields within entries
- Entries with value then key
- Non-contiguous entries for the same map
- Multiple entries for the same key
Changes to generated code coming in next commit
10 years ago
Jon Skeet
c06226354d
Make map test keys even more different to avoid odd hash collisions
10 years ago
Jon Skeet
3e7d70cb69
Generated code changes due to map changes.
...
(Primarily this is starting the hash code of messages at a non-zero value...)
10 years ago
Jon Skeet
df44ae4413
More map tests, and various production code improvements.
...
Generated code in next commit.
10 years ago
Jon Skeet
68a4ee267f
Merge pull request #534 from jskeet/proto3-freeze
...
Implement Freeze in C# protos
10 years ago
Jon Skeet
e36e601a39
Generated map code.
10 years ago
Jon Skeet
0d684d3420
First pass at map support.
...
More tests required. Generated code in next commit.
10 years ago
Jisi Liu
d40a0db202
Merge pull request #540 from pherl/clean-warnings
...
fix compiler warnings.
10 years ago
Jon Skeet
0698aa9737
Get the Mono build script working again.
...
The solution as a whole doesn't build yet - we probably want to remove
ProtoDump and ProtoMunge entirely, and ProtoBench should use Jan's new
benchmarks for parity with Java.
The version of NUnit on my machine, packaged with Mono 3.12.1, is
only NUnit 2.4.2, which is extremely old - it still requires an explicit
[TestFixture] attribute on test fixtures. I've added one just for ByteStringTest
for the moment so that we can see some tests passing in Travis, but as part of
a separate PR we should work on making sure we're using a recent NUnit version.
(It may already be doing so, but we can check that once it's working and merged.)
10 years ago
Jon Skeet
d487c322de
Regenerated descriptor C++ code
10 years ago
Paul Yang
eda912eeb3
Merge pull request #512 from pherl/bazel
...
Enable tests for bazel build.
10 years ago
Jisi Liu
658e72d8fb
fix compiler warnings.
...
- control reaches end of non-void function.
- remove a deprecated IsMatch.
Change-Id: Ifdeb15879bbcf591c48dc7fda1cd8994bdf87bb3
10 years ago
Jisi Liu
53c306de19
Merge pull request #538 from google/jtattermusch-patch-1
...
fix typo in cmake/README.md
10 years ago
Jon Skeet
322ec53161
Revert the change to wire_format.h.
...
It seems too much code relies on the broken behaviour. See issue #493 .
Instead, we reimplement MakeTag just for C#, temporarily.
10 years ago
Jon Skeet
bfee2dfe13
Implement freezing for messages and repeated fields.
...
Fixes issue #523 .
10 years ago
Jon Skeet
94071b54d2
Merge pull request #536 from jtattermusch/fix_appveyor
...
Integrate changes from upstream/master
10 years ago
Jan Tattermusch
60161997c8
fix typo in cmake/README.md
10 years ago
Jan Tattermusch
fbd735c5d7
Merge remote-tracking branch 'upstream/master' into fix_appveyor
10 years ago
Jan Tattermusch
659a43b593
Merge pull request #532 from jskeet/proto3-clone
...
Implement Clone.
10 years ago
Jon Skeet
785e13e3c0
Generated code changes from previous commit.
10 years ago
Jon Skeet
8c896b259e
Implement requested changes for IMessage<T>
...
1) New line at end of file
2) Make IMessage<T> itself extend IEquatable<T> and IDeepCloneable<T>
10 years ago
Joshua Haberman
242fdef65a
Merge pull request #530 from haberman/updateupb
...
Update upb to fix two bugs in the Ruby library.
10 years ago
Jon Skeet
6c1fe6ea3e
Implement Clone.
...
Fixes issue #527 .
10 years ago
Josh Haberman
fb8ed707a2
Update upb to fix two bugs in the Ruby library.
...
Fixes:
https://github.com/google/protobuf/issues/502
https://github.com/google/protobuf/issues/425
10 years ago
Feng Xiao
d0eb7786a9
Fix appveyor tests.
10 years ago
Paul Yang
d3d66d7976
Merge pull request #503 from thomasvl/add_nonnill_markup
...
Add nonnull/nullable/null_resettable markup to ObjC library.
10 years ago
Jan Tattermusch
45b70328f2
Merge pull request #515 from jskeet/proto3-only
...
Proto3 experimental C# fork
10 years ago