https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
9125bbb Remove unnecessary Artifact.toml files for fake-jll packages. 13 November 2020, 12:07:29 UTC
3dc54a2 (Re)move some GC pushes to be defensive about #35708 (#38355) Somebody sent me a (Julia 1.4) trace that turned out to have the same root cause as #35708. I took a look around just to be sure that there was no other instance of this pattern and while I didn't see any, I did see a useless push/pull pair as well as a GC_PUSH of an unitialized struct. While neither are a problem by themselves, they will prevent the GC analyzer from giving an error if any of the function in between ever become safepoints (since the GC analyzer doesn't track initilized-ness). I think it as a rule of thumb, we should never push uninitialized values into a GC frame. Doing so assumes that there are no safepoints before the value is fully initialized, but if that is the case, the GC_PUSH may also be delayed until after initialization and if the assumption ever changes, at least the GC analyzer will catch it. 13 November 2020, 03:44:09 UTC
dc9ea8c bump NetworkOptions & Downloads (fix test log breakage) (#38413) 13 November 2020, 03:12:30 UTC
ef69851 Allow `clamp(n, 1:10)` (#37548) * clamp method for unitrange * add tests & narrower type * move to Base.Math * triple equals Co-authored-by: Michael Abbott <me@escbook> 12 November 2020, 19:37:48 UTC
36efff9 ml-matches: fix table scan ordering for fast-path (#38369) With the "ndisjoint" fast-path, we need to fully verify each item before considering the next. This ensures we do not over count the number of matches after consideration of ambiguities. It also lets us count the disjoint cases less conservatively, and leads to a minor speed up when computing certain ambiguities. Fixes #38280 12 November 2020, 19:28:27 UTC
5b2dffa Merge pull request #38412 from JuliaLang/vc/llvm_passes Add C entry points for new Julia passes 12 November 2020, 17:19:51 UTC
e0e3921 Fix `make test-Test` (#38406) This testset would fail unless `--depwarn=yes` was set (as it is in process 1). Just run it in its own process that has the commandline flag set appropriately. 12 November 2020, 16:37:43 UTC
c5367d8 add C entry for julia_licm pass 12 November 2020, 15:23:45 UTC
59a6ca4 add C entry for remove_ni pass 12 November 2020, 15:23:45 UTC
93fb785 CHOLMOD solves with adj/trans sparse matrices (#38397) 12 November 2020, 07:34:26 UTC
bd3d9ee fix REPL precompile generation for Pkg (#38387) 12 November 2020, 07:01:09 UTC
af3cd59 eliminate copy for Unicode.normalize of substring (#38381) eliminate copy for Unicode.normalize of substring 11 November 2020, 16:26:54 UTC
9c498bf Fix pmap signature in CachingPool docstring (#37885) 10 November 2020, 23:44:57 UTC
8fc3221 Typo fix in NEWS.md (#38266) There's also a bunch of issue links that are missing (#37410, #37247, #37540, #37973, #37461, #37753) but it seems there's a script that generates the links so I'm assuming that will be fixed automatically. Co-authored-by: Viral B. Shah <ViralBShah@users.noreply.github.com> 10 November 2020, 23:18:55 UTC
9f0682d fix #33460: better error messages on multiple semicolons in calls (#38202) 10 November 2020, 23:07:46 UTC
6bea684 edit 1.6 NEWS (#38321) 10 November 2020, 22:57:42 UTC
e486c23 Merge pull request #38362 from JuliaLang/sk/NetworkOptions-stdlib allow opting out of SSL verification for downloads 10 November 2020, 18:23:59 UTC
baee4c3 Add `diag` for Symetric/Hermitian (#38376) 10 November 2020, 18:10:55 UTC
19fdcc3 More triangular-invariant multiplication/division (#38320) 10 November 2020, 18:10:13 UTC
4d7403d Merge pull request #38368 from JuliaLang/ksh/tanhinf Missing test for tanh(Inf) 10 November 2020, 17:52:37 UTC
e37e090 bump Downloads (use NetworkOptions to not verify SSL) 10 November 2020, 15:12:09 UTC
4704efd Swap adjtrans and triangular wrappers (#38168) 10 November 2020, 15:00:58 UTC
19506f7 Add showarg methods for Adjoint, Transpose (#38304) 10 November 2020, 10:49:58 UTC
53a781d add paths to file error messages (#38242) closes #38005, closes #33236, closes #33201 10 November 2020, 08:49:38 UTC
08201c1 tests for multiplication of symmetric/hermitian (#38337) Co-authored-by: Andrzej Chuchmała <ach@spyro-soft.com> 10 November 2020, 08:48:19 UTC
21c2c51 Missing tests for hyperbolic trig fallbacks (#38367) 10 November 2020, 08:29:00 UTC
5488015 contrib: add a script for automating adding a new stdlib (#38316) 10 November 2020, 02:40:27 UTC
dfd2bbe Missing test for tanh(Inf) 10 November 2020, 02:27:17 UTC
1b8970d doc: reference mergewith from merge (#38359) 09 November 2020, 20:10:28 UTC
1835d05 Merge pull request #38354 from JuliaLang/vc/perf_again Fix default of USE_PERF_JITEVENTS on Linux 09 November 2020, 17:55:47 UTC
b997116 add NetworkOptions stdlib 09 November 2020, 17:24:01 UTC
5a53ab6 some edits to the Modules chapter (#38323) 09 November 2020, 16:28:37 UTC
d562a97 Merge pull request #38329 from JuliaLang/ksh/fldmethoderr Add test for MethodError for cld/fld 09 November 2020, 15:28:02 UTC
489808a Fix docstring for isidentifier (#38356) 09 November 2020, 06:56:26 UTC
10ec600 move USE_PERF_JITEVENTS after we figured out which OS we are building for 09 November 2020, 02:54:29 UTC
6b7d530 Fix some precompile directives that weren't working (#38349) This adds a few more precompiles and also converts some into direct calls to `precompile`. It's not entirely clear why the old one didn't work. 08 November 2020, 17:39:39 UTC
4b88a60 TerminalMenus: initialize to cursor position, not menu start (#38330) 08 November 2020, 16:30:56 UTC
07fd900 A few more inference improvements in binaryplatforms (#38342) 08 November 2020, 10:34:20 UTC
88535e7 Improve inference in Method display and others (#38343) 08 November 2020, 10:10:04 UTC
eb7618d move a function declaration before uses (#38332) * move a function declaration before uses Co-authored-by: Elliot Saba <staticfloat@gmail.com> 07 November 2020, 18:38:55 UTC
5136261 guard against #38274 (bad choice of SSA value) in loading (#38325) 07 November 2020, 06:50:40 UTC
f2eb09e fix part of #36951, empty intersection from lower bound (#38319) 06 November 2020, 22:36:59 UTC
5d68779 Fix checks of remaining backtrace buffer (#36006) 06 November 2020, 19:37:26 UTC
c0682cf Manually resolve $LD for $CMAKE_COMMON (#38324) 06 November 2020, 18:56:15 UTC
01fe6ef Fix some inference problems in logging (#38292) These appear to trigger the only non-pirating remaining sources of vulnerability to invalidation of `Base.require` among Julia's *exported* names, which are the main names we can expect to be specialized by packages. 06 November 2020, 17:21:21 UTC
1adcaff Provide sparse matrix contructors that convert types efficiently (#38315) 06 November 2020, 17:17:26 UTC
68c71f5 Add verbose option to `@testset` (#33755) The `verbose` option in `@testset` can be used to print the results of the child tests, even when all of them have passed. Closes #27088 06 November 2020, 06:32:20 UTC
0ed1752 Merge pull request #38308 from JuliaLang/quinnj-patch-2 Simplify Iterators.partition length 05 November 2020, 23:28:38 UTC
6da3698 Fixed typo in base/promotion.jl (#38318) 05 November 2020, 22:29:08 UTC
8c7dcba Merge branch 'master' of github.com:JuliaLang/julia 05 November 2020, 21:11:01 UTC
586e9e8 Merge branch 'PallHaraldsson-patch-2' 05 November 2020, 21:10:45 UTC
9e09f70 Reorganize the Modules chapter of the manual. (#38271) * Reorganize the Modules chapter of the manual. Main changes Namespaces, export, import, using - explain namespaces, qualified symbol names, and export lists - consolidate examples where applicable - fix examples which were outdated after #25306 - distribute the “Namespace miscellanea” section into parts in the appropriate sections - break up the summary table and explain each case in detail with examples - subsection on various strategies to handle symbol conflicts - use “bring into the namespace/scope” instead of “import” in the text, as readers confuse it with `import` - explicitly document what happens with multiple `using` / `import` statements - add relevant style / best practices suggestions which are now widely used in the Julia ecosystem Submodules - discuss usage of `using ParentModule.SubModule` etc (relies on code loading) - add submodule examples where order matters, fixes #38011 (also another example by @rdeits [from Discourse](https://discourse.julialang.org/t/problem-with-using-in-submodules/42321/2)) - mention that submodules do not “inherit” scope from parent Misc incidental changes - in the Methods chapter, add a note about adding methods to functions in other modules - add a markdown id to the code-loading chapter The “Module initialization and precompilation” section is left unchanged. Co-authored-by: Tim Holy <tim.holy@gmail.com> Co-authored-by: Simon Byrne <simonbyrne@gmail.com> 05 November 2020, 21:09:45 UTC
8a9e519 Fix intended PR number... and punctuation [skip ci] 05 November 2020, 21:09:20 UTC
8ca5b94 Rename `libllvm()` -> `libllvm_path()` (#38306) 05 November 2020, 19:50:26 UTC
cd33115 fix replace for dicts/sets, when the eltype changes (#38267) There were two bugs: 1. for dicts, `empty(d, elemtype)` was used instead of `empty(d, keytype, valtype)` 2. the lower-level `_replace!` routines were accepting only an old/new container pair with the exact same `eltype`, new items had to have the same type as old one. 05 November 2020, 17:58:33 UTC
d6a97a1 Tweak order of operations to get `nnz` to infer as `Int` return type (#38302) If the sparse array does not have a concrete index type, then union splitting occurs over the possible `<:Integer` types permitted by `SparseMatrixCSC`. It appears that union splitting over the subtraction by one includes an `Any` branch that widens the return type of `nnz`. By instead converting the index type to `Int` before subtracting, type inference is able to infer that all paths give an `Int` result. 05 November 2020, 17:04:13 UTC
90c8e80 Simplify Iterators.partition length 05 November 2020, 05:48:37 UTC
fddfeb0 Add test for MethodError for cld/fld 05 November 2020, 03:39:57 UTC
b00802b Merge pull request #38277 from PaulSoderlind/master added missing trunc methods for Quarter 04 November 2020, 22:35:29 UTC
99805a3 Added x^-y clarification in Base.^ docs (#38295) 04 November 2020, 21:55:38 UTC
6e88e31 Add missing OpenBLAS source checksum (#38303) 04 November 2020, 20:08:30 UTC
0bedcda Define isnan for Number (#38232) 04 November 2020, 19:54:44 UTC
ad9f831 include poll.h instead of sys/poll.h (#38140) As far as I know, POSIX always mandated poll.h, and sys/poll.h comes from legacy systems. In any case, to the best of my knowledge on all systems supported by Julia, including poll.h works. In contrast, on FreeBSD including sys/poll.h triggers a warning. 04 November 2020, 19:30:31 UTC
0588605 Add typedef jl_thread_t, fix jl_wakeup_thread (#38139) POSIX does not mandate that pthread_t is an integer, and in fact on FreeBSD it is a pointer. While casting a pointer to an unsigned long and back works there right now, it seems safer on the long run use the correct type. Also fix a bug in jl_wakeup_thread where the native thread id of the owner of jl_uv_mutex was truncated to 16bits. 04 November 2020, 19:27:49 UTC
a5bccdf Add two missing packages to `getall` (#38301) 04 November 2020, 18:27:54 UTC
aa8ca02 bump Pkg to latest v1.6 (#38297) 04 November 2020, 16:45:14 UTC
09f96e1 win,Profile: fix timeout units (#38208) Previously, we were using units of seconds (rounded down) but the function expected milliseconds. So this was effectively always zero (ignored) in the computation. Empirically, the documentation for Sleep is fundamentally incorrect, and the stated advice to add `wPeriodMin` is bad. So here we remove that. (Microsoft has given the thumbs up to this observation also now.) Also update the Profile code defaults to sample for longer, and faster, since only the Win32 stack-unwinder (dbghelp) is absurdly slow. Co-authored-by: kimikage <kimikage.ceo@gmail.com> 04 November 2020, 13:40:33 UTC
1f9e8bd `pop!` on unordered containers clarification. (#38097) Updates the documentation as suggested by @timholy [here](https://discourse.julialang.org/t/why-does-delete-work-with-sets-but-not-deleteat/48596/10?u=henrique_becker). The text is provisional, the objective is to make clear the function also works on unordered containers and in such case the element removed is arbitrarily chosen. 03 November 2020, 23:02:20 UTC
2af16f9 fix #38279, yet another bounds circularity in type intersection (#38288) 03 November 2020, 22:33:47 UTC
2890a71 Merge pull request #38278 from JuliaLang/vc/perf Disable USE_PERF_JITEVENTS on non Linux systems 03 November 2020, 20:02:44 UTC
64ee34b MacOS App: make only files read-only (#38289) PR #38235 seemed to cause problems: - it seems to break GitHub Actions: https://github.com/JuliaParallel/MPI.jl/runs/1345656760?check_suite_focus=true#step:4:33 - it now requires a password to upgrade a patch release (which replace the `/Applications/Julia-1.6.app` directory) This makes only the files read-only, which should solve the problem 03 November 2020, 19:59:01 UTC
ac8445c make preference loading a bit more type stable (#38285) * make preference loading a bit nicer to inference 03 November 2020, 18:43:41 UTC
469d6f8 bump Tar to v1.8.1 (#38276) 03 November 2020, 18:41:20 UTC
ce1cf9f Merge pull request #38245 from JuliaLang/jb/fix22787 fix #22787, another bounds circularity in type intersection 03 November 2020, 00:19:21 UTC
7e5699d correct String(array) docs (#25846) update String(::AbstractVector{UInt8}) docs to note that it already makes a copy except for Vector{UInt8} 02 November 2020, 20:30:16 UTC
961ec0d MacOS app: make julia directory read only (#38235) 02 November 2020, 20:13:27 UTC
d33e7e0 Add a docstring for `Base.active_project` (#38234) * Add a docstring for `Base.active_project` * Update base.md 02 November 2020, 16:55:49 UTC
a88c563 Disable USE_PERF_JITEVENTS on non Linux systems 02 November 2020, 16:35:40 UTC
b7324f4 add tests for new trunc methods (Quarter) 02 November 2020, 16:19:51 UTC
ed5fd93 fix printing of syntactic operators (#38247) 02 November 2020, 16:15:31 UTC
f831d99 added missing trunc methods for Quarter 02 November 2020, 16:05:47 UTC
addb20c fix #22787, another bounds circularity in type intersection 02 November 2020, 16:03:41 UTC
9572202 export Meta.isidentifier (and others) (#38197) May be useful for embedding into other languages, for example. Co-authored-by: Ivar Nesje <ivarne@gmail.com> Co-authored-by: Jameson Nash <vtjnash@gmail.com> Co-authored-by: Yu Gong <armgong@yahoo.com> 02 November 2020, 15:58:37 UTC
e68dda9 Fix invalidation in show_unquoted (#38265) Without this assertion `arg1` is inferred as `Any`, and the method gets invalidated when loading CategoricalArrays. Not sure why the compiler isn't able to detect the type automatically given the `isa` checks in the `if`. 02 November 2020, 10:45:42 UTC
3f35989 Fix lock leak in iosteam test (#38246) The `resize!` call can throw if the array is not resizable (we even have a test for it). However, this would leak the lock, since the `_lock_ios` macro does not have an implicit try/catch, since it's really only supposed to lock the C calls. Fix that by adding the necessary try/catch around the resize call. Perhaps in the future the compiler will be able to automatically elide try/catch blocks around calls known not to throw, in which case, we could just put it in the macro, without inviting performance problems. Fixes #37218 02 November 2020, 02:48:39 UTC
94e908f remove unused private argument from BLAS.get_num_threads (#38237) 01 November 2020, 15:34:33 UTC
238874c News entries: Pkg.precompile and auto-precompillation, time macro comp time, varinfo() extended func (#38220) * add news about parallel Pkg.precompile and auto-precompllation * add news on time macro including compilation time in report * add varinfo expanded functionality news Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com> 01 November 2020, 09:17:19 UTC
8d55e04 special-case Base.rest for AbstractString (#38194) 30 October 2020, 21:02:23 UTC
280b9ea fix bug in lowering `if` with certain `block` exprs as the condition (#38222) 30 October 2020, 21:01:07 UTC
52ff1f0 subtype: fix "obvious" case of Tuple with non-Type parameters (#38228) 30 October 2020, 20:01:54 UTC
78334c1 [Artifacts] Add `select_downloadable_artifacts()` (#38233) `select_downloadable_artifacts()` returns a mapping of artifacts that the given `Artifacts.toml` file contains for the requetsed `Platform`. 30 October 2020, 19:41:19 UTC
9f8b22e Merge pull request #38031 from JuliaLang/jn/hash-faster Faster integer hashing (fixes #37800 UB) 30 October 2020, 18:05:46 UTC
479f4f1 fix hypot with multiple arguments (#38158) Fixes #27141: The previous code led to under/overflow. Co-authored-by: Jorge Fernandez-de-Cossio-Diaz <j.cossio.diaz@gmail.com> 30 October 2020, 18:03:41 UTC
8caa64e bump Pkg (release-1.6) & Downloads (v1.1.1) (#38221) 30 October 2020, 16:50:35 UTC
10b0a01 Merge pull request #22623 from c42f/propagate-sourceloc provide `rewrite_sourceloc!` function 30 October 2020, 15:19:16 UTC
959aa8f restore type cache pruning in sysimage saving (#37650) 30 October 2020, 15:10:56 UTC
4711fc3 Revert "Make Distributed.Worker threadsafe (#38134)" (#38211) This reverts commit 31026e84d2faee36e22b6627075b77289543525c. 30 October 2020, 14:50:52 UTC
f412222 Docs for construction of undef arrays with missing type (#31091) The contract is that if `T` is a bits type then creation of uninitialized array of type `Union{Missing, T}` initializes it to hold `missing` in all entries. Mention this in the documentation. 30 October 2020, 14:48:58 UTC
719c4d0 doc: correct the definition of lcm (#37923) The old definition would imply that lcm always returns 0. This brings it more in line with that of gcd. 30 October 2020, 14:30:40 UTC
0097bdd A faster version of exp, exp2, exp10 for Floating point numbers (#36761) * A faster version of exp for Float64 This is based on the Glibc algorithm which at-chriselrod (Elrond on discourse) described the algorithm of for me. It appears to be about 2x faster than the current algorithm, and equally accurate over the range for which I have tried it. It also theoretically should be easier to vectorize as branches are only used for checking for over/underflow. 30 October 2020, 08:20:07 UTC
back to top