https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
869de35 Slightly better printing for closest candidates in MethodError This uses the comparison printing from #33458 as well as adding a new heuristic that checks whether type parameters would match if we dropped their bounds and if so highlighting those bounds as the problem. 13 October 2019, 00:30:21 UTC
cf5957e fix #32678, error due to Ptr constant in `_reformat_bt` (#33524) Also change `jl_get_backtrace` to return a pair of values instead of mutating. 11 October 2019, 17:38:36 UTC
2b1fc4c Have `copy(ci::CodeInfo)` also copy `ci.edges`. (#33523) Before this commit, it was a shallow-copy, so the array was shared between the orginal ci and the copy. 11 October 2019, 15:45:40 UTC
e0f9045 Move `7z` installation out of non-Windows if statement (#33505) 11 October 2019, 06:12:56 UTC
a68237f Merge pull request #33510 from JuliaLang/jn/llvm-makefile-cleanup some improvements to the llvm/codegen makefiles 10 October 2019, 22:38:44 UTC
1810656 [GCLowering] fix lost use (#33509) * [GCLowering] bugfix: remove UpExposedUsesUnrooted It was not considering union-representation values in NoteOperandUses. * [GCLowering] test: use CHECK-DAG instead of CHECK-next Seems to be platform-specific (and the order is irrelevant anyways). 10 October 2019, 22:37:18 UTC
49e2f41 add setindex for named tuples (#33468) 10 October 2019, 22:34:48 UTC
5f013d8 Add takewhile, dropwhile to iterators (#33437) 10 October 2019, 22:28:33 UTC
1ed2e1d Update dtypes.h to fix C4146 in Visual C++ (#33511) 10 October 2019, 21:31:46 UTC
99483b5 improve docs for `SpinLock` to steer people away from it (#33514) Inspired by e.g. #33507 10 October 2019, 21:31:16 UTC
b300471 Use default community health files from JuliaLang/.github, see (#33522) https://help.github.com/en/articles/creating-a-default-community-health-file-for-your-organization 10 October 2019, 17:40:19 UTC
5c1dca4 Don't eagerly convert isabspath to String (#33491) 10 October 2019, 15:41:39 UTC
2f7f0bf Fix multiplication of Triangular and Diagonal matrix (#33334) * Fix multiplication of Triangular and Diagonal matrix * Adopt more multiplication methods * Add `similar` methods for `Adjoint` and `Transpose` * Enable type tests 10 October 2019, 14:56:45 UTC
581f81c use simpler copy algorithm for small BitArrays in broadcasting (#33517) 10 October 2019, 09:45:31 UTC
09795cd Merge pull request #33483 from artemsolod/time_mod_arithm modulo when constructing Time values 09 October 2019, 22:33:56 UTC
8e155c7 Fix attaching docstrings to where call syntax (#33446) * Allow documenting where-expressions I.e. docstrings can now also be attached to expressions that look as follows: """ """ foo(::T) where T Note that it was already fine to attach docstrings to such methods when the docstring was attached to the function body: """ """ function foo(::T) where T ... end * Better fix * Add tests 09 October 2019, 21:54:27 UTC
b75fce2 Fixed printing for Complex{Int} with maximum negative imaginary part (Issue #33433) (#33498) 09 October 2019, 19:28:59 UTC
e0bdc76 Add safepoint annotations to GC callbacks. (#33508) 09 October 2019, 17:01:09 UTC
ac9582a test: allow selecting running one llvmpasses test 09 October 2019, 16:10:45 UTC
a5f5235 src: fix and sort some more Makefile dependency links 09 October 2019, 16:10:45 UTC
5133aec deps: fix llvm download url Apparently LLVM will still release binaries on releases.llvm.org (and not GitHub), the 8.0.1 release was just an exception. 09 October 2019, 16:10:40 UTC
d913db4 fix #33367, defining enums is slow (#33494) Each definition used a new closure and call to `ntuple`, which is not necessary since the code only runs at load time. 09 October 2019, 04:26:29 UTC
80dca30 Merge pull request #27457 from non-Jedi/reducedim_custom_eltype Test dimensional reduce with non-bitstype 08 October 2019, 19:36:51 UTC
f250511 Add test for custom type dimensional reduction 08 October 2019, 15:59:42 UTC
76d9b4b Fix return type docstring for realpath and homedir (#33492) 08 October 2019, 15:28:41 UTC
0bcceac matrix is an array (#33500) 08 October 2019, 15:28:26 UTC
353b6c0 Better documentation and docs search for punctuation (#33344) * Better documentation and docs search for punctuation * Update doc/src/base/punctuation.md Co-Authored-By: James Bradbury <jekbradbury@gmail.com> * Update doc/src/base/punctuation.md Co-Authored-By: James Bradbury <jekbradbury@gmail.com> * Fixup crosslinks working around https://github.com/JuliaDocs/Documenter.jl/issues/781 08 October 2019, 14:13:19 UTC
14aaf76 Merge pull request #33493 from JuliaLang/sf/fix_7z_zlib_problems Fix 7z and zlib problems 08 October 2019, 07:59:44 UTC
5bf7a14 Add `$(EXE)` to the end of `7z` when installing it 07 October 2019, 20:29:07 UTC
7f1e190 Fix `zlib` <-> `libz` confusion within build system 07 October 2019, 20:28:53 UTC
d5d5718 add some type info to Base to avoid excess recursion in inference (#33476) Fixes #33336. This addresses some commonly-occurring cases where having too little type info makes inference see a lot of recursion in Base that is not actually possible. 07 October 2019, 19:33:06 UTC
b5f6fdc modulo when constructing Time values 06 October 2019, 21:43:51 UTC
0aa59a0 fix #33466, serialization of `IdDict` (#33473) Can still read old data, but new files will not be readable by older versions. 05 October 2019, 06:45:22 UTC
cff873b Clean up printing of testset start (#33408) This has bothered me for a while, but looks like it didn't bother anyone else enough to clean it up, so here I go :). Printing when a test starts is useful when looking through logs because you can correlate errors on a given worker with the specific test it was running. However, it doesn't have to be so ugly and break the nice regular formatting of the rest of the test. Before: ``` Test (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB) From worker 3: running testset int... From worker 2: running testset math... int (3) | 9.51 | 0.21 | 2.2 | 507.51 | 232.42 math (2) | 81.06 | 0.75 | 0.9 | 3391.19 | 323.18 Test Summary: | Pass Total Overall | 1637318 1637318 SUCCESS ``` After: ``` Test (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB) int (3) | started at 2019-09-27T18:35:02.761 math (2) | started at 2019-09-27T18:35:02.883 int (3) | 11.91 | 0.28 | 2.4 | 723.85 | 278.07 math (2) | 40.51 | 0.87 | 2.1 | 3287.85 | 325.49 Test Summary: | Pass Total Overall | 2030534 2030534 SUCCESS ``` 05 October 2019, 06:29:31 UTC
792d3e9 Add some missing Makefile dependency links (#33355) Noticed that some files weren't being rebuilt when I modified the list of builtins, causing bad state and strange error messages. 05 October 2019, 06:23:50 UTC
7466d11 improve `instanceof_tfunc` to take declared parameter bounds into account (#33472) 05 October 2019, 02:53:35 UTC
0725e0e Merge pull request #33458 from JuliaLang/kf/converterror Slightly improved printing for convert errors 05 October 2019, 02:49:38 UTC
cf87c35 Slightly improved printing for convert errors We often get MethodErrors involving `convert` between slightly different types (e.g. where the programmer expected to have constructed the correct type, but made a slight mistake). This attempts to slightly improve the formatting of the error message to make differences more obvious. Of course significant work remains to make this error message more usable. 04 October 2019, 21:05:11 UTC
3b1b767 Merge pull request #33354 from JuliaLang/kf/baditerate Don't crash in _apply if the user writes a bad iterate method 04 October 2019, 20:53:54 UTC
9d98131 Merge pull request #33448 from JuliaLang/tb/gc_collection Support for fine-grained selection of the GC collection type. 04 October 2019, 01:48:35 UTC
3b1c1fd Restrict `signed(x) = reinterpret(...)` to BitIntegers. (#33459) This commit restricts the `reinterpret` implementation of `signed(x)` to only apply to `Base.BitInteger`s. This brings its behavior in-line with `unsigned(x)`. Previously, although `unsigned(x)` did restrict the `reinterpret` implementation to only apply to `Base.BitInteger`s, `signed(x)` by default called `reinterpret(Signed, x)` for any type `T <: Unsigned`. This of course wouldn't work for `BigInt`, which is presumably why `unsigned(x)` was restricted (since `BigInt <: Signed` but not `BigInt <: BitInteger`), but although _Base_ contains no non-BitInteger types in `Unsigned` (besides `Bool`), of course users _could_ create such types, so this should be restricted symmetrically. Below is an example of the previous, unexpected broken behavior: ```julia struct WeirdUnsigned <: Unsigned msg::String val::UInt16 end WeirdUnsigned(x::Int) = WeirdUnsigned("missing", UInt16(x)) Base.Signed(x::WeirdUnsigned) = signed(x.val) ``` ```julia julia> signed(WeirdUnsigned(4)) ERROR: bitcast: expected primitive type value for second argument Stacktrace: [1] reinterpret at ./essentials.jl:417 [inlined] [2] signed(::WeirdUnsigned) at ./int.jl:162 [3] top-level scope at REPL[20]:1 ``` Whereas after this commit, this works as expected, calling the `Signed` constructor: ```julia julia> signed(WeirdUnsigned(4)) 4 julia> typeof(signed(WeirdUnsigned(4))) Int16 ``` ------------------- This should be a non-breaking change. If there exist any `primitive type` implementations that were relying on the reinterpret implementation, they may see a slight performance regression, as this will by default now call `Signed(x::T)`, instead of `reinterpret(typeof(Signed(x)), x)` -- so they may want to manually define the reinterpret implemention themselves. 04 October 2019, 01:47:52 UTC
75a1210 Don't crash in _apply if the user writes a bad iterate method Instead check that we indeed got a tuple of appropriate length back. 03 October 2019, 22:17:32 UTC
018d9ae Add check=false for calculating determinant of singular (#32086) Symmetric/Hermitian matrices, fixes #32079. 03 October 2019, 19:46:13 UTC
979bf43 Improve `show` for 0-dim array (#33206) 03 October 2019, 19:26:50 UTC
bf8c324 Allows the results of `mapfoldr` to be inferred on tuples. (#33235) 03 October 2019, 19:07:19 UTC
60a60a5 Better help answers for strange inputs (#33444) Before: ```julia help?> `` ERROR: LoadError: Invalid at-var syntax `Core.at-cmd`. help?> {a ERROR: LoadError: Invalid at-var syntax `incomplete: premature end of input`. help?> 123456789012345678901234567890 ERROR: LoadError: Invalid at-var syntax `Core.at-int128_str`. ``` After: ```julia help?> `` at-cmd str ... help?> {a No documentation found. help?> 123456789012345678901234567890 at-int128_str str ... ``` 03 October 2019, 16:09:21 UTC
1739ca0 Export jl_expand_and_resolve (#32902) Instead of exporting the internal function jl_resolve_globals_in_ir, this factors out the code from generated functions into `jl_expand_and_resolve`, which lowers an expression into a CodeInfo and then resolves globals in the codeinfo in light of provided typenames. 03 October 2019, 14:51:56 UTC
888d32a fix #33370, avoid collisions between gensyms and anon function names (#33426) 03 October 2019, 08:42:27 UTC
b685cf6 Update GMP and MPFR builds to use better compiler flags (#33096) 03 October 2019, 08:35:11 UTC
c3d4a32 Add a Julia interface. 03 October 2019, 05:56:08 UTC
d378da8 Support for fine-grained selection of the GC collection type. This makes it possible to force an incremental collection, ignoring heuristics. 03 October 2019, 05:56:08 UTC
c72a295 Merge pull request #33450 from JuliaLang/tb/gc_safe_printf Use jl_safe_printf for GC debug output. 03 October 2019, 05:11:14 UTC
a440ae7 Ryu: use UInt128 arithmetic instead of rolling own (#33441) 02 October 2019, 22:30:45 UTC
d911a9f better fix for #33337; revert #33353 (#33440) 02 October 2019, 22:04:04 UTC
3f37178 Merge pull request #33380 from JuliaLang/cjf/bt-lookup-offset Clean up return->call address translation for backtraces 02 October 2019, 21:56:05 UTC
fd473cc improve some keyword arg lowering error messages. fixes #33250 (#33442) 02 October 2019, 20:14:27 UTC
4de3ce3 fix #33155, add static parameters to at-locals (#33443) 02 October 2019, 19:35:04 UTC
b6991f2 docstring setindex (#32738) * docstring setindex * add bound check * fix selectdim implementation 02 October 2019, 14:48:04 UTC
d9ede17 Use jl_safe_printf for all GC debug output. 02 October 2019, 14:37:15 UTC
1de5628 Use jl_safe_printf for GC_TIME output. 02 October 2019, 14:02:52 UTC
32e3c9e Revert "Revert "Bump Pkg to 1.4-DEV. (#33364)" (#33410)" (#33434) This reverts commit 0b55ce12bf882d7db1e8eb68c91cb03f7e135c33. 02 October 2019, 12:28:27 UTC
16a09b4 fix not messing up `current_taks().storage[:SOURCE_PATH]` by allowing the finally in include to run (#33447) 02 October 2019, 09:37:06 UTC
ef0c910 fix exception type for sparse LDLᵀ (#33372) * fix exception type for sparse LDLᵀ * update tests for SingularException * whoops, is_ll means this is Cholesky * ZeroPivotException 02 October 2019, 07:36:11 UTC
035acf4 Merge pull request #33373 from JuliaLang/jn/profile-more-stats Profile: more formatting / information printing 01 October 2019, 21:17:44 UTC
311b0b9 Fix a typo (handles => handled) (#33436) 01 October 2019, 20:37:00 UTC
2924113 llvm: add SONAME suffix to solve dlopen conflict on FreeBSD (#33058) close #32462 01 October 2019, 20:36:14 UTC
8784619 Fixup crosslinks working around https://github.com/JuliaDocs/Documenter.jl/issues/781 01 October 2019, 20:14:55 UTC
350f514 Array fixes for non-power-of-2 sized elements, fixes #26026 (#33283) 01 October 2019, 18:53:36 UTC
b288444 Merge pull request #33439 from JuliaLang/aa/fix-whitespace Remove trailing whitespace 01 October 2019, 17:44:33 UTC
ef33864 Remove trailing whitespace This broke the trailing whitespace checker, which is now failing for all PRs against master, regardless of whether they contain trailing whitespace. 01 October 2019, 17:30:49 UTC
06d6b8e Internally use libuv for mkdir on all platforms (#33422) Internally use libuv for mkdir on all platforms 01 October 2019, 16:01:34 UTC
cf98390 Add a note about Julia (#33412) 01 October 2019, 15:29:39 UTC
cb075dc Fix abstract_type args error (#33369) See ```scheme (define (abstract-type-def-expr name params super) (receive (params bounds) (sparam-name-bounds params) `(block (global ,name) (const ,name) (scope-block (block ,@(map (lambda (v) `(local ,v)) params) ,@(map (lambda (n v) (make-assignment n (bounds-to-TypeVar v #t))) params bounds) (abstract_type ,name (call (core svec) ,@params) ,super)))))) ``` @ https://github.com/JuliaLang/julia/blob/v1.2.0/src/julia-syntax.scm#L880-L889 and ```lisp (struct_type ,name (call (core svec) ,@params) (call (core svec) ,@(map quotify field-names)) ,super (call (core svec) ,@field-types) ,mut ,min-initialized))) ``` https://github.com/JuliaLang/julia/blob/v1.2.0/src/julia-syntax.scm#L848-L850 01 October 2019, 15:10:35 UTC
99d49b2 explains that meta can be 'esc' (#33377) On Windows, in the REPL, alt-enter maximizes the screen. It took me a while to figure out that pressing Esc and then the key also works for the meta key. 01 October 2019, 15:10:04 UTC
aaa581a Clarify the difference between "light" and "full" source distributions (#32810) 01 October 2019, 14:58:19 UTC
4f19dc2 Profile,test: avoid profiling compiler time (#33314) 01 October 2019, 14:55:57 UTC
4fa6a62 Fix source build of p7zip on FreeBSD (#33431) 01 October 2019, 06:25:34 UTC
2859b11 improve display of keyword argument methods in stack traces (#33118) part of #33065 01 October 2019, 02:50:28 UTC
6cf8dba Add `--trace-compile=` flag to `--help-hidden` output. (#31072) Since the `--trace-compile` flag is an unsupported, experimental flag, we don't want to document it in `--help`, which has forward maintainability requirements. Instead, we will put the help string in `--help-hidden`, which contains documentation for unsupported flags. 30 September 2019, 22:02:43 UTC
5e6a906 Update docstring for `isnan` (#33258) 30 September 2019, 21:56:21 UTC
f696e17 fix using non zero axes arrays in threads loops (#33396) 30 September 2019, 08:09:35 UTC
d036575 Document internal Ryu functions, remove duplicate functionality. (#33406) Also moved some functions from Math to Base. 29 September 2019, 04:13:34 UTC
0b55ce1 Revert "Bump Pkg to 1.4-DEV. (#33364)" (#33410) This reverts commit 77af253c16719a149a5f6ae0d444b4321def3e35. 29 September 2019, 03:50:02 UTC
4849593 Update from NSIS to Inno Setup installer (#33375) 28 September 2019, 21:03:44 UTC
a3eb9d4 div with rounding modes [+ rounded division] (#33040) * Re-arrange fld/cld code In preparation for supporting other rounding modes in div, create a three-argument div function that takes a rounding mode as the last argument and make this the fundamental fallback for fld/cld. * Implemented rounded division * add various divrem combinations to avoid overflow * Whitespace/test fixes * Small tweaks to docstrings * Bugfixes * Add the exhaustive test * Tigthen up types for div fallback I think it's better to give a MethodError here than an approximate answer for non-AbstractFloat reals (e.g. custom integer types). 28 September 2019, 19:17:12 UTC
e5c3ffc add NEWS for #32208, improved rand(::Tuple) (#33404) 27 September 2019, 22:04:05 UTC
1c1000a Merge pull request #32208 from JuliaLang/rf/rand/tuple-pow2 faster rand(::Tuple) 27 September 2019, 14:42:27 UTC
54f5acc docstring typo: Rea -> Real (#33383) 27 September 2019, 10:21:41 UTC
59b56ce faster rand(::MersenneTwister, ::OneTo) This was an oversight. This makes rand(::MersenneTwister, ::Tuple) generally faster. 27 September 2019, 10:06:44 UTC
2ae542f faster rand(::Tuple) for power of two lengths 27 September 2019, 10:06:40 UTC
36f34af Rename `eigenvalues` and `eigenvectors` in `show` method for `Eigen` and `GeneralizedEigen` (#33393) Signed-off-by: Alexander Seiler <seileralex@gmail.com> 26 September 2019, 19:59:19 UTC
7528266 Improved jl_unw_stepn: skip internal frames, don't adjust ip for signal frames Add an option to jl_unw_stepn to avoid adjusting the instruction pointer when we know the cursor derives from a signal frame. (We could alternatively try to do this with unw_is_signal_frame, but that wouldn't work for windows and would be an extra function call for each jl_unw_step which seems a bit unnecessary when we already know the top frame is the signal frame.) Also generalize skipping of the first few backtrace frames as needed to hide the internal backtrace machinery itself by adding a `skip` option to jl_unw_stepn/jl_backtrace_from_here/record_backtrace. As part of this also move the workaround for 32-bit windows into the backtrace internals. Move Base.backtrace into error.jl as it doesn't need any lookup functionality from StackTraces to work correctly. 26 September 2019, 04:55:47 UTC
9a1dbc0 Merge pull request #33368 from yhls/yhls/fixrenaming fix bug related to block renaming for DCE 25 September 2019, 15:05:23 UTC
4a2a59a Add note formatting and some missing xrefs (#32930) 25 September 2019, 12:40:29 UTC
c33cf3e Changed display of throw_eachindex_mismatch (issue #32890) (#33194) 25 September 2019, 12:39:18 UTC
5457323 cross-reference ntoh and hton from bswap docs (#33376) 25 September 2019, 12:33:14 UTC
99d1d67 Fix multiplication of triangular matrix and sparse vector (#33378) * Fix multiplication of triangular matrix and sparse vector * Use variable `n` everywhere 25 September 2019, 09:01:56 UTC
77af253 Bump Pkg to 1.4-DEV. (#33364) 25 September 2019, 08:51:24 UTC
141ff51 Clear ARMv7 instruction pointer encoding bit for use in caller lookup 25 September 2019, 08:06:15 UTC
8ba936f Revert API breaking name change lookupat->lookup from #33190 With return->call address tanslation done inside jl_unw_stepn, there should largely be no need to make this API breaking change, as all backtrace addresses which the user has access to will already be translated and can be passed directly into `StackTraces.lookup()`, as was done previously. There's one possible exception to this rule: If the user were looking up the debug info for a pointer to a C function *not* obtained from a backtrace, they previously would have had to use `StackTraces.lookup(ptr+1)` to "undo" the the `ptr-1` translation that `StackTraces.lookup` used to perform prior to #33190. This seems like an edge case however and probably not worth breaking the API over. 25 September 2019, 06:14:18 UTC
back to top