S. Nizar
e1300e675b
Update rust-ecosystem.md to fix typo ( #1504 )
2023-11-29 09:11:30 +00:00
dependabot[bot]
0324fc44c8
build(deps): bump openssl from 0.10.59 to 0.10.60 ( #1503 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.59
to 0.10.60.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/sfackler/rust-openssl/releases ">openssl's
releases</a>.</em></p>
<blockquote>
<h2>openssl-v0.10.60</h2>
<h2>What's Changed</h2>
<ul>
<li>Correct off-by-one in minimum output buffer size computation by <a
href="https://github.com/alex "><code>@alex</code></a> in <a
href="https://redirect.github.com/sfackler/rust-openssl/pull/2088 ">sfackler/rust-openssl#2088</a></li>
<li>Expose a few more (bad) ciphers in cipher::Cipher by <a
href="https://github.com/alex "><code>@alex</code></a> in <a
href="https://redirect.github.com/sfackler/rust-openssl/pull/2084 ">sfackler/rust-openssl#2084</a></li>
<li>add temp key bindings by <a
href="https://github.com/jmayclin "><code>@jmayclin</code></a> in <a
href="https://redirect.github.com/sfackler/rust-openssl/pull/2076 ">sfackler/rust-openssl#2076</a></li>
<li>Expose ChaCha20 on LibreSSL by <a
href="https://github.com/alex "><code>@alex</code></a> in <a
href="https://redirect.github.com/sfackler/rust-openssl/pull/2093 ">sfackler/rust-openssl#2093</a></li>
<li>Revert "Correct off-by-one in minimum output buffer size
computation" by <a
href="https://github.com/alex "><code>@alex</code></a> in <a
href="https://redirect.github.com/sfackler/rust-openssl/pull/2090 ">sfackler/rust-openssl#2090</a></li>
<li>Added <code>update_unchecked</code> to <code>symm::Crypter</code> by
<a href="https://github.com/alex "><code>@alex</code></a> in <a
href="https://redirect.github.com/sfackler/rust-openssl/pull/2100 ">sfackler/rust-openssl#2100</a></li>
<li>fixes <a
href="https://redirect.github.com/sfackler/rust-openssl/issues/2096 ">#2096</a>
-- deprecate <code>X509StoreRef::objects</code>, it is unsound by <a
href="https://github.com/alex "><code>@alex</code></a> in <a
href="https://redirect.github.com/sfackler/rust-openssl/pull/2099 ">sfackler/rust-openssl#2099</a></li>
<li>Don't leak when overwriting ex data by <a
href="https://github.com/sfackler "><code>@sfackler</code></a> in <a
href="https://redirect.github.com/sfackler/rust-openssl/pull/2102 ">sfackler/rust-openssl#2102</a></li>
<li>Release openssl v0.10.60 and openssl-sys v0.9.96 by <a
href="https://github.com/alex "><code>@alex</code></a> in <a
href="https://redirect.github.com/sfackler/rust-openssl/pull/2104 ">sfackler/rust-openssl#2104</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.59...openssl-v0.10.60 ">https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.59...openssl-v0.10.60 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8f4b97ae06
"><code>8f4b97a</code></a>
Merge pull request <a
href="https://redirect.github.com/sfackler/rust-openssl/issues/2104 ">#2104</a>
from alex/bump-for-release</li>
<li><a
href="df66283bbc
"><code>df66283</code></a>
Release openssl v0.10.60 and openssl-sys v0.9.96</li>
<li><a
href="1a09dc8c94
"><code>1a09dc8</code></a>
Merge pull request <a
href="https://redirect.github.com/sfackler/rust-openssl/issues/2102 ">#2102</a>
from sfackler/ex-leak</li>
<li><a
href="b0a1da5ee9
"><code>b0a1da5</code></a>
Merge branch 'master' into ex-leak</li>
<li><a
href="f456b60936
"><code>f456b60</code></a>
Merge pull request <a
href="https://redirect.github.com/sfackler/rust-openssl/issues/2099 ">#2099</a>
from alex/deprecate-store-ref-objects</li>
<li><a
href="a8413b8b54
"><code>a8413b8</code></a>
Merge pull request <a
href="https://redirect.github.com/sfackler/rust-openssl/issues/2100 ">#2100</a>
from alex/symm-update-unchecked</li>
<li><a
href="a92c237941
"><code>a92c237</code></a>
clippy</li>
<li><a
href="e839496d9e
"><code>e839496</code></a>
Don't leak when overwriting ex data</li>
<li><a
href="602d38dca7
"><code>602d38d</code></a>
Added <code>update_unchecked</code> to <code>symm::Crypter</code></li>
<li><a
href="cf9681a55c
"><code>cf9681a</code></a>
fixes <a
href="https://redirect.github.com/sfackler/rust-openssl/issues/2096 ">#2096</a>
-- deprecate <code>X509StoreRef::objects</code>, it is unsound</li>
<li>Additional commits viewable in <a
href="https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.59...openssl-v0.10.60 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=openssl&package-manager=cargo&previous-version=0.10.59&new-version=0.10.60 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/google/comprehensive-rust/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 10:01:30 +01:00
Adrian Taylor
1feda6f267
Add speaker notes for cargo comparison. ( #1498 )
...
Co-authored-by: Martin Geisler <martin@geisler.net>
2023-11-28 20:36:24 +00:00
gurchetansingh
d2aab63d15
More speaker notes about Android ( #1501 )
...
Helps with https://github.com/google/comprehensive-rust/issues/1083
2023-11-28 19:19:04 +00:00
Martin Geisler
6de9413ac3
da: translate a number of tiny/trivial messages ( #1489 )
2023-11-28 19:45:24 +01:00
Martin Geisler
aebb0bc856
Replace hyphens (-
) with em-dashes (—
) ( #1500 )
...
The new Chromium class likes — like me! — to use dashes in the writing!
However, I believe it should use an em-dash instead of the hyphen.
Luckily this is easy: we have enabled “typographic quotes” in `mdbook`,
which also handles the conversion of `---` to `—` in the generated HTML.
So I normalized the single existing em-dash to a triple-dash to make it
more consistent (and hopefully make it easier for translators to
consistently enter these characters).
2023-11-28 19:41:09 +01:00
Bram Bonné
d39740f91d
Fix link to uwuify crate ( #1499 )
2023-11-28 13:37:06 +00:00
Adrian Taylor
7f469fb2c7
Add Chromium section ( #1479 )
...
This is a contribution of a Chromium section for Comprehensive Rust.
---------
Co-authored-by: Nicole L <dlegare.1001@gmail.com>
Co-authored-by: Martin Geisler <martin@geisler.net>
2023-11-27 18:21:19 +00:00
Andriy Redko
5a7b4d568b
uk: Cleaning up Ukrainian cloud-translate translations (intro section) ( #1478 )
...
Covers the intro section (part of
https://github.com/google/comprehensive-rust/issues/836 )
Signed-off-by: Andriy Redko <drreta@gmail.com>
2023-11-21 11:22:40 +00:00
Martin Geisler
ec70069806
Skip calling “apt update” in GH actions ( #1490 )
...
We are currently getting an error when we run “apt update”:
Reading package lists...
E: Repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy
InRelease' changed its 'Origin' value from 'microsoft-ubuntu-jammy-prod
jammy' to 'Pulp 3'
E: Repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy
InRelease' changed its 'Label' value from 'microsoft-ubuntu-jammy-prod
jammy' to ''
Error: Process completed with exit code 100.
I’m not sure why we get this, but updating should not be necessary in
the first place: the Ubuntu images already come with an up-to-date list
of packages.
2023-11-20 17:33:14 +01:00
Martin Geisler
5a22a5f026
Remove unused "Summary" heading ( #1485 )
...
The first heading is not actually used, it just takes up space here and
in the PO files.
2023-11-20 16:53:13 +01:00
Martin Geisler
8b863c0446
Update Rust dependencies ( #1487 )
...
This fixes a low-criticality vulnerability in `atty` (on Windows):
https://github.com/advisories/GHSA-g98v-hv3f-hcfr
I only updated the dependencies here which didn’t require code changes.
2023-11-20 09:26:19 -05:00
Enes Aydın
34f0cfb770
Revert minimum wrong example ( #1483 )
...
Reverted as a result of discussion in #1475
@mgeisler
2023-11-19 11:40:57 +01:00
Elliot Brandwein
6624c5874f
Reset state to inline-open
when speaker note popup is closed ( #1441 )
...
Partially addresses #182 .
---------
Co-authored-by: Elliot Brandwein <ebrandwein@google.com>
2023-11-16 11:49:24 +00:00
Martin Geisler
13c4963fab
da: Run through mdbook-i18n-normalize 0.3.0 ( #1461 )
...
This splits translated code blocks into individual messages, thus
preserving the translation after #1460 .
This removes ~6k unnecessary lines from the PO file.
2023-11-16 11:45:52 +00:00
Henri F
54ea54cd4e
Add guidance that variable names shouldn't be translated to STYLE.md ( #1480 )
2023-11-15 10:25:46 -08:00
Anurag Sisodiya
5ffcac5bfd
Filled missing glossary terms with their explanations ( #1473 )
...
Changes Made
This Pull Request addresses issue #1466 and includes the following
changes:
Added Glossary Terms: Filled in missing glossary terms with their
respective explanations.
Context
The glossary is a crucial reference for understanding key terms in the
project. This PR enhances its completeness and readability by adding
missing terms and improving the overall formatting.
Related Issues
Fixes #1466 .
2023-11-15 09:23:51 +00:00
Nicole L
d6bb75ab7b
Revert "Update other-resources.md" ( #1477 )
...
Reverts google/comprehensive-rust#1452 , as the learning resource added
there is not fully free content.
2023-11-13 09:28:22 -08:00
Martin Geisler
35beb8d916
pt-BR: remove translated variable names ( #1472 )
...
With #1460 merged, we took away the possibility of translating variable,
struct, and function names in the code snippets.
This broke the Brazilian Portuguese translation because it _does_
translate those things quite frequently! This PR reverts the
translations back to the English original.
I tried to also update the surrounding messages to use the English
words: so when a slide talked about a `nome` variable before, it now
uses `name` instead. We don’t have automated tests for this, so I hope I
did this correctly.
2023-11-13 11:31:37 +01:00
Kanta Yamaoka (山岡幹太)
9f84e62e56
Add kantasv to CODEOWNERS ( #1474 )
...
This adds myself to CODEOWNERS. My main focus is translation, but I'd
like to add me for the future maintenance within the projcect, such as
github actions and tools. Thanks!
2023-11-13 11:31:21 +01:00
RazvanSt
32060afdd1
Adding Romanian translation ( #1449 )
...
Initial commit for the Romanian translation.
Part of #1451 .
2023-11-12 14:28:26 +01:00
Enes Aydın
0cceaae872
tr: Translating titles and introductory texts into Turkish ( #1423 )
...
Turkish Translation.
Part of #500
2023-11-12 14:10:37 +01:00
Qinglin
c8470ea6ba
zh-CN: Fix wrong anchors for zh-CN pages ( #1456 )
2023-11-11 16:25:06 +01:00
Martin Geisler
031cb4fb89
Update to mdbook-i18n-helpers 0.3.0 ( #1460 )
...
This version has much improved support for the translation of code
blocks. See https://github.com/google/mdbook-i18n-helpers/issues/95 for
details.
Most PO files won’t need any update since most of them don’t translate
the comments in the code blocks. Those that do, can run
`mdbook-i18n-normalize` when they feel like it.
2023-11-11 16:10:13 +01:00
Henri F
25c8bb0135
pt-BR: Normalize .po
file with mdbook-i18n-helpers 0.3.0 ( #1467 )
...
#317 #1460
2023-11-10 11:45:13 -08:00
Martin Geisler
b7832d7856
Update glossary.md ( #1455 )
...
Expand a few random entries of the glossary. This is just to remind
people that the glossary exists and that we should work on making it
complete.
Part of #1466 .
2023-11-10 14:15:32 +00:00
Dustin J. Mitchell
42d69b7e5d
Update link for sudo bug ( #1462 )
...
Thanks to @LuisMorenoSerrano. Fixes #1459 .
2023-11-09 10:33:53 -08:00
Martin Geisler
dc8bd22c33
Test that we can always extract strings ( #1458 )
...
This adds a check that `mdbook-xgettext` can always extract the strings
of the course. Without this, it’s possible to merge a change which will
make `mdbook-xgettext` error out the next time a translator tries to
refresh their translation.
2023-11-09 11:18:30 -05:00
spoloxs
67d53d29a6
Update Android.bp files ( #895 )
...
Remove the `prefer_rlib` flags from all `Android.bp` files.
Solves issue #371
2023-11-08 16:56:29 -08:00
Vencyr Laurence Imbo Amores
039bc4f35c
Update other-resources.md ( #1452 )
...
Added Rust Primer and CodeCrafters.
2023-11-08 15:56:12 -08:00
Amin Sharifi
7cec167840
Fix SVG renders in RTL contents ( #1454 )
...
Part of:
#671
#1433
## Issue:
When we render SVG tags in persian ( `<html dir="rtl" ...>`) make
confiliect:
![svg-rtl-issue](https://github.com/google/comprehensive-rust/assets/11869014/ce825736-4367-41fa-acd3-6e395926d7c7 )
originally: *[7.2 Arrays and for
Loops](https://google.github.io/comprehensive-rust/exercises/day-1/for-loops.html#arrays-and-for-loops )*
![svg-rtl-issue-2](https://github.com/google/comprehensive-rust/assets/11869014/0a494392-2407-47ec-91f1-0098414b83d3 )
originally: *[16.2 Moved Strings in
Rust](https://google.github.io/comprehensive-rust/ownership/moved-strings-rust.html )*
## Proposed method:
as we talked in #1433 , again in there adding
```
[dir="rtl"] svg {
direction: ltr;
}
```
fix issue like:
![svg-rtl-issue-fix](https://github.com/google/comprehensive-rust/assets/11869014/5d82c413-709a-42dd-b24b-1ff2c8be55ba )
![svg-rtl-issue-2-fixture](https://github.com/google/comprehensive-rust/assets/11869014/da2bf319-212e-4edd-9135-82f51e5e0381 )
2023-11-08 17:49:07 +03:30
ternbusty
0dfd087538
ja: added translation for control-flow ( #1445 )
...
Hello, JA translation team! (#652 ) I've just included some translations
for the "control-flow" section (chapter 8). I'm open to any feedback or
suggestions. Thank you in advance!
2023-11-08 10:35:02 +09:00
JChaooo
f78ecd317b
Update zh-CN.po (修正25.5 impl Trait中形参实参使用错误) ( #1448 )
...
25.5 impl Trait中,
“与特征边界类似,impl Trait 语法可以在函数实参 和返回值中使用”
更正为
“与特征边界类似,impl Trait 语法可以在函数形参 和返回值中使用”
2023-11-06 23:46:05 -05:00
Hidenori Kobayashi
2827063fda
ja: translate Ch. 41 and 42 ( #1442 )
...
Japanese translation for Ch. 41 & 42.
Part of #652 .
2023-11-07 10:20:00 +09:00
Nicole L
ca61ca4f57
Add CXX tutorial ( #1392 )
...
Add a number of slides that cover most of CXX's functionality and
demonstrate how it can be used.
Fixes #823 .
---------
Co-authored-by: Martin Geisler <mgeisler@google.com>
2023-11-06 16:34:29 -08:00
Martin Geisler
1720b80e7e
Update Windows Gettext installation instructions ( #1447 )
...
Per the discussion in #1394 .
Fixes #1394 .
2023-11-06 13:05:13 -08:00
Amin Sharifi
9ddc51a945
fa: Translate Part 3
, 4
, 5
,6.1
, 6.2
, 6.3
( #1439 )
...
Part of #671
- Translate Part `3` , `4` , `5` ,`6.1`, `6.2`, `6.3`
---------
Co-authored-by: Hamid R. K. Pisghadam <kaveh@riseup.net>
Co-authored-by: Kaveh <hamidrkp@riseup.net>
2023-11-04 17:41:07 +03:30
King
99e60e35bf
zh-CN: Fix miss htts for https ( #1443 )
...
htts => https
2023-11-03 10:34:19 +00:00
javad-jafari
0f7ec3f507
Update CODEOWNERS ( #1440 )
2023-11-02 18:17:48 +01:00
Phosphorus Moscu
890ae517d8
es: fix some problems with the Spanish translation ( #1333 )
...
Hi! I was checking the book and I found little things to fix.
2023-10-31 11:46:58 +00:00
Martin Geisler
3c159d8af0
Add instructions for how to use build_all.sh
( #1434 )
2023-10-31 09:00:02 +01:00
Amin Sharifi
8f42baf968
Fixture code and footer content tags in rtl content ( #1433 )
...
Part of #671
and #1413
In the code part of content which always is in english and must be
`text-align: left` but with `<html ... dir=rtl >` cuz conflict.
---------
Co-authored-by: Kaveh <hamidrkp@riseup.net>
2023-10-31 07:37:04 +01:00
Javier Sorribes-Camargo
9d2043e17f
Step down from codeowners ( #1438 )
...
I don't have bandwidth and I'm slowing PRs down.
2023-10-30 11:44:41 -07:00
blkcor
9f56149181
zh-CN: fix typo ( #1437 )
...
There is a typo in `while let` loops chapter
2023-10-29 22:06:08 +00:00
Gourav
bcd7cecdaa
Unified Formatting/Preparation ( #1431 )
...
Closes issue #1426
---------
Co-authored-by: Martin Geisler <martin@geisler.net>
2023-10-29 22:02:16 +00:00
Amin Sharifi
77ab1ab6c4
fa: Add transltion of Part 1,2 of Book ( #1432 )
...
Part of #671
Summary of changes:
- Translate Part 1,2
- Recheck `#, fuzzy` lines and synced their translations
Co-authored-by: Kaveh <hamidrkp@riseup.net>
2023-10-27 01:06:45 +03:30
Kaveh
d7ed3c59e9
Add usernames for Persian translation reviewers ( #1375 )
...
Hello,
This list is still a Draft, will be ready in a day or two.
---------
Co-authored-by: Hamid R. K. Pisghadam <kaveh@riseup.net>
Co-authored-by: Henri F <henrif75@users.noreply.github.com>
2023-10-25 19:08:56 -07:00
Eric Ngoiya
2d68007f98
Update README.md ( #1397 )
...
Add instructions to install Rust.
---------
Co-authored-by: Martin Geisler <martin@geisler.net>
2023-10-25 18:23:21 +00:00
Henri F
2f0c9dc053
Add Spanish reviewer to CODEOWNERS ( #1422 )
2023-10-25 08:10:56 -07:00
justanotheranonymoususer
17f61463f5
Update converting-error-types.md ( #1428 )
2023-10-25 11:02:34 -04:00