https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
41013b1 Don't print key 20 February 2021, 00:54:07 UTC
f8f7b2b Update Documenter 19 February 2021, 02:36:59 UTC
1d2a69a Update Documenter 19 February 2021, 02:25:39 UTC
03aae96 Update the Documenter branch 19 February 2021, 01:40:32 UTC
87f2c3f Always deploy 19 February 2021, 00:43:17 UTC
47c70e6 Merge branch 'master' into mp/ssh-key-debug 19 February 2021, 00:43:00 UTC
11cbaf6 Use `MACOSX_VERSION_MIN=11` on Apple silicon (#39735) 19 February 2021, 00:19:22 UTC
0d47bfe Switch macOS task mechanism back to ASM (#39679) 5327824ec8c452410e2a2f755921764df9344855 rearranged the ifdefs here and switched macOS to unwind based switching, which is somewhat slower. That was deemed acceptable at the time, because it work around some GDB misbehavior in setjmp. However, we're about to update to the LLVM libunwind fork, which appears to be even slower here, so switch back to ASM to avoid that performance regression. 18 February 2021, 21:43:46 UTC
a235107 very minor type stability improvement (#39733) 18 February 2021, 21:35:57 UTC
f07b12b Fix typo in BitVector constructor (#39737) 18 February 2021, 21:32:40 UTC
87d0a0a Adapt codegen to return newly-defined method too. (#39691) 18 February 2021, 20:21:57 UTC
32b668e Don't form PartialStructs over tuples of trivial const info (#39684) This addresses an outstanding TODO in tuple_tfunc. There was an old comment there that cache logic would need adjusting for this change. However, we're already doing the equivalent of this in the inference for :new, so I think most of that is taken care of. I did notice that `is_lattice_equal` did not consider `Const` equal a singleton constant (though they already were lattice equal accoding to ⊑), but other than that, things seem to just work. The motiviation here was that these types get a bit messy when looking at types in the AD world, which have lots of tuples of lots of different singletons, but this should also help sysimage size a bit, since we do now store PartialStruct results. I also tried going further than this and reversing the normalization that singleton types be represented as `Const` elsewhere in inference, but that turned out pretty messy, since every check for Const basically needed to be updated to account for it. I'm guessing it's better to just leave that normalization in place. 18 February 2021, 20:12:10 UTC
ae9815e LLVM now requires `-std=c++14` or higher (#39707) Without these compiler flags, we run into errors such as: ``` error: unknown type name 'constexpr' ``` when including `llvm/Support/type_traits.h` 18 February 2021, 18:58:11 UTC
0926ed8 avoid corrupting String on conversion of StringVector to String (#39726) fix #39717 18 February 2021, 18:30:25 UTC
f485fd5 Add emit bounds check docs (#39724) 18 February 2021, 16:32:58 UTC
a163d3e fix the description of ctime (#39731) 18 February 2021, 16:31:32 UTC
779d693 Add checksums for LibCURL (#39702) 18 February 2021, 16:15:44 UTC
7853ddd Add Half precision ppc patch and codesign LLVM binaries (#39712) 17 February 2021, 22:09:48 UTC
0858864 fix #39705: lowering of Expr(:||) (#39709) 17 February 2021, 20:33:33 UTC
55d7571 Try to fix unwind on i686 (#39694) Turns out libunwind was basically ignoring value locations on the platform, so that needed to be enabled. Should hopefully fix linux32 CI. 17 February 2021, 18:39:51 UTC
7040ffb Minor refactoring to generate_precompile.jl (#39658) 17 February 2021, 15:20:01 UTC
dff13e1 Fix formatting in Base.Order.Ordering docstring (#39696) 17 February 2021, 07:24:16 UTC
014fbfb Use updated Documenter branch 17 February 2021, 03:57:59 UTC
093b2a6 avoid excessive renaming in subtype of intersection result (#39623) fixes #39505, fixes #39394 do fewer subtype checks in `jl_type_intersection2` 17 February 2021, 03:08:42 UTC
60c1808 DEBUG: Update to new documenter, use custom branch 17 February 2021, 01:23:45 UTC
af42a6f Print something if deployment skipped 17 February 2021, 01:23:19 UTC
cfc83f2 add white outline to logo (#39601) 17 February 2021, 01:00:32 UTC
7219d22 Fix docstring (#39678) 17 February 2021, 00:56:50 UTC
5cecac6 Use the mp/ssh-key-fingerprint branch of Documenter 17 February 2021, 00:37:40 UTC
bbdf1cf Merge pull request #39606 from JuliaLang/jn/inference-widenreturn Fixes some inference issues 16 February 2021, 21:54:20 UTC
6425845 Specialize `BigInt` construction for integers in range of `Clong` (#39682) This improves the performance with small `Int64` constants on 64-bit Windows. 16 February 2021, 21:37:36 UTC
55eca20 inference: fix widenconst call for ReturnNode of PartialStruct Previously, we might accidentally leave behind content in the fields that should not be there. For example: ``` julia> code_typed(() -> (TypeVar(:x),), (), optimize=false) 1-element Vector{Any}: CodeInfo( @ REPL[1]:1 within `#3' 1 ─ %1 = Main.TypeVar(:x)::Core.Compiler.PartialTypeVar(x, true, true) │ %2 = Core.tuple(%1)::Core.PartialStruct(Tuple{TypeVar}, Any[Core.Compiler.PartialTypeVar(x, true, true)]) └── return %2 ) => Tuple{TypeVar} julia> ans[1][1].rettype Core.PartialStruct(Tuple{TypeVar}, Any[Core.Compiler.PartialTypeVar(x, true, true)]) ``` 16 February 2021, 16:41:18 UTC
7c6b75f inference: add missing reset for stmt_info This only would matter if we transition a call from T -> Union{}, which is unlikely to happen, and even less likely to be observed, but it is more correct this way. 16 February 2021, 16:40:55 UTC
77b2c5d inference: remove some unneeded parameterization This logic is present to avoid asking ill-posed questions after we discover the dataflow is terminated, similar to how we'd remove the code after throw or a constant branch. Refs: https://github.com/JuliaLang/julia/pull/39439#discussion_r573423919 16 February 2021, 16:40:27 UTC
b8310ed another fix for 'error during bootstrap' printing 16 February 2021, 16:40:27 UTC
1bc7f43 improve many type stabilities in `Core.Compiler.typeinf` (#39549) All of them are detected by JET.jl's self-profiling. The following code will print type-instabilities/type-errors for all code paths reachable from `typeinf(::NativeInterpreter, ::InferenceState)`. ```julia julia> using JET julia> report_call(Core.Compiler.typeinf, (Core.Compiler.NativeInterpreter, Core.Compiler.InferenceState); annotate_types = true) ``` The remaining error reports (e.g. `variable Core.Compiler.string is not defined`) are because of missing functionality on error paths. 16 February 2021, 16:34:36 UTC
b1fbe7f Fix method definition of BroadcastStyle in docs (#39686) 16 February 2021, 09:06:51 UTC
c48ae61 Merge pull request #39664 from JuliaLang/tb/return_method libjulia: return newly-defined method. 16 February 2021, 08:59:59 UTC
ef14131 Update to LibCURL 7.73.0+4 (#39625) * Update to LibCURL 7.73.0+4 New build includes compatibility macOS 11 / Apple Silicon * Fix building LibCURL from source on Apple Silicon 15 February 2021, 22:29:03 UTC
0d67f0d Improve countlines docstring (#39677) The last result was 0, but that's just because the IO has already moved the stream pointer to EOF, not because of anything to do with the `eol` keyword argument. 15 February 2021, 22:03:47 UTC
a92d7de Missing tests for string() (#39660) 15 February 2021, 17:44:52 UTC
d4bd842 Test only minimum duration of `timedwait` (#39659) 15 February 2021, 17:43:36 UTC
2e80fc8 Add isdone(itr::ReadEachIterator, state...) (#39662) This prevents `isempty` and friends from advancing the iterator when they shouldn't. Note: `collect(readeach(io, T))` can throw an exception if `io` isn't a multiple of the right size. `isempty` will still return `false`, even if the next call to `iterate` will throw an exception. Similar to: #27412 15 February 2021, 17:43:19 UTC
631f257 Add doc to explain how to test an absence of logger messages for test_logs macro. (#39670) * Add doc to explain how to test an absence of logger messages for test_logs macro. * remove tailed white spaces 15 February 2021, 17:42:11 UTC
715e626 Add compat notes for Julia 1.6 (#39671) 15 February 2021, 17:40:39 UTC
a28f723 UnitRange{Int} -> unitrange (#39668) 15 February 2021, 17:40:30 UTC
88c0e25 Add `PartialOpaque` lattice element for OpaqueClosure (#39512) This adds a lattice element for tracking OpaqueClosures in inference, but does not yet do anything with it. The reason I'm separating this out is that just the introduction of the lattice element raises some tricky issues. In particular, the lattice element refers back to the OpaqueClosure method, which we currently don't support in the serializer. I played with several ways of adding support for that, but in the end it all ended up super complicated for questionable benefit, so in this PR, CodeInstances that get inferred to `PartialOpaque` get omitted during serialization (i.e. they will be reinfered upon loading the .ji). 15 February 2021, 17:03:15 UTC
37aea06 Use lower limit on number of threads in cmdlineargs test (#39667) 200 is still too high for some 32-bit systems. 15 February 2021, 16:00:23 UTC
686bc62 small fix 15 February 2021, 13:33:10 UTC
27ce2b3 libjulia: return newly-defined method. 15 February 2021, 07:26:15 UTC
2eeef2e faster, more accurate log2, log10 (#39556) * faster, more accurate log2, log10 * fix error message for negative numbers * fix rebase * Maybe fix doctest for domainerror * Fix accidental change * don't use metaprogramming * fix typo 14 February 2021, 18:01:49 UTC
05f78df add Base.pkgdir to docs (#39646) 14 February 2021, 00:20:45 UTC
28cf8ce Fix a C compiler warning (#39643) 14 February 2021, 00:20:24 UTC
3d95d47 Test for endswith (#39649) 14 February 2021, 00:20:08 UTC
1eb5d78 Merge pull request #39647 from JuliaLang/nl/floatcomplex Implement float() and complex() for Missing 14 February 2021, 00:15:46 UTC
351e82e Fix ambiguous test 13 February 2021, 21:38:23 UTC
f308b09 Revert "Fix ambiguous test" This reverts commit cc8f84f438cb1fec85601919ba5b03ac10559a73. 13 February 2021, 21:37:36 UTC
cc8f84f Fix ambiguous test 13 February 2021, 21:18:33 UTC
4e9bfa2 Implement float() and complex() for Missing `float` is already defined for `missing` and `AbstractArray{Union{T, Missing}}`. Add a definition taking a type consistent with these methods. Also implement similar definitions for `complex`. 13 February 2021, 17:56:34 UTC
6468dcb Lock cfunction trampoline cache and freelist accesses. (#39621) Co-authored-by: Valentin Churavy <v.churavy@gmail.com> 13 February 2021, 02:44:29 UTC
62a3b26 update missing LibGit2 checksums (#39500) Missed in https://github.com/JuliaLang/julia/pull/39364 12 February 2021, 22:18:54 UTC
abd56cd improve constraint propagation with multiple || (#39618) fixes #39611 12 February 2021, 21:25:57 UTC
fc47e95 fix #39600: broadcast fusion broken for comparison (#39602) 12 February 2021, 19:55:26 UTC
e7921da expand use of egal for testing type equality (#39604) fixes #39565 12 February 2021, 19:51:39 UTC
91b7c76 Update Pkg.jl (#39616) * Update Pkg.jl $ git log --pretty=format:"%h %s" fe759b2..47105aa 47105aa Add `tree_hash()` debugging output (Pkg.jl-2383) bc8532f Run GitHub Action on master and release branches (Pkg.jl-2389) 6c1e899 Another GHA windows fix: run with bash, fix TEMP fix, add sanity check for correct Pkg under test (Pkg.jl-2390) 2a0a18d If the `JULIA_PKG_SERVER` environment variable is not set, use Git for cloning registries (Pkg.jl-2377) 5e9ecd6 Fix p7zip usage on alpine (Pkg.jl-2382) ec6b34f prevent github actions CI git from changing \n to \r\n (Pkg.jl-2384) cf114f3 use a consistent alternative uuid across CI platforms (Pkg.jl-2379) f269fd4 Enable windows on github actions CI (Pkg.jl-2372) 8fbdbd9 Precompile: add `strict` kwarg to control whether indirect deps throw (Pkg.jl-2362) 320ec76 Precomp: Halve the default number of precompilation tasks in windows to avoid ReadOnlyMemoryError (Pkg.jl-2366) 76402b8 Fix invalidations from LatexStrings and PyPlot (Pkg.jl-2365) 4e93bc7 improve the `update`(REPLMode) document (Pkg.jl-2347) 4ffa905 overwrite registry folders that don't contain a Registry.toml (Pkg.jl-2356) 695d019 disable autoprecomp if --compiled-modules=no (Pkg.jl-2360) 7bf206e only use git on Windows for default pkg server (Pkg.jl-2364) f00fa96 Deprecate `ensure_all_artifacts_installed()` 60c98c4 Add hook to augment `Platform` objects for Artifact selection 1f12cac Add test for Pkg.jl-2302, closes Pkg.jl-2302 (Pkg.jl-2352) e54b83c Fix `is_instantiated()` (Pkg.jl-2338) a832dca Catch errors during `recursive_dir_size()` (Pkg.jl-2345) 625d764 Registry: Change update from `cp` to `mv` (Pkg.jl-2349) 204b405 fix reference to PkgError (fixes Pkg.jl-2350) (Pkg.jl-2351) * Add p7zip_jll to precompile tests since Pkg depends on it now. 12 February 2021, 17:43:31 UTC
50742c7 Mark failures in rr traces (#39630) This makes it easy to navigate to failed test in long rr traces by setting a breakpoint in `jl_breakpoint`. Longer term we may want to do something fancier to enable automation, but hopefully this is at least makes it easier to debug traces from Julia CI. 12 February 2021, 01:31:28 UTC
296acf2 Fix for infinite loop when passing 0d array to setindex of n-dim arrays (#39608) * Fix for infinite loop with 0d array * Consistency * More consistency * Test 11 February 2021, 23:38:34 UTC
2687bbb Update Downloads.jl: (#39615) $ git log --pretty=oneline --abbrev=commit 0d798cf..2b4bed9 2b4bed901185edcb59389515378eba2f26aaa577 Disable HTTP/2. (#96) 88a217c50bc165a10009c7b8c617e458a1e0ad0e Fix optoin typo (#92) 11 February 2021, 21:47:35 UTC
4f854b4 Add `JULIA_PKG_SERVER` to Environment Variables in docs (#39603) 11 February 2021, 13:01:51 UTC
99f98dd special/exp.jl: fix broken jldoctest block (#39610) This was introduced in 0097bddf900c16a7c7591671a6a3a0e2bd8acb4d. 11 February 2021, 11:06:50 UTC
4a3537b [p7zip_jll] Set `LIBPATH` and `LIBPATH_list` at init-time (#39591) 11 February 2021, 00:39:34 UTC
ce5bd1c clarify documentation for @view (#39542) * clarify documentation for at-view * fix typo * Apply suggestions from code review Co-authored-by: Matt Bauman <mbauman@juliacomputing.com> Co-authored-by: Matt Bauman <mbauman@juliacomputing.com> 10 February 2021, 11:54:23 UTC
f13213d fix some invalidations with ChainRulesCore (#39506) 10 February 2021, 04:36:42 UTC
4430ae8 generate_precompile: Move parsing into try/catch (#39592) Our printing for precompile statements is not 100% reliable (#28808) and can fail. I introduced the extra `parse` call in the Varargs change, but because of #28808, it needs to go inside the try/catch. 10 February 2021, 03:33:54 UTC
ae703be add pid to test logs under rr (#39577) Should make starting replay much easier 10 February 2021, 00:43:59 UTC
1ef49c8 inference: parameterize some of hard-coded inference logic (#39439) This commit parameterizes some of hard-coded inference logic: - to bail out from inference when a lattice element can't be refined or a current inference frame is proven to throw or to be dead - to add call backedges when the call return type won't be refined Those `AbstractInterpreter`s used for code optimization (including `NativeInterpreter`) usually just want the methods defined for `AbstractInterpreter`, but some other `AbstractInterpreter` may want other implementations and heuristics to control inference process. For example, [`JETInterpreter`](https://github.com/aviatesk/JET.jl) is used for code analysis and wants to add call backedges even when a call return type is `Any`. 10 February 2021, 00:40:43 UTC
5d7e13f [loading] Search in Sys.STDLIB if name/uuid is known. (#39572) Locating a package with known uuid means the uuid was either found in a manifest in LOAD_PATH or a "package folder" in LOAD_PATH. However, looking up the package entrypoint fails for stdlibs that are not in the sysimage, even if they have been explicitly added to project/manifest by the user. This patch allows looking in Sys.STDLIB after stdlibs, fixes #39504. 09 February 2021, 21:25:37 UTC
8f60d5c freebsd: Register JIT unwind info (#39581) I noticed in https://github.com/JuliaLang/julia/pull/39553 that JIT unwind info didn't actually work on FreeBSD. As a general policy, we should register our frame info to make sure that our unwind is accurate. Libunwind has some heuristics to fall back to, but they can break e.g. for large stack frames. 09 February 2021, 20:25:21 UTC
35a9a12 add missing io arg to `print_statement_costs` (#39579) 09 February 2021, 20:09:42 UTC
bc4e207 fix bug in `let` when a global var is both shadowed and used in an RHS (#39570) 09 February 2021, 20:08:55 UTC
340734f strengthen the inference barrier to show a Type (#39575) 09 February 2021, 19:59:46 UTC
53f44fe test: fix small race in AsyncCondition test (#39583) There was a small race window where the second t might not have finished exiting, leading to interference in the Workqueue, resulting in process_events from running again before the async callback had a chance to run and dequeue the first event. (This test is probably much stronger than necessary.) N.B. This depends on the recent changes in af353ecb76310589f3baf3e746ee35c7e894672d for being able to extract the internal state needed for the sake of the test. Fixes #39527 09 February 2021, 19:54:01 UTC
df7334a Improve error when generated function is not pure (#39568) I hadn't realized that this included generators so it could help others. 09 February 2021, 19:40:44 UTC
78c448f [file] Fix relative symlinks to directories on Windows (#39491) 09 February 2021, 19:39:43 UTC
7bc2110 outdent `UUID` doc (#39585) 09 February 2021, 14:05:14 UTC
bbf7f97 Fix misunwind during Profile test under rr (#39553) Libunwind improperly aliases RSP and CFA, which are separate concepts. Fix that. 09 February 2021, 13:57:21 UTC
2155772 Do not print delimiters twice in show(::OffsetMatrix) for matrices with certain shifted axes (#39522) 09 February 2021, 08:54:30 UTC
8458ca1 Merge pull request #39578 from JuliaLang/ksh/noldexp Remove unused ldexp code 09 February 2021, 03:07:54 UTC
744ff15 Revert "Add exhaustive tests for Float16 unary functions" This reverts commit a98565616db113c4c2b0a6a6df8a240353b678e8: this was only intended to be a PR (#39580), it is currently does not yet work. 09 February 2021, 03:01:07 UTC
a985656 Add exhaustive tests for Float16 unary functions This tests every `Float16` value for the following functions. `sin,cos,tan,asin,acos,atan,sinh,cosh,tanh,asinh,acosh,atanh,exp,exp2,exp10,expm1,log,log2,log10,log1p,sqrt,cbrt` Specifically, I think it is reasonable that any Float16 implementation in Base be accurate to .5 ULP since Float16 already is a very unstable type. This test takes about 5 seconds on my computer, so before merging, it would be a good idea to make sure this is acceptable for CI. 09 February 2021, 00:24:21 UTC
2cc07a5 Remove unused ldexp code 08 February 2021, 22:04:04 UTC
cf7e1fc Test for arg error in cfunction and simple transcode tests (#39561) 08 February 2021, 20:32:47 UTC
ede6486 Add `Base.isdone(itr::EachLine, state...)` (#39562) With this method, `isempty` won't consume values from the iterator (See #27412). 08 February 2021, 20:30:22 UTC
fd43841 remove old fallbacks for subtype Real (#39564) remove redundant Float16 methods for log2, log10, sqrt, and cbrt, replaced in #39537 08 February 2021, 20:26:41 UTC
4c5d62b [build] Fix out-of-tree `stringreplace` invocations (#39567) Because we now store these strings in `libjulia-internal`, we need to call `stringreplace` on that library instead of `libjulia`. 08 February 2021, 20:23:51 UTC
75b20b4 Fix doctest failure introduced by #38941 (#39571) 08 February 2021, 20:21:39 UTC
e9e6eca Mention `\Q...\E` in `Regex` docstring and manual (#38941) 08 February 2021, 15:05:15 UTC
e3753e1 use sparse multiplication for sparse arrays time BitMatrix and BitVector and wrappers (#39557) 08 February 2021, 14:37:47 UTC
bc2b854 Improve first/last docstrings (#39560) * improve first/last docstrings improve `first`/`last` docstrings to indicate that two new methods have been added since v1.6 (#34868) * Update abstractarray.jl remove the trailing whitespaces 08 February 2021, 14:31:45 UTC
5ab3ed6 Merge pull request #36703 from mrdofu/dates-docstrings added docstrings for date exports 07 February 2021, 22:16:33 UTC
back to top