Bo Yang
1a549d9a90
Avoid using php_date_get_date_ce() in case date extension is not
...
available.
7 years ago
Bo Yang
fffe8d39f8
Call php method via function name instead of calling directly.
...
This changes the linking error if php extension is not statically linked
to a runtime error. In this way, users who don't need Timestamp can
still use protobuf even if date extension is not statically linked in
php.
7 years ago
Bo Yang
88102eae8f
Replace private timelib_update_ts with public date_timestamp_get
7 years ago
Bo Yang
9f6aceaa8c
Add PROTOBUF_ENABLE_TIMESTAMP to let user decide whether timestamp util
...
can be used at install time.
7 years ago
Paul Yang
b1386e77a2
Merge pull request #4026 from TeBoring/3.5.x
...
Merge 3.5.0.1 to 3.5.x
7 years ago
Bo Yang
fc5818b2bb
Merge branch '3.5.0.1' into 3.5.x
7 years ago
Paul Yang
cf7c15e31a
Fix ruby gc_test in ruby 2.4 ( #4011 )
...
* Fix ruby gc_test in ruby 2.4
* Initialize global variables to Qnil.
7 years ago
Paul Yang
0e7b589566
Add discard unknown API in ruby. ( #3990 )
...
* Add discard unknown API in ruby.
* Add test for oneof message field.
* Add TestUnknown to represent unknown field data clearly.
* Only serialize the message with unknown fields itself in test.
* Move discard_unknown from Message to Google.Protobuf
7 years ago
Paul Yang
c370f88fb1
Recursively clear unknown fields in submessages. ( #3982 )
...
* Recursively clear unknown fields in submessages.
* Recursively discard unknown fields in submsg for c extension
* Fix zts build
* Add comment for tests
* Add a TODO to add a util for encoding varint for better readability.
* Add test for oneof message field.
7 years ago
Jisi Liu
1b5b3b2839
Merge pull request #4013 from laszlocsomor/io_win32
...
io_win32: support non-ASCII paths
7 years ago
Laszlo Csomor
a3a1c93fb4
io_win32_unittest: remove incorrect error check
...
Unlike GetEnvironmentVariableW,
GetCurrentDirectoryW doesn't set
ERROR_INSUFFICIENT_BUFFER.
7 years ago
Laszlo Csomor
eb3bd6ec29
io_win32_unittest: fix condition in GetCwdAsUtf8
7 years ago
Laszlo Csomor
3f1b1a6da5
io_win32_unittest: use CWD as last tempdir
...
If the test cannot find a temp directory by
checking environment variables, it will fall back
to using the current working directory as the temp
directory root.
This is what the test used to do as of commit
6de51caed5
and what was then changed by commit
792d098769
7 years ago
Laszlo Csomor
57a01c7fbe
io_win32: add more encoding-related tests
7 years ago
Laszlo Csomor
65da9fd97f
io_win32: support non-ASCII paths
...
Fixes https://github.com/google/protobuf/issues/3951
7 years ago
Laszlo Csomor
953a0253fc
io_win32_unittest: make //:win32_test run again
...
Do not use "googletest.h", apprently that leads to
linking errors on Windows which I couldn't figure
out how to solve, and decided to just go with
plain gTest instead.
See https://github.com/google/protobuf/issues/3951
7 years ago
Bo Yang
457f6a607c
Add release log
7 years ago
Bo Yang
ba60b854b6
Update php c extension version number to 3.5.0.1
7 years ago
Bo Yang
212563d756
Fix memory leak in php7
7 years ago
Bo Yang
3b7a5f4515
Fix several more memory leak
7 years ago
Bo Yang
7d3437152a
Fix memory leak when creating map field via array.
7 years ago
Bo Yang
e0d3aa057b
Fix memory leak when creating repeated field via array.
7 years ago
Paul Yang
de44982a74
Remove duplicate typedef. ( #3975 )
7 years ago
Bo Yang
b140cb3145
Fix memory leak when creating map field via array.
7 years ago
Bo Yang
1acacf46cc
Fix memory leak when creating repeated field via array.
7 years ago
Paul Yang
94bb1eed17
Remove duplicate typedef. ( #3975 )
7 years ago
Paul Yang
74e7decbbf
Provide discardUnknonwnFields API in php ( #3976 )
...
* Provide discardUnknownFields API in php implementation
* Provide discardUnknownFields API in php c extension.
7 years ago
Jisi Liu
cf65a7946f
Update version for 3.5.0.post1
7 years ago
Jisi Liu
f466709e7d
Merge pull request #3941 from google/anandolee-patch-2
...
Add _file_desc_by_toplevel_extension back
7 years ago
Jie Luo
45d99a15f3
Add _file_desc_by_toplevel_extension back
...
Add _file_desc_by_toplevel_extension back for compatibility issue with 3.4.1.
_file_desc_by_toplevel_extension is a temporary solution for FieldDescriptor.file.
FieldDescriptor.file was added in code gen. However, we need to keep it for some time for compatibility reason (with 3.4.1 only). May try to remove it after 2 years.
7 years ago
Paul Yang
98836a56e6
Update version number for php c extension ( #3896 )
7 years ago
Jisi Liu
e99e5d093f
Merge pull request #3895 from pherl/3.5.x
...
Add protobuf-all in post release
7 years ago
Jisi Liu
1ec45f81ef
Add protobuf-all in post release
7 years ago
Paul Yang
857a021645
Use fully qualifed name for DescriptorPool in Any.php to avoid name ( #3886 )
...
conflict
7 years ago
Jisi Liu
0cd2ad11b8
Update protoc-artfacts
7 years ago
Jisi Liu
4041600aa1
Merge branch '3.5.x' of github.com:google/protobuf into 3.5.x
7 years ago
Jisi Liu
4493595f8c
Update release date
7 years ago
Jisi Liu
2761122b81
Merge pull request #3868 from pherl/3.5.x
...
Support win32 long path for cross compiled build
7 years ago
Paul Yang
188f18044f
All integer types should accept null in json. ( #3869 )
7 years ago
Jisi Liu
9c197b7ecb
Support win32 long path for cross compiled build
7 years ago
Jisi Liu
fe2b4af3d1
Merge pull request #3867 from jtattermusch/update_changelog
...
Update changelog
7 years ago
Jan Tattermusch
07df2307b2
update changelog
7 years ago
Jisi Liu
966a9ed96a
Merge pull request #3861 from jtattermusch/backport_3858
...
Backport #3858 to 3.5.x branch
7 years ago
Jan Tattermusch
5f96191459
ParseFrom<T> for array slice is missing
7 years ago
Jan Tattermusch
4a5e1bd043
check already performed by MergeFrom
7 years ago
Jan Tattermusch
435f61102b
allow message parsing from an array slice
7 years ago
Jisi Liu
5eb717c300
Fix arm64 name
7 years ago
Jisi Liu
b879abc811
Supports Arm64 (aarch64) protoc artifacts
7 years ago
Jisi Liu
0971efb16e
Merge pull request #3854 from pherl/3.5.x
...
Fix Atomic32/AtomicWord on some platforms.
7 years ago
Paul Yang
662e8b20bc
Provide util funtions to figure out correct php class names. ( #3850 )
7 years ago