https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
9d6e3f2 Update div.jl 13 December 2020, 19:51:58 UTC
7722d6b Update base/div.jl 13 December 2020, 19:51:58 UTC
2a97fd9 Update base/div.jl 13 December 2020, 19:51:58 UTC
99cb5da documentation fld(x,y) in div.jl corrected 13 December 2020, 19:51:58 UTC
888df7a update documentation of fld(x,y) in div.jl Added an example with explanation why floating-point rounding can lead to an alleged violation of the fld(x,y)==x/y condition 13 December 2020, 19:51:58 UTC
d34cc20 Use https links in a doc link (#38866) Co-authored-by: EternalLearner42 <46832510+EternalLearner42@users.noreply.github.com> 13 December 2020, 19:45:23 UTC
9f4a807 Adjust calling convention of LAPACK functions (#38836) * Adjust calling convetion of dgebal and co * Adjust calling convention of BLAS & LAPACK 13 December 2020, 19:32:33 UTC
8f2b0e7 Use DEPOT_PATH instead of HOME in cmdlineargs test (#38855) 13 December 2020, 00:55:52 UTC
ddd977d Merge pull request #38853 from JuliaLang/aa/checksum Commit checksums for libosxunwind 12 December 2020, 20:57:04 UTC
e10d7a3 Commit checksums for libosxunwind This avoids a dirty repo state after building on macOS. 12 December 2020, 19:06:54 UTC
b3eaa34 improve inferrabilities within TOML module (#38831) * improve inferrability within TOML module * simplify with `@try` macro * apply suggestion, use `Int64` 12 December 2020, 09:30:00 UTC
bc14e28 Merge pull request #38798 from JuliaLang/vc/ppc [LLVM] add patch for miscompilation with setjmp on PPC 12 December 2020, 05:43:58 UTC
649c18a Update libLLVM, LLVM, and Clang 12 December 2020, 04:06:32 UTC
d00c851 Fix bugs in the checksum generator 12 December 2020, 04:06:11 UTC
fe141ca [LLVM] add patch for #38773 12 December 2020, 03:27:35 UTC
7f7fa18 [LLVM] add patch for miscompilation with setjmp on PPC 12 December 2020, 03:27:35 UTC
7d137e9 devdocs: slots live in CodeInfo, not MethodInstance (fix #38840) (#38843) 12 December 2020, 00:14:55 UTC
26b73d6 Accept AbstractChar in count and findall (::Char, ::String) (#38675) This change solves an issue raised in this post, in which searching for a char in a string results in a Method error: https://discourse.julialang.org/t/method-for-counting-characters-in-string-count-a-batman-vs-count-a-batman/51153 Co-authored-by: Stefan Karpinski <stefan@karpinski.org> Co-authored-by: Steven G. Johnson <stevenj@mit.edu> 11 December 2020, 21:38:01 UTC
3d3cf1b range: avoid int overflow in type computation (correction to #38745) (#38814) 11 December 2020, 21:20:24 UTC
1a58783 Resize credential buffer in winprompt in case of failure (#38828) 11 December 2020, 20:18:54 UTC
99402b4 doc: slight updates to noteworthy differences from Python (#38027) * Correct a few typos * Mention that Python comes with single-dispatch * Correct method example for Python and Julia * Apply suggestions from code review Co-authored-by: Stefan Karpinski <stefan@karpinski.org> 11 December 2020, 09:55:17 UTC
c2b30f8 Add note about (un)shift to (push/pop)first docs (#38823) This would be helpful for new users when searching for these functions via e.g. apropos(). 11 December 2020, 09:53:46 UTC
b7d5240 Bump Documenter to 0.26.0 (#38826) Also, remove DocumenterLaTeX, since the PDF/LaTeX backend is now again provided by Documenter directly. 11 December 2020, 09:14:55 UTC
d8975fa Converge JLL APIs a bit more (#38797) The initial draft of Fake JLLs missed some important points in JLL API compatibility; let's close the gap somewhat, where we can. This PR adds the following exports: * `get_artifact_dir()`: returns the Julia prefix * `dev_jll()`: Throws an error * `best_wrapper`: always set to `nothing` * `get_*_path()`: returns the path of the identified library product It also converts all fake JLL modules to `baremodule`s, and sets the appropriate compiler options to minimize compilation. 11 December 2020, 04:35:28 UTC
1170206 Base.download: remove DOWNLOAD_HOOKS mechanism (#38818) 11 December 2020, 00:28:54 UTC
ab35e37 Do not return disconnected IdDict from Docs.meta (#38821) Fixes #38819 Fixes https://github.com/timholy/Revise.jl/issues/583 10 December 2020, 23:55:34 UTC
e539f18 A few missing AbstractArray tests (#38806) 10 December 2020, 20:52:39 UTC
edfcd5a [automated] Bump the Downloads stdlib from 02e77ae to a6e4926 (#38816) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 10 December 2020, 18:59:51 UTC
36fbb9a [automated] Bump the NetworkOptions stdlib from 3d8a45c to a251de1 (#38809) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 10 December 2020, 14:25:51 UTC
ad523d5 Dimension mismatch with SymTridiagonal's eigen (#38793) * fix 38765 * update test 10 December 2020, 13:12:41 UTC
a704dd9 Simple test for filter for IdDicts (#38807) 10 December 2020, 07:38:43 UTC
98fdf75 Add test for WeakKeyDict soundness (#38802) The underlying issues was addressed with the change in WeakRef semantics in #38180. However, we still want the test. Closes #38727 10 December 2020, 02:14:16 UTC
9a8a675 Try to close race condition in FileWatching tests (#38407) * Try to close race condition in FreeBSD tests We're seeing frequent test failures in the FileWatching test on FreeBSD. Here's my theory of what happens: - Both the timer callback and the poll callback execute on the same libuv loop - They each schedule their respective tasks - Whichever task gets scheduled first first determines the result However, in the test, we expect that, if the poll callback ran, (which we know because we know there was an event pending), then that result does actually get delivered to the toplevel task. This PR tries to close this hole by adding the following condition: If the task is no longer waiting on the file watcher (because libuv already scheduled it), then wait for the task to run to completion, independent of any timeout. I believe this should close the above race condition and hopefully fix the test. * Add another super-short timeout to try to trigger the same-tick issue 09 December 2020, 22:36:49 UTC
b407c5a [LibCURL]: Reconcile BB and from-source configuration of LibCURL. (#38796) We switched away from using MbedTLS on all platforms to use the native TLS libraries on Windows/MacOS; let's ensure that a from-source build does the same here as well. 09 December 2020, 22:30:58 UTC
d6f9948 Fix duplicated ldiv! method in qr.jl (#38801) Introduced in #38389 09 December 2020, 22:23:10 UTC
ca3cd04 add doctests for frexp, expm1, exponent (#36352) Co-authored-by: Viral B. Shah <ViralBShah@users.noreply.github.com> 09 December 2020, 20:47:43 UTC
b4e1746 Make eltype of range(::Integer; step, length) depend on typeof(step) (#38745) * Make eltype of range(::Integer; step, length) depend on typeof(step) * Avoid unnecessary eltype widening * Remove multiplication with false 09 December 2020, 19:20:52 UTC
75a3d31 add replace methods for Tuple (#38216) * verbose replace for Tuple * add replace methods for Tuple 09 December 2020, 19:14:22 UTC
639d361 define `method bytesavailable(::DevNull)` (#38770) 09 December 2020, 18:52:58 UTC
97266be Add test_broken for #24333 (#38769) 09 December 2020, 18:52:11 UTC
811e2c0 Merge pull request #38784 from JuliaLang/kf/ccsisdefined Add isdefined check `count_const_size` 09 December 2020, 18:34:04 UTC
e4da832 [automated] Bump the Tar stdlib from 0ba9683 to ac4d442 (#38786) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 09 December 2020, 17:52:20 UTC
0f11a7b this is now 1.7 news 09 December 2020, 17:14:53 UTC
ebf54b4 Set the `@JuliaLang/github-actions` team as the code owners for GitHub Actions workflow files (#38783) 09 December 2020, 16:06:46 UTC
5f1b21b Bump CSL version (#38776) Fixes https://github.com/JuliaLang/julia/issues/38758 09 December 2020, 16:06:33 UTC
448f85d Qualify function when printing MethodInstance (#38608) Also print file & line for the case `l.def::Module`. This is already done for stackframes but it is useful to implement it more generally. 09 December 2020, 15:56:57 UTC
a1106b8 error message for indexing with BitArray (#38689) * error message for indexing with BitArray * modify show_index instead * use BitMatrix in error message * update error msg * BitVector !? 09 December 2020, 13:34:15 UTC
a813a6e Fixed #38346: Eigen decomposition of Symmetric Matrix containing NaNs now throws exception (#38408) 09 December 2020, 12:25:15 UTC
293e60c Permit Bidiagonal represents empty matrix (#38392) 09 December 2020, 12:21:24 UTC
b1a2847 Avoid allocation in ldiv! with QR (#38389) Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de> 09 December 2020, 12:17:31 UTC
ce795bc Set VERSION to 1.7.0-DEV, move 1.6 NEWS to HISTORY (#38076) 09 December 2020, 09:15:41 UTC
599d329 Revert "Switch to LLVM ORC v2" #38008 (#38785) * Revert "Let Orc handle JITEventListerners" This reverts commit ef84df1e2549926d8311196ee4dd84bec79a7450. * Revert "ExecutionSession no longer takes VModuleKey" This reverts commit b8c5da1e53d0d73b124c2d7ccfad33dbeabea8ba. * Revert "LLVM: switch to Orc v2 API" This reverts commit 2d178e4c79d0dff9fd686675795d9ac5cc071228. 09 December 2020, 09:00:58 UTC
0c10641 Revert "Replace LinearAlgebra._iszero by Base.iszero" (#38764) * Revert "Replace LinearAlgebra._iszero by Base.iszero (#36194)" This reverts commit e7a1b99c129c2e76a684754fb709593c71d7ad44. * add test 09 December 2020, 08:50:42 UTC
793f875 Don't accidentally skip over pointers in count_const_size Since we can inline pointer-containing structs into other structs now, an `isptr` check is insufficient to determine whether or not we need to recurse here. Also check the actual type of the field in addition. 09 December 2020, 04:37:39 UTC
1327b5c Add isdefined check `count_const_size` This doesn't do much currently, because we only call this function on `Const` objects which we don't currently create if the initialization of the object is incomplete, but we may want to do so in the future, so might as well be defensive about it. 09 December 2020, 03:36:50 UTC
2f5fb47 fix #38639, mktemp names not always unique on windows in test (#38779) 08 December 2020, 23:48:05 UTC
409fa0a [automated] Bump the Tar stdlib from 1b63f2a to 0ba9683 (#38755) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 08 December 2020, 22:59:08 UTC
624e734 fix numerous issues with WeakKeyDict (#38180) Delay cleanup of WeakKeyDict items until the next insertion. And fix `get!`, since previously usage of it would have added keys without finalizers to the dict. Fixes #26939 08 December 2020, 22:09:42 UTC
aa2a35a Merge pull request #38778 from JuliaLang/jb/16news-2 NEWS edits and license headers for 1.6 08 December 2020, 21:25:07 UTC
b1c46b6 Fix typo. (#38721) 08 December 2020, 21:22:14 UTC
42af002 Test for #26771 (#38768) Co-authored-by: Tim Holy <tim.holy@gmail.com> 08 December 2020, 20:46:46 UTC
b9c8139 add some missing license headers 08 December 2020, 20:38:47 UTC
5a41ce8 more NEWS edits for 1.6 08 December 2020, 20:38:43 UTC
7b6a05a Merge pull request #38771 from JuliaLang/ksh/checkden Add test for checked_den promotion in rational 08 December 2020, 19:25:44 UTC
0a0778c Merge pull request #38767 from JuliaLang/ksh/overflow Remove unused H_OVERFLOW_X variables 08 December 2020, 19:25:30 UTC
46a1a8a add locks for debug info reads that are internally mutating (#38710) fixes #35072 08 December 2020, 19:25:08 UTC
52e3e9e Add test for checked_den promotion in rational 08 December 2020, 16:42:24 UTC
24bd602 Remove unused H_OVERFLOW_X variables 08 December 2020, 16:14:11 UTC
af0006e Have contrib/fixup-libstdc++ look in the private libdir for libjulia-internal. (#38760) 08 December 2020, 09:42:11 UTC
be073d2 fix TOML printer for empty tables (#38746) Co-authored-by: Roger Luo <rogerluo.rl18@gmail.com> 08 December 2020, 07:19:10 UTC
30d309a Merge pull request #38008 from JuliaLang/jn/orcv2 Switch to LLVM ORC v2 08 December 2020, 05:13:42 UTC
ef84df1 Let Orc handle JITEventListerners 08 December 2020, 03:28:13 UTC
b8c5da1 ExecutionSession no longer takes VModuleKey 08 December 2020, 03:28:13 UTC
ad6f14f cmake,LLVM: better xcross configuration DRY some variables, and pass others along better 08 December 2020, 03:28:13 UTC
2d178e4 LLVM: switch to Orc v2 API This should not be a user-visible change, but should prepare us for being able to use new APIs (the legacy ones are deleted now on LLVM master / v12). 08 December 2020, 03:28:13 UTC
9f801ea llvm: switch from assert to cantFail Ensures that this usage is proper even if using an LLVM assertions build, but not using FORCE_ASSERTIONS=1 in Julia 08 December 2020, 03:28:13 UTC
8a5ac94 make firstindex(a,d) and lastindex(a,d) default to calling axes(a,d) (#38742) 08 December 2020, 03:24:07 UTC
e585557 Revert "Hint on how to type the ÷ sign (#38720)" (#38756) This reverts commit b58e8791c9905493831e82364c49179f9dcaf9af. 08 December 2020, 01:45:16 UTC
ef6ef82 add partially-applied versions of ∋, ∉, ∌, occursin (#38475) 07 December 2020, 23:52:55 UTC
7329e71 Remove vestigial JLLWrappers compat entry (#38754) 07 December 2020, 22:06:51 UTC
322255c Add `Regex` to the manual (#38752) 07 December 2020, 22:03:19 UTC
e65c526 Iterator interface: Change i to item in example (#38740) Many iterators have an internal counter of iterations for the abort condition, e.g. `Squares` in the example. When implementing such an iterator while following this example, the naming can be a bit misleading because `i` in the example is _not_ a counter but instead the next item of the iteration. However, `i` is also commonly used as a counter in iterations. I think renaming it to `item` makes it a bit clearer. (cc @miguelraz) 07 December 2020, 21:54:12 UTC
b58e879 Hint on how to type the ÷ sign (#38720) The ÷ sign is the only operator in this chapter which has no dedicated key on the keyboard. With the Unicode input being at the very end of the documentation, newcomers probably do not know how to write the integer division sign. Therefore, I added this short hint on how to type it. 07 December 2020, 21:48:14 UTC
aee7ec1 [libjulia] correct soname to use only major version number (#38748) The soname was changed in #38160 to be libjulia.so.1.6 instead of libjulia.so.1, but probably not on purpose. This contradicts what is written in the comment in Make.inc and it breaks e.g. libcxxwrap_julia_jll which is linked against libjulia.so.1. See https://github.com/JuliaPackaging/Yggdrasil/issues/2233 07 December 2020, 20:52:00 UTC
18b7fee Allow a slightly wider class of constants to be inlined (#38732) Currently we only inline constants (i.e. replace Const() yielding statements by the constants themselves) if the constant in question is isbits. We do this to avoid blowing up the size of the IR by inlining constants that are too large. However, there are some useful small constants that this definition ignores. E.g. I was working with structs of the form: ``` struct Dims d::NTuple{N, Int} where N end ``` and the IR was littered with various pure statements that the optimizer wouldn't inline because this struct isn't considered isbits (side-note, I want to change that, but that's a separate issue). Here I'm proposing changing the criteria for a struct to be eligible for inlining slightly: Rather than just looking for isbits, we recurse through any immutable, isbits fields and as long as the size of all structs combined isn't too large, we allow the inlining. 07 December 2020, 19:25:25 UTC
5e048f3 Fix inference precision regression for functions returning PartialStruct (#38731) Consider the included test case: ``` f_partial_struct_constprop(a, b) = (a[1]+b[1], 2) g_partial_struct_constprop() = Val{f_partial_struct_constprop((1,), (1,))[1]}() ``` The function `f_partial_struct_constprop` used to infer to `Tuple{Int, Int}` be eligible for constprop and then get improved to `Const((2,2))`. However, at some point we sharpened the original inference to `PartialStrict((::Int, 2))`, which caused an early-out that prevented the consideration of this method for constant propagation purposes, regressing the overall inference result to `Tuple{Int, Int}`. Fix that by allowing `PartialStruct` to pass through the early out. I'm not seeing any impact on inference times. 07 December 2020, 19:24:48 UTC
057c316 Merge pull request #38736 from JuliaLang/vc/sret [LLVM] Set type of StructRet attribute 07 December 2020, 19:15:51 UTC
048bde0 Add syntax highlighting to code examples in logging.jl (#36655) * Update logging.jl To make the highlighting style consistent: ``` ==> ```julia * Update base/logging.jl Co-authored-by: Viral B. Shah <ViralBShah@users.noreply.github.com> Co-authored-by: Matt Bauman <mbauman@gmail.com> 07 December 2020, 14:57:57 UTC
cf9bcc7 clarification to sincos and sincospi docs 07 December 2020, 13:15:10 UTC
d06c2a9 Try to avoid deadlock in Distributed test (#38714) What I believe is happening here is that, since put! is a yield point, the remote call finishes and the async task gets run before the `wait` statement is reached, thus causing a deadlock. I don't have 100% proof that this is the issue, but I did see the test hanging during this test, so I figured it's worth a try. May help #38712 (particularly, the second of the linked test failures). 07 December 2020, 02:22:17 UTC
9a0de1d Propagate more errors in Distributed test (#38717) 07 December 2020, 02:21:46 UTC
1cf5bd5 bump Pkg to fix hash failure in some artifacts (#38733) 07 December 2020, 01:22:47 UTC
1fe854e Merge pull request #38738 from KlausC/krc/SHAfix fixed bug in SHA.jl 07 December 2020, 00:11:12 UTC
39a6c0d document correct usage for shell_escape_wincmd (#38513) Note that most resources online are wrong, and even `cmd /c help cmd` prints the wrong list, so it is important to be clear here about the actual guarantees this function can afford. Refs #38352 06 December 2020, 23:00:01 UTC
e609b8b win: allow key Inno variables to be set during compile time (#37241) 06 December 2020, 21:53:05 UTC
814a0d3 set type of StructRet attribute 06 December 2020, 20:42:02 UTC
6eef7b6 [Compiler] call error() instead of error(), since the later is not callable yet (#38708) 06 December 2020, 20:10:47 UTC
6371070 Enable themes for Windows common controls and dialogs (#38705) 06 December 2020, 19:16:43 UTC
d5b8db5 win32: implement enumeration of modules ourselves (#33062) 06 December 2020, 19:15:54 UTC
aa4f341 Add missing news from #36146 (#37909) * Add missing news from #36146 * qualify DevNull * say devnull * Update NEWS.md Co-authored-by: Kristoffer Carlsson <kricarl@student.chalmers.se> Co-authored-by: Kristoffer Carlsson <kricarl@student.chalmers.se> Co-authored-by: Viral B. Shah <ViralBShah@users.noreply.github.com> 06 December 2020, 18:56:08 UTC
back to top