Feng Xiao
bd158fc238
Speed up JSON parsing.
...
It turns out calling StringOutputStream::Next()/BackUp() repeatedly is
very costly in opensource protobuf because it keeps resize() the string
back and forth. The current JSON conversion API suffers this problem and
leads to ridiculously long parsing time:
https://github.com/google/protobuf/issues/2305#issuecomment-257785492
This change fixes the problem but caching the buffer of Next() and avoid
calling BackUp() as much as possible.
8 years ago
Paul Yang
df8390790a
Fix php c extension on 32-bit machines. ( #2348 )
8 years ago
Feng Xiao
9f75c5aa85
Merge pull request #2337 from sergiocampama/deprecation
...
Fixes deprecation warnings/errors on Xcode
8 years ago
Sergio Campama
e75cf40e8f
Fixing references to the removed atomicops_internals_pnacl.h file.
8 years ago
Adam Cozzette
ce5160b83b
Merge pull request #2332 from Kwizatz/master
...
Added explicit cast to avoid size warning on Win64.
8 years ago
Adam Cozzette
d584321fb4
Merge pull request #2327 from ctubbsii/fix-maven-compiler-plugin
...
Use latest maven-compiler-plugin (2.6.0)
8 years ago
Paul Yang
1f2dbc899b
Implement RepeatedFieldIter for c extension. ( #2333 )
8 years ago
Sergio Campama
ecc460ab1b
Renamed the pnacl version of atomicops.h into C11 atomic, and flagged the mac version to that if atomic is enabled
8 years ago
Rodrigo Hernandez
975d577a2b
Added explicit cast to avoid size warning on Win64.
8 years ago
Adam Cozzette
0d7199edc8
Merge pull request #2329 from acozzette/unused-parameter
...
Fix unused parameter warnings in arena_free
8 years ago
Jisi Liu
ca800ea823
Merge pull request #2330 from manupsunny/master
...
Fix message for InvalidProtocolBufferException
8 years ago
Msp
089aaa996a
Fix message for InvalidProtocolBufferException
8 years ago
Adam Cozzette
8785004c80
Fix unused parameter warnings in arena_free
...
The size parameter is only used in cases where the compiler supports
sized delete, so when that's not available we need to specifically cast
it to void to prevent a warning.
8 years ago
Christopher Tubbs
eb7f3a3ad1
Use latest maven-compiler-plugin (2.6.0)
...
* Uses build-helper-maven-plugin to add generated sources to the classpath
* Fixes an issue building with newer versions of the maven-compiler-plugin
(See https://issues.apache.org/jira/browse/MCOMPILER-240 )
8 years ago
Feng Xiao
7bd11fcb59
Merge pull request #2301 from jbrianceau/arm-atomic-kuser-helpers-fix-v2
...
[arm/gcc] Don't rely on KUSER_HELPERS feature for atomics
8 years ago
Jon Skeet
4c310d78a2
Update conformance test failure list
8 years ago
Jon Skeet
50a37e0135
Change JSON field name formatting
...
This affects cases with leading capital letters.
This breaks compatibility with previous C# releases, but
fixes compatibility with other implementations.
See #2278 for details.
8 years ago
Jisi Liu
93a4fa23d0
Merge pull request #2302 from jbrianceau/generic-gcc-atomics-strong-cmpxchg
...
generic atomicops: Use strong compare_exchange
8 years ago
Feng Xiao
750b9e2428
Merge pull request #2318 from mavrukin/patch-1
...
Fix compiler warnings when running :protobuf_test
8 years ago
Michael Avrukin
4d813de095
Fix compiler warnings when running :protobuf_test
...
When running >bazel test :protobuf_test a few compiler warnings came up. They were centered around the usage of "int" as the loop counter where the value should have been a size_t.
8 years ago
Feng Xiao
8fcd24b8db
Merge pull request #2307 from sinzianag/swift_protobuf
...
Docs: Link to Apple's Swift plugin and runtime for protobufs
8 years ago
Thomas Van Lenten
ea928a1811
Merge pull request #2309 from thomasvl/note_about_coding_support
...
Add note about extension use and Coding support.
8 years ago
Thomas Van Lenten
98c01858f2
Add note about extension use and Coding support.
8 years ago
Sinziana Gafitanu
9819b72d49
Adding Apple's Swift Protobuf
8 years ago
Julien Brianceau
a5a2c1d78f
generic atomicops: Use strong compare_exchange
...
Weak compare-and-exchange are allowed to fail spuriously, so we have
to use the strong variation here.
8 years ago
Julien Brianceau
4587a3fd07
[arm/gcc] Don't rely on KUSER_HELPERS feature for atomics
...
ARM specific CONFIG_KUSER_HELPERS feature can be disabled in Linux kernel,
and in this case, we shouldn't crash. Use gcc built-in functions instead
of arm specific code if they are available.
8 years ago
Sergio Campamá
d58b92ae51
Adds pushLimit: and popLimit: into GPBCodedInputStream ( #2297 )
...
Adds pushLimit: and popLimit: into GPBCodedInputStream
8 years ago
Paul Yang
795976ecf5
Trigger update of docker for new changes in #2282 . ( #2288 )
8 years ago
Feng Xiao
e9d9e56a6b
Merge pull request #2290 from ramrunner/OpenBSDsupport
...
define no_threadlocal on OpenBSD
8 years ago
ramrunner
bfc1299a09
define no_threadlocal on OpenBSD
8 years ago
Jisi Liu
734930f919
Merge pull request #2284 from pherl/plugin_opt
...
Support extra parameters for plugins.
8 years ago
Jisi Liu
2e314a697a
Add comments about converting directives into PluginName
8 years ago
Jisi Liu
59cd5d0e26
Support extra parameters for plugins.
8 years ago
Paul Yang
51c5ff889c
Fix pure php implementation for 32-bit machine. ( #2282 )
8 years ago
Feng Xiao
58580da373
Merge pull request #2274 from nmittler/gae
...
Hacking ByteBufferWriter to work with GAE
8 years ago
nmittler
c0f95c6f94
Hacking ByteBufferWriter to work with GAE
...
Fixes #2269
8 years ago
Feng Xiao
9c6940f3bb
Merge pull request #2264 from rshin/master
...
Place Python extensions correctly in Bazel build.
8 years ago
Richard Shin
7c913d821e
Use -DPROTOBUF_PYTHON_ALLOW_OVERSIZE_PROTOS
8 years ago
Richard Shin
df5841f0b2
Place Python extensions correctly in Bazel build.
8 years ago
Feng Xiao
008b5a228b
Merge pull request #2254 from JasonLunn/patch-1
...
Use git clean before installing via bundler
8 years ago
Jason Lunn
9ec7a47ee8
Use git clean before installing via bundler
8 years ago
Feng Xiao
993d604030
Merge pull request #1959 from abergmeier-dsfishlabs/feature/cpp
...
Need to expose generated protobuf C++ headers
8 years ago
Paul Yang
ad88f905ae
Merge pull request #2251 from TeBoring/master
...
Merge 3.1.x branch into master.
8 years ago
Bo Yang
686a19c9b7
Merge 3.1.x into master.
8 years ago
Paul Yang
e28286fa05
Add 32-bit machine test on jenkins. ( #2245 )
8 years ago
Feng Xiao
afaa827860
Merge pull request #2246 from fweikert/patch-1
...
Declare all inputs of protoc action
8 years ago
Florian Weikert
c2b3e70efd
Declare all inputs of protoc action
...
ctx.executable.plugin must be in the inputs of protoc's action when using a plugin, otherwise the action will fail.
This bug has been hidden by a bug in Bazel: for every ctx.action, Bazel used to automatically add the runfiles of all executable inputs of the RULE instead of using the inputs of the specific ACTION. Consequently, we could get away with underspecifying the inputs of the action.
8 years ago
Paul Yang
60d95f36c0
Fix the bug that message without namespace is not found in the descriptor pool. ( #2240 )
8 years ago
Feng Xiao
0321baf9e8
Merge pull request #2203 from mrry/msvc_fix
...
Fix MSVC build when HAVE_LONG_LONG is defined.
8 years ago
Paul Yang
fd046f6263
Merge pull request #2234 from TeBoring/master
...
Merge 3.1.x branch into master.
8 years ago