Commit Graph

27 Commits

Author SHA1 Message Date
Li Cao 8dadae2ea1 [format] upgrade clang-format to 19 (#11783)
We just updated the version from 14 to 16. But very unfortunately
clang-format-16 was just deprecated recently. So this time we update
the version to the latest available one. There are newer releases than
19 (like 20) but as I tested, sudo apt-get install -y clang-format-19
can work while 20 doesn't work.

misc-include-cleaner in clang-tidy-19 exerts a very strict check which
requires to directly include all headers for every symbols in the
source file. However in our current code we intentionally use some
indirect include. So this commit disables misc-include-cleaner.
2025-08-06 10:49:52 -07:00
Li Cao 6c6e99ee7c [style] upgrade clang-format and clang-tidy from 14 to 16 (#11682) 2025-07-10 18:19:26 -07:00
Jonathan Hui 351298e85f [clang-format] update to v14 (#8490) 2022-12-07 16:23:20 -08:00
Sarah 9e161b96b5 [documentation] update code comments and contributing section (#7240) 2021-12-22 13:11:33 -08:00
Jonathan Hui df8e06aaab [docs] remove doc/STYLE_GUIDE.md (#6668)
Site docs have moved to https://github.com/openthread/ot-docs
2021-05-21 16:58:17 -07:00
Simon Lin d5855ab74b [style] bump yapf version to 0.31.0 (#6434) 2021-04-12 07:30:27 -07:00
Jonathan Hui da1b0ddbe0 [git] reflect branch rename from 'master' to 'main' (#6249) 2021-03-08 21:58:32 -08:00
Li Cao 6956d5e0f9 [github-actions] upload core dump, so libs and binaries for crashed programs (#5861)
This commit adds action to upload core dumps, so libs and binaries for
1.2 certification. This is intended to solve issues where programs
intermittently crash however hard to reproduce it.

This is added first for thread-1-2 and low-power-packet-verification
first as an experimental work. We can add same actions for other items
when it's necessary.
2020-12-01 17:00:32 -08:00
Jonathan Hui 0eecd1c481 [pretty] downgrade to clang-format/tidy v9.0 (#5761) 2020-11-03 07:17:05 -08:00
Jonathan Hui 58b0486bcd [clang-format] update to clang-format-10 (#5616) 2020-10-07 21:17:44 -07:00
Jeff Bumgardner 5ed9081142 [docs] add style guide for documentation contributions (#5567)
Now that we have a process in place where openthread.io can source
documentation from GitHub, we need a documentation style guide to
ensure that the format of docs here on GitHub meet the format
requirements for hosting on openthread.io.
2020-09-24 11:57:36 -07:00
Jonathan Hui 082f7e9fdc [docs] apply prettier changes (#4881) 2020-04-24 16:22:00 -07:00
Jonathan Hui c0075d42c3 [pretty] fix yapf version to 0.29.0 (#4880)
v0.30.0 (released on 2020-04-23) introduces formatting changes that
are not compatible with v0.29.0.
2020-04-23 17:14:58 -07:00
Jonathan Hui 5b44a7d595 [docs] update CONTRIBUTING.md (#4857) 2020-04-17 18:39:13 -07:00
Yakun Xu 1089aa9ff4 [continuous-integration] move android check to GitHub Actions (#4829) 2020-04-17 16:46:44 -07:00
Jonathan Hui 4ee8010558 [script] update make-pretty to bash (#4698)
- Also update CONTRIBUTING.md and STYLE_GUIDE.md.
2020-03-18 19:04:10 -07:00
Yakun Xu 34b83ae6c5 [script] simplify pretty (#4660)
* No need to bootstrap and configure for make pretty
* Use parallel to speed up make pretty
2020-03-10 22:15:07 -07:00
Jonathan Hui 832944a94a [docs] update CLA text (#4373) 2019-12-04 03:57:41 +08:00
Jonathan Hui f37c3256e7 [docs] remove AppVeyor from CONTRIBUTING.md (#4056) 2019-08-05 09:05:52 -07:00
Kamil Sroka c14cc60962 [windows] remove unsupported platform (#3878) 2019-06-06 11:55:18 -07:00
Jonathan Hui 5e4be05907 [style] change to clang-format-6.0 (#3222) 2018-10-29 12:38:06 -07:00
Abtin Keshavarzian 6fbca6ab30 [docs] fix typos and update comment/doxygen style (#2741) 2018-05-31 12:35:11 -07:00
Jonathan Hui 4a30a1cbb4 [docs] explicitly mention clang-format v5.0.1 requirement (#2572) 2018-02-21 16:47:54 +00:00
Buke Po b47ab9ba48 [doc] update CONTRIBUTING.md (#2148) 2017-08-29 17:51:07 -07:00
Jonathan Hui af775eca9a Update CONTRIBUTING.md (#1546) 2017-04-04 09:20:58 -07:00
Wojciech Bober 9c292e01b2 Added 'Code style' section to CONTRIBUTING.md (#627)
* Added 'Code style' section to CONTRIBUTING.md
2016-09-20 09:38:24 -07:00
Jonathan Hui 4f9945c533 Initial commit 2016-05-10 22:49:53 -07:00