Commit Graph

284 Commits

Author SHA1 Message Date
Changkun Ou
529399ffcd pdf: use printf over echo
echo may introduce inconsistent behaviors over different platforms.  printf is considered better than echo. See: https://unix.stackexchange.com/questions/65803/why-is-printf-better-than-echo

Fixes #188
2021-08-11 12:27:20 +02:00
Changkun Ou
ed88f4efbb website: update dependencies 2021-08-11 12:19:11 +02:00
Changkun Ou
d472ff1421 book: add text about auto as func args
Fixes #180
2021-08-11 11:20:57 +02:00
weissle
7eeaa7ae4e book: typo fix (#202) 2021-08-06 18:58:34 +02:00
Jiannanya
068840bb72 book: typo fixes (#200) 2021-07-31 11:35:21 +02:00
QuarticCat
7f7d7086a9 book: remove default template parameters (#194) 2021-07-07 08:25:57 +02:00
Killer_Quinn
69aa4f0bdf book: typo fix (#190) 2021-06-13 16:38:29 +02:00
Guo
711694e0a2 book: typo fix (#189) 2021-06-10 14:43:51 +02:00
Timothy
645fa62677 book: format fixes (#187) 2021-04-30 16:00:19 +02:00
Nikhil Garuda
731a219d89 book: typo and grammar fixes (#185) 2021-04-18 12:12:26 +02:00
obweix
45bef893a7 book: typo fixes (#183) 2021-04-16 09:01:20 +02:00
Dw9
ad4b9580a5 book: rephrease unique_ptr value capturing (#182) 2021-04-13 09:36:31 +02:00
Umedzhon Abdumuminov
5e2531058c book: fix anchor link (#181) 2021-04-12 11:42:50 +02:00
LaChimere
4cb055f629 book: typo fixes (#177) 2021-04-05 23:30:43 +02:00
Kartik Saranathan
a386449dec book: typo fixes (#175) 2021-03-15 10:39:11 +01:00
Changkun Ou
aa4d1eead5 github: add sponsor button 2021-02-11 14:12:32 +01:00
Changkun Ou
25aa347428 website: add urlstat 2021-02-06 23:35:01 +01:00
abuco
9ded3a2967 pdf: fix rendering issue due to line break (#170)
Fixes #149
2021-01-24 08:42:14 +01:00
Changkun Ou
6b73213e78 assets: remove qq group 2021-01-13 13:35:22 +01:00
Changkun Ou
a5445b7c55 book: typo fixes
Fixes #159
2020-12-31 09:40:58 +01:00
Changkun Ou
7eceaf1bee all: remove chat group (#165) 2020-12-31 09:26:05 +01:00
Guoliang WANG
054119f69c book: fmt (#163)
Co-authored-by: guoliang wang <tswanggl@hotmail.com>
2020-12-29 08:52:14 +01:00
Guoliang WANG
91739f178c book: typo fixes (#164)
Co-authored-by: guoliang wang <tswanggl@hotmail.com>
2020-12-29 08:51:11 +01:00
Guoliang WANG
45618ad676 book: fmt (#154)
* Add space between english and chinease char

* Add space between english and chinease char

* book: typo fixes

Co-authored-by: guoliang wang <tswanggl@hotmail.com>
2020-12-21 05:25:45 +01:00
Changkun Ou
938dcd9e95 all: update dep and email addr 2020-12-17 23:59:14 +01:00
Changkun Ou
7ab24fe51c github: switch to action from travis (#153) 2020-12-17 23:45:11 +01:00
dependabot[bot]
66297323ad website: bump ini from 1.3.5 to 1.3.7 (#152)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 17:23:51 +01:00
iaxax
6b911261fa book: typo fixes (#148)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-30 07:14:22 +01:00
dependabot[bot]
6dc07f6611 website: bump highlight.js from 9.18.1 to 9.18.5 in /website (#146)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-25 06:41:00 +01:00
Tengfei Niu
1e78a01ac0 book: fix incorrect return value description of std::weak_ptr expired (#144)
* Fix error

资源尚存在时,`std::weak_ptr` 的 `expired()` 方法返回 `false`, 否则返回 `true`。

* book: fix error

Fix error, while the resource of `std::shared_ptr` exists, `std::weak_ptr`'s `expired()` method returns `false`, otherwise it returns `true`.
2020-11-17 08:34:05 +01:00
Tianyi Shi
56de7fa327 book: typo fixes (#143) 2020-11-15 07:23:39 +01:00
Tengfei Niu
6a3d8d7103 book: typo fixes (#141) 2020-11-13 11:08:35 +01:00
flynn
c239ef1b2d all: correct pdf link (#138) 2020-10-29 16:33:45 +01:00
Changkun Ou
0f8819f4f9 book: remove nullptr 0L condition
This is a bug introduced in #132.

Fixes #136
2020-10-20 07:44:21 +02:00
Changkun Ou
030b43e22b website: add google analytics 2020-10-19 08:51:57 +02:00
Changkun Ou
659a3801a5 book: typo fixes in 07-thread.md
Fixes #125
2020-10-18 20:39:22 +02:00
sunshaoce
c9f8eb70fd book: improve NULL example (#133) 2020-10-03 09:27:14 +02:00
Allen
212f4f3503 book: typo fixes (#126)
comple -> compile
2020-09-30 07:11:56 +02:00
Changkun Ou
ff05988742 all: add sponsor 2020-09-10 00:07:56 +02:00
changdingfang
518c6e97d7 book: typos fix in ch07-thread (#118)
revise the code to make sure it consistent with the book description
2020-08-28 17:24:05 +02:00
Rayan
a3f9aaa394 book/en: fix markdown syntax error (#121)
Fixes #120
2020-08-28 17:08:48 +02:00
changdingfang
32bdf85ebd book: fix indent typos (#117) 2020-08-24 06:59:44 +02:00
TinyWang
4de9eb49f7 book: use curly brackets to initailize aggregate objects (#112) 2020-08-10 10:00:08 +02:00
Changkun Ou
9dbdd53f2e book/en: typo fixes
Fixes #113
2020-08-10 09:52:24 +02:00
dependabot[bot]
93df232f1b build(deps): bump prismjs from 1.20.0 to 1.21.0 in /website (#114)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 09:51:14 +02:00
Changkun Ou
c4c7ad14ee website: update dependencies 2020-07-26 11:58:11 +02:00
Changkun Ou
c015324c5c pdf: escape dollar sign in lstlistings
fixes #106
2020-07-26 11:53:30 +02:00
Changkun Ou
1421f372e0 book: typo fixes
fixes #104
2020-07-26 11:04:07 +02:00
Changkun Ou
bfd2f7caaf website: optimize logo size
fixes #110
2020-07-26 10:57:26 +02:00
dependabot[bot]
5beea9797a build(deps): bump acorn from 6.2.0 to 6.4.1 in /website (#109)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.2.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.2.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 21:57:57 +02:00