Skip to content

[release-0.6] backports for 0.6.0-rc2 #21878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 77 commits into from
May 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
7593289
clearing the meaning of comment (#21741)
DrKrar May 13, 2017
e585dc8
fix serialization of multiple global bindings to the same object in a…
amitmurthy May 5, 2017
dbf2a1e
Add a word missing from the README (#21711)
alexmorley May 5, 2017
b05b8c9
Do not hard code temp file path in the test.
yuyichao May 4, 2017
2459145
fix bug in inference assuming that iteration always calls into Main.Base
vtjnash May 2, 2017
d3a25b9
Add examples for clone
kshyatt May 5, 2017
9a47376
Add example for authors
kshyatt May 5, 2017
886f20f
fix #21710, specificity of `Array` vs. `AbstractVector`
JeffBezanson May 6, 2017
fd590b0
fix #21719, incorrect MethodError
JeffBezanson May 6, 2017
de4ccaf
Move testenv specific consts and addprocs to a separate file. (#21713)
amitmurthy May 7, 2017
7001598
Add example for checkout
kshyatt May 5, 2017
5cc6881
Improve docstrings for norm, vecnorm, normalize and normalize! (#21611)
nalimilan May 7, 2017
ecae3a7
Word wrap at 92-characters
omus May 4, 2017
19ed349
Add example for iscommit and reset! (#21734)
kshyatt May 8, 2017
e2e21c5
Fix a promotion failure with linspace
timholy May 9, 2017
205bf77
add typeof_tfunc for UnionAll types
vtjnash May 9, 2017
2cfe3b1
Docs for blob content and example for addblob
kshyatt May 8, 2017
7b28753
improve error reporting for invalid type arguments to `ccall`
JeffBezanson May 7, 2017
54d68e8
fix method specificity issue causing problems for pr #21750
JeffBezanson May 9, 2017
c15639a
Switch to dash for list default
omus May 4, 2017
e83527e
Optimize remotecall pattern used in distributed loading (#21745)
amitmurthy May 11, 2017
3cb69ea
fix error in `showerror` with backtraces from CapturedExceptions
JeffBezanson May 10, 2017
55bb927
Fix stack overflow in SSHCredentials constructor (#21779)
ararslan May 11, 2017
a461fb5
Implement tryparse(Float16, str) via Float32 conversion
timholy May 10, 2017
2b09f77
make iszero(::BigInt) faster
rfourquet Mar 29, 2017
844ef37
Clean up testenv and old test isolation code
yuyichao May 7, 2017
b523b1e
make at-everywhere import modules first on node 1 before doing remote…
stevengj May 5, 2017
0f1aa84
fix #21793, regression in serializing nested closure
JeffBezanson May 11, 2017
0222855
Add link to libuv's uv_os_homedir documentation to homedir's docstrin…
Sacha0 May 12, 2017
2a92944
Add NEWS.md entry for deprecation of invoke's tuple-of-types form (#1…
Sacha0 May 12, 2017
5c5f9a0
Add NEWS.md entry for test_approx_eq[_eps] deprecations (#19901). (#2…
Sacha0 May 12, 2017
bf4cf71
Add NEWS.md entry noting need to quote special characters in Cmds (#1…
Sacha0 May 12, 2017
2080870
Add NEWS.md entry for function composition and negation via operators…
Sacha0 May 12, 2017
5680037
Add NEWS.md entry for IPv4 address parsing changes (#19811). (#21807)
Sacha0 May 12, 2017
f898559
Add NEWS.md entry for homedir implementation changes (#19636). (#21805)
Sacha0 May 12, 2017
8832b76
Add NEWS.md entry for bitbroadcast deprecation (#19771). (#21804)
Sacha0 May 12, 2017
1c62876
fix links to docs in CONTRIBUTING.md (#21766)
WestleyArgentum May 13, 2017
e88a119
fix remaining uses of old type keywords
JeffBezanson May 10, 2017
694e69d
improve cache locality in sparse * dense (#21829)
KristofferC May 13, 2017
7b0d528
Add NEWS.md entry for macro hygiene fix (#15850). (#21820)
Sacha0 May 13, 2017
04398a2
Add NEWS.md entry for removal of the /(::Integer, ::Integer) fallback…
Sacha0 May 13, 2017
dcac2b2
Add NEWS.md entry re. raising one or negative one to a negative integ…
Sacha0 May 13, 2017
2c07a43
Add NEWS.md entry for getindex(::AbstractString, ::AbstractVector) si…
Sacha0 May 13, 2017
65cc820
Add NEWS.md entry for `invoke` keyword argument support (#20345). (#2…
Sacha0 May 13, 2017
95dfeb5
Add NEWS.md entry for new polly command-line flag (#18159). (#21841)
Sacha0 May 14, 2017
6ffccfa
Update sysinfo with some docs strings (#21843)
musm May 14, 2017
c7e4da6
Add NEWS.md entry for dep of unintended zeros/ones methods (#21183). …
Sacha0 May 14, 2017
784c47e
add two refs to file docs (#21845)
KristofferC May 14, 2017
c360038
Add another PR number for deprecation of `_` as an rvalue (#20328). (…
Sacha0 May 14, 2017
a43bee5
Add NEWS.md entry for deprecation of Matrix() and Matrix{T}() (#20330…
Sacha0 May 14, 2017
72cf3fe
Build release tags on Travis
tkelman May 13, 2017
f2fcc03
Add NEWS.md entry for deprecation of array-reducing isinteger (#19925…
Sacha0 May 14, 2017
21d0cbe
Add NEWS.md entry for dep of character predicate methods over strings…
Sacha0 May 14, 2017
5f7c9ba
Add PR number to NEWS.md for dep of inner constructor syntax (#20308)…
Sacha0 May 14, 2017
6cf7892
Add NEWS.md entry for dep of negate kwarg from Dates adjuster API (#2…
Sacha0 May 14, 2017
22aec09
fix doctest misformatting from #21845
tkelman May 14, 2017
d13f3e9
Add NEWS.md entry for dep of ambiguous Dates convert and colon method…
Sacha0 May 15, 2017
91d0f09
make ntuple(f, Val{-1}) throw ArgumentError
alyst May 5, 2017
d552789
Add NEWS.md entry for deprecation of Array(T, dims...) (#19989). (#21…
Sacha0 May 15, 2017
d818788
Disable two libgit2 tests with libgit2 < 0.26.0 (#21872)
nalimilan May 15, 2017
ecde5bb
Merge pull request #21865 from DrKrar/patch-1
tkelman May 15, 2017
3b4a1a3
Add NEWS.md entry for single-argument write deprecation (#17654). (#2…
Sacha0 May 16, 2017
d19cd5e
Add NEWS.md entry for delete!(::EnvHash, ::AbstractString, def) dep (…
Sacha0 May 16, 2017
92c95c0
Add NEWS.md entry for at-textmime deprecation (#18441). (#21884)
Sacha0 May 16, 2017
be5689f
Add NEWS.md entry for ipermutedims deprecation (#18891). (#21885)
Sacha0 May 16, 2017
94f73eb
Add NEWS.md entry for three-arg SubArray constructor deprecation (#19…
Sacha0 May 16, 2017
8654afd
Add NEWS.md entry for dep of ambiguous UniformScaling-Number +/- meth…
Sacha0 May 16, 2017
4feba43
Use AbstractVector in _cpu_summary (#21876)
musm May 16, 2017
ecae6e8
Use correct transposition symbols in Ax_ldiv_B! for UMFPACK. Fixes #2…
andreasnoack May 16, 2017
e6f1f34
Mention `inv` in docstrings of factorizations that implement it
garrison May 15, 2017
5f9a9bb
add NEWS.md entry for three-argument rem and rem2pi (#21812)
Sacha0 May 16, 2017
f445c6a
Make `expm1(::Complex64)` type stable. (#21896)
yuyichao May 16, 2017
a42d4d9
Make CoreIO thread-safer
yuyichao May 15, 2017
9564404
Issue 19960 - loading module on remote workers
GregPlowman May 4, 2017
09d3b26
fix #21848, bug in widening done by limit_type_depth
JeffBezanson May 16, 2017
a9d418e
Only populate Julia-specific LDFLAGS with ASAN options.
maleadt May 16, 2017
be004c1
fix #21906, `ccall` causes unnecessary variable `Box`
JeffBezanson May 16, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ branches:
only:
- master
- /^release-.*/
- /^v\d+\.\d+\.\d+$/
notifications:
email: false
irc:
Expand Down
32 changes: 16 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Notes for Julia Contributors

Hi! If you are new to the Julia community: welcome, and thanks for trying Julia. Please be sure to respect our [community standards](https://julialang.org/community/standards/) in all interactions.
Hi! If you are new to the Julia community: welcome, and thanks for trying Julia. Please be sure to respect our [community standards](https://julialang.org/community/standards) in all interactions.

## Learning Julia

[The learning page](https://julialang.org/learning/) has a great list of resources for new and experienced users alike. [This tutorial video](https://www.youtube.com/watch?v=vWkgEddb4-A) is one recommended starting point, as is the "[Invitation to Julia](https://www.youtube.com/watch?v=gQ1y5NUD_RI)" workshop video from JuliaCon 2015 ([slide materials here](https://github.com/dpsanders/invitation_to_julia)). The [Julia documentation](https://docs.julialang.org/en/latest/) covers the language and core library features, and is searchable.
[The learning page](https://julialang.org/learning) has a great list of resources for new and experienced users alike. [This tutorial video](https://www.youtube.com/watch?v=vWkgEddb4-A) is one recommended starting point, as is the "[Invitation to Julia](https://www.youtube.com/watch?v=gQ1y5NUD_RI)" workshop video from JuliaCon 2015 ([slide materials here](https://github.com/dpsanders/invitation_to_julia)). The [Julia documentation](https://docs.julialang.org/en/latest) covers the language and core library features, and is searchable.

## Before filing an issue

- Reporting a potential bug? Please read the "[How to file a bug report](https://github.com/JuliaLang/julia/blob/master/CONTRIBUTING.md#how-to-file-a-bug-report)" section to make sure that all necessary information is included.

- Contributing code? Be sure to review the [contributor checklist](https://github.com/JuliaLang/julia/blob/master/CONTRIBUTING.md#contributor-checklist) for helpful tips on the tools we use to build Julia.

- Library feature requests are generally not accepted on this issue tracker. New libraries should be developed as [packages](https://docs.julialang.org/en/release-0.4/manual/packages/#package-development). Discuss ideas for libraries at the [Julia Discourse forum](https://discourse.julialang.org/). Doing so will often lead to pointers to existing projects and bring together collaborators with common interests.
- Library feature requests are generally not accepted on this issue tracker. New libraries should be developed as [packages](https://docs.julialang.org/en/latest/manual/packages#Package-Development-1). Discuss ideas for libraries at the [Julia Discourse forum](https://discourse.julialang.org). Doing so will often lead to pointers to existing projects and bring together collaborators with common interests.

## Contributor Checklist

Expand All @@ -26,7 +26,7 @@ Hi! If you are new to the Julia community: welcome, and thanks for trying Julia.

* Learn to use [git](http://git-scm.com), the version control system used by GitHub and the Julia project. Try a tutorial such as the one [provided by GitHub](http://try.GitHub.io/levels/1/challenges/1).

* Review discussions on the [Julia Discourse forum](https://discourse.julialang.org/).
* Review discussions on the [Julia Discourse forum](https://discourse.julialang.org).

* For more detailed tips, read the [submission guide](https://github.com/JuliaLang/julia/blob/master/CONTRIBUTING.md#submitting-contributions) below.

Expand All @@ -37,11 +37,11 @@ Hi! If you are new to the Julia community: welcome, and thanks for trying Julia.
A useful bug report filed as a GitHub issue provides information about how to reproduce the error.

1. Before opening a new [GitHub issue](https://github.com/JuliaLang/julia/issues):
- Try searching the existing issues or the [Julia Discourse forum](https://discourse.julialang.org/) to see if someone else has already noticed the same problem.
- Try searching the existing issues or the [Julia Discourse forum](https://discourse.julialang.org) to see if someone else has already noticed the same problem.
- Try some simple debugging techniques to help isolate the problem.
- Try running the code with the debug build of Julia with `make debug`, which produces the `usr/bin/julia-debug`.
- Consider running `julia-debug` with a debugger such as `gdb` or `lldb`. Obtaining even a simple [backtrace](http://www.unknownroad.com/rtfm/gdbtut/gdbsegfault.html) is very useful.
- If Julia segfaults, try following [these debugging tips](http://julia.readthedocs.org/en/latest/devdocs/backtraces/#segfaults-during-bootstrap-sysimg-jl) to help track down the specific origin of the bug.
- If Julia segfaults, try following [these debugging tips](https://docs.julialang.org/en/latest/devdocs/backtraces.html#Reporting-and-analyzing-crashes-(segfaults)-1) to help track down the specific origin of the bug.

2. If the problem is caused by a Julia package rather than core Julia, file a bug report with the relevant package author rather than here.

Expand All @@ -50,13 +50,13 @@ A useful bug report filed as a GitHub issue provides information about how to re
- A minimal working example, i.e. the smallest chunk of code that triggers the error. Ideally, this should be code that can be pasted into a REPL or run from a source file. If the code is larger than (say) 50 lines, consider putting it in a [gist](https://gist.github.com).
- The version of Julia as provided by the `versioninfo()` command. Occasionally, the longer output produced by `versioninfo(true)` may be useful also, especially if the issue is related to a specific package.

4. When pasting code blocks or output, put triple backquotes (\`\`\`) around the text so GitHub will format it nicely. Code statements should be surrounded by single backquotes (\`). Be aware that the `@` sign tags users on GitHub, so references to macros should always be in single backquotes. See [GitHub's guide on Markdown](https://guides.github.com/features/mastering-markdown/) for more formatting tricks.
4. When pasting code blocks or output, put triple backquotes (\`\`\`) around the text so GitHub will format it nicely. Code statements should be surrounded by single backquotes (\`). Be aware that the `@` sign tags users on GitHub, so references to macros should always be in single backquotes. See [GitHub's guide on Markdown](https://guides.github.com/features/mastering-markdown) for more formatting tricks.

## Submitting contributions

### Contributing a Julia package

Julia has a built-in [package manager](https://github.com/JuliaLang/METADATA.jl) based on `git`. A number of [packages](http://pkg.julialang.org/) across many domains are already available for Julia. Developers are encouraged to provide their libraries as a Julia package. The Julia manual provides instructions on [creating Julia packages](https://docs.julialang.org/en/latest/manual/packages/).
Julia has a built-in [package manager](https://github.com/JuliaLang/METADATA.jl) based on `git`. A number of [packages](http://pkg.julialang.org) across many domains are already available for Julia. Developers are encouraged to provide their libraries as a Julia package. The Julia manual provides instructions on [creating Julia packages](https://docs.julialang.org/en/latest/manual/packages).

For developers who need to wrap C libraries so that they can be called from Julia, the [Clang.jl](https://github.com/ihnorton/Clang.jl) package can help generate the wrappers automatically from the C header files.

Expand All @@ -71,7 +71,7 @@ to port your package to latest Julia release.

However, porting a package to the latest release may cause the package to break on
earlier Julia releases. To maintain compatibility across releases, use
[`Compat.jl`](https://github.com/JuliaLang/Compat.jl/). Find the fix for your package
[`Compat.jl`](https://github.com/JuliaLang/Compat.jl). Find the fix for your package
from the README, and specify the minimum version of Compat that provides the fix
in your REQUIRE file. To find the correct minimum version, refer to
[this guide](https://github.com/JuliaLang/Compat.jl/#tagging-the-correct-minimum-version-of-compat).
Expand All @@ -84,7 +84,7 @@ There are never enough tests. Track [code coverage at Coveralls](https://coveral

2. Browse through the source files and find some untested functionality (highlighted in red) that you think you might be able to write a test for.

3. Write a test that exercises this functionality---you can add your test to one of the existing files, or start a new one, whichever seems most appropriate to you. If you're adding a new test file, make sure you include it in the list of tests in `test/choosetests.jl`. http://julia.readthedocs.org/en/latest/stdlib/test/ may be helpful in explaining how the testing infrastructure works.
3. Write a test that exercises this functionality---you can add your test to one of the existing files, or start a new one, whichever seems most appropriate to you. If you're adding a new test file, make sure you include it in the list of tests in `test/choosetests.jl`. https://docs.julialang.org/en/latest/stdlib/test may be helpful in explaining how the testing infrastructure works.

4. Run `make test-all` to rebuild Julia and run your new test(s). If you had to fix a bug or add functionality in `base`, this will ensure that your test passes and that you have not introduced extraneous whitespace.

Expand Down Expand Up @@ -112,7 +112,7 @@ from Julia's root directory. This will rebuild the Julia system image, then inst
>
> When making changes to any of Julia's documentation it is recommended that you run `make docs` to check the your changes are valid and do not produce any errors before opening a pull request.

Below are outlined the three most common types of documentation changes and the steps required to perform them. Please note that the following instructions do not cover the full range of features provided by Documenter.jl. Refer to [Documenter's documentation](https://juliadocs.github.io/Documenter.jl/stable/) if you encounter anything that is not covered by the sections below.
Below are outlined the three most common types of documentation changes and the steps required to perform them. Please note that the following instructions do not cover the full range of features provided by Documenter.jl. Refer to [Documenter's documentation](https://juliadocs.github.io/Documenter.jl/stable) if you encounter anything that is not covered by the sections below.

#### Modifying files in `doc/src/`

Expand Down Expand Up @@ -194,7 +194,7 @@ For new functionality and other substantial changes, add a brief summary to `NEW

The Julia community uses [GitHub issues](https://github.com/JuliaLang/julia/issues) to track and discuss problems, feature requests, and pull requests (PR). You can make pull requests for incomplete features to get code review. The convention is to prefix the pull request title with "WIP:" for Work In Progress, or "RFC:" for Request for Comments when work is completed and ready for merging. This will prevent accidental merging of work that is in progress.

Note: These instructions are for adding to or improving functionality in the base library. Before getting started, it can be helpful to discuss the proposed changes or additions on the [Julia Discourse forum](https://discourse.julialang.org/) or in a GitHub issue---it's possible your proposed change belongs in a package rather than the core language. Also, keep in mind that changing stuff in the base can potentially break a lot of things. Finally, because of the time required to build Julia, note that it's usually faster to develop your code in stand-alone files, get it working, and then migrate it into the base libraries.
Note: These instructions are for adding to or improving functionality in the base library. Before getting started, it can be helpful to discuss the proposed changes or additions on the [Julia Discourse forum](https://discourse.julialang.org) or in a GitHub issue---it's possible your proposed change belongs in a package rather than the core language. Also, keep in mind that changing stuff in the base can potentially break a lot of things. Finally, because of the time required to build Julia, note that it's usually faster to develop your code in stand-alone files, get it working, and then migrate it into the base libraries.

Add new code to Julia's base libraries as follows:

Expand All @@ -216,7 +216,7 @@ or with the `runtests.jl` script, e.g. to run `test/bitarray.jl` and `test/math.

./usr/bin/julia test/runtests.jl bitarray math

Make sure that [Travis](http://www.travis-ci.org) greenlights the pull request with a [`Good to merge` message](http://blog.travis-ci.com/2012-09-04-pull-requests-just-got-even-more-awesome/).
Make sure that [Travis](http://www.travis-ci.org) greenlights the pull request with a [`Good to merge` message](http://blog.travis-ci.com/2012-09-04-pull-requests-just-got-even-more-awesome).

### Code Formatting Guidelines

Expand Down Expand Up @@ -274,10 +274,10 @@ Make sure that [Travis](http://www.travis-ci.org) greenlights the pull request w
* Design of Julia
- [Julia: A Fresh Approach to Numerical Computing](http://arxiv.org/pdf/1411.1607v3.pdf)
- [Julia: A Fast Dynamic Language for Technical Computing](https://julialang.org/images/julia-dynamic-2012-tr.pdf)
- [All Julia Publications](https://julialang.org/publications/)
- [All Julia Publications](https://julialang.org/publications)

* Using GitHub
- [Using Julia with GitHub (video)](http://www.youtube.com/watch?v=wnFYV3ZKtOg&feature=youtu.be)
- [Using Julia on GitHub (notes for video)](https://gist.github.com/2712118#file_Julia_git_pull_request.md)
- [General GitHub documentation](http://help.github.com/)
- [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
- [General GitHub documentation](http://help.github.com)
- [GitHub pull request documentation](http://help.github.com/send-pull-requests)
2 changes: 1 addition & 1 deletion Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ SANITIZE_LDFLAGS := -fsanitize=address
endif
JCXXFLAGS += $(SANITIZE_OPTS)
JCFLAGS += $(SANITIZE_OPTS)
LDFLAGS += $(SANITIZE_LDFLAGS)
JLDFLAGS += $(SANITIZE_LDFLAGS)
# FIXME: sanitizing all dependencies doesn't work because of -Wl,--no-undefined
# https://github.com/JuliaLang/julia/issues/13858
# use LLVM_SANITIZE to sanitize LLVM
Expand Down
Loading