Skip to content

mktempdir() now supports prefix. #23237

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

Closed
wants to merge 406 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
406 commits
Select commit Hold shift + click to select a range
5a002bf
Doc checkout methods and type (#23410)
kshyatt Aug 24, 2017
2767355
REPL: fix newline indentation when point before 1st non-space (#23402)
rfourquet Aug 24, 2017
0f4baee
fix prompt-indentation when bracket pasting (#23406)
rfourquet Aug 24, 2017
92f70e2
Make --quiet and --banner independent (fix #23380)
StefanKarpinski Aug 22, 2017
aa3d2be
Int constructor instead of div for Int returns in gmp (#23329)
musm Aug 24, 2017
03c5d7d
deprecate expm in favor of exp (#23233)
Sacha0 Aug 24, 2017
8809617
Doc-strings for some internals. (#23333)
mschauer Aug 24, 2017
50e7208
Document merge base and GitAnnotated
kshyatt Aug 24, 2017
b92e612
Add docs for transact
kshyatt Aug 24, 2017
2406b6e
Unify the method name to get library versions (#23323)
musm Aug 24, 2017
5e8eecd
Add more information for CherrypickOptions
kshyatt Aug 24, 2017
b46c74c
Preserve the input element type in unique (#23208)
ararslan Aug 24, 2017
9ab6aca
REPL: implement Alt-{u,c,l} to change the case of the next word (#23379)
rfourquet Aug 25, 2017
6922ce8
Misc remove `&x` ccall syntax (#23301)
musm Aug 25, 2017
c44461a
Use iszero and isone in MPFR (#23322)
musm Aug 25, 2017
ceeb591
Merge pull request #22594 from JuliaLang/tb/optpasses_tm
maleadt Aug 25, 2017
daa5575
Disable globbing for curl download (#23254)
0x47 Aug 25, 2017
9944d3d
[DOC] Document Void type (#23324)
iglpdc Aug 25, 2017
90a3300
Use refs instead of Vector in Lapack (#23419)
musm Aug 25, 2017
4d4b9ce
fix #23430, counter overflow in subtyping
JeffBezanson Aug 25, 2017
706e720
Add docs for GitRevWalker and push_head! (#22654)
kshyatt Aug 25, 2017
2301d70
restrict `Bool` `*` methods to `AbstractFloat`, avoiding some ambigui…
JeffBezanson Aug 24, 2017
14d0b4a
Merge pull request #23412 from JuliaLang/cv/env-get
omus Aug 25, 2017
03660a4
Merge pull request #23399 from JuliaLang/sk/quieter
StefanKarpinski Aug 25, 2017
d9b7850
Merge pull request #23411 from JuliaLang/jb/parseable
JeffBezanson Aug 25, 2017
11aeba3
allocate fresh bindings on each iteration of `while` loops
JeffBezanson Aug 22, 2017
f82fc0f
Doc rebase stuff (#23432)
kshyatt Aug 25, 2017
149d108
Merge pull request #23437 from JuliaLang/ksh/docmerge2
kshyatt Aug 25, 2017
8c49303
fix PR #23399 accidentally turning off banner
StefanKarpinski Aug 25, 2017
c301095
Merge pull request #23439 from JuliaLang/ksh/doccpo
kshyatt Aug 25, 2017
9b3b2ff
Merge pull request #23438 from JuliaLang/ksh/doctransact
kshyatt Aug 25, 2017
182336d
Docs for libgit2 utils
kshyatt Aug 25, 2017
62d8671
Docs for a bunch of git blame stuff
kshyatt Aug 25, 2017
7754b61
Doc status opts and fix a typo
kshyatt Aug 26, 2017
6347dbd
Describe how to hack Base more easily with Revise.jl
timholy Aug 26, 2017
0d95a1f
fix printing expressions like Ref{<:Real}
visr Aug 26, 2017
119cf4c
Remove `&x` convention in ccall in gmp (#23289)
musm Aug 26, 2017
991e26a
Merge pull request #23453 from JuliaLang/sk/banner
StefanKarpinski Aug 26, 2017
299aa48
Merge pull request #23444 from 0x47/curl_globbing
StefanKarpinski Aug 26, 2017
fc6b0ef
Remove `&x` convention in ccall in mpfr (#23288)
musm Aug 26, 2017
9f61878
Make sure error from `Expr(:new)` is not optimized away. (#23353)
yuyichao Aug 26, 2017
ab0ac5e
fix a typo in a docstring (#23466)
bicycle1885 Aug 26, 2017
fd06baa
Update conditional documentation example
Keno Aug 26, 2017
b510714
inference: use TypedSlot to mark intermediate load types
vtjnash Aug 26, 2017
de7b893
inference: ensure NewvarNode side-effect is handled
vtjnash Aug 26, 2017
e89d150
update libuv (#23326)
vtjnash Aug 26, 2017
3588102
Rename select* functions to partialsort*
nalimilan Jul 31, 2017
8150f66
Make partialsort!() and partialsortperm!() return a view rather than …
nalimilan Jul 31, 2017
7a54a2f
Fix docstrings for partialsortperm() and partialsortperm!()
nalimilan Aug 25, 2017
a059bd7
Merge pull request #23446 from JuliaLang/teh/revise
timholy Aug 27, 2017
f6e0fca
Merge pull request #23455 from JuliaLang/ksh/docblame
kshyatt Aug 27, 2017
6ad3f6e
Merge pull request #23458 from JuliaLang/ksh/docstatus
kshyatt Aug 27, 2017
e6dcc49
Merge pull request #23454 from JuliaLang/ksh/docutils
kshyatt Aug 27, 2017
27aff73
Merge pull request #23467 from JuliaLang/kf/docexample
Keno Aug 27, 2017
77c2439
Even more docs (#23420)
kshyatt Aug 27, 2017
e545c65
Doc merge_analysis and some enums (#23435)
kshyatt Aug 27, 2017
c5d5e9a
Merge pull request #23051 from JuliaLang/nl/select
nalimilan Aug 27, 2017
9f00d84
Add docs for git oid methods (#23460)
ararslan Aug 27, 2017
9ac2b57
Merge pull request #23464 from visr/printsugar
JeffBezanson Aug 28, 2017
e134a36
fix bug in showing `UnionAll` introduced by #23411
JeffBezanson Aug 28, 2017
f9527b7
fix bug in printing generator expressions with n-d ranges
JeffBezanson Aug 28, 2017
df9be70
Merge pull request #23479 from JuliaLang/jb/showUnionAll
JeffBezanson Aug 28, 2017
0c10166
Merge pull request #23480 from JuliaLang/jb/showgenerator
JeffBezanson Aug 28, 2017
5b12051
Merge pull request #23447 from JuliaLang/jb/fix23430
JeffBezanson Aug 28, 2017
ff706aa
Merge pull request #23470 from JuliaLang/jn/var-infer
vtjnash Aug 28, 2017
869112d
Fix deprecations
femtocleaner[bot] Aug 28, 2017
05037f5
Merge pull request #23433 from JuliaLang/jb/boolmul
JeffBezanson Aug 28, 2017
144c46b
Make describe docs more accurate/informative (#23477)
kshyatt Aug 28, 2017
6ff8d13
Doc SigStruct and DescribeOptions
kshyatt Aug 27, 2017
a48a7d2
fix missing propagate_inbounds from ordering comparison
vtjnash Aug 28, 2017
d9dde5d
revise boundscheck structure
vtjnash Jun 28, 2017
e5c6402
Merge pull request #23476 from JuliaLang/ksh/docdoc
kshyatt Aug 29, 2017
9db5eeb
Update README.md (#21326)
saharjs Aug 29, 2017
5645fb2
rm ubuntu nightly ppa as not actively maintained (#23484)
xgdgsc Aug 29, 2017
3f91250
Add missing datatype_module method for UnionAll types
quinnj Aug 29, 2017
89772d4
fix some convert methods that depwarned (#23494)
fredrikekre Aug 29, 2017
6a47db8
Fix 22577. Add string macros to REPLCompletion. (#23119)
dhoegh Aug 29, 2017
4d8f616
Make printing of big(NaN) consistent (#23382)
jw3126 Aug 22, 2017
7d60a81
More compact BigFloat printing (#23382)
jw3126 Aug 23, 2017
36990c7
Deprecate countnz in favor of using count(predicate, x) (#23485)
andreasnoack Aug 29, 2017
46bff1b
test-codegen: make jl_dump_compiles test more reliable (#23486)
vtjnash Aug 29, 2017
99c8407
Add propagate_inbounds for LogicalIndex iteration
mbauman Aug 29, 2017
9089b13
Merge pull request #23440 from JuliaLang/fbot/deps
Keno Aug 29, 2017
15fb3db
Added notes on closing a library. (#23489)
tuckermcclure Aug 29, 2017
109b0b4
Doc warn and warn_with (#23441)
kshyatt Aug 29, 2017
d8e5b96
fix GC rooting of arguments in cfunction `_gfthunk` wrappers
JeffBezanson Aug 29, 2017
8522ff0
deprecate `catch <expression>`. addresses #19987
JeffBezanson Aug 28, 2017
709a639
fix `promote_rule` for `Bidiagonal` and `Tridiagonal`
JeffBezanson Aug 29, 2017
3573522
Merge pull request #23397 from JuliaLang/jb/whilescope
JeffBezanson Aug 29, 2017
1c75a4d
Finish docs for GitTree (#23451)
kshyatt Aug 29, 2017
9454cd4
Remove global const in init in cholmod (#23449)
musm Aug 29, 2017
90c91e3
test/file: try to fix freezing of test_22566 (#23001)
iblislin Aug 29, 2017
881ab49
More docs for merge! (#23495)
kshyatt Aug 29, 2017
e07eabb
Merge pull request #23501 from JuliaLang/jb/gfthunk_roots
JeffBezanson Aug 30, 2017
c3f5917
Merge pull request #23487 from JuliaLang/jb/catchexpr
JeffBezanson Aug 30, 2017
644c53c
Merge pull request #23503 from JuliaLang/jb/bidiag_promote
JeffBezanson Aug 30, 2017
e9ab77d
fix #23107, ensure `Array` constructor always makes new arrays
JeffBezanson Aug 28, 2017
7f1623e
Fix `countnz` deprecation (#23509)
martinholters Aug 30, 2017
00e2075
Make partial_inst a global root. (#23507)
yuyichao Aug 30, 2017
b104cee
Fix off-by-one error in string reallocation (#23493)
mbauman Aug 30, 2017
3cb9eb9
Fix expanduser with empty string (#23506)
omus Aug 30, 2017
b9ce52f
make `promote` throw an error if no arguments can be changed. fixes #…
JeffBezanson Aug 14, 2017
afa6af1
implement #6614, destructuring in formal arguments
JeffBezanson Aug 18, 2017
488febc
Completely remove partial linear indexing (#21750)
mbauman Aug 30, 2017
440b18d
Merge pull request #22826 from JuliaLang/jn/boundscheck-revised
mbauman Aug 30, 2017
9c6e496
Merge pull request #23490 from JuliaLang/jb/Arrayctor
JeffBezanson Aug 30, 2017
a969c2a
fix promotion of diagonal integer matrix to non-integer power (#23510)
fredrikekre Aug 30, 2017
104a81c
Doc statusentry and add xrefs
kshyatt Aug 30, 2017
f4bb1ba
Document boundscheck macro
mbauman Aug 30, 2017
09f727e
Add test for issue #20469
mbauman Aug 30, 2017
ecf284d
Merge pull request #23337 from JuliaLang/jb/arg_destructuring
JeffBezanson Aug 31, 2017
7e35ac6
Merge pull request #23491 from JuliaLang/jb/noncircular_promote
JeffBezanson Aug 31, 2017
9d6c9bd
Update to latest curl, mbedtls, and pcre (#23498)
tkelman Aug 31, 2017
8f6f5aa
move mathematical constants to Base.MathConstants (#23427)
fredrikekre Aug 31, 2017
88b6487
Merge pull request #23517 from JuliaLang/ksh/docstatus
kshyatt Aug 31, 2017
6210e24
make findmin/findmax behavior match min/max (fix #23209) (#23227)
KlausC Aug 31, 2017
c64a6cc
Deprecate rol and ror in favor of circshift methods (#23404)
ararslan Aug 31, 2017
383b919
Deprecate logm in favor of log. (#23505)
Sacha0 Aug 31, 2017
b729e58
fix documentation for IOBuffer, close #23398 (#23514)
fredrikekre Aug 31, 2017
44fe78c
Deprecate sqrtm in favor of sqrt. (#23504)
Sacha0 Aug 31, 2017
e0ca7d0
Add docs for internal commit method
kshyatt Sep 1, 2017
99173bb
clarification about ℯ (#23534)
fredrikekre Sep 1, 2017
bad1329
Merge pull request #23538 from JuliaLang/ksh/doccommit
kshyatt Sep 1, 2017
917e8af
Add field docs for Diffopts
kshyatt Sep 1, 2017
e564008
deprecate `&x` in ccall. fixes #6080
JeffBezanson Sep 1, 2017
d4a5553
Cleaned up default descriptions in reflection.jl (#23543)
Sep 1, 2017
fc54dc4
update rationalize docs (#23541)
Sep 1, 2017
a848012
fix StackOverflowError in symdiff(::IntSet, ::NotInteger)
rfourquet Sep 2, 2017
43ced35
more about type annotation (#23180)
StephenVavasis Sep 2, 2017
6792ad5
fix IntSet tests invalid since #23138
rfourquet Sep 2, 2017
aee1aab
fix #23558, bug in recursive let-bound functions
JeffBezanson Sep 2, 2017
92ff781
faster sparse(::Diagonal) (#23536)
fredrikekre Sep 2, 2017
45b0013
Makes sure assertion respects JL_NDEBUG in C++ code
yuyichao Sep 2, 2017
b8536bf
Use min(size(A)...) instead of max(size(A)...) when computing the num…
andreasnoack Sep 2, 2017
9edfa55
Merge pull request #23559 from JuliaLang/rf/fix-intset-test
JeffBezanson Sep 2, 2017
3c68dcd
Don't ignore memcpy in GC root placement
Keno Sep 2, 2017
6a1e339
Merge pull request #23563 from JuliaLang/yyc/build/assert
Keno Sep 2, 2017
797e87b
Add gc use intrinisic
Keno Sep 2, 2017
61ee70d
Remove some leagcy gcroot codegen code
Keno Sep 3, 2017
dd7feae
REPL: free-up '\0' as a key (sent by Ctrl-Space)
rfourquet Aug 20, 2017
adae830
REPL: add few "region" operations
rfourquet Aug 20, 2017
9cf7505
REPL: register previous run action as symbol
rfourquet Aug 19, 2017
c2cbef2
REPL: implement a kill ring (fix part of #8447)
rfourquet Aug 20, 2017
2d962c1
REPL: specify regions with open-close ranges using Pairs
rfourquet Aug 20, 2017
8422d50
REPL: add tests for the kill ring
rfourquet Aug 24, 2017
f5b96f7
Merge pull request #23377 from JuliaLang/rf/REPL-killring
rfourquet Sep 3, 2017
81b839d
re-enable the 0-arg MersenneTwister() constructor
rfourquet May 14, 2017
f4edae1
Merge pull request #21909 from JuliaLang/rf/MT-ctor
rfourquet Sep 3, 2017
9cdec25
Merge pull request #23564 from JuliaLang/kf/gcmemcpy
Keno Sep 3, 2017
7e2e6c9
Merge pull request #23562 from JuliaLang/kf/gcuse
Keno Sep 3, 2017
d0bae2b
Merge pull request #23557 from JuliaLang/rf/IntSet-symdiff-overflow
JeffBezanson Sep 3, 2017
2e6d908
Merge pull request #23561 from JuliaLang/jb/fix23558
JeffBezanson Sep 3, 2017
22ea732
Merge pull request #23568 from JuliaLang/kf/legacygc
Keno Sep 3, 2017
d11a235
Merge pull request #23554 from JuliaLang/ksh/docdiffopts
kshyatt Sep 3, 2017
ec601e9
Correct indentation for LibGit2.Consts
omus Sep 3, 2017
e2a4c72
Fix GIT_CONFIG docstring
omus Aug 28, 2017
e235f65
Fix GIT_OPT indentation
omus Sep 3, 2017
75ec2b9
Merge pull request #23388 from jw3126/big
StefanKarpinski Sep 4, 2017
a3de583
Fix #23567. In general, we need to be careful when we start branching…
quinnj Sep 4, 2017
c73da15
Remove incorrect code from jl_array_ptr_copy for isbits Union arrays
quinnj Sep 4, 2017
063f0f8
Update unsafe_convert for isbits Unions according to recommendation f…
quinnj Sep 4, 2017
54a2b01
Unify function references in docs (#23535)
fredrikekre Sep 4, 2017
fdef237
Merge pull request #23555 from JuliaLang/jb/ampersand
JeffBezanson Sep 4, 2017
e2ea895
add `pairs`, and `keys`/`values` for arrays
JeffBezanson Jul 21, 2017
ef2fd5f
use `pairs` in `findmin` and `findmax`, supporting all indexable coll…
JeffBezanson Jul 21, 2017
447ca30
Add a trailing newline to the & deprecation message
ararslan Sep 4, 2017
dbd1574
parse `let` the same as `for`. part of #21774
JeffBezanson Sep 1, 2017
e0658f2
Fix deprecated & syntax in MPFR ccalls
ararslan Sep 4, 2017
47986fa
Add a codegen param for preferring specsig.
maleadt Sep 3, 2017
5c6f423
Embed codegen hooks in the params object.
maleadt Sep 4, 2017
dc4f140
Untangle legacy .gcroot field
Keno Sep 3, 2017
4f8a612
`unsafe_load` -> `@inbounds codeunit`
Keno Sep 4, 2017
4c0a3e6
Probably due to #23397; ensure the istart variable is declared outsid…
quinnj Sep 5, 2017
ff59aad
Merge pull request #23577 from JuliaLang/jq/bitsunionarrays
quinnj Sep 5, 2017
10ae1b9
Merge pull request #23496 from JuliaLang/jq/refl
quinnj Sep 5, 2017
7b6a554
Untangle legacy .gcroot field
Keno Sep 3, 2017
b83b7e9
Work to ensure immutable isbits Union fields get set correctly. #23351
quinnj Aug 20, 2017
560aca9
correctly handle union-splitting in codegen type allocation
vtjnash Aug 22, 2017
a562e33
Add tests for structs with isbits Union fields.
quinnj Aug 23, 2017
f61db81
correctly handle union-store-splitting in "is" and "object_id"
vtjnash Aug 23, 2017
2bb430e
fix codegen bugs, simplify type representations
vtjnash Aug 24, 2017
890080f
Merge pull request #23580 from JuliaLang/aa/ref-dep-fix
ararslan Sep 5, 2017
503a091
Switch Cygwin download links to https (#23578)
halleysfifthinc Sep 5, 2017
582ba82
remove mention of helpdb/Base.jl in CONTRIBUTING.md (#23587)
fredrikekre Sep 5, 2017
be83cac
REPL: Add ^P and ^N to modal prefix searching (#23319)
Sep 5, 2017
4502ee4
Add REPL completion for tilde paths (#23475)
HarrisonGrodin Sep 5, 2017
30530e0
remove vestigial Char in rand(::UnitRange{<:Union{..., Char}) (#23545)
rfourquet Sep 5, 2017
2526b40
Merge pull request #23584 from JuliaLang/jq/cartesian
quinnj Sep 5, 2017
a612851
Return GitError from credential_loop
omus Aug 26, 2017
10cf8a2
challenge_prompt now takes an expression
omus Aug 26, 2017
c31fdea
Remove cgparams that disallow language features.
maleadt Sep 4, 2017
0e1eb8b
Merge pull request #9596 from srp/repl-undo
rfourquet Sep 5, 2017
ac37603
REPL: enable undo in bracketed paste mode
rfourquet Aug 7, 2017
54b99d0
Merge pull request #22907 from JuliaLang/jb/keyvalue
JeffBezanson Sep 5, 2017
0f7ca71
add error message for attempting to capture a local variable as a clo…
vtjnash Sep 5, 2017
2a133fc
Merge pull request #23582 from JuliaLang/kf/codeunit
Keno Sep 5, 2017
bc68f48
Merge pull request #23571 from JuliaLang/kf/untanglegcroot
Keno Sep 5, 2017
8183c0f
Merge pull request #23581 from JuliaLang/tb/inflight
maleadt Sep 5, 2017
61e4a26
fix #15723, `findfirst` on strings
JeffBezanson Sep 5, 2017
2bdcd5f
Merge pull request #23553 from JuliaLang/jb/parselet
JeffBezanson Sep 5, 2017
f32499f
Merge pull request #23592 from JuliaLang/jb/fix15723
JeffBezanson Sep 6, 2017
7bb0d53
Exclude starting slash from path in URL_REGEX (#23574)
omus Sep 6, 2017
1ca3510
Display STDOUT from Pkg.build
omus Sep 6, 2017
508c9f5
fix boundscheck value propagation codegen bug (#23595)
jrevels Sep 6, 2017
d6c9902
inference: leaftype Type{typeof(Union{})} is ambiguous
vtjnash Sep 6, 2017
db80d86
invoke should raise MethodError for ambiguous cases
vtjnash Sep 6, 2017
e21f35a
fieldtype validation: disallow `Vararg` as a field type
vtjnash Sep 6, 2017
c5dff37
Merge pull request #23572 from JuliaLang/cv/libgit2-consts
omus Sep 6, 2017
10af910
Merge pull request #23602 from JuliaLang/jn/23413
JeffBezanson Sep 7, 2017
e05bd6b
Speed up isbitsunion and bitsunionsize functions
quinnj Sep 7, 2017
10ed407
LineEdit: add convenient default mode in `state` function
rfourquet Sep 5, 2017
5f708e8
REPL: enable "redo" after "undo"
rfourquet Sep 3, 2017
34df23e
REPL undo: fix edit_kill_region and add more tests
rfourquet Sep 7, 2017
1c0131c
Merge pull request #23601 from JuliaLang/cv/build-stdout
vchuravy Sep 7, 2017
1e7cc54
Merge pull request #23590 from JuliaLang/rf/repl-redo
rfourquet Sep 7, 2017
f569169
Merge pull request #23603 from JuliaLang/jn/18095
JeffBezanson Sep 7, 2017
ac148ce
Merge pull request #23604 from JuliaLang/jn/17951
JeffBezanson Sep 7, 2017
b83c228
make BigInt <: Signed (#23473)
rfourquet Sep 7, 2017
8052341
remove uses of `importall` in Base
JeffBezanson Sep 6, 2017
7e7300e
Merge pull request #23516 from JuliaLang/mb/docboundscheck
mbauman Sep 7, 2017
4d9b107
Merge pull request #23586 from JuliaLang/jq/bitsunionsperf
quinnj Sep 7, 2017
1875957
Merge pull request #23367 from JuliaLang/jq/bitsunions
quinnj Sep 7, 2017
caad8b2
Add a README note referencing FreeBSD Pkg segfaults (#23613)
ararslan Sep 7, 2017
4c8e693
Merge pull request #23573 from JuliaLang/cv/libgit2-helper-error
omus Sep 7, 2017
a06dbef
Add GPU support to the README. (#23623)
ViralBShah Sep 7, 2017
6d1680a
[RFC] Clean up test/tridiag (#23609)
kshyatt Sep 7, 2017
bc12af5
Merge pull request #23608 from JuliaLang/jb/no_importall
JeffBezanson Sep 7, 2017
22987e3
fix #19182: convert([Un]Signed, x::BigInt) (#23474)
rfourquet Sep 8, 2017
172f36e
REPL: more deleted words pushed into the kill ring (#23593)
rfourquet Sep 8, 2017
15b29bc
Remove string "Array" funnybusiness (#23583)
kshyatt Sep 8, 2017
45cf132
mktempdir() now supports prefix.
sambitdash Aug 13, 2017
08c8579
Documentation error fix.
sambitdash Aug 13, 2017
8e12b60
OS specific test anomalies detected.
sambitdash Aug 13, 2017
edae2ec
A test error previously not reported fixed.
sambitdash Aug 21, 2017
328e099
Merge branch 'I22922' of https://github.com/sambitdash/julia into I22922
sambitdash Sep 8, 2017
2a81ce7
mktempdir() now supports prefix.
sambitdash Aug 13, 2017
a7fe6fb
Documentation error fix.
sambitdash Aug 13, 2017
34b85e4
mktempdir() now supports prefix.
sambitdash Aug 13, 2017
d33de07
Documentation error fix.
sambitdash Aug 13, 2017
0c13682
mktempdir() now supports prefix.
sambitdash Aug 13, 2017
7ef0453
Documentation error fix.
sambitdash Aug 13, 2017
9ba55d5
OS specific test anomalies detected.
sambitdash Aug 13, 2017
4e9aa66
A test error previously not reported fixed.
sambitdash Aug 21, 2017
85aaf04
mktempdir() now supports prefix.
sambitdash Aug 13, 2017
5e46435
Documentation error fix.
sambitdash Aug 13, 2017
cdc2557
mktempdir() now supports prefix.
sambitdash Aug 13, 2017
ec07815
Documentation error fix.
sambitdash Aug 13, 2017
b77c048
mktempdir() now supports prefix.
sambitdash Aug 13, 2017
22c4149
Documentation error fix.
sambitdash Aug 13, 2017
7ab5498
Merge branch 'I22922' of https://github.com/sambitdash/julia into I22922
sambitdash Sep 8, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
55 changes: 50 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ All docstrings are written inline above the methods or types they are associated
4. check the output in `doc/_build/html/` to make sure the changes are correct;
5. commit your changes and open a pull request.

> **Note**
>
> Currently there are a large number of docstrings found in `base/docs/helpdb/Base.jl`. When any of these docstrings are modified please move them out of this file and place them above the most appropriate definition in one of the `base/` source files.

#### Adding a new docstring to `base/`

The steps required to add a new docstring are listed below:
Expand Down Expand Up @@ -196,7 +192,7 @@ The Julia community uses [GitHub issues](https://github.com/JuliaLang/julia/issu

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:
Add new code to Julia's base libraries as follows (this is the "basic" approach; see a more efficient approach in the next section):

1. Edit the appropriate file in the `base/` directory, or add new files if necessary. Create tests for your functionality and add them to files in the `test/` directory. If you're editing C or Scheme code, most likely it lives in `src/` or one of its subdirectories, although some aspects of Julia's REPL initialization live in `ui/`.

Expand All @@ -218,6 +214,55 @@ or with the `runtests.jl` script, e.g. to run `test/bitarray.jl` and `test/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).

#### Modifying base more efficiently with Revise.jl

[Revise](https://github.com/timholy/Revise.jl) is a package that
tracks changes in source files and automatically updates function
definitions in your running Julia session. Using it, you can make
extensive changes to Base without needing to rebuild in order to test
your changes.

Here is the standard procedure:

1. If you are planning changes to any types or macros, make those
changes, commit them, and build julia using `make`. (This is
necessary because `Revise` cannot handle changes to type
definitions or macros.) By making a git commit, you "shield" these
changes from the `git stash` procedure described below. Unless it's
required to get Julia to build, you do not have to add any
functionality based on the new types, just the type definitions
themselves.

2. Start a Julia REPL session. Then issue the following commands:

```julia
using Revise # if you aren't launching it in your .juliarc.jl
Revise.track(Base)
```

3. Edit files in `base/`, save your edits, and test the
functionality. Once you are satisfied that things work as desired,
make another commit and rebuild julia.

Should you for some reason need to quit and restart your REPL session
before finishing your changes, the procedure above will fail because
`Revise.track`
[cannot detect changes in source files that occurred after Julia was built](https://github.com/JuliaLang/julia/issues/23448)---it
will only detect changes to source files that occur after tracking is
initiated. Consequently, any changes made prior to
`Revise.track(Base)` will not be incorporated into your new REPL
session. You can work around this by temporarily reverting all source
files to their original state. From somewhere in the `julia`
directory, start your REPL session and do the following:

```julia
shell> git stash # ensure that the code in `base/` matches its state when you built julia

julia> Revise.track(Base) # Revise's source code cache is synchronized with what's running

shell> git stash pop # restore any in-progress changes (will now be tracked)
```

### Code Formatting Guidelines

#### General Formatting Guidelines for Julia code contributions
Expand Down
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ CORE_SRCS := $(addprefix $(JULIAHOME)/, \
base/array.jl \
base/bool.jl \
base/associative.jl \
base/codevalidation.jl \
base/error.jl \
base/essentials.jl \
base/generator.jl \
Expand All @@ -209,16 +210,16 @@ BASE_SRCS := $(sort $(shell find $(JULIAHOME)/base -name \*.jl) $(shell find $(B

$(build_private_libdir)/inference.ji: $(CORE_SRCS) | $(build_private_libdir)
@$(call PRINT_JULIA, cd $(JULIAHOME)/base && \
$(call spawn,$(JULIA_EXECUTABLE)) -C $(JULIA_CPU_TARGET) --output-ji $(call cygpath_w,$@) \
$(call spawn,$(JULIA_EXECUTABLE)) -C "$(JULIA_CPU_TARGET)" --output-ji $(call cygpath_w,$@) \
--startup-file=no -g0 -O0 coreimg.jl)

RELBUILDROOT := $(shell $(JULIAHOME)/contrib/relative_path.sh "$(JULIAHOME)/base" "$(BUILDROOT)/base/")
COMMA:=,
define sysimg_builder
$$(build_private_libdir)/sys$1.o: $$(build_private_libdir)/inference.ji $$(JULIAHOME)/VERSION $$(BASE_SRCS)
@$$(call PRINT_JULIA, cd $$(JULIAHOME)/base && \
$$(call spawn,$3) $2 -C $$(JULIA_CPU_TARGET) --output-o $$(call cygpath_w,$$@) $$(JULIA_SYSIMG_BUILD_FLAGS) \
--startup-file=no --sysimage $$(call cygpath_w,$$<) sysimg.jl $$(RELBUILDROOT) \
$$(call spawn,$3) $2 -C "$$(JULIA_CPU_TARGET)" --output-o $$(call cygpath_w,$$@) $$(JULIA_SYSIMG_BUILD_FLAGS) \
--startup-file=no --warn-overwrite=yes --sysimage $$(call cygpath_w,$$<) sysimg.jl $$(RELBUILDROOT) \
|| { echo '*** This error is usually fixed by running `make clean`. If the error persists$$(COMMA) try `make cleanall`. ***' && false; } )
.SECONDARY: $(build_private_libdir)/sys$1.o
endef
Expand Down Expand Up @@ -550,9 +551,9 @@ test: check-whitespace $(JULIA_BUILD_MODE)
@$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT)/test default JULIA_BUILD_MODE=$(JULIA_BUILD_MODE)

ifeq ($(JULIA_BUILD_MODE),release)
JULIA_SYSIMG=$(build_private_libdir)/sys$(JULIA_LIBSUFFIX).$(SHLIB_EXT)
JULIA_SYSIMG=$(build_private_libdir)/sys$(JULIA_LIBSUFFIX)$(CPUID_TAG).$(SHLIB_EXT)
else
JULIA_SYSIMG=$(build_private_libdir)/sys-$(JULIA_BUILD_MODE)$(JULIA_LIBSUFFIX).$(SHLIB_EXT)
JULIA_SYSIMG=$(build_private_libdir)/sys-$(JULIA_BUILD_MODE)$(JULIA_LIBSUFFIX)$(CPUID_TAG).$(SHLIB_EXT)
endif
testall: check-whitespace $(JULIA_BUILD_MODE)
cp $(JULIA_SYSIMG) $(BUILDROOT)/local.$(SHLIB_EXT) && $(JULIA_EXECUTABLE) -J $(call cygpath_w,$(BUILDROOT)/local.$(SHLIB_EXT)) -e 'true' && rm $(BUILDROOT)/local.$(SHLIB_EXT)
Expand Down
148 changes: 137 additions & 11 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ New language features
* Local variables can be tested for being defined
using the new `@isdefined variable` macro ([#22281]).

* Destructuring in function arguments: when an expression such as `(x, y)` is used as
a function argument name, the argument is unpacked into local variables `x` and `y`
as in the assignment `(x, y) = arg` ([#6614]).

Language changes
----------------

Expand All @@ -19,6 +23,9 @@ Language changes
* In string and character literals, backslash `\` may no longer
precede unrecognized escape characters ([#22800]).

* Juxtaposing binary, octal, and hexadecimal literals is deprecated, since it can lead to
confusing code such as `0xapi == 0xa * pi` ([#16356]).

* Declaring arguments as `x::ANY` to avoid specialization has been replaced
by `@nospecialize x`. ([#22666]).

Expand All @@ -35,6 +42,10 @@ Language changes
* Nested `if` expressions that arise from the keyword `elseif` now use `elseif`
as their expression head instead of `if` ([#21774]).

* `let` blocks now parse the same as `for` loops; the first argument is either an
assignment or `block` of assignments, and the second argument is a block of
statements ([#21774]).

* Parsed and lowered forms of type definitions have been synchronized with their
new keywords ([#23157]). Expression heads are renamed as follows:

Expand Down Expand Up @@ -63,6 +74,26 @@ Language changes
(`need_to_handle_undef_sparam = Set{Any}(m.sig for m in Test.detect_unbound_args(Base, recursive=true))`)
is equal (`==`) to some known set (`expected = Set()`). ([#23117])

* `const` declarations on local variables were previously ignored. They now give a
warning, so that this syntax can be disallowed or given a new meaning in a
future version ([#5148]).

* Placing an expression after `catch`, as in `catch f(x)`, is deprecated.
Use `catch; f(x)` instead ([#19987]).

* In `for i = ...`, if a local variable `i` already existed it would be overwritten
during the loop. This behavior is deprecated, and in the future `for` loop variables
will always be new variables local to the loop ([#22314]).
The old behavior of overwriting an existing variable is available via `for outer i = ...`.

* In `for i in x`, `x` used to be evaluated in a new scope enclosing the `for` loop.
Now it is evaluated in the scope outside the `for` loop.

* Variable bindings local to `while` loop bodies are now freshly allocated on each loop iteration,
matching the behavior of `for` loops.

* Prefix `&` for by-reference arguments to `ccall` has been deprecated in favor of
`Ref` argument types ([#6080]).

Breaking changes
----------------
Expand Down Expand Up @@ -115,10 +146,15 @@ This section lists changes that do not have deprecation warnings.
longer present. Use `first(R)` and `last(R)` to obtain
start/stop. ([#20974])

* The `Diagonal`, `Bidiagonal` and `SymTridiagonal` type definitions have changed from
`Diagonal{T}`, `Bidiagonal{T}` and `SymTridiagonal{T}` to `Diagonal{T,V<:AbstractVector{T}}`,
`Bidiagonal{T,V<:AbstractVector{T}}` and `SymTridiagonal{T,V<:AbstractVector{T}}`
respectively ([#22718], [#22925], [#23035]).
* The `Diagonal`, `Bidiagonal`, `Tridiagonal` and `SymTridiagonal` type definitions have
changed from `Diagonal{T}`, `Bidiagonal{T}`, `Tridiagonal{T}` and `SymTridiagonal{T}`
to `Diagonal{T,V<:AbstractVector{T}}`, `Bidiagonal{T,V<:AbstractVector{T}}`,
`Tridiagonal{T,V<:AbstractVector{T}}` and `SymTridiagonal{T,V<:AbstractVector{T}}`
respectively ([#22718], [#22925], [#23035], [#23154]).

* When called with an argument that contains `NaN` elements, `findmin` and `findmax` now return the
first `NaN` found and its corresponding index. Previously, `NaN` elements were ignored.
The new behavior matches that of `min`, `max`, `minimum`, and `maximum`.

* `isapprox(x,y)` now tests `norm(x-y) <= max(atol, rtol*max(norm(x), norm(y)))`
rather than `norm(x-y) <= atol + ...`, and `rtol` defaults to zero
Expand All @@ -140,6 +176,32 @@ This section lists changes that do not have deprecation warnings.
* Worker-worker connections are setup lazily for an `:all_to_all` topology. Use keyword
arg `lazy=false` to force all connections to be setup during a `addprocs` call. ([#22814])

* In `joinpath(a, b)` on Windows, if the drive specifications of `a` and `b` do not match,
`joinpath` now returns `b` instead of throwing an `ArgumentError`. `joinpath(path...)` is
defined to be left associative, so if any argument has a drive path which does not match
the drive of the join of the preceding paths, the prior ones are dropped. ([#20912])

* `^(A::AbstractMatrix{<:Integer}, p::Integer)` now throws a `DomainError`
if `p < 0`, unless `A == one(A)` or `A == -one(A)` (same as for
`^(A::Integer, p::Integer)`) ([#23366]).

* `^(A::AbstractMatrix{<:Integer}, p::Integer)` now promotes the element type in the same
way as `^(A::Integer, p::Integer)`. This means, for instance, that `[1 1; 0 1]^big(1)`
will return a `Matrix{BigInt}` instead of a `Matrix{Int}` ([#23366]).

* The element type of the input is now preserved in `unique`. Previously the element type
of the output was shrunk to fit the union of the type of each element in the input.
([#22696])

* The `promote` function now raises an error if its arguments are of different types
and if attempting to convert them to a common type fails to change any of their types.
This avoids stack overflows in the common case of definitions like
`f(x, y) = f(promote(x, y)...)` ([#22801]).

* `findmin`, `findmax`, `indmin`, and `indmax` used to always return linear indices.
They now return `CartesianIndex`es for all but 1-d arrays, and in general return
the `keys` of indexed collections (e.g. dictionaries) ([#22907]).

Library improvements
--------------------

Expand All @@ -166,7 +228,7 @@ Library improvements

* The `crc32c` function for CRC-32c checksums is now exported ([#22274]).

* The output of `versioninfo()` is now controlled with keyword arguments ([#21974]).
* The output of `versioninfo` is now controlled with keyword arguments ([#21974]).

* The function `LibGit2.set_remote_url` now always sets both the fetch and push URLs for a
git repo. Additionally, the argument order was changed to be consistent with the git
Expand All @@ -190,13 +252,18 @@ Library improvements

* `Char`s can now be concatenated with `String`s and/or other `Char`s using `*` ([#22532]).

* `Diagonal`, `Bidiagonal` and `SymTridiagonal` are now parameterized on the type of the
wrapped vectors, allowing `Diagonal`, `Bidiagonal` and `SymTridiagonal` matrices with
arbitrary `AbstractVector`s ([#22718], [#22925], [#23035]).
* `Diagonal`, `Bidiagonal`, `Tridiagonal` and `SymTridiagonal` are now parameterized on
the type of the wrapped vectors, allowing `Diagonal`, `Bidiagonal`, `Tridiagonal` and
`SymTridiagonal` matrices with arbitrary `AbstractVector`s
([#22718], [#22925], [#23035], [#23154]).

* Mutating versions of `randperm` and `randcycle` have been added:
`randperm!` and `randcycle!` ([#22723]).

* `BigFloat` random numbers can now be generated ([#22720]).

* REPL Undo via Ctrl-/ and Ctrl-_

Compiler/Runtime improvements
-----------------------------

Expand Down Expand Up @@ -255,8 +322,9 @@ Deprecated or removed
* `Bidiagonal` constructors now use a `Symbol` (`:U` or `:L`) for the upper/lower
argument, instead of a `Bool` or a `Char` ([#22703]).

* `Bidiagonal` and `SymTridiagonal` constructors that automatically converted the input
vectors to the same type are deprecated in favor of explicit conversion ([#22925], [#23035]).
* `Bidiagonal`, `Tridiagonal` and `SymTridiagonal` constructors that automatically
converted the input vectors to the same type are deprecated in favor of explicit
conversion ([#22925], [#23035], [#23154].

* Calling `nfields` on a type to find out how many fields its instances have is deprecated.
Use `fieldcount` instead. Use `nfields` only to get the number of fields in a specific object ([#22350]).
Expand Down Expand Up @@ -300,6 +368,12 @@ Deprecated or removed
full path if you need access to executables or libraries in the `JULIA_HOME` directory, e.g.
`joinpath(JULIA_HOME, "7z.exe")` for `7z.exe` ([#21540]).

* `sqrtm` has been deprecated in favor of `sqrt` ([#23504]).

* `expm` has been deprecated in favor of `exp` ([#23233]).

* `logm` has been deprecated in favor of `log` ([#23505]).

* Calling `union` with no arguments is deprecated; construct an empty set with an appropriate
element type using `Set{T}()` instead ([#23144]).

Expand All @@ -309,6 +383,54 @@ Deprecated or removed
* `Base.cpad` has been removed; use an appropriate combination of `rpad` and `lpad`
instead ([#23187]).

* `ctranspose` and `ctranspose!` have been deprecated in favor of `adjoint` and `adjoint!`,
respectively ([#23235]).

* `filter` and `filter!` on dictionaries now pass a single `key=>value` pair to the
argument function, instead of two arguments ([#17886]).

* `rol`, `rol!`, `ror`, and `ror!` have been deprecated in favor of specialized methods for
`circshift`/`circshift!` ([#23404]).

* `Base.SparseArrays.SpDiagIterator` has been removed ([#23261]).

* The tuple-of-types form of `cfunction`, `cfunction(f, returntype, (types...))`, has been deprecated
in favor of the tuple-type form `cfunction(f, returntype, Tuple{types...})` ([#23066]).

* `diagm(A::SparseMatrixCSC)` has been deprecated in favor of
`spdiagm(sparsevec(A))` ([#23341]).

* `diagm(A::BitMatrix)` has been deprecated, use `diagm(vec(A))` instead ([#23373]).

* `ℯ` (written as `\mscre<TAB>` or `\euler<TAB>`) is now the only (by default) exported
name for Euler's number, and the type has changed from `Irrational{:e}` to
`Irrational{:ℯ}` ([#23427]).

* The mathematical constants `π`, `pi`, `ℯ`, `e`, `γ`, `eulergamma`, `catalan`, `φ` and
`golden` have been have been moved from `Base` to a new module; `Base.MathConstants`.
Only `π`, `pi` and `ℯ` are now exported by default from `Base` ([#23427]).

* `eu` (previously an alias for `ℯ`) has been deprecated in favor of `ℯ` (or `MathConstants.e`) ([#23427]).

* `GMP.gmp_version()`, `GMP.GMP_VERSION`, `GMP.gmp_bits_per_limb()`, and `GMP.GMP_BITS_PER_LIBM`
have been renamed to `GMP.version()`, `GMP.VERSION`, `GMP.bits_per_libm()`, and `GMP.BITS_PER_LIBM`,
respectively. Similarly, `MPFR.get_version()`, has been renamed to `MPFR.version()` ([#23323]). Also,
`LinAlg.LAPACK.laver()` has been renamed to `LinAlg.LAPACK.version()` and now returns a `VersionNumber`.

* `select`, `select!`, `selectperm` and `selectperm!` have been renamed respectively to
`partialsort`, `partialsort!`, `partialsortperm` and `partialsortperm!` ([#23051]).

Command-line option changes
---------------------------

* New option `--warn-overwrite={yes|no}` to control the warning for overwriting method
definitions. The default is `no` ([#23002]).

* New option `--banner={yes,no}` allows suppressing or forcing the printing of the
startup banner, overriding the default behavior (banner in REPL, no banner otherwise).
The `--quiet` option implies `--banner=no` even in REPL mode but can be overridden by
passing `--quiet` together with `--banner=yes` ([#23342]).

Julia v0.6.0 Release Notes
==========================

Expand Down Expand Up @@ -780,7 +902,7 @@ Deprecated or removed
`pop!(ENV, k, def)`. Be aware that `pop!` returns `k` or `def`, whereas `delete!`
returns `ENV` or `def` ([#18012]).

* infix operator `$` has been deprecated in favor of infix `⊻` or function `xor()` ([#18977]).
* infix operator `$` has been deprecated in favor of infix `⊻` or function `xor` ([#18977]).

* The single-argument form of `write` (`write(x)`, with implicit `STDOUT` output stream),
has been deprecated in favor of the explicit equivalent `write(STDOUT, x)` ([#17654]).
Expand Down Expand Up @@ -1141,6 +1263,7 @@ Command-line option changes
[#22588]: https://github.com/JuliaLang/julia/issues/22588
[#22605]: https://github.com/JuliaLang/julia/issues/22605
[#22666]: https://github.com/JuliaLang/julia/issues/22666
[#22696]: https://github.com/JuliaLang/julia/issues/22696
[#22703]: https://github.com/JuliaLang/julia/issues/22703
[#22712]: https://github.com/JuliaLang/julia/issues/22712
[#22718]: https://github.com/JuliaLang/julia/issues/22718
Expand All @@ -1165,3 +1288,6 @@ Command-line option changes
[#23157]: https://github.com/JuliaLang/julia/issues/23157
[#23187]: https://github.com/JuliaLang/julia/issues/23187
[#23207]: https://github.com/JuliaLang/julia/issues/23207
[#23233]: https://github.com/JuliaLang/julia/issues/23233
[#23342]: https://github.com/JuliaLang/julia/issues/23342
[#23404]: https://github.com/JuliaLang/julia/issues/23404
Loading