Skip to content

Commit 80ee8b7

Browse files
authored
Merge pull request #21684 from JuliaLang/tk/backports-0.5.2
[release-0.5] backports for 0.5.2
2 parents 6b2ae36 + 87448f2 commit 80ee8b7

File tree

660 files changed

+12448
-1022
lines changed

Some content is hidden

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

660 files changed

+12448
-1022
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Notes for Julia Contributors
22

3-
Hi! If you are new to the Julia community: welcome, and thanks for trying Julia. Please be sure to respect our [community standards](http://julialang.org/community/standards/) in all interactions.
3+
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.
44

55
## Learning Julia
66

7-
[The learning page](http://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](http://docs.Julialang.org/en/release-0.5/) covers the language and core library features, and is [searchable](http://docs.Julialang.org/en/release-0.5/search/). (note: Javascript required).
7+
[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/release-0.5/) covers the language and core library features, and is [searchable](https://docs.julialang.org/en/release-0.5/search/). (note: Javascript required).
88

99
## Before filing an issue
1010

1111
- 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.
1212

1313
- 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.
1414

15-
- Library feature requests are generally not accepted on this issue tracker. New libraries should be developed as [packages](http://docs.julialang.org/en/release-0.5/manual/packages/#package-development). Please email the [julia-users](https://groups.google.com/forum/#!forum/julia-users) mailing list to discuss library ideas. Doing so will often lead to pointers to existing projects and bring together collaborators with common interests.
15+
- 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.5/manual/packages/#package-development). Please email the [julia-users](https://groups.google.com/forum/#!forum/julia-users) mailing list to discuss library ideas. Doing so will often lead to pointers to existing projects and bring together collaborators with common interests.
1616

1717
## Contributor Checklist
1818

@@ -56,7 +56,7 @@ A useful bug report filed as a GitHub issue provides information about how to re
5656

5757
### Contributing a Julia package
5858

59-
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](http://docs.julialang.org/en/release-0.5/manual/packages/).
59+
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/release-0.5/manual/packages/).
6060

6161
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.
6262

@@ -239,19 +239,19 @@ Make sure that [Travis](http://www.travis-ci.org) greenlights the pull request w
239239
## Resources
240240

241241
* Julia
242-
- **Homepage:** <http://julialang.org>
243-
- **Mailing lists:** <http://julialang.org/community/>
242+
- **Homepage:** <https://julialang.org>
243+
- **Mailing lists:** <https://julialang.org/community/>
244244
- **IRC:** <http://webchat.freenode.net/?channels=Julia>
245245
- **Source code:** <https://github.com/JuliaLang/julia>
246246
- **Git clone URL:** <git://github.com/JuliaLang/julia.git>
247-
- **Documentation:** <http://julialang.org/manual/>
247+
- **Documentation:** <https://julialang.org/manual/>
248248
- **Status:** <http://status.julialang.org/>
249249
- **Code coverage:** <https://coveralls.io/r/JuliaLang/julia>
250250

251251
* Design of Julia
252252
- [Julia: A Fresh Approach to Numerical Computing](http://arxiv.org/pdf/1411.1607v3.pdf)
253-
- [Julia: A Fast Dynamic Language for Technical Computing](http://julialang.org/images/julia-dynamic-2012-tr.pdf)
254-
- [All Julia Publications](http://julialang.org/publications/)
253+
- [Julia: A Fast Dynamic Language for Technical Computing](https://julialang.org/images/julia-dynamic-2012-tr.pdf)
254+
- [All Julia Publications](https://julialang.org/publications/)
255255

256256
* Using GitHub
257257
- [Using Julia with GitHub (video)](http://www.youtube.com/watch?v=wnFYV3ZKtOg&feature=youtu.be)

DISTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Note that if you want your `.app` to be able to run on OSX 10.6 Snow
106106
Leopard, you must pass `USE_SYSTEM_LIBUNWIND=1` as one of the make
107107
variables passed to both `make` processes. This disables the use of
108108
`libosxunwind`, a more modern libunwind that relies on OS features
109-
available only in 10.7+. This is the reason why we support 10.7+ [while we did support 10.6 prior to Julia 0.3.0](http://julialang.org/downloads/platform.html).
109+
available only in 10.7+. This is the reason why we support 10.7+ [while we did support 10.6 prior to Julia 0.3.0](https://julialang.org/downloads/platform.html).
110110

111111
Windows
112112
-------

HISTORY.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ New language features
2222
types instead of to their values. The function then returns an expression forming the
2323
body of the function to be called at run time ([#7311]).
2424

25-
* [Documentation system](http://docs.julialang.org/en/release-0.5/manual/documentation/)
25+
* [Documentation system](https://docs.julialang.org/en/release-0.5/manual/documentation/)
2626
for functions, methods, types and macros in packages and user code ([#8791]).
2727

2828
* The syntax `function foo end` can be used to introduce a generic function without
@@ -52,11 +52,11 @@ New language features
5252
* `++` is now parsed as an infix operator, but does not yet have a default definition ([#11030], [#11686]).
5353

5454
* Support for inter-task communication using `Channels` ([#12264]).
55-
See http://docs.julialang.org/en/release-0.5/manual/parallel-computing/#channels for details.
55+
See https://docs.julialang.org/en/release-0.5/manual/parallel-computing/#channels for details.
5656

5757
* `RemoteRef`s now point to remote channels. The remote channels can be of length greater than 1.
5858
Default continues to be of length 1 ([#12385]).
59-
See http://docs.julialang.org/en/release-0.5/manual/parallel-computing/#remoterefs-and-abstractchannels for details.
59+
See https://docs.julialang.org/en/release-0.5/manual/parallel-computing/#remoterefs-and-abstractchannels for details.
6060

6161
* `@__LINE__` special macro now available to reflect invocation source line number ([#12727]).
6262

@@ -1257,8 +1257,8 @@ Bugfixes and performance updates
12571257

12581258
Too numerous to mention.
12591259

1260-
[packages chapter]: http://docs.julialang.org/en/release-0.5/manual/packages/
1261-
[sorting functions]: http://docs.julialang.org/en/release-0.5/stdlib/sort/
1260+
[packages chapter]: https://docs.julialang.org/en/release-0.5/manual/packages/
1261+
[sorting functions]: https://docs.julialang.org/en/release-0.5/stdlib/sort/
12621262
[pairwise summation]: https://en.wikipedia.org/wiki/Pairwise_summation
12631263
[a448e080]: https://github.com/JuliaLang/julia/commit/a448e080dc736c7fb326426dfcb2528be36973d3
12641264
[5e3f074b]: https://github.com/JuliaLang/julia/commit/5e3f074b9173044a0a4219f9b285879ff7cec041

Make.inc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ JCFLAGS += -fsigned-char
641641
LLVM_VER:=3.9.0
642642
OPENBLAS_DYNAMIC_ARCH:=0
643643
OPENBLAS_TARGET_ARCH:=POWER8
644+
BINARY:=64
644645
# GCC doesn't do -march= on ppc64le
645646
MARCH=
646647
endif
@@ -976,9 +977,16 @@ MKLLIB := $(MKLROOT)/lib/ia32
976977
endif
977978
USE_SYSTEM_BLAS:=1
978979
USE_SYSTEM_LAPACK:=1
980+
ifeq ($(OS), WINNT)
981+
LIBBLASNAME := mkl_rt
982+
LIBLAPACKNAME := mkl_rt
983+
# work around libtool issue with arpack
984+
MKL_LDFLAGS := -L$(MKLLIB) -Wl,-lmkl_rt
985+
else
979986
LIBBLASNAME := libmkl_rt
980987
LIBLAPACKNAME := libmkl_rt
981988
MKL_LDFLAGS := -L$(MKLLIB) -lmkl_rt
989+
endif
982990
ifneq ($(strip $(MKLLIB)),)
983991
ifeq ($(OS), Linux)
984992
RPATH_MKL := -Wl,-rpath,$(MKLLIB)

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ release-candidate: release testall
158158
@echo 6. Clean out old .tar.gz files living in deps/, "\`git clean -fdx\`" seems to work #"`
159159
@echo 7. Replace github release tarball with tarballs created from make light-source-dist and make full-source-dist
160160
@echo 8. Follow packaging instructions in DISTRIBUTING.md to create binary packages for all platforms
161-
@echo 9. Upload to AWS, update http://julialang.org/downloads and http://status.julialang.org/stable links
161+
@echo 9. Upload to AWS, update https://julialang.org/downloads and http://status.julialang.org/stable links
162162
@echo 10. Update checksums on AWS for tarball and packaged binaries
163163
@echo 11. Announce on mailing lists
164164
@echo 12. Change master to release-0.X in base/version.jl and base/version_git.sh as in 4cb1e20
@@ -416,7 +416,7 @@ ifneq ($(private_libdir_rel),$(build_private_libdir_rel))
416416
ifeq ($(OS), Darwin)
417417
for julia in $(DESTDIR)$(bindir)/julia* ; do \
418418
install_name_tool -rpath @executable_path/$(build_private_libdir_rel) @executable_path/$(private_libdir_rel) $$julia; \
419-
install_name_tool -rpath @executable_path/$(build_libdir_rel) @executable_path/$(libdir_rel) $$julia; \
419+
install_name_tool -add_rpath @executable_path/$(build_libdir_rel) @executable_path/$(libdir_rel) $$julia; \
420420
done
421421
else ifeq ($(OS), Linux)
422422
for julia in $(DESTDIR)$(bindir)/julia* ; do \
@@ -512,7 +512,7 @@ light-source-dist: light-source-dist.tmp
512512
# Prefix everything with the current directory name (usually "julia"), then create tarball
513513
DIRNAME=$$(basename $$(pwd)); \
514514
sed -e "s_.*_$$DIRNAME/&_" light-source-dist.tmp > light-source-dist.tmp1; \
515-
cd ../ && tar -cz -T $$DIRNAME/light-source-dist.tmp1 --no-recursion -f $$DIRNAME/julia-$(JULIA_VERSION)_$(JULIA_COMMIT).tar.gz
515+
cd ../ && tar -cz --no-recursion -T $$DIRNAME/light-source-dist.tmp1 -f $$DIRNAME/julia-$(JULIA_VERSION)_$(JULIA_COMMIT).tar.gz
516516

517517
source-dist:
518518
@echo \'source-dist\' target is deprecated: use \'full-source-dist\' instead.
@@ -530,7 +530,7 @@ full-source-dist: light-source-dist.tmp
530530
# Prefix everything with the current directory name (usually "julia"), then create tarball
531531
DIRNAME=$$(basename $$(pwd)); \
532532
sed -e "s_.*_$$DIRNAME/&_" full-source-dist.tmp > full-source-dist.tmp1; \
533-
cd ../ && tar -cz -T $$DIRNAME/full-source-dist.tmp1 --no-recursion -f $$DIRNAME/julia-$(JULIA_VERSION)_$(JULIA_COMMIT)-full.tar.gz
533+
cd ../ && tar -cz --no-recursion -T $$DIRNAME/full-source-dist.tmp1 -f $$DIRNAME/julia-$(JULIA_VERSION)_$(JULIA_COMMIT)-full.tar.gz
534534

535535
clean: | $(CLEAN_TARGETS)
536536
@-$(MAKE) -C $(BUILDROOT)/base clean
@@ -619,7 +619,7 @@ else
619619
endif
620620
cd $(JULIAHOME)/dist-extras && \
621621
$(JLDOWNLOAD) http://downloads.sourceforge.net/sevenzip/7z920_extra.7z && \
622-
$(JLDOWNLOAD) https://unsis.googlecode.com/files/nsis-2.46.5-Unicode-setup.exe && \
622+
$(JLDOWNLOAD) https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/unsis/nsis-2.46.5-Unicode-setup.exe && \
623623
chmod a+x 7z.exe && \
624624
chmod a+x 7z.dll && \
625625
$(call spawn,./7z.exe) x -y -onsis nsis-2.46.5-Unicode-setup.exe && \

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Experimental language features
5151
------------------------------
5252

5353
* Support for
54-
[multi-threading](http://docs.julialang.org/en/release-0.5/manual/parallel-computing/#multi-threading-experimental).
54+
[multi-threading](https://docs.julialang.org/en/release-0.5/manual/parallel-computing/#multi-threading-experimental).
5555
Loops with independent iterations can be easily parallelized with the
5656
`Threads.@threads` macro.
5757

@@ -453,7 +453,7 @@ Deprecated or removed
453453
* `@unix_only` is deprecated in favor of `if is_unix()`
454454
* `@osx_only` is deprecated in favor of `if is_apple()`
455455
* `@linux_only` is deprecated in favor of `if is_linux()`
456-
* NOTE: Using `@static` could be useful/necessary when used in a function's local scope. See details at the section entitled [Handling Operating System Variation](http://docs.julialang.org/en/release-0.5/manual/handling-operating-system-variation/#man-handling-operating-system-variation) in the manual.
456+
* NOTE: Using `@static` could be useful/necessary when used in a function's local scope. See details at the section entitled [Handling Operating System Variation](https://docs.julialang.org/en/release-0.5/manual/handling-operating-system-variation/#man-handling-operating-system-variation) in the manual.
457457
458458
Command-line option changes
459459
---------------------------

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<a name="logo"/>
22
<div align="center">
3-
<a href="http://julialang.org/" target="_blank">
4-
<img src="http://julialang.org/images/logo_hires.png" alt="Julia Logo" width="210" height="142"></img>
3+
<a href="https://julialang.org/" target="_blank">
4+
<img src="https://julialang.org/images/logo_hires.png" alt="Julia Logo" width="210" height="142"></img>
55
</a>
66
</div>
77

@@ -15,19 +15,19 @@ Code Coverage: [![Coverage Status](https://coveralls.io/repos/JuliaLang/julia/ba
1515
## The Julia Language
1616

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

2121
<a name="Resources"/>
2222
## Resources
2323

24-
- **Homepage:** <http://julialang.org>
25-
- **Binaries:** <http://julialang.org/downloads/>
26-
- **Documentation:** <http://docs.julialang.org/>
24+
- **Homepage:** <https://julialang.org>
25+
- **Binaries:** <https://julialang.org/downloads/>
26+
- **Documentation:** <https://docs.julialang.org/>
2727
- **Packages:** <http://pkg.julialang.org/>
2828
- **Source code:** <https://github.com/JuliaLang/julia>
2929
- **Git clone URL:** <git://github.com/JuliaLang/julia.git>
30-
- **Mailing lists:** <http://julialang.org/community/>
30+
- **Mailing lists:** <https://julialang.org/community/>
3131
- **Gitter:** <https://gitter.im/JuliaLang/julia>
3232
- **IRC:** <http://webchat.freenode.net/?channels=julia>
3333
- **Code coverage:** <https://coveralls.io/r/JuliaLang/julia>
@@ -106,7 +106,7 @@ the `julia` source directory, type `make testall`. You should see output
106106
that lists a series of tests being run; if they complete without
107107
error, you should be in good shape to start using Julia.
108108

109-
You can read about [getting started](http://julialang.org/manual/getting-started) in the manual.
109+
You can read about [getting started](https://julialang.org/manual/getting-started) in the manual.
110110

111111
If you are building a Julia package for distribution on Linux, OS X,
112112
or Windows, take a look at the detailed notes in
@@ -334,7 +334,7 @@ For a longer overview of Julia's dependencies, see these [slides](https://github
334334
[double-conversion]: http://double-conversion.googlecode.com
335335
[libuv]: https://github.com/JuliaLang/libuv
336336
[libgit2]: https://libgit2.github.com/
337-
[utf8proc]: http://julialang.org/utf8proc/
337+
[utf8proc]: https://julialang.org/utf8proc/
338338
[libosxunwind]: https://github.com/JuliaLang/libosxunwind
339339
[libunwind]: http://www.nongnu.org/libunwind
340340
[openssl]: https://www.openssl.org
@@ -394,7 +394,7 @@ The Julia source code is organized as follows:
394394
<a name="Binary-Installation"/>
395395
## Binary Installation
396396

397-
Because of the rapid pace of development at this point, we recommend installing the latest Julia from source, but platform-specific tarballs with pre-compiled binaries are also [available for download](http://julialang.org/downloads/).
397+
Because of the rapid pace of development at this point, we recommend installing the latest Julia from source, but platform-specific tarballs with pre-compiled binaries are also [available for download](https://julialang.org/downloads/).
398398

399399
You can either run the `julia` executable using its full path in the directory created above, or add that directory to your executable path so that you can run the Julia program from anywhere (in the current shell session):
400400

@@ -407,7 +407,7 @@ Now you should be able to run Julia like this:
407407
On Windows, double-click `usr/bin/julia.exe`.
408408

409409
If everything works correctly, you will see a Julia banner and an interactive prompt into which you can enter expressions for evaluation.
410-
You can read about [getting started](http://julialang.org/manual/getting-started) in the manual.
410+
You can read about [getting started](https://julialang.org/manual/getting-started) in the manual.
411411

412412
The following distributions include julia, but the versions may be out of date due to rapid development:
413413

@@ -449,4 +449,4 @@ is available through
449449
[Sublime-IJulia](https://github.com/quinnj/Sublime-IJulia) plugin
450450
enables interaction between IJulia and Sublime Text.
451451

452-
In the terminal, Julia makes great use of both control-key and meta-key bindings. To make the meta-key bindings more accessible, many terminal emulator programs (e.g., `Terminal`, `iTerm`, `xterm`, etc.) allow you to use the alt or option key as meta. See the section in the manual on [interacting with Julia](http://docs.julialang.org/en/release-0.5/manual/interacting-with-julia/) for more details.
452+
In the terminal, Julia makes great use of both control-key and meta-key bindings. To make the meta-key bindings more accessible, many terminal emulator programs (e.g., `Terminal`, `iTerm`, `xterm`, etc.) allow you to use the alt or option key as meta. See the section in the manual on [interacting with Julia](https://docs.julialang.org/en/release-0.5/manual/interacting-with-julia/) for more details.

README.windows.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# General Information for Windows
22

33
This file describes how to install, or build, and use Julia on Windows.
4-
For more general information about Julia, please see the [main README](https://github.com/JuliaLang/julia/blob/master/README.md) or the [documentation](http://docs.julialang.org/).
4+
For more general information about Julia, please see the [main README](https://github.com/JuliaLang/julia/blob/master/README.md) or the [documentation](https://docs.julialang.org/).
55

66
# Unicode font support
77

@@ -25,7 +25,7 @@ Both the 32-bit and 64-bit versions are supported.
2525
The 32-bit (i686) binary will run on either a 32-bit and 64-bit operating system.
2626
The 64-bit (x86_64) binary will only run on 64-bit Windows and will otherwise refuse to launch.
2727

28-
1. [Download](http://julialang.org/downloads) the latest version of Julia. Extract the binary to a reasonable destination folder, e.g. `C:\julia`.
28+
1. [Download](https://julialang.org/downloads) the latest version of Julia. Extract the binary to a reasonable destination folder, e.g. `C:\julia`.
2929

3030
2. Double-click the `julia` shortcut to launch Julia.
3131

@@ -126,7 +126,7 @@ or edit `%USERPROFILE%\.gitconfig` and add/edit the lines:
126126
```
127127

128128
5. Setup Package Development Environment
129-
1. The `Pkg` module in Base provides many convenient tools for [developing and publishing packages](http://docs.julialang.org/en/release-0.5/manual/packages/).
129+
1. The `Pkg` module in Base provides many convenient tools for [developing and publishing packages](https://docs.julialang.org/en/release-0.5/manual/packages/).
130130
One of the packages added through pacman above was `openssh`, which will allow secure access to GitHub APIs.
131131
Follow GitHub's [guide](https://help.github.com/articles/generating-ssh-keys) to setting up SSH keys to ensure your local machine can communicate with GitHub effectively.
132132

0 commit comments

Comments
 (0)