debugx
9fdb2cf2bb
fixed typo
5 years ago
Juraj Lutter
982222e71a
Include cmath instead of math.h
...
This fixes build on, at least, NetBSD 8.1 with gcc 5.5 and SmartOS with gcc 7.
5 years ago
Rafi Kamal
3a505c2ded
Merge pull request #6744 from elharo/patch-5
...
Java: Update to Guava 28.1-android
5 years ago
Rafi Kamal
e249134eb8
Merge pull request #6756 from haberman/ruby-empty-names
...
Fixed bug in Ruby DSL when no names are defined in a file.
5 years ago
Rafi Kamal
bf36d04348
Merge pull request #6757 from haberman/ruby-empty-names-release
...
Ported names fix for Ruby to the release branch.
5 years ago
Joshua Haberman
35da84bf64
Ported names fix for Ruby to the release branch.
5 years ago
Joshua Haberman
09a8639482
Fixed bug in Ruby DSL when no names are defined in a file.
5 years ago
Rafi Kamal
d8e678aae4
Merge pull request #6728 from protocolbuffers/3.10.x-merge
...
Merge 3.10.x with master and increment the version number
5 years ago
Paul Yang
2dec82e1e0
Fix conformance test ( #6750 )
...
* Fix conformance test
Default value of string/message map is not encoded
* Fix zts build
5 years ago
Elliotte Rusty Harold
e7db3d35e4
Update to Guava 28.1-android
5 years ago
Rafi Kamal
7efcc0466c
Change Protobuf BOM license from Apache to BSD
5 years ago
Ricky Pai
e0441b2f28
export third_party BUILD files so they are accessible to users
5 years ago
Benjamin Peterson
5c11b41250
Improve the grammar of the unused import message.
5 years ago
Rafi Kamal
000a8d0902
Removed unnecessary conflict files
5 years ago
Rafi Kamal
2ed41359fe
Update version to 3.11.0-RC0
5 years ago
Rafi Kamal
97c7c3fc97
Merge 3.10.x to master
5 years ago
Rafi Kamal
6d4e7fd796
Merge pull request #6721 from protocolbuffers/rafi-kamal-patch-1
...
Update CHANGES.txt with changes since 3.10.0-RC1
5 years ago
Rafi Kamal
1a57c13086
Update CHANGES.txt with changes since 3.10.0-RC1
5 years ago
Paul Yang
f50204dab4
Initialize well known type values ( #6713 ) ( #6714 )
...
* Initialize well known type values
Also fixes #6667
* Revert unwanted change
5 years ago
Paul Yang
a32c2d0306
Initialize well known type values ( #6713 )
...
* Initialize well known type values
Also fixes #6667
* Revert unwanted change
5 years ago
Adam Cozzette
f4ceaecf68
Updated deprecation macros to annotate deprecated code
5 years ago
EFanZh
0d1d92d339
Revert "Update signatures of UTF-8 string functions to accept size_t type sizes"
...
This reverts commit 911e3040fa
.
5 years ago
EFanZh
00325ed97b
Update signatures of UTF-8 string functions to accept size_t type sizes
5 years ago
EFanZh
a4301ca6eb
Cast size_t type to int type explicitly
...
Currently, the generated header file might cause warnings if user specifies `-Wconversion` compiler option. This commit should be able to fix it.
5 years ago
Nikhil Pothuru
11a5b035da
Update README.md ( #6708 )
...
* Update README.md
Fixed spelling error
* Update README.md
5 years ago
Andrei-Florin BENCSIK
97b18021f6
Remove unused function and add more UTs
...
When browsing around the strutil files I found a function
that was never referenced inside the code base
"void StripString(string* s, const char* remove,
- char replacewith);"
The name was kind of misleading as well and it seems like
it's a carbon copy of
"void ReplaceCharacters(string* s, const char* remove,
char replacewith);"
(even the parameter names are the same, the code is the same..)
Is it intentional? Maybe for compatibility reasons? If so,
let's make it deprecated and use the ReplaceCharacters method inside
or the other way around.
Also, noticed there were no tests for "StripString" or "Replace".
Added some for both and planning on maybe making it more C++ish (?)
in another commit.
5 years ago
Changming Sun
95a1c4fbc4
Fix #6098
5 years ago
Sigurd Meldgaard
f4a3e06101
Add option for dart
5 years ago
Paul Yang
66bae588dd
Add document for php development ( #6694 )
...
* Add document for php development
* Fix comments
5 years ago
Rafi Kamal
9a0c848108
Merge pull request #6701 from elharo/patch-4
...
Update Java Readme to 3.9.2
5 years ago
Elliotte Rusty Harold
e157c5b9be
Update to 3.9.2
...
3.9.2 is on the Githib releases page.
5 years ago
Paul Yang
3f323c5b99
Fix incorrect leap day for Timestamp in php ( #6696 )
5 years ago
Joshua Haberman
61b6670a2a
Fixed leap year handling by reworking upb_mktime() -> upb_timegm(). ( #6695 )
...
The new function name also better reflects the semantics of the
function. Like timegm(), this function always converts to/from
UTC, not local time.
5 years ago
Christian Maurer
b9f405ae46
Removed unused-parameter warning
5 years ago
Paul Yang
3a0be889c2
Merge pull request #6681 from thomasvl/objc_fix2
...
Pull the ObjC fixes from #6679 to the 3.10.x branch
5 years ago
dmaclach
397e017c80
Remove OSReadLittle* due to alignment requirements ( #6678 )
...
The OSReadLittleInt64 function as defined by Apple reduces down to:
`return *(volatile uint64_t *)((uintptr_t)base + byteOffset);`
which means we are type-punning using a cast. On ARMv7 and other aligned architectures this can cause crashes.
Minimal example: https://gist.github.com/dmaclach/b10b0a71ae614d304c067cb9bd264336
Fixes #6679
5 years ago
Thomas Van Lenten
33da4715ea
[ObjC] Don't use unions and instead use memcpy for the type swaps. ( #6672 )
...
The code in question hasn't change in a long time so the cause of
https://github.com/firebase/firebase-ios-sdk/issues/3851 still appears to be
an Xcode 11 clang change/bug; but this does appear to be slightly better
code for the work being done.
Cleanup along the way for #6679
5 years ago
dmaclach
4702ba9043
Remove OSReadLittle* due to alignment requirements ( #6678 )
...
The OSReadLittleInt64 function as defined by Apple reduces down to:
`return *(volatile uint64_t *)((uintptr_t)base + byteOffset);`
which means we are type-punning using a cast. On ARMv7 and other aligned architectures this can cause crashes.
Minimal example: https://gist.github.com/dmaclach/b10b0a71ae614d304c067cb9bd264336
Fixes #6679
5 years ago
Thomas Van Lenten
5846439713
[ObjC] Don't use unions and instead use memcpy for the type swaps. ( #6672 )
...
The code in question hasn't change in a long time so the cause of
https://github.com/firebase/firebase-ios-sdk/issues/3851 still appears to be
an Xcode 11 clang change/bug; but this does appear to be slightly better
code for the work being done.
Cleanup along the way for #6679
5 years ago
Jan Tattermusch
378231756f
Merge pull request #6669 from ObsidianMinor/csharp/fix-comments
...
Fix incorrect Proto2 C# doc comments
5 years ago
Sydney Acksman
c54ff8d0dc
Fix many proto2 C# doc comments
5 years ago
Rafi Kamal
33151f2c87
Merge pull request #6647 from rafi-kamal/3.10.x-201909121347
...
Update protobuf version to 3.10.0 stable
5 years ago
Jie Luo
2a4657971d
Update to 3.10.0-rc0 ( #6660 )
...
* Cherry pick changes on update_version.py #6643
* Update version to 3.10.0-rc-0
* Do not add rc0 to php packages.xml
5 years ago
Joshua Haberman
a77412892c
Merge pull request #6656 from m0hamed/fix_export
...
Simplify template exporting macros
5 years ago
Paul Yang
2610eb6675
Add license ( #6651 )
5 years ago
Mohamed Heikal
4d034fecfc
Simplify template exporting macros
5 years ago
Rafi Kamal
5021cd3419
Update protobuf version
5 years ago
Rafi Kamal
90ea897492
Merge pull request #6643 from rafi-kamal/3.10.x
...
Fix update_version.py, so that PROTOBUF_VERSION is always a 9 digit number
5 years ago
Rafi Kamal
c9af9a5539
Fix update_version.py, so that PROTOBUF_VERSION is always a 9 digit number.
5 years ago
Paul Yang
763c358874
Down Integrate Internal Changes ( #6634 )
...
* Down integrate to GitHub
* Remove unintentional double assign
* Change ByteCountInt64 to int64_t
* Revert changes in binary_conformance_test.cc
* Revert unnecessary changes
5 years ago