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
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
Christian Maurer
b9f405ae46
Removed unused-parameter warning
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
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
Mohamed Heikal
4d034fecfc
Simplify template exporting macros
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
Marco Ferrer
580f585f58
add kotlin kroto plus
5 years ago
Vperus
8e6141a63d
[csharp] Fix typo
5 years ago
Erik Moqvist
d5fbdb45b0
Added pbtools to third party implementations list.
5 years ago
Rafi Kamal
bdf32b9a17
Merge pull request #6629 from Geod24/patch-1
...
Remove duplicate entry in third party list
5 years ago
Paul Yang
7114d73dea
Implement binary conformance test for oneof fields ( #6622 )
...
* Implement binary conformance test for oneof fields
* Update failure list
* Update failure list for php c extension
5 years ago
Mathias LANG
c656d76894
Remove duplicate entry in third party list
...
On the linked Wiki page, it can be seen that the creator is `opticron`, whose Github repository is also linked, and contains a more up-to-date implementation.
5 years ago
Rafi Kamal
1363bf9c05
Merge pull request #6628 from suztomo/linakge_monitor_fix
...
Linakge Monitor fix to handle a new version of protobuf-bom not available in Maven Central
5 years ago
Tomo Suzuki
c1a046528c
MVN
5 years ago
Tomo Suzuki
f460c178fe
Local install before changing version
5 years ago
Paul Yang
7f520092d9
Sync upb ( #6614 )
...
* Sync upb
https://github.com/protocolbuffers/upb/pull/209
* Update upb
https://github.com/protocolbuffers/upb/pull/210
5 years ago
Roman Kamyk
dc974d22c5
Fix small style issues in the dart example, following Effective Dart:
...
- use final instead of obvious types for local variables
- add missing `void` return type
- make the comments doccomments (///)
5 years ago
Tim Gates
929a72d67c
Fix up simple typo: invididual -> individual
5 years ago
Mohamed Heikal
f74b560072
Enable PROTOBUF_EXPORT/PROTOBUF_USE_DLL on clang/gcc
5 years ago
Gregory Haskins
5102df2904
Add Protojure to third-party wiki ( #6554 )
...
This adds links under the Clojure header to
https://protojure.github.io
Signed-off-by: Greg Haskins <gregory.haskins@gmail.com>
5 years ago
Paul Yang
ce942bcae1
Add binary conformance tests for map fields ( #6560 )
...
* Add binary conformance tests for map fields
* Update failure list
* Fix php conformance test
* Fix php conformance test
In 32-bit platform, int64 should be string. However, map iterator returns string key as integer.
* Add more test cases for map
* Update failure list
5 years ago
Jan Tattermusch
e2f5da65ee
C#: add System.Memory dependency for net45 too ( #6317 )
...
* introduce GOOGLE_PROTOBUF_SUPPORT_SYSTEM_MEMORY
* allow building net45 target on unix systems too
* add Span<> support on net45 as well
5 years ago
Jan Tattermusch
94cbf009e9
Merge pull request #6499 from ObsidianMinor/csharp/proto2-feature/docs
...
Document proto2 feature implementations in Google.Protobuf
5 years ago
Jan Tattermusch
37bf540fd0
Merge pull request #5936 from ObsidianMinor/csharp/proto2-feature/finale
...
C# Proto2 feature : Finale
5 years ago
Sydney Acksman
c920715cf5
Remove wording indicating proto2 support is reimplemented
5 years ago
Sydney Acksman
c9a9818075
Update proto2.md
...
Reworded info about message initialization
5 years ago
Sydney Acksman
7feb16a377
Update proto2.md
...
Addressed review comments
5 years ago
Rafi Kamal
bc1773c42c
Merge pull request #6568 from ennerf/add-jigsaw-module-name
...
Java: Add Automatic-Module-Name entries to the Manifest
5 years ago
salamaniibm
7ba4a99e00
adding protoc support for s390x
5 years ago
Adam Cozzette
36bdcb5a7a
Updated issue templates to remove question form ( #6576 )
...
This commit removes the question template. It also updates the bug report and feature request templates to direct questions to the mailing list.
5 years ago
Paul Yang
e9d4e4acbc
Fix the issue for parsing zero length message ( #6592 )
...
* When length is zero, substr returns null instead of emptry string, which breaks the invariable for message.
* Tested in https://github.com/protocolbuffers/protobuf/pull/6560
5 years ago
Rafi Kamal
14b55eb128
Merge pull request #6597 from elharo/patch-3
...
Update version number
5 years ago
Thomas Van Lenten
030a38b954
Fix typo that snuck in with last commit.
5 years ago