Paul Yang
cd5f49d094
Fix ruby segment fault ( #3708 )
...
* Fix ruby segment fault
1) rb_ary_new cannot be called during allocate function. During allocate
fucntion, the containing object hasn't been marked and rb_ary_new may
invoke gc to collect containing object.
2) The global map should be marked before allocating it. Otherwise it
may be garbage collected.
* Add test
* Remove commented code
* Fix grammer error
7 years ago
Thomas Van Lenten
d6c32a818f
Merge pull request #3714 from thomasvl/objc_increase_test_coverage
...
Objc increase test coverage
7 years ago
Thomas Van Lenten
a274c67caf
Build out more complete code coverage in the tests.
7 years ago
Thomas Van Lenten
9477123538
Let Xcode 9 update project/scheme settings.
7 years ago
Thomas Van Lenten
4207066c35
Merge pull request #3710 from thomasvl/xcode9
...
Add Xcode 9 support to the helper script.
7 years ago
Thomas Van Lenten
c4dce018b2
Merge pull request #3709 from thomasvl/unknown_field_merge_issue
...
ObjC: Fix merging of length delimited unknown fields.
7 years ago
Thomas Van Lenten
b586e646a4
Add Xcode 9 support to the helper script.
7 years ago
Thomas Van Lenten
3f2dcaebe3
ObjC: Fix merging of length delimited unknown fields.
...
- Add a test to cover this and tweak the test to not use two merge
paths to be sure things are as expected.
7 years ago
Bruce Dawson
210be267fd
Use constexpr more with VC++ 2017 ( #3707 )
...
* Use constexpr more with VC++ 2017
Chrome's official builds have over 170 dynamic initializers for
variables of the form *::TableStruct::aux. Defining
PROTOBUF_CONSTEXPR_VAR to be constexpr for VS 2017 gets rid of all of
these and saves about 10 KB of binary size.
* Update generated_message_table_driven.h
Restore accidentally deleted line.
7 years ago
Johan Brandhorst
fc7a6a2931
Add GopherJS protobuf and gRPC links
...
Add a link to my third party protobuf/gRPC implementation for GopherJS.
7 years ago
Jisi Liu
bd798dfc81
Merge pull request #3690 from pherl/3.4.x
...
Remove ranged based for in io_win32.cc
7 years ago
Jisi Liu
a38f876d40
Merge pull request #3691 from pherl/stringback
...
Fix C++11 string accessors
7 years ago
Markus Heß
f7e209951e
protobuf_generate: create include path only for proto files
7 years ago
Jisi Liu
d2738c04f5
Add spaces
7 years ago
Jisi Liu
5a501c64c7
Fix C++11 string accessors
7 years ago
Jisi Liu
6d0cf1b3fe
Remove ranged based for in io_win32.cc
7 years ago
Feng Xiao
fc5aa5d910
Merge pull request #3676 from hesmar/hesmar/fixProtobufGeneratePython
...
generate python code when calling PROTOBUF_GENERATE_PYTHON
7 years ago
Markus Heß
0e069e5a2d
generate python code when calling PROTOBUF_GENERATE_PYTHON
7 years ago
Paul Yang
ae55fd2cc5
Enforce all error report for php tests. ( #3670 )
...
* Enforce all error report for php tests.
* Import vendor/autoload.php in tests/bootstrap_phpunit.php
7 years ago
Feng Xiao
c20440222a
Merge pull request #3675 from hesmar/hesmar/cmakeAddDllExport
...
protobuf_generate: add EXPORT_MACRO option
7 years ago
Markus Heß
9829b8f511
protobuf_generate: add EXPORT_MACRO option
7 years ago
Jisi Liu
c627530946
Merge pull request #3674 from pherl/shutdown
...
Test Shutdown can be called multiple times.
7 years ago
Joshua Haberman
4fc75296c7
Merge pull request #3627 from zanker/zanker/add-submsg-hash-init
...
Allow initializing a chain of protos using only a hash in Ruby
7 years ago
Jisi Liu
b091bfb07b
Test Shutdown can be called multiple times.
7 years ago
Zachary Anker
633ef8bde9
Update message.c
7 years ago
Paul Yang
2b0ee3fdf6
Add $ before url_prefix_len to make it a variable. ( #3668 )
...
* Add $ before url_prefix_len to make it a variable.
* Remove unnecessary string length check
* Remove useless $type_url_len
7 years ago
Joshua Haberman
eade82c836
Merge pull request #3639 from zanker/zanker/fix-embedded-to_h
...
Fixed to_h with repeated messages to return hashes in Ruby
7 years ago
Zachary Anker
8eae3fe6e9
Update message.c
7 years ago
Zachary Anker
87714836e3
Allow initializing a chain of protos using only a hash
7 years ago
Zachary Anker
83264bd160
Fixed to_h with repeated messages to return hashes in Ruby
7 years ago
Feng Xiao
cf1b29dec8
Merge pull request #2377 from mcos/chore/conformance-null-tests
...
Conformance Tests for Null Timestamp and Duration JSON Values
7 years ago
Adam Cozzette
fa5a69e73b
Merge pull request #3624 from acozzette/down-integrate
...
Integrated internal changes from Google
7 years ago
Jisi Liu
655cc830d9
Merge pull request #3651 from pherl/3.4.x
...
Bumping minor version for ruby gems
7 years ago
Jisi Liu
2eb1bacc26
Bumping minor version for ruby gems
7 years ago
Paul Yang
5dd818cd22
Merge pull request #3612 from TeBoring/php-bug
...
Add prefix to php reserved keywords.
7 years ago
Jisi Liu
b04e5cba35
Merge pull request #3642 from pherl/3.4.x
...
Bump version for minor release
7 years ago
Jisi Liu
dba647a6b2
Bump version for minor release
7 years ago
drivehappy
e3be1febf2
Clang warning cleanup for unused parameter.
7 years ago
Adam Cozzette
13fd045dbb
Integrated internal changes from Google
7 years ago
Feng Xiao
d1bc27caef
Merge pull request #3626 from xfxyjwf/fixgo
...
Fix go example test.
7 years ago
Feng Xiao
8136ccb296
Fix go example test.
...
It needs "-I" flag to find imported file google/protobuf/timestamp.proto
7 years ago
Feng Xiao
c0d88ae300
Merge pull request #3635 from drivehappy/clang_cleanup
...
Clang warning cleanup for unused parameter.
7 years ago
drivehappy
7f3ded663b
Clang warning cleanup for unused parameter.
7 years ago
Feng Xiao
471b45e895
Merge pull request #3158 from yeswalrus/fix-policy-warning
...
Fix policy warning CMP0054
7 years ago
Paul Yang
3d78561402
Merge pull request #3634 from TeBoring/ruby-bug
...
Cherry pick bug fix for ruby
7 years ago
Aaron Patterson
a459b224b5
Storing the frame on the map means we don't need the array
7 years ago
Aaron Patterson
c1dd8e85a1
Move parse frame array to the Map object
...
This makes the frame stack per-parser, and per-thread. Fixes #3250
7 years ago
Paul Yang
8741da3e45
Revert "Fix js conformance tests. ( #3604 )" ( #3633 )
...
This reverts commit 2bd55a9fbc
.
7 years ago
Bo Yang
a425dd97f2
Rename ClassNamePrefix to ConstantNamePrefix
7 years ago
Paul Yang
2bd55a9fbc
Fix js conformance tests. ( #3604 )
...
* Fix js conformance tests.
* Remove old incorrect compatibility tests
7 years ago