From 77bef6e5ecdadc4f41f70b7a63209b8c6e212cd7 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Tue, 18 Aug 2015 11:25:15 -0400 Subject: [PATCH] corrected NEWS entry for #12576 and fixed some punctuation --- NEWS.md | 73 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/NEWS.md b/NEWS.md index d9d972a058b11..32952a02c35fc 100644 --- a/NEWS.md +++ b/NEWS.md @@ -44,7 +44,7 @@ New language features * The syntax `new{parameters...}(...)` can be used in constructors to specify parameters for the type to be constructed ([#8135]). - * The `++` operator is now parsed, out of discussions about string concatenation, but no default meaning has been defined yet. ([#11030], [#11686]) + * The `++` operator is now parsed, out of discussions about string concatenation, but no default meaning has been defined yet ([#11030], [#11686]). * Support for inter-task communication using `Channels` ([#12264]). See http://docs.julialang.org/en/latest/manual/parallel-computing/#channels for details. @@ -57,14 +57,14 @@ New language features Language changes ---------------- - * Module `__init__` methods no longer swallow thrown exceptions, they now - throw an `InitException` referencing the thrown exception. ([#12576]) + * Module `__init__` methods no longer swallow thrown exceptions; they now + throw an `InitError` wrapping the thrown exception ([#12576]). * Tuple types are now written as `Tuple{A, B}` instead of as `(A, B)`. Tuples of bits types are inlined into structs and arrays, like other immutable types. `...` now does splatting inside parentheses, instead of constructing a - vararg tuple type. ([#10380]) + vararg tuple type ([#10380]). * Significant improvements to `ccall` and `cfunction` @@ -127,7 +127,7 @@ Language changes dicts are synchronized. As part of this change, `=>` is parsed as a normal operator, and `Base` defines it to construct `Pair` objects ([#6739]). - * `Char` is no longer a subtype of `Integer`. ([#8816]) + * `Char` is no longer a subtype of `Integer` ([#8816]). Char now supports a more limited set of operations with `Integer` types: * comparison / equality @@ -193,7 +193,7 @@ Compiler improvements Library improvements -------------------- - * Build with USE_GPL_LIBS=0 to exclude all GPL libraries and code. ([#10870]) + * Build with USE_GPL_LIBS=0 to exclude all GPL libraries and code ([#10870]). * Linear algebra @@ -219,7 +219,7 @@ Library improvements * Large speedup in sparse `\` and splitting of Cholesky and LDLᵀ factorizations into `cholfact` and `ldltfact` ([#10117]). - * Add sparse least squares to `\` by adding `qrfact` for sparse matrices based on the SPQR library. ([#10180]) + * Add sparse least squares to `\` by adding `qrfact` for sparse matrices based on the SPQR library ([#10180]). * Split `Triangular` type into `UpperTriangular`, `LowerTriangular`, `UnitUpperTriagular` and `UnitLowerTriangular` ([#9779]) @@ -255,11 +255,11 @@ Library improvements * `charwidth(c)` and `strwidth(s)` now return up-to-date cross-platform results (via utf8proc) ([#10659]): Julia now likes pizza ([#3721]), but some terminals still don't. - * `is_valid_char(c)` now correctly handles Unicode "non-characters", which are valid Unicode codepoints. ([#11171]) + * `is_valid_char(c)` now correctly handles Unicode "non-characters", which are valid Unicode codepoints ([#11171]). * Array and AbstractArray improvements - * New multidimensional iterators and index types for efficient iteration over `AbstractArray`s. Array iteration should generally be written as `for i in eachindex(A) ... end` rather than `for i = 1:length(A) ... end`. ([#8432]) + * New multidimensional iterators and index types for efficient iteration over `AbstractArray`s. Array iteration should generally be written as `for i in eachindex(A) ... end` rather than `for i = 1:length(A) ... end` ([#8432]). * New implementation of SubArrays with substantial performance and functionality improvements ([#8501]). @@ -401,7 +401,7 @@ Library improvements `jl_realloc`, and `jl_free` with libc API ([[#12034]]). * `mktempdir` and `mktemp` now have variants that take a function as its - first argument for automated clean-up. ([[#9017]]) + first argument for automated clean-up ([[#9017]]). Deprecated or removed --------------------- @@ -480,7 +480,7 @@ Deprecated or removed * The functions `parseint`, `parsefloat`, `float32_isvalid`, `float64_isvalid`, and the string-argument `BigInt` and `BigFloat` have been replaced by `parse` and `tryparse` with a type argument. The string - macro `big"xx"` can be used to construct `BigInt` and `BigFloat` literals. + macro `big"xx"` can be used to construct `BigInt` and `BigFloat` literals ([#3631], [#5704], [#9487], [#10543], [#10955]). * the `--int-literals` compiler option is no longer accepted ([#9597]). @@ -574,7 +574,7 @@ New language features * `break` inside a `for` loop with multiple ranges now exits the entire loop nest ([#5154]) - * Local goto statements using the `@goto` and `@label` macros. ([#101]) + * Local goto statements using the `@goto` and `@label` macros ([#101]). REPL improvements ----------------- @@ -757,7 +757,7 @@ Library improvements * `sparse(A) \ B` now supports a matrix `B` of right-hand sides ([#5196]). - * `eigs(A, sigma)` now uses shift-and-invert for nonzero shifts `sigma` and inverse iteration for `which="SM"`. If `sigma==nothing` (the new default), computes ordinary (forward) iterations. ([#5776]) + * `eigs(A, sigma)` now uses shift-and-invert for nonzero shifts `sigma` and inverse iteration for `which="SM"`. If `sigma==nothing` (the new default), computes ordinary (forward) iterations ([#5776]). * `sprand` is faster, and whether any entry is nonzero is now determined independently with the specified probability ([#6726]). @@ -765,7 +765,7 @@ Library improvements * Interconversions between the special matrix types `Diagonal`, `Bidiagonal`, `SymTridiagonal`, `Triangular`, and `Triangular`, and `Matrix` are now allowed - for matrices which are representable in both source and destination types. ([5e3f074b]) + for matrices which are representable in both source and destination types ([5e3f074b]). * Allow for addition and subtraction over mixed matrix types, automatically promoting the result to the denser matrix type ([a448e080], [#5927]) @@ -813,7 +813,7 @@ Library improvements single iterable argument giving the elements of the collection ([#4996], [#4871]) * Ranges and arrays with the same elements are now unequal. This allows hashing - and comparing ranges to be faster. ([#5778]) + and comparing ranges to be faster ([#5778]). * Broadcasting now works on arbitrary `AbstractArrays` ([#5387]) @@ -845,28 +845,28 @@ Library improvements * New macro `@evalpoly` for efficient inline evaluation of polynomials ([#7146]). - * The signal filtering function `filt` now accepts an optional initial filter state vector. A new in-place function `filt!` is also exported. ([#7513]) + * The signal filtering function `filt` now accepts an optional initial filter state vector. A new in-place function `filt!` is also exported ([#7513]). - * Significantly faster `cumsum` and `cumprod`. ([#7359]) + * Significantly faster `cumsum` and `cumprod` ([#7359]). - * Implement `findmin` and `findmax` over specified array dimensions. ([#6716]) + * Implement `findmin` and `findmax` over specified array dimensions ([#6716]). - * Support memory-mapping of files with offsets on Windows. ([#7242]) + * Support memory-mapping of files with offsets on Windows ([#7242]). - * Catch writes to protect memory, such as when trying to modify a mmapped file opened in read-only mode. ([#3434]) + * Catch writes to protect memory, such as when trying to modify a mmapped file opened in read-only mode ([#3434]). Environment improvements ------------------------ - * New `--code-coverage` and `--track-allocation` startup features allow one to measure the number of executions or the amount of memory allocated, respectively, at each line of code. ([#5423],[#7464]) + * New `--code-coverage` and `--track-allocation` startup features allow one to measure the number of executions or the amount of memory allocated, respectively, at each line of code ([#5423],[#7464]). - * `Profile.init` now accepts keyword arguments, and returns the current settings when no arguments are supplied. ([#7365]) + * `Profile.init` now accepts keyword arguments, and returns the current settings when no arguments are supplied ([#7365]). Build improvements ------------------ * Dependencies are now verified against stored MD5/SHA512 hashes, to ensure - that the correct file has been downloaded and was not modified. ([#6773]) + that the correct file has been downloaded and was not modified ([#6773]). Deprecated or removed @@ -878,31 +878,31 @@ Deprecated or removed * `Sys.shlib_ext` has been renamed to `Sys.dlext` - * `dense` is deprecated in favor of `full` ([#4759]) + * `dense` is deprecated in favor of `full` ([#4759]). - * The `Stat` type is renamed `StatStruct` ([#4670]) + * The `Stat` type is renamed `StatStruct` ([#4670]). * `set_rounding`, `get_rounding` and `with_rounding` now take an additional argument specifying the floating point type to which they apply. The old - behaviour and `[get/set/with]_bigfloat_rounding` functions are deprecated ([#5007]) + behaviour and `[get/set/with]_bigfloat_rounding` functions are deprecated ([#5007]). * `cholpfact` and `qrpfact` are deprecated in favor of keyword arguments in - `cholfact(..., pivot=true)` and `qrfact(..., pivot=true)` ([#5330]) + `cholfact(..., pivot=true)` and `qrfact(..., pivot=true)` ([#5330]). - * `symmetrize!` is deprecated in favor of `Base.LinAlg.copytri!` ([#5427]) + * `symmetrize!` is deprecated in favor of `Base.LinAlg.copytri!` ([#5427]). - * `myindexes` has been renamed to `localindexes` ([#5475]) + * `myindexes` has been renamed to `localindexes` ([#5475]). - * `factorize!` is deprecated in favor of `factorize`. ([#5526]) + * `factorize!` is deprecated in favor of `factorize` ([#5526]). * `nnz` counts the number of structural nonzeros in a sparse - matrix. Use `countnz` for the actual number of nonzeros. ([#6769]) + matrix. Use `countnz` for the actual number of nonzeros ([#6769]). - * `setfield` is renamed `setfield!` ([#5748]) + * `setfield` is renamed `setfield!` ([#5748]). - * `put` and `take` are renamed `put!` and `take!` ([#5511]) + * `put` and `take` are renamed `put!` and `take!` ([#5511]). - * `put!` now returns its first argument, the remote reference ([#5819]) + * `put!` now returns its first argument, the remote reference ([#5819]). * `read` methods that modify a passed array are now called `read!` ([#5970]) @@ -1133,14 +1133,14 @@ Library improvements * Implementation of reduction functions (including `reduce`, `mapreduce`, `sum`, `prod`, `maximum`, `minimum`, `all`, and `any`) are refactored, with improved type stability, - efficiency, and consistency. ([#6116], [#7035], [#7061], [#7106]) + efficiency, and consistency ([#6116], [#7035], [#7061], [#7106]). Deprecated or removed --------------------- * Methods of `min` and `max` that do reductions were renamed to `minimum` and `maximum`. `min(x)` is now `minimum(x)`, and - `min(x,(),dim)` is now `minimum(x,dim)`. ([#4235]) + `min(x,(),dim)` is now `minimum(x,dim)` ([#4235]). * `ComplexPair` was renamed to `Complex` and made `immutable`, and `Complex128` and so on are now aliases to the new `Complex` type. @@ -1593,3 +1593,4 @@ Too numerous to mention. [#12458]: https://github.com/JuliaLang/julia/issues/12458 [#12472]: https://github.com/JuliaLang/julia/issues/12472 [#12491]: https://github.com/JuliaLang/julia/issues/12491 +[#12576]: https://github.com/JuliaLang/julia/issues/12576