Adrian Ludwin
1327e6f470
Update repo to use google test
8 years ago
Thomas Van Lenten
7377eb2b03
Merge pull request #1970 from thomasvl/objc_any_helpers
...
Objc any helpers
8 years ago
Vladimir Moskva
a86e6d8db2
Compatibility with the new version of Bazel.
...
Global variable HOST_CFG is deprecated and will not be supported soon.
8 years ago
Thomas Van Lenten
5d35e60900
Merge pull request #2094 from thomasvl/update_wkt_comments
...
Fix error and add note about lossy issues
8 years ago
Jisi Liu
57170b9343
Merge pull request #2096 from pherl/3.0.x
...
Cherry pick objc test changes into 3.0.x branch
8 years ago
Thomas Van Lenten
5699b920bf
More complete nil/reset tests within a oneof
8 years ago
Thomas Van Lenten
708296e583
Fix some constants to be correct for the message class in use.
8 years ago
Thomas Van Lenten
161b937740
Fix error and add note about lossy issues
8 years ago
Sergio Campamá
14e74f6a21
Support the -Wassign-enum compiler flag. ( #2085 )
...
Support the -Wassign-enum compiler flag.
8 years ago
Dave Protasowski
1fc416be21
Allow the JsonFormat.Parser to ignore unknown fields
...
The default behaviour of throwing an exception remains
8 years ago
Jisi Liu
a15df74146
Merge pull request #2087 from khingblue/fix-unused-param
...
Fix #2032 unused parameter 'deterministic'
8 years ago
Thomas Van Lenten
337ec3065f
Add ObjC helpers for Any WKT.
...
- Capture the ObjC prefix used when generating the the file.
- Track the containing type on descriptors.
- Mark descriptors where the message class name got a suffix added to it.
- Expose a fullName property on Descriptors.
- Add helpers for packing/unpacking Any messages.
- Bump the ObjC runtime version number. Since we added methods and invoke them
in the generated code, ensure the code is running against a matching version.
Otherwise, someone could compile against headers, but run with a framework
that is older and get unknown selector failures. This should trip clearer
messaging.
Fixes https://github.com/google/protobuf/issues/1674
8 years ago
Guo Xiao
82133ba00b
include std::find()
8 years ago
Khing
08b1c718e4
Fix #2032 unused parameter 'deterministic'
...
Parameter deterministic is unused in
InternalSerializeWithCachedSizesToArray(), which generates unused
parameter warning in every message.
8 years ago
Feng Xiao
4bc1657853
Merge pull request #2079 from khingblue/fix-generate-descriptor
...
Fix #2071 replacing /bin/sh with bash when generates descriptor
8 years ago
Jisi Liu
30e55aecc1
Merge pull request #2083 from pherl/3.0.x
...
Merge pull request #1884 from hochhaus/valueWriterFn
8 years ago
Joshua Haberman
7645a3d03d
Merge pull request #1884 from hochhaus/valueWriterFn
...
Fix valueWriterFn_ variable name
8 years ago
Khing
f9fc56c42a
Fix #2071 replacing /bin/sh with bash
...
On Ubuntu /bin/sh is dash by default, this can cause
generate_descriptor_proto.sh fail to execute.
8 years ago
Jisi Liu
1a58673508
Merge pull request #2077 from pherl/3.0.x
...
Update release date in the change log
8 years ago
Jisi Liu
e298ce5fd0
Update release date in the change log
8 years ago
Joshua Haberman
74638a253e
Merge pull request #2047 from jonathon-love/master
...
Fix to typo/oversight in reflection tests
8 years ago
Jisi Liu
65a595dea8
Merge pull request #2062 from pherl/3.0.2
...
Bump version number to 3.0.2
8 years ago
Jisi Liu
01d1750477
Merge pull request #2061 from pherl/changelog
...
Changelog update for 3.0.2
8 years ago
Guillaume Turri
9b8da104c1
Rm check on dependency in the C# reflection API ( #2051 )
...
This check adds a few constraints on the way to build a project when we have
a proto file which imports another one. In particular, on projects which
build both C# and Java, it's easy to end up with exceptions like
Expected: included.proto but was src/main/protobuf/included.proto
A user may work around this issue, but it may add unnecessary constraints
on the layout of the project.
According to f3504cf3b1 (diff-ecb0b909ed572381a1c8d1994f09a948R309)
it has already been considered to get rid of this check, for
similar considerations, and because it doesn't exist in the Java code
8 years ago
Feng Xiao
96a9d97352
Merge pull request #2059 from chih-hung/master
...
Fix #1955 clang-tidy warning misc-macro-parentheses
8 years ago
Chih-Hung Hsieh
7c3f7c6a09
Fix #1955 clang-tidy warning misc-macro-parentheses
...
clang-tidy gives warning "macro argument should be enclosed in
parentheses" to macro ZR_, the "first" parameter.
8 years ago
Jisi Liu
6e11540b32
Bump version number to 3.0.2
8 years ago
Jisi Liu
0c9999f6d0
ruby, js and c# changes
8 years ago
Jisi Liu
a098e80933
Merge pull request #1862 from pherl/3.0.0-GA
...
Cherry pick c# changes from master
8 years ago
Jisi Liu
4041ed4c0d
objc change log
8 years ago
Jisi Liu
9befe47924
Merge pull request #1978 from pherl/cp
...
Cherry-pick into 3.0.0-GA branch: Add a jenkins test status badge.
8 years ago
Jisi Liu
9d30a98893
Merge pull request #2026 from pherl/cpjs
...
Fix missing import of jspb.Map (#1885 )
8 years ago
Feng Xiao
fa6428ed2a
Merge pull request #2045 from mike07026/master
...
fix #1342 cause by ownership issues
8 years ago
Thomas Van Lenten
85c1adf9f9
Merge pull request #2053 from thomasvl/improve_root_registry_wiring
...
Make Root's +extensionRegistry generation smarter.
8 years ago
Jonathon Love
64958cdb1d
Fix to typo/oversight in python tests
...
Fix to typo/oversight in python tests, only affecting python 3
8 years ago
Wei-Yin Chen (陳威尹)
a7eaf36967
Rename UNICODE to protobuf_UNICODE
8 years ago
Thomas Van Lenten
13a41246dd
Make Root's +extensionRegistry generation smarter.
...
At generation time, walk the file's dependencies to see what really contains
extensions so we can generate more minimal code that only links together the
roots that provided extensions. Gets a bunch of otherwise noop code out of
the call flow when the roots are +initialized.
8 years ago
Jisi Liu
d00cab0f8c
Merge pull request #2039 from khingblue/remove-unused-vector
...
Remove unused vector
8 years ago
mike07026
df6088a7e8
detect invaild JSON encoding in bytes field
8 years ago
mike07026
5a17660ca0
detect invaild JSON encoding in bytes field
8 years ago
mike07026
e514f232a0
fix #1342 cause by ownership issues
8 years ago
Wei-Yin Chen (陳威尹)
48811b2edd
Fix Win32ErrorMessage on Unicode build
8 years ago
Wei-Yin Chen (陳威尹)
11d6cb56d0
Add test for Win32ErrorMessage
8 years ago
Wei-Yin Chen (陳威尹)
588a803d58
Support Unicode build on Windows
8 years ago
Feng Xiao
b9649765f8
Merge pull request #2024 from pstavirs/master
...
Restore New*Callback into google::protobuf namespace …
8 years ago
Feng Xiao
52e491b3bb
Use 64-bit protoc binaries in compatibility tests.
...
Turns out travis doesn't have the library dependencies to run a 32-bit
binary.
Change-Id: I5fadbcade2eb71c1e9ce21d90fa9459797df0e81
8 years ago
Khing
8ee6f568ea
Remove unused vector
8 years ago
Brendan Ribera
de028631fc
fix #2036 : use `rb_hash_*` to accumulate hashes
...
Instead of shifting/xoring the hash at each field, use the built-in ruby
apis for generating a hash from multiple input values.
Now returns a Fixnum.
8 years ago
Brendan Ribera
047419a172
failing test for #2036 :
...
* add a repeated field to the tested hash
* also assert that two messages with identical values produce identical hashes
8 years ago
Feng Xiao
c0a6a6b462
Merge pull request #2033 from frett/osgiExport
...
update the OSGi metadata for the javanano package
8 years ago