Skip to content

Commit f942c29

Browse files
KristofferCKristofferC
and
KristofferC
authored
use consistently one space between sentences in markdown files (#54616)
there were random cases of two and even three spaces between sentences Co-authored-by: KristofferC <[email protected]>
1 parent e5549c2 commit f942c29

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+272
-272
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ To run doctests you need to run `make -C doc doctest=true` from the root directo
164164

165165
#### News-worthy changes
166166

167-
For new functionality and other substantial changes, add a brief summary to `NEWS.md`. The news item should cross reference the pull request (PR) parenthetically, in the form `([#pr])`. To add the PR reference number, first create the PR, then push an additional commit updating `NEWS.md` with the PR reference number. We periodically run `./julia doc/NEWS-update.jl` from the julia directory to update the cross-reference links, but this should not be done in a typical PR in order to avoid conflicting commits.
167+
For new functionality and other substantial changes, add a brief summary to `NEWS.md`. The news item should cross reference the pull request (PR) parenthetically, in the form `([#pr])`. To add the PR reference number, first create the PR, then push an additional commit updating `NEWS.md` with the PR reference number. We periodically run `./julia doc/NEWS-update.jl` from the julia directory to update the cross-reference links, but this should not be done in a typical PR in order to avoid conflicting commits.
168168

169169
#### Annotations for new features, deprecations and behavior changes
170170

HISTORY.md

+30-30
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ Standard library changes
11121112
* `lpad/rpad` are now defined in terms of `textwidth` ([#39044]).
11131113
* `Test.@test` now accepts `broken` and `skip` boolean keyword arguments, which
11141114
mimic `Test.@test_broken` and `Test.@test_skip` behavior, but allows skipping
1115-
tests failing only under certain conditions. For example
1115+
tests failing only under certain conditions. For example
11161116
```julia
11171117
if T == Float64
11181118
@test_broken isequal(complex(one(T)) / complex(T(Inf), T(-Inf)), complex(zero(T), zero(T)))
@@ -1536,7 +1536,7 @@ Standard library changes
15361536
* The `Pkg.BinaryPlatforms` module has been moved into `Base` as `Base.BinaryPlatforms` and heavily reworked.
15371537
Applications that want to be compatible with the old API should continue to import `Pkg.BinaryPlatforms`,
15381538
however new users should use `Base.BinaryPlatforms` directly ([#37320]).
1539-
* The `Pkg.Artifacts` module has been imported as a separate standard library. It is still available as
1539+
* The `Pkg.Artifacts` module has been imported as a separate standard library. It is still available as
15401540
`Pkg.Artifacts`, however starting from Julia v1.6+, packages may import simply `Artifacts` without importing
15411541
all of `Pkg` alongside ([#37320]).
15421542

@@ -1576,7 +1576,7 @@ Standard library changes
15761576
* The `AbstractMenu` extension interface of `REPL.TerminalMenus` has been extensively
15771577
overhauled. The new interface does not rely on global configuration variables, is more
15781578
consistent in delegating printing of the navigation/selection markers, and provides
1579-
improved support for dynamic menus. These changes are compatible with the previous
1579+
improved support for dynamic menus. These changes are compatible with the previous
15801580
(deprecated) interface, so are non-breaking.
15811581

15821582
The new API offers several enhancements:
@@ -1831,8 +1831,8 @@ New library functions
18311831
`Base.Experimental.show_error_hints` from their `showerror` method ([#35094]).
18321832
* The `@ccall` macro has been added to Base. It is a near drop-in replacement for `ccall` with more Julia-like syntax. It also wraps the new `foreigncall` API for varargs of different types, though it lacks the capability to specify an LLVM calling convention ([#32748]).
18331833
* New functions `mergewith` and `mergewith!` supersede `merge` and `merge!` with `combine`
1834-
argument. They don't have the restriction for `combine` to be a `Function` and also
1835-
provide one-argument method that returns a closure. The old methods of `merge` and
1834+
argument. They don't have the restriction for `combine` to be a `Function` and also
1835+
provide one-argument method that returns a closure. The old methods of `merge` and
18361836
`merge!` are still available for backward compatibility ([#34296]).
18371837
* The new `isdisjoint` function indicates whether two collections are disjoint ([#34427]).
18381838
* Add function `ismutable` and deprecate `isimmutable` to check whether something is mutable ([#34652]).
@@ -2712,7 +2712,7 @@ Standard Library Changes
27122712

27132713
* The `Libdl` module's methods `dlopen()` and `dlsym()` have gained a
27142714
`throw_error` keyword argument, replacing the now-deprecated `dlopen_e()`
2715-
and `dlsym_e()` methods. When `throw_error` is `false`, failure to locate
2715+
and `dlsym_e()` methods. When `throw_error` is `false`, failure to locate
27162716
a shared library or symbol will return `nothing` rather than `C_NULL`.
27172717
([#28888])
27182718

@@ -2974,7 +2974,7 @@ This section lists changes that do not have deprecation warnings.
29742974
"Code Loading" and "Pkg" for documentation.
29752975

29762976
* `replace(s::AbstractString, pat=>repl)` for function `repl` arguments formerly
2977-
passed a substring to `repl` in all cases. It now passes substrings for
2977+
passed a substring to `repl` in all cases. It now passes substrings for
29782978
string patterns `pat`, but a `Char` for character patterns (when `pat` is a
29792979
`Char`, collection of `Char`, or a character predicate) ([#25815]).
29802980

@@ -3159,7 +3159,7 @@ This section lists changes that do not have deprecation warnings.
31593159

31603160
* The logging system has been redesigned - `info` and `warn` are deprecated
31613161
and replaced with the logging macros `@info`, `@warn`, `@debug` and
3162-
`@error`. The `logging` function is also deprecated and replaced with
3162+
`@error`. The `logging` function is also deprecated and replaced with
31633163
`AbstractLogger` and the functions from the new standard `Logging` library.
31643164
([#24490])
31653165

@@ -3315,7 +3315,7 @@ Library improvements
33153315
For example, `x^-1` is now essentially a synonym for `inv(x)`, and works
33163316
in a type-stable way even if `typeof(x) != typeof(inv(x))` ([#24240]).
33173317

3318-
* New `Iterators.reverse(itr)` for reverse-order iteration ([#24187]). Iterator
3318+
* New `Iterators.reverse(itr)` for reverse-order iteration ([#24187]). Iterator
33193319
types `T` can implement `start` etc. for `Iterators.Reverse{T}` to support this.
33203320

33213321
* The functions `nextind` and `prevind` now accept `nchar` argument that indicates
@@ -3454,7 +3454,7 @@ Library improvements
34543454
cartesian indices to linear indices using the normal indexing operation.
34553455
([#24715], [#26775]).
34563456

3457-
* `IdDict{K,V}` replaces `ObjectIdDict`. It has type parameters
3457+
* `IdDict{K,V}` replaces `ObjectIdDict`. It has type parameters
34583458
like other `AbstractDict` subtypes and its constructors mirror the
34593459
ones of `Dict`. ([#25210])
34603460

@@ -3665,8 +3665,8 @@ Deprecated or removed
36653665
should add offset axis support to the function `f` directly ([#26733]).
36663666

36673667
* The functions `ones` and `zeros` used to accept any objects as dimensional arguments,
3668-
implicitly converting them to `Int`s. This is now deprecated; only `Integer`s or
3669-
`AbstractUnitRange`s are accepted as arguments. Instead, convert the arguments before
3668+
implicitly converting them to `Int`s. This is now deprecated; only `Integer`s or
3669+
`AbstractUnitRange`s are accepted as arguments. Instead, convert the arguments before
36703670
calling `ones` or `zeros` ([#26733]).
36713671

36723672
* The variadic `size(A, dim1, dim2, dims...)` method to return a tuple of multiple
@@ -4531,8 +4531,8 @@ Language changes
45314531
Previously, this syntax parsed as an implicit multiplication ([#18690]).
45324532
45334533
* For every binary operator `⨳`, `a .⨳ b` is now automatically equivalent to
4534-
the `broadcast` call `(⨳).(a, b)`. Hence, one no longer defines methods
4535-
for `.*` etcetera. This also means that "dot operations" automatically
4534+
the `broadcast` call `(⨳).(a, b)`. Hence, one no longer defines methods
4535+
for `.*` etcetera. This also means that "dot operations" automatically
45364536
fuse into a single loop, along with other dot calls `f.(x)` ([#17623]).
45374537
Similarly for unary operators ([#20249]).
45384538
@@ -4585,11 +4585,11 @@ This section lists changes that do not have deprecation warnings.
45854585
or an array as a "scalar" ([#16986]).
45864586
45874587
* `broadcast` now produces a `BitArray` instead of `Array{Bool}` for
4588-
functions yielding a boolean result. If you want `Array{Bool}`, use
4588+
functions yielding a boolean result. If you want `Array{Bool}`, use
45894589
`broadcast!` or `.=` ([#17623]).
45904590
45914591
* Broadcast `A[I...] .= X` with entirely scalar indices `I` is deprecated as
4592-
its behavior will change in the future. Use `A[I...] = X` instead.
4592+
its behavior will change in the future. Use `A[I...] = X` instead.
45934593
45944594
* Operations like `.+` and `.*` on `Range` objects are now generic
45954595
`broadcast` calls (see [above](#language-changes)) and produce an `Array`.
@@ -4635,7 +4635,7 @@ This section lists changes that do not have deprecation warnings.
46354635
now tab-completes to U+03B5 (greek small letter epsilon) ([#19464]).
46364636
46374637
* `retry` now inputs the keyword arguments `delays` and `check` instead of
4638-
`n` and `max_delay`. The previous functionality can be achieved setting
4638+
`n` and `max_delay`. The previous functionality can be achieved setting
46394639
`delays` to `ExponentialBackOff` ([#19331]).
46404640
46414641
* `transpose(::AbstractVector)` now always returns a `RowVector` view of the input (which is a
@@ -4676,7 +4676,7 @@ This section lists changes that do not have deprecation warnings.
46764676
using the values and types of `a` and `step` as given, whereas
46774677
`range(a, step, len)` will attempt to match inputs `a::FloatNN`
46784678
and `step::FloatNN` to rationals and construct a `StepRangeLen`
4679-
that internally uses twice-precision arithmetic. These two
4679+
that internally uses twice-precision arithmetic. These two
46804680
outcomes exhibit differences in both precision and speed.
46814681
46824682
* `A=>B` expressions are now parsed as calls instead of using `=>` as the
@@ -4696,7 +4696,7 @@ This section lists changes that do not have deprecation warnings.
46964696
trigamma, and polygamma special functions have been moved from Base to
46974697
the
46984698
[SpecialFunctions.jl package](https://github.com/JuliaMath/SpecialFunctions.jl)
4699-
([#20427]). Note that `airy`, `airyx` and `airyprime` have been deprecated
4699+
([#20427]). Note that `airy`, `airyx` and `airyprime` have been deprecated
47004700
in favor of more specific functions (`airyai`, `airybi`, `airyaiprime`,
47014701
`airybiprimex`, `airyaix`, `airybix`, `airyaiprimex`, `airybiprimex`)
47024702
([#18050]).
@@ -4781,7 +4781,7 @@ Library improvements
47814781
for more information.
47824782
47834783
* The default color for info messages has been changed from blue to cyan
4784-
([#18442]), and for warning messages from red to yellow ([#18453]). This
4784+
([#18442]), and for warning messages from red to yellow ([#18453]). This
47854785
can be changed back to the original colors by setting the environment
47864786
variables `JULIA_INFO_COLOR` to `"blue"` and `JULIA_WARN_COLOR` to `"red"`.
47874787
@@ -5125,10 +5125,10 @@ New language features
51255125
* Function return type syntax `function f()::T` has been added ([#1090]). Values returned
51265126
from a function with such a declaration will be converted to the specified type `T`.
51275127
5128-
* Many more operators now support `.` prefixes (e.g. `.≤`) ([#17393]). However,
5128+
* Many more operators now support `.` prefixes (e.g. `.≤`) ([#17393]). However,
51295129
users are discouraged from overloading these, since they are mainly parsed
51305130
in order to implement backwards compatibility with planned automatic
5131-
broadcasting of dot operators in Julia 0.6 ([#16285]). Explicitly qualified
5131+
broadcasting of dot operators in Julia 0.6 ([#16285]). Explicitly qualified
51325132
operator names like `Base.≤` should now use `Base.:≤` (prefixed by `@compat`
51335133
if you need 0.4 compatibility via the `Compat` package).
51345134
@@ -5261,7 +5261,7 @@ Library improvements
52615261
* Strings ([#16107]):
52625262
52635263
* The `UTF8String` and `ASCIIString` types have been merged into a single
5264-
`String` type ([#16058]). Use `isascii(s)` to check whether
5264+
`String` type ([#16058]). Use `isascii(s)` to check whether
52655265
a string contains only ASCII characters. The `ascii(s)` function now
52665266
converts `s` to `String`, raising an `ArgumentError` exception if `s` is
52675267
not pure ASCII.
@@ -5583,7 +5583,7 @@ New language features
55835583
55845584
* Function call overloading: for arbitrary objects `x` (not of type
55855585
`Function`), `x(...)` is transformed into `call(x, ...)`, and `call`
5586-
can be overloaded as desired. Constructors are now a special case of
5586+
can be overloaded as desired. Constructors are now a special case of
55875587
this mechanism, which allows e.g. constructors for abstract types.
55885588
`T(...)` falls back to `convert(T, x)`, so all `convert` methods implicitly
55895589
define a constructor ([#8712], [#2403]).
@@ -5611,13 +5611,13 @@ New language features
56115611
`~/.julia/lib/v0.4` ([#8745]).
56125612
56135613
* See manual section on `Module initialization and precompilation` (under `Modules`) for
5614-
details and errata. In particular, to be safely precompilable a module may need an
5614+
details and errata. In particular, to be safely precompilable a module may need an
56155615
`__init__` function to separate code that must be executed at runtime rather than precompile
5616-
time. Modules that are *not* precompilable should call `__precompile__(false)`.
5616+
time. Modules that are *not* precompilable should call `__precompile__(false)`.
56175617
56185618
* The precompiled `.ji` file includes a list of dependencies (modules and files that
56195619
were imported/included at precompile-time), and the module is automatically recompiled
5620-
upon `import` when any of its dependencies have changed. Explicit dependencies
5620+
upon `import` when any of its dependencies have changed. Explicit dependencies
56215621
on other files can be declared with `include_dependency(path)` ([#12458]).
56225622
56235623
* New option `--output-incremental={yes|no}` added to invoke the equivalent of `Base.compilecache`
@@ -5821,7 +5821,7 @@ Library improvements
58215821
* New `vecdot` function, analogous to `vecnorm`, for Euclidean inner products over any iterable container ([#11067]).
58225822
58235823
* `p = plan_fft(x)` and similar functions now return a `Base.DFT.Plan` object, rather
5824-
than an anonymous function. Calling it via `p(x)` is deprecated in favor of
5824+
than an anonymous function. Calling it via `p(x)` is deprecated in favor of
58255825
`p * x` or `p \ x` (for the inverse), and it can also be used with `A_mul_B!`
58265826
to employ pre-allocated output arrays ([#12087]).
58275827
@@ -6311,7 +6311,7 @@ Library improvements
63116311
* New string type, `UTF16String` ([#4930]), constructed by
63126312
`utf16(s)` from another string, a `Uint16` array or pointer, or
63136313
a byte array (possibly prefixed by a byte-order marker to
6314-
indicate endian-ness). Its data is internally `NULL`-terminated
6314+
indicate endian-ness). Its data is internally `NULL`-terminated
63156315
for passing to C ([#7016]).
63166316
63176317
* `CharString` is renamed to `UTF32String` ([#4943]), and its data
@@ -6346,7 +6346,7 @@ Library improvements
63466346
63476347
* New `vecnorm(itr, p=2)` function that computes the norm of
63486348
any iterable collection of numbers as if it were a vector of
6349-
the same length. This generalizes and replaces `normfro` ([#6057]),
6349+
the same length. This generalizes and replaces `normfro` ([#6057]),
63506350
and `norm` is now type-stable ([#6056]).
63516351
63526352
* New `UniformScaling` matrix type and identity `I` constant ([#5810]).

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
## The Julia Language
3636

3737
Julia is a high-level, high-performance dynamic language for technical
38-
computing. The main homepage for Julia can be found at
39-
[julialang.org](https://julialang.org/). This is the GitHub
38+
computing. The main homepage for Julia can be found at
39+
[julialang.org](https://julialang.org/). This is the GitHub
4040
repository of Julia source code, including instructions for compiling
4141
and installing Julia, below.
4242

@@ -74,7 +74,7 @@ for OS and platform combinations.
7474

7575
If everything works correctly, you will see a Julia banner and an
7676
interactive prompt into which you can enter expressions for
77-
evaluation. You can read about [getting
77+
evaluation. You can read about [getting
7878
started](https://docs.julialang.org/en/v1/manual/getting-started/) in the manual.
7979

8080
**Note**: Although some OS package managers provide Julia, such

cli/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ This directory contains the code used by the Julia loader, implementing the piec
44
This loader comprises the `julia` executable and the `libjulia` library, which are responsible for setting things up such that `libjulia-internal` and any other internal dependencies can be reliably loaded.
55
The code is organized in three pieces:
66

7-
* `loader_exe.c` gets built into the main `julia` executable. It immediately loads `libjulia`.
8-
* `loader_lib.c` gets built into the main `libjulia` shared library. This is the main entrypoint for the Julia runtime loading process, which occurs within `jl_load_repl()`.
9-
* `trampolines/*.S`, which contains assembly definitions for symbol forwarding trampolines. These are used to allow `libjulia` to re-export symbols such that a C linker can use `libjulia` directly for embedding usecases.
7+
* `loader_exe.c` gets built into the main `julia` executable. It immediately loads `libjulia`.
8+
* `loader_lib.c` gets built into the main `libjulia` shared library. This is the main entrypoint for the Julia runtime loading process, which occurs within `jl_load_repl()`.
9+
* `trampolines/*.S`, which contains assembly definitions for symbol forwarding trampolines. These are used to allow `libjulia` to re-export symbols such that a C linker can use `libjulia` directly for embedding usecases.
1010

1111
The main requirements of the loader are as follows:
1212

contrib/mac/frameworkapp/README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ New Julia Launcher App
44
This builds the Julia framework and a launcher app and packages them in a
55
product archive for the macOS Installer.
66

7-
Run `make APPLE_DEVELOPMENT_TEAM=xxxxxxxxxx` to build the product archive. The
7+
Run `make APPLE_DEVELOPMENT_TEAM=xxxxxxxxxx` to build the product archive. The
88
resulting archive may be installed to the home directory with
99
`installer -pkg~/Documents/pkgs/Julia-1.1.0.pkg -target CurrentUserHomeDirectory`.
10-
To just build the app, build the `appexport` make target. Read the comments at
10+
To just build the app, build the `appexport` make target. Read the comments at
1111
the top of the `Makefile` to set appropriate code signing parameters.
1212

1313
The framework is installed in `/Library/Frameworks` and the app in
14-
`/Applications`. Installation may be system-wide (i.e., relative to `/`) or
14+
`/Applications`. Installation may be system-wide (i.e., relative to `/`) or
1515
local to the user's home directory (i.e., `$Home/Applications/Julia.app`).
1616

1717
The `julia` binary is embedded in the framework at
1818
`Julia.framework/Helpers/julia`.
1919

20-
Multiple versions of Julia may be installed at once. Each version is placed in
21-
the `Julia.framework/Versions` directory. By default, the version is
20+
Multiple versions of Julia may be installed at once. Each version is placed in
21+
the `Julia.framework/Versions` directory. By default, the version is
2222
identified by the Major.Minor version number but may be customized by setting
23-
the `FRAMEWORK_VERSION` make variable. The resulting product archive will not
24-
overwrite other versions but will upgrade a version if it exists. Thus, the
23+
the `FRAMEWORK_VERSION` make variable. The resulting product archive will not
24+
overwrite other versions but will upgrade a version if it exists. Thus, the
2525
`1.1` framework version that is actually the 3rd patch (1.1.3) will overwrite
2626
any existing `1.1` framework version.

doc/src/base/arrays.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ accessing the first 10 elements of `x`. Writing to a view, e.g. `v[3] = 2`, writ
124124

125125
Slicing operations like `x[1:10]` create a copy by default in Julia. `@view x[1:10]` changes it to make a view. The
126126
`@views` macro can be used on a whole block of code (e.g. `@views function foo() .... end` or `@views begin ... end`)
127-
to change all the slicing operations in that block to use views. Sometimes making a copy of the data is faster and
127+
to change all the slicing operations in that block to use views. Sometimes making a copy of the data is faster and
128128
sometimes using a view is faster, as described in the [performance tips](@ref man-performance-views).
129129

130130
```@docs

0 commit comments

Comments
 (0)