Skip to content
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

[release-0.4, RFC] backports for 0.4.2 #14186

Merged
merged 106 commits into from
Dec 6, 2015
Merged
Changes from 1 commit
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
488fb5a
preserve inline line numbers during inlining
vtjnash Oct 7, 2015
b8a6d77
fix #922 (wrong line numbers in error expressions) and remove old hac…
vtjnash Oct 7, 2015
e1a3749
Use promote_op in broadcasting and matrix multiplication
timholy Oct 28, 2015
617db6b
Ignore line number node when counting expressions for inlining. Fix #…
yuyichao Oct 11, 2015
d8b91c6
Fix doctests
tkelman Nov 29, 2015
a85dd9f
Non-mutating version of split_decl_rst and more restricted signature …
yuyichao Nov 7, 2015
f02e71d
Ensure the backtrace is shown even if we can't show method candidates
timholy Nov 8, 2015
931cfbe
Method completion using inference to determine the input types to rem…
dhoegh Oct 12, 2015
18000c7
Direct warning to io
timholy Nov 8, 2015
d2c63f4
doc: fix outdated output msg in the assert example [av skip]
gloine Nov 9, 2015
81a214f
doc: fix the assert example to be consistent with doctest output [av …
gloine Nov 9, 2015
6e72687
Added tests for methodshow functions
kshyatt Nov 9, 2015
5efe36c
Add release preparation script
tkelman Nov 9, 2015
d460c68
Add gpg signing commands
tkelman Nov 9, 2015
08d9c7f
Fix socket test on read-only file system
petercolberg Nov 10, 2015
ebe11ae
Pair IO test
kshyatt Nov 11, 2015
6d2b766
Also complete commands (files in the env path) in REPL shell mode
mariushoch Jul 25, 2015
9ee16ff
Inline set_index!(::BitArray, ::Any, ::Int)
carlobaldassi Nov 11, 2015
fc19354
Speed up BitArray packing
carlobaldassi Nov 12, 2015
1b6b761
Avoid branching in unsafe_bitsetindex!
carlobaldassi Nov 12, 2015
53706c3
Fix url(::Method) for no-git builds
tkelman Nov 11, 2015
e880b3b
add license to prepare_release.sh
tkelman Nov 29, 2015
cc31d44
Few more math tests
kshyatt Nov 14, 2015
80724ac
Show and intersection tests
kshyatt Nov 14, 2015
cd06a1f
isprime for various int types
kshyatt Nov 14, 2015
4affae3
Fix type instability in push!
mlubin Nov 13, 2015
5b48286
correct sub2ind_loop() example
scheidan Nov 13, 2015
11cb849
Also check finalizer_list_marked list in jl_finalize. Fix #13986
yuyichao Nov 14, 2015
2df6a67
Add test for old gen finalizer
yuyichao Nov 14, 2015
15bf60d
Tests for OS symbols and windows versions
kshyatt Nov 14, 2015
a534db0
Tests for issparse and indtype
kshyatt Nov 14, 2015
cb2aa46
Add a brief summary of the process of submitting Pkg PRs
timholy Nov 13, 2015
bb90989
avoid running finish_task inside of throw_internal
vtjnash Sep 28, 2015
2ceec96
Fix zip() to return a tuple even when passed a single argument
nalimilan Nov 14, 2015
0e5231f
Do not use system libunwind (0.99) on Travis Linux
yuyichao Nov 16, 2015
3f76dc2
Revert "Disable test for ReadOnlyMemoryError for now since it seems t…
yuyichao Jun 28, 2015
8623f56
REPLCompletions: Allow dirs in PATH that can't be read
mariushoch Nov 12, 2015
6f5177c
Fix build_sysimg on OSX by changing to use cc instead of ld to link s…
dhoegh Nov 16, 2015
f40a611
Fix handling of trailing spaces in REPL shell mode
mariushoch Nov 12, 2015
8662eec
Fixing #13559 with more limited impact. Performance should be identic…
hessammehr Oct 16, 2015
b411724
Unit test for #13559.
hessammehr Oct 17, 2015
51aefcd
Cross-platform test coverage for n-byte reads and throwing EOF on ins…
hessammehr Oct 18, 2015
0958a89
fix the read and write methods of DevNull
bicycle1885 Oct 25, 2015
d497794
count the number of bytes written to DevNull
bicycle1885 Oct 26, 2015
6462964
Fix typo
xanderdunn Nov 19, 2015
231dd4a
improve deprecation warning for non-integer indexing: suggest replaci…
stevengj Nov 18, 2015
8d7683e
normalize literal \r and \r\n chars in string literals to \n (fixes #…
stevengj Nov 20, 2015
1896a57
Add tests for `convert`
zygmuntszpak Nov 21, 2015
eccf231
Add manual section about numerical conversions.
Nov 20, 2015
6d5a859
Add more tests for copysign
zygmuntszpak Nov 20, 2015
0445b3a
Remove trailing white-space
zygmuntszpak Nov 20, 2015
92ad061
remove commented out copysign tests
StefanKarpinski Nov 20, 2015
90584a9
document newline normalization in literal strings (#14073)
stevengj Nov 20, 2015
7704a2a
Make sphinx happy with headings
tkelman Nov 29, 2015
75c791c
edit sync write faq entry [ci skip]
amitmurthy Sep 23, 2015
7afe152
restart worker during tests depending on resident memory size
amitmurthy Oct 13, 2015
f44129f
Fix compilation on Linux (and Possibly other *nix)
yuyichao Oct 15, 2015
a384f8e
limit maxrss check only to travis linux 64-bit
amitmurthy Oct 15, 2015
38d4625
Remove debug print
amitmurthy Oct 15, 2015
ac98b71
simplify channel imp and fix missed put!s
amitmurthy Nov 20, 2015
735fcbf
Fix manual typo
xanderdunn Nov 22, 2015
a308e19
Fix manual typo
xanderdunn Nov 22, 2015
13b6b3a
Add BoundsError tests for getindex
zygmuntszpak Nov 21, 2015
5e8effe
auto completion for true and false. Fix #14101
yuyichao Nov 23, 2015
040435b
Add tests for auto completions of true and false .
yuyichao Nov 23, 2015
8959448
Promote Float32 and Complex{Float32} elements to Float64 and Complex{…
andreasnoack Nov 23, 2015
cc14a34
replace JULIA_CPU_ARCH with JULIA_CPU_TARGET in RPi docs
rdeits Nov 24, 2015
adf54fa
More tests for special functions
kshyatt Nov 24, 2015
95368ee
Added tests for BufferStream
kshyatt Nov 25, 2015
5603ced
fix bug in spawn test's usage of search
tkelman Nov 24, 2015
084a9ad
Comment out assertion on elapsed time in pollfd test
nalimilan Nov 20, 2015
06c9fe3
Tests a few "global" Pkg functions
kshyatt Nov 28, 2015
13a68a0
Fix findmax and findmin with iterables
nalimilan Nov 21, 2015
dcf67a1
Few tests for iobuffer
kshyatt Nov 25, 2015
b3dd88b
Tests for irrationals
kshyatt Nov 25, 2015
38be33e
Quick fix for decompose(::BigFloat) on win64
tkelman Nov 26, 2015
456f38d
fix #12941: remove shutdown syscall from uv_shutdown
vtjnash Nov 29, 2015
bf4eeab
Fix #13926 by also defining ENDCOLOR when VERBOSE=1
tkelman Nov 29, 2015
8b3c67b
fix error on exit for an invalid remote reference
amitmurthy Nov 27, 2015
1085429
Don't show object in whos
andreasnoack Nov 28, 2015
2cba757
initialize temp_dir to empty in Pkg.init
tkelman Nov 30, 2015
4d20f12
Adjust to LLVM 3.8 API changes
Keno Nov 18, 2015
4c33ac6
Add an openblas patch to fix #14174
tkelman Dec 1, 2015
7c7c66f
Revert "Use promote_op in broadcasting and matrix multiplication"
tkelman Dec 1, 2015
64f167f
Take Git/usr/bin off the path on Windows
tkelman Dec 1, 2015
cbebbb7
Fix doctests for reversion of promote_op change
tkelman Dec 1, 2015
89386b4
fix #14027, deepcopy throws UndeRefError on some null Nullables
JeffBezanson Dec 1, 2015
b8382ea
fix #14159, suggest `using Base.Dates` instead of `using Dates`
JeffBezanson Dec 1, 2015
af1cd90
Comment out two assertions on elapsed time in pollfd test
nalimilan Dec 1, 2015
084c906
Don't use shared pkg .cache directory any more on Windows
tkelman Dec 2, 2015
906288e
Fix #14205, package installation on a network drive on Windows
tkelman Dec 2, 2015
b938804
Adjust header comment in juliarc.jl
tkelman Dec 2, 2015
74a3188
Fix nonportable shelling out
tkelman Dec 2, 2015
783c2de
Don't declare something a long and pass it as a size_t
Keno Dec 2, 2015
10defac
Revert "Fix doctests"
tkelman Dec 2, 2015
fa54d22
Revert "Ignore line number node when counting expressions for inlinin…
tkelman Dec 2, 2015
3202b54
Revert "fix #922 (wrong line numbers in error expressions) and remove…
tkelman Dec 2, 2015
9f8ec24
Revert "preserve inline line numbers during inlining"
tkelman Dec 2, 2015
74dcb33
Also remove the problematic pointer case
Keno Dec 3, 2015
f9d049b
Ignore non-rst files when generating stdlib documentation
eschnett Dec 3, 2015
0a268e7
build with assertions enabled on appveyor
tkelman Dec 5, 2015
09b44c2
add a test for reading 128 bit ints from RandomDevice
JeffBezanson Dec 5, 2015
bea4d83
Only apply openblas patch on Windows
tkelman Dec 6, 2015
d0af15f
Fix travis_fastfail.sh for null case
tkelman Dec 5, 2015
c490067
use sudo: false worker on linux travis
tkelman Oct 12, 2015
652d1de
Travis caching adjustments for release-0.4
tkelman Dec 6, 2015
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
Prev Previous commit
Next Next commit
Fix nonportable shelling out
use Dates module in Pkg.generate (already fixed in PkgDev.jl)

temporarily add path to Git/usr/bin on Windows for tests that shell out
ls in test/gitutils.jl
iconv and perl in test/strings/io.jl
cat in test/cmdlineargs.jl

backport of b613309 with a few additions for release-0.4
tkelman committed Dec 2, 2015
commit 74a3188bc0916141dc4d62bb49f5d70b0aa5531e
2 changes: 1 addition & 1 deletion base/pkg/generate.jl
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ module Generate

import ..Git, ..Read

copyright_year() = readchomp(`date +%Y`)
copyright_year() = string(Dates.year(Dates.today()))
copyright_name(dir::AbstractString) = readchomp(Git.cmd(`config --get user.name`, dir=dir))
github_user() = readchomp(ignorestatus(`git config --global --get github.user`))

11 changes: 7 additions & 4 deletions test/cmdlineargs.jl
Original file line number Diff line number Diff line change
@@ -228,8 +228,11 @@ let exename = `$(joinpath(JULIA_HOME, Base.julia_exename())) --precompiled=yes`
@test readchomp(`$exename -e 'println(ARGS);' ''`) == "UTF8String[\"\"]"

# issue #12679
@test readchomp(pipeline(ignorestatus(`$exename -f --compile=yes -foo`),stderr=`cat`)) == "ERROR: unknown option `-o`"
@test readchomp(pipeline(ignorestatus(`$exename -f -p`),stderr=`cat`)) == "ERROR: option `-p/--procs` is missing an argument"
@test readchomp(pipeline(ignorestatus(`$exename -f --inline`),stderr=`cat`)) == "ERROR: option `--inline` is missing an argument"
@test readchomp(pipeline(ignorestatus(`$exename -f -e "@show ARGS" -now -- julia RUN.jl`),stderr=`cat`)) == "ERROR: unknown option `-n`"
extrapath = @windows? joinpath(JULIA_HOME,"..","Git","usr","bin")*";" : ""
withenv("PATH" => extrapath * ENV["PATH"]) do
@test readchomp(pipeline(ignorestatus(`$exename -f --compile=yes -foo`),stderr=`cat`)) == "ERROR: unknown option `-o`"
@test readchomp(pipeline(ignorestatus(`$exename -f -p`),stderr=`cat`)) == "ERROR: option `-p/--procs` is missing an argument"
@test readchomp(pipeline(ignorestatus(`$exename -f --inline`),stderr=`cat`)) == "ERROR: option `--inline` is missing an argument"
@test readchomp(pipeline(ignorestatus(`$exename -f -e "@show ARGS" -now -- julia RUN.jl`),stderr=`cat`)) == "ERROR: unknown option `-n`"
end
end
18 changes: 12 additions & 6 deletions test/gitutils.jl
Original file line number Diff line number Diff line change
@@ -72,9 +72,12 @@ function verify_work(d::Dict)
end
end
# check for anything that's not in d
for line in eachline(`ls -A`)
name = chomp(line)
@test name == ".git" || haskey(d,name)
extrapath = @windows? joinpath(JULIA_HOME,"..","Git","usr","bin")*";" : ""
withenv("PATH" => extrapath * ENV["PATH"]) do
for line in eachline(`ls -A`)
name = chomp(line)
@test name == ".git" || haskey(d,name)
end
end
end

@@ -91,9 +94,12 @@ function git_setup(h::Dict, i::Dict, w::Dict, parents::AbstractString...)
work = mktree(w)

# clear the repo
for line in eachline(`ls -A`)
name = chomp(line)
name == ".git" || rm(name, recursive=true)
extrapath = @windows? joinpath(JULIA_HOME,"..","Git","usr","bin")*";" : ""
withenv("PATH" => extrapath * ENV["PATH"]) do
for line in eachline(`ls -A`)
name = chomp(line)
name == ".git" || rm(name, recursive=true)
end
end

# create the head commit
3 changes: 3 additions & 0 deletions test/strings/io.jl
Original file line number Diff line number Diff line change
@@ -134,6 +134,8 @@ end
@test "\x0f" == unescape_string("\\x0f")
@test "\x0F" == unescape_string("\\x0F")

extrapath = @windows? joinpath(JULIA_HOME,"..","Git","usr","bin")*";" : ""
withenv("PATH" => extrapath * ENV["PATH"]) do
if !success(`iconv --version`)
warn("iconv not found, skipping unicode tests!")
@windows_only warn("Use WinRPM.install(\"win_iconv\") to run these tests")
@@ -201,6 +203,7 @@ else
end
rm(unicodedir)
end
end

# Tests of join()
@test join([]) == ""