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
Daniel Frett
b6dec9b8d4
update the OSGi SymbolicName and ExportedPackage for the javanano library
8 years ago
Joshua Haberman
dd45c0b9fd
Merge pull request #2012 from haberman/rubymapgcfix
...
Ruby: make sure map parsing frames are GC-rooted.
8 years ago
Thomas Van Lenten
8c93606357
Merge pull request #2031 from thomasvl/dont_require_filegenerators
...
Speed up ObjC Generation with large dependency trees
8 years ago
Thomas Van Lenten
78a6d310de
Speed up ObjC Generation with large dependency trees
...
Don't create FileGenerators for each dep. FileGenerators will deeply create all
the message, enum, and field generators; but those aren't needed when doing
the imports for dependencies. Instead directly generate the imports off the
FileDescriptors so no extra objects are created. The only other use was when
chaining together the *Roots for the file extension registry, but that also
can be generate off the name of the FileDescriptor directly.
8 years ago
Joshua Haberman
e721ce66cf
Merge pull request #2012 from haberman/rubymapgcfix
...
Ruby: make sure map parsing frames are GC-rooted.
8 years ago
Guillaume Egles
8335b7d93e
Fix missing import of jspb.Map ( #1885 )
8 years ago
Josh Haberman
3a674ffe05
upb bugfix: JSON map entry keys were passing the wrong closure.
8 years ago
Srivats P
eedc7be680
Restore New*Callback into google::protobuf namespace since these are used by the service stubs code
...
Fixes #1966
8 years ago
Joshua Haberman
7e627738b3
Merge pull request #1920 from gegles/master
...
Fix missing import of jspb.Map (#1885 )
8 years ago
Thomas Van Lenten
c32b9dd474
Merge pull request #2018 from thomasvl/support_generate_all
...
ObjC support for GenerateAll().
8 years ago
Zi Shen Lim
f5c7a4896d
benchmarks: update readme.txt
...
Remove references to google_speed.proto which was removed in
commit 2e83110230
.
Also fix-up commands to build and run.
8 years ago