Nathan Baulch
e4cbc79ab4
Fix minor typos ( #17682 )
...
Just thought I'd contribute some typo fixes that keep tripping up CI/CD checks in my projects. Nothing controversial (hopefully), just 174 simple fixes.
Use the following command to get a quick and dirty summary of the specific corrections made:
```shell
git diff HEAD^! --word-diff-regex='\w+' -U0 \
| grep -E '\[\-.*\-\]\{\+.*\+\}' \
| sed -r 's/.*\[\-(.*)\-\]\{\+(.*)\+\}.*/\1 \2/' \
| sort | uniq -c | sort -n
```
FWIW, the top typos are:
* trimed → trimmed (37)
* substract → subtract (7)
* qualifed → qualified (7)
* extesion → extension (6)
* mising → missing (5)
* btye → byte (4)
* likey → likely (4)
* candicate → candidate (3)
* decriptor → descriptor (3)
* inherting → inheriting (3)
* colletion → collection (3)
* caluclated → calculated (3)
* unititialized → uninitialized (3)
* implemting → implementing (3)
* binrary → binary (3)
* descripor → descriptor (3)
* negitive → negative (3)
Closes #17682
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17682 from NathanBaulch:typos d41762d137
PiperOrigin-RevId: 677074418
2 months ago
Adam Cozzette
047df98dea
Move upb-x/ back to upb/
...
This is the second attempt to fix our Git history. This should allow
"git blame" to work correctly in the upb/ directory even though our
automation unexpectedly blew away that directory.
1 year ago
Adam Cozzette
895f190bda
Move upb to upb-x
1 year ago
Adam Cozzette
1ba80d7424
Move upb-temp/ back to upb/
1 year ago
Adam Cozzette
d38b8561e6
Move upb/ to upb-temp/
...
This will help us fix our Git commit history to ensure that git blame
works correctly for upb.
1 year ago
Adam Cozzette
6fc87fe3f7
Internal change
...
PiperOrigin-RevId: 560100839
1 year ago
Protobuf Team Bot
cab6c3e223
Internal change
...
PiperOrigin-RevId: 560096690
1 year ago
Adam Cozzette
0d1ba13e83
Move everything into new upb/ directory
1 year ago
Euclid
6104c4394c
Fixed Document `cmake --build` to `cmake --build .` ( #13449 )
...
`cmake --build` This command needs to specify the directory.
```
Usage: cmake --build <dir> [options] [-- [native-options]]
cmake --build --preset <preset> [options] [-- [native-options]]
Options:
<dir> = Project binary directory to be built.
```
Closes #13449
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13449 from xinzhanguo:main 770317b8ec
PiperOrigin-RevId: 553944712
1 year ago
Deanna Garcia
3f8625b306
Edit READMEs to include new cmake instructions and remove references to language specific source distributions.
...
PiperOrigin-RevId: 520980524
2 years ago
Mike Kruskal
c92294ac6d
Allow selection of system default C++ version.
...
This leaves the decision of which C++ version to use up to our users. We still have a static_assert in port_def.inc that will prevent pre-C++14 usage.
PiperOrigin-RevId: 501351066
2 years ago
Mike Kruskal
388e3d744f
Sync from Piper @mkruskal/footmitten
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
1e24391438
Remove NMake support ( #10656 )
...
* Deleting NMake build
* Deleting documentation for NMake
2 years ago
Mike Kruskal
6b46e5fb37
Clean up conformance test documentation ( #10410 )
...
* Update conformance test documentation
* Fix bug to allow custom argument forwarding to conformance tests
* Fix trailing sentence
* Add note about linux CMake support up top
* Add note about CMake being C++-only
2 years ago
Mike Kruskal
78efa76172
Add CMake Ninja test ( #10314 )
...
* Initial implementation of cmake tests for linux
* Reverting accidental distcheck changes
* Updating gitignore file to include cmake generated files
* Updating existing cmake tests to use newer docker image
* Adding CMake build that uses Ninja as the generator
* Updating CMake documentation to cover Linux support
* Updating to latest cmake image
2 years ago
noahdietz
5abf802bc2
Replace master with main in URLs & docs
3 years ago
Florin Crișan
9ebb31726c
Add option to use external GTest in CMake ( #8736 )
...
If `-Dprotobuf_USE_EXTERNAL_GTEST=ON` is passed to CMake, it will use an external Google Test copy (i.e. by calling `find_package(GTest REQUIRED)`) rather than the one provided as a submodule.
This makes sense for larger projects that might already include Google Test and want to use a more standard CMake approach.
Also updated build instructions with this information, and more idiomatic usage.
Co-authored-by: Adam Cozzette <acozzette@google.com>
3 years ago
Florin Crișan
18c951efb1
Enable testing via CTest ( #8737 )
...
Convenience feature: enable users to test via the familiar `ctest` command rather than making the `check` target.
They would be able to use the familiar CMake pattern:
```
cmake -S source/protobuf -B build/protobuf ...
cmake --build build/protobuf
ctest --test-dir build/protobuf
cmake --install build/protobuf
```
This is a follow-up to 9f447fc9d3da93da29b8301f1a8ca57b1ea812d7
3 years ago
Stephen Kennedy
8495372e1e
[cleanup] Msvc warnings ( #9263 )
...
* Fix and reenable signed/unsigned warning C4018
* Only disable unary minus warning C4146 in tests
3 years ago
Joshua Haberman
fa4d70fad6
Restore CMake files, we're not ready to delete them yet.
3 years ago
Joshua Haberman
173554146f
Updated some docs and removed/rearranged some obsolete stuff.
3 years ago
Joshua Haberman
e3f41de6c7
Split monolithic BUILD file into many build files.
4 years ago
Ron Klein
a076adc20f
documentation: fix path for fetching submodules
5 years ago
listonjesse
2ae7cf0e03
Auxillary -> Auxiliary
5 years ago
Daniel Johansen
e93dea7746
update Cmake example to build Visual Studio to newest 2019 version.
5 years ago
debugx
9fdb2cf2bb
fixed typo
5 years ago
Xiang Dai
e479410564
delete all duplicate empty blanks ( #5758 )
...
Signed-off-by: Xiang Dai <764524258@qq.com>
6 years ago
dyyap
436139803f
Updated README.md ( #5366 )
...
* Update README.md
6 years ago
Feng Xiao
afe98de32a
Replace repo links.
6 years ago
Feng Xiao
014e76e2cd
Update instructions about getting protobuf source.
7 years ago
Carlos O'Ryan
3c5442a95d
Include googletest as a submodule ( #3993 )
...
Add googletest as a submodule in third_party/googletest.
7 years ago
Abdul Sami
fe33c5fe9d
Added instruction for existing ZLIB configuration
...
Using two configuration flags `DZLIB_INCLUDE_DIR` and `DZLIB_LIB` we can locate an existing ZLIB on the system
7 years ago
Josh Haberman
fe96a215d9
Clarified that 'nmake' must be run before 'nmake check'.
9 years ago
Dongjoon Hyun
7b08d49e9d
Fix typos in README.md/CHANGES.txt
9 years ago
Leif Gruenwoldt
a9e6a8f61d
Change back to "protobuf_BUILD_TESTS" flag
...
In anticipation of PR #753 getting merged we'll change this back. However until that PR gets merged the old value "BUILD_TESTS" is really needed.
9 years ago
Leif Gruenwoldt
24e2d8c2f1
Fix typos in cmake README.md
9 years ago
Konstantin Podsvirov
0f21c538be
Update cmake/README.md for #783 PR
9 years ago
Jan Tattermusch
60161997c8
fix typo in cmake/README.md
10 years ago
Feng Xiao
e96ff30120
Down-integrate from internal code base.
...
[ci skip]
Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d
10 years ago
Feng Xiao
ee6b3d5529
Remove vsprojects.
10 years ago
Feng Xiao
2286ab328c
Fix README.md formatting.
...
Change-Id: I121cb70bfdc4894c297ab1a36f1db47736c0652b
10 years ago
Feng Xiao
4333edb340
Add cmake support.
10 years ago
Feng Xiao
78c8200655
Describe how to get gtest source for Visual Studio users.
10 years ago
kenton@google.com
9270a99d2e
Make DLLs work again.
16 years ago
kenton@google.com
e6607e3963
Update MSVC project files for recent changes. Added new projects for libprotobuf-lite and the lite test.
16 years ago
kenton@google.com
50ede8ba17
Update MSVC project files for rev 120, and add instructions for compiling with zlib.
16 years ago
Jon Skeet
f0589506c9
Wiping slate clean to start again with new layout.
16 years ago
kenton@google.com
580cf3c47c
Update MSVC installation instructions for static linking change.
16 years ago
kenton@google.com
9b10f5845a
* Fix build on MSVC.
...
* Switch to statically-linked libraries instead of DLLs on MSVC.
16 years ago
Jon Skeet
f92c545f49
Initial commit of C# code developed before installing Git.
...
committer: Jon Skeet <skeet@pobox.com>
17 years ago