https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
0a70d42 ml-matches: skip unnecessary work, when possible (#36413) If the environment is trivial (empty) and the type is a dispatch tuple, we know the intersection result is trivial, and can skip it. 25 June 2020, 15:27:52 UTC
db94a7d gf: fix some issues with the move from using a tree to a hash lookup of leaf types (#36413) Addresses an off-by-one in the type lookup, ensures we look at at all entries when doing invalidation, and allows putting any Type{T} object also in the cache (I forgot these always had `simplesig`, so we needed to handle that case too to receive the benefit for them). 25 June 2020, 15:27:29 UTC
b15f6ad Add news and manual entry for sincospi (#36403) 25 June 2020, 08:45:44 UTC
52c55d7 Check axes in Array(::AbstractArray) (fixes #36220) (#36397) 24 June 2020, 21:13:27 UTC
3604a25 add versions of `code_typed` and `which` that accept tuple types (#36389) 24 June 2020, 20:56:27 UTC
1ba71f9 Fix spelling of readdir. (#36409) 24 June 2020, 16:58:21 UTC
6cd329c add sincospi (#35816) 23 June 2020, 20:23:39 UTC
9b2c6b2 fix showing methods with unicode gensymed variable names (#36396) 23 June 2020, 19:16:55 UTC
b594172 Add doctest: eachslice (#36386) * add doctests for eachslice * update doctest eachslice 23 June 2020, 17:30:10 UTC
8db9495 fix documentation typo ("Ingeger") 23 June 2020, 15:36:57 UTC
fd6eee7 Refactor `abstract_eval` to separate out statements and values (#36350) In preparation for adding the ability for statements to return additional info, while values will only ever have a type. 23 June 2020, 15:31:46 UTC
be72a57 Merge pull request #36323 from JuliaLang/teh/io_field_spec Improve inferrability of stream IO 23 June 2020, 01:43:45 UTC
e0babe8 fix return type of `get!` on `IdDict` (#36383) 23 June 2020, 00:19:10 UTC
76a2e36 Allow single option with REPL.TerminalMenus (#36369) 22 June 2020, 10:29:23 UTC
f6d34c3 fix miscellaneous doc typos (#36370) 20 June 2020, 07:54:21 UTC
35c1f87 fix #36230, more efficient lowering of `if` with a chain of `&&` (#36355) 19 June 2020, 23:16:11 UTC
00c41cc Remove address spaces during IR printing. (#36358) Respect the strip_ir_metadata/raw flags. 19 June 2020, 23:14:51 UTC
4db59da Merge pull request #36208 from JuliaLang/jb/mm3 set default max_methods to 3 19 June 2020, 20:58:08 UTC
eb2bcb1 Use haslength to check for HasShape and HasLength traits (#36356) 19 June 2020, 20:45:04 UTC
3e2effd [ci skip] Typo fix: emove space before comma (#36357) 19 June 2020, 16:00:10 UTC
baa9b27 set default max_methods to 3 19 June 2020, 15:07:24 UTC
96ff7f0 make `tmerge` more precise by keeping common parameters 19 June 2020, 15:06:35 UTC
73df43a add some helpful type assertions to `size` and `rand` 19 June 2020, 14:59:13 UTC
d6d5208 use ReturnNode, GotoIfNot, and Argument more consistently in IR (#36318) 19 June 2020, 03:52:02 UTC
5142abf Add Release Notes back to the html version in the same place (#36333) as before and to the PDF version as well. In the PDF version, they are at the back of the document as the last Part. 19 June 2020, 01:37:22 UTC
92197a7 Merge pull request #36166 from JuliaLang/jn/ml-matches-leaf-cache Create a leaf-types cache (so we'll first hit the call-site cache LRU, then the TypeMap search, then this hash lookup, before going to the defs list), and use this new cache for the ml-matches search also (when applicable/useful). 19 June 2020, 01:32:55 UTC
4d062a5 Pass IO to helpmode function (#36289) 18 June 2020, 19:45:37 UTC
3c2a6e8 show: differentiate TypeName and wrapper when printing (#36303) 18 June 2020, 19:43:59 UTC
d19a279 macOS lazily saves the AVX512 context (#36330) 18 June 2020, 19:42:11 UTC
6385107 Consider terminal emacs in EDITOR_CALLBACKS before graphical (#36346) Since the regex r"\bemacs" matches the cmd `emacs -nw`, the regex r"\bemacs\b.*\s(-nw|--no-window-system)\b" should be considered in the EDITOR_CALLBACKS list before it. Without this change, when JULIA_EDITOR="emacs -nw", julia tries to open the editor with run(...; wait=false) which causes the error: emacs: standard input is not a tty or for emacsclient: emacsclient: could not get terminal name emacsclient: error executing alternate editor "" 18 June 2020, 19:41:27 UTC
a9dd7f3 ' ,' -> ', ' (#36349) 18 June 2020, 19:39:10 UTC
1f8b442 Add Iterators.map (#34352) 18 June 2020, 18:58:23 UTC
e96728c FileWatching: cleanup timers on return (#36301) Following my own advice at #36217. Avoids a minor temporary resource leak. 18 June 2020, 18:23:33 UTC
ee0621f Fix: lastindex for Numbers (#36314) * Fix: lastindex for Numbers * Boundcheck for lastindex numbers * tests for lastindex, firstindex for numbers * include example test from #36311 18 June 2020, 17:04:31 UTC
9cbe145 Add sizehint! to Dict constructor (#35254) * Add sizehint to Dict constructor * Check iterator has length 18 June 2020, 15:45:32 UTC
5420dd2 allow `redirect_std*` to `devnull` (#36136) (#36146) 18 June 2020, 13:22:41 UTC
4d94a63 Add `httpbin.julialang.org` AWS API Gateway config This serves as a backup of the AWS API Gateway configuration hosted at `httpbin.julialang.org` 18 June 2020, 08:54:51 UTC
96fc2aa Switch `httpbin` tests over to JuliaLang-hosted `httpbin` mock server (#36336) 18 June 2020, 08:33:53 UTC
d5b47a0 Test SingularException throw for naivesub (#36331) 18 June 2020, 05:45:19 UTC
a985bed Delete dead :& code (#36337) We used to use & in ccall, but that's been dead for a long time. I believe this code is just a leftover relic. 18 June 2020, 02:40:32 UTC
96e7647 fix introspection macros with getproperty (#36286) 17 June 2020, 22:08:30 UTC
731126d Merge pull request #36260 from JuliaLang/jn/codegen-unglobal removes more global state from codegen 17 June 2020, 21:24:51 UTC
65c09e3 Revert "Update to GMP 6.2.0 (#36309)" (#36328) This reverts commit c54a6ea77b8475598744c7a134a04318bdbe5ba6. 17 June 2020, 21:23:58 UTC
8ca6e8d rearrange `assemble_inline_todo!` to handle union splitting in the outer loop (#35891) 17 June 2020, 19:41:33 UTC
43fd66c Remove NEWS.md from the PDF of the manual (#36312) * Partial fix for #35495 This removes the NEWS.md link at the bottom of the first page of the manual. Given that we link to it prominently on top of the page, I feel this is ok. This will remove Section II of the PDF manual, where the release notes take 15 pages (because ofthe way markdown gets converted to PDF). * Better layout for the generated PDF 17 June 2020, 18:13:40 UTC
26de664 codegen: use constant placeholder objects instead of realizing LLVM functions We already had prepare_global/prepare_call functions. This simply lets us use that to allocate these on-demand instead of keeping around a global copy of them to template from. 17 June 2020, 17:02:29 UTC
b4c570d codegen: remove the shared "shadow_module" state 17 June 2020, 17:02:29 UTC
44f88a8 Assert type for `displaysize` 17 June 2020, 09:14:49 UTC
6a69baa Remove obsolete field type assertions 17 June 2020, 09:14:49 UTC
7d9bfb7 Formal specification of field types for abstract IO types Most concrete IO types declare that a subset of their fields are other abstract IO types. As a result, if `obj1::IO`, and `obj2 = obj1.fieldwithabstracttype`, then inference has no way of knowing what type `obj2.status` returns. When `obj2.status` is used as an argument for `Base.somefunction`, this leaves such code vulnerable to invalidation via package specializations of `Base.somefunction` even when in practice there is no risk that any IO code will call the new package-supplied method. This provides a more formal interface for three non-exported abstract types: `LibuvStream`, `LibuvServer`, and `AbstractPipe`. 17 June 2020, 09:14:42 UTC
bf3ed57 pty_{master,slave} -> pt{m,s} (#36315) We decided to get rid of the master/slave terminology in Julia in #30058. However, we decided to keep it for PTYs, where the terminology is imposed upon us by POSIX (and thus changing it would be confusing for people who might need to read up on the POSIX definitions of these concepts). It was recently suggested to revisit this, by renaming to ptm and pts instead, which also fit well (as the devies that the fds refer to are `/dev/ptmx` and `/dev/pts` respectively), are googleable (`pty pts` will yield the correct man page) and will probably need to remain even if POSIX adjusts their terminology, since they're part of the ABI (presumably they'll be backronymed to whatever terminology ends up winning). This patch does this rename. 17 June 2020, 02:10:26 UTC
0a2644a optimizer: add Instruction/InstructionStream abstraction (#34306) 16 June 2020, 22:59:56 UTC
c54a6ea Update to GMP 6.2.0 (#36309) This fixes a few bugs and brings performance improvements; for the full release notes, see <https://gmplib.org/gmp6.2>. Two patches were removed as they are no longer necessary. 16 June 2020, 22:51:36 UTC
6cdfcf9 deleteat! : check bounds for the first passed index (#36231) * deleteat! : check bounds for the first passed index All other indices are bound-checked. Currently, the behavior looks like: ```julia julia> deleteat!([1:1000;], [-100]) signal (11): Segmentation fault [...] julia> deleteat!(BigInt[0], [0]) free(): invalid next size (normal) signal (6): Aborted [...] julia> deleteat!(BigInt[0], [-100]) ERROR: UndefRefError: access to undefined reference [...] julia> deleteat!([0], [0]) Int64[] julia> deleteat!([0], [2]) 1-element Array{Int64,1}: 0 julia> deleteat!([0], [3]) ERROR: InexactError: check_top_bit(UInt64, -1) [...] ``` With this commit, all these expressions throw a `BoundsError`. * Update base/array.jl Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com> Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com> 16 June 2020, 17:47:24 UTC
33659c7 Remove `init` from `count!` docstring (#36305) 16 June 2020, 17:46:54 UTC
2749582 Fix more invalidations from overloading `==` (#36282) * Improve typing of ProcessGroup.refs * Add type annotation in stacktrace handling * Eliminate boxing in REPL Related to #15276 16 June 2020, 17:33:12 UTC
cde6268 Improve inference for `unique` with abstract eltypes (#36280) #20317 improved inference of unique, but problematic cases still arise for containers with known but abstract eltypes. Here, we short-circuit the `typejoin` when the return type is determined by the element type of the input container. For `unique(f, itr)`, this commit also allows the caller to supply `seen::Set` to circumvent the inference challenges. 16 June 2020, 17:31:35 UTC
6c760d2 Promote on Rational binary operations (#36279) 16 June 2020, 17:30:02 UTC
772a40f docs: strings: clarify reverse examples (#36268) The examples render differently on different systems and it's not always obvious how they are meant to render. This commit adds comments that explain what they're supposed to be. fixes #35941 16 June 2020, 17:29:10 UTC
dd76c0e Fix bug on introspection macros on broadcasting syntax (#36267) 16 June 2020, 17:27:24 UTC
1558e76 Fix undef in cat for eltypes that are not <:Number (#36222) 16 June 2020, 17:24:22 UTC
9ed10de docs note testset creates local scope (#36302) 16 June 2020, 15:58:27 UTC
4441245 Show progress indicator when precompiling (#36190) 15 June 2020, 20:24:03 UTC
a66ee3f Fix description of options to --trace-compile (#36189) 15 June 2020, 19:40:58 UTC
5853103 Finish adding types to fields in REPL (#36281) This finishes the work started in #22377 15 June 2020, 18:55:11 UTC
4331b24 Add keyword argument constant propogation to News (#36292) I think https://github.com/JuliaLang/julia/pull/35976 is a pretty big deal since it makes all of SciML suddenly infer a lot better, and probably another big library that's splatting keyword arguments. So I added a note to the compiler/runtime improvements. 15 June 2020, 18:44:33 UTC
8d91b11 fix #36272: Error with optional argument in anonymous function defined in macro (#36273) 15 June 2020, 16:34:40 UTC
25dc696 faster repeat(::AbstractArray ...) (#35944) * faster repeat(::AbstractArray ...) * Update base/abstractarraymath.jl Co-authored-by: Matt Bauman <mbauman@gmail.com> * Update base/abstractarraymath.jl Co-authored-by: Matt Bauman <mbauman@gmail.com> * Update base/abstractarraymath.jl Co-authored-by: Matt Bauman <mbauman@gmail.com> * fix * better repeat errors Co-authored-by: Matt Bauman <mbauman@gmail.com> 15 June 2020, 15:43:26 UTC
13b07fc mention methodtable Ctrl+Q trick in methodshow (#35556) Co-authored-by: Takafumi Arakaki <takafumi.a@gmail.com> Co-authored-by: Jameson Nash <vtjnash@gmail.com> 14 June 2020, 17:33:48 UTC
446618d fix #36270: 3-arg `dot` missing in documentation page (#36271) 14 June 2020, 15:17:23 UTC
5ecb8e2 When using mismatched deps version, add a removal suggestion (#36247) 13 June 2020, 18:08:23 UTC
6b2ffd3 Fix some invalidations from extending `==(::Any, ::SomeType)` (#36255) 13 June 2020, 11:42:53 UTC
1e76111 use a function in pkg precompile instead of writing code to stdin (#36028) 12 June 2020, 16:23:29 UTC
f890d86 Merge pull request #35582 from stev47/feature/dates-pad-milli zero-pad milliseconds for DateTime 12 June 2020, 13:49:34 UTC
6e7bc68 docs: Fix indentation on !!! warn section (#36254) Related to #35526. Thanks to @kimikage for the heads up. 12 June 2020, 12:36:58 UTC
e7a1b99 Replace LinearAlgebra._iszero by Base.iszero (#36194) 12 June 2020, 07:52:13 UTC
0c92375 Fix: rem2pi for negative values greater than 2pi (#36233) * Fix rem2pi for RoundToZero * add extra tests for rem2pi 12 June 2020, 05:15:19 UTC
69ce9d2 Rewording related to disability (#36249) Some disability related rewording 12 June 2020, 01:27:28 UTC
70fe622 remove unnecessary Box when an argument is used before assigned (#36245) 12 June 2020, 01:26:47 UTC
abc7f75 More thoroughly document apropos (#35903) I've frequently found myself wishing for a regex-based apropos but didn't realize it already existed since it's not mentioned in the docstring. * Document apropos help-mode in manual * Update apropos docstring for clarity and terseness 11 June 2020, 14:44:23 UTC
a3ef188 Fix diagm_container for types without zero (#35743) 11 June 2020, 14:41:08 UTC
f0b369c Example of finalizer registered within constructor (#36118) 11 June 2020, 14:24:38 UTC
38f2c59 Add more details about TerminalMenus API changes to NEWS (#36210) 11 June 2020, 09:47:08 UTC
70d8497 Support `init` keyword in `sum`/`prod`/`maximum`/`minimum` (#36188) Co-authored-by: Tim Holy <tim.holy@gmail.com> Co-authored-by: Milan Bouchet-Valat <nalimilan@club.fr> 11 June 2020, 07:50:44 UTC
4c16ccb Bump LibGit2 to 0.28.5 (#36067) Until we can build 1.0.0 (#35233). 10 June 2020, 16:41:46 UTC
023c59a Fix a typo in docs: "solve some problem(s)" (#36219) 10 June 2020, 12:57:54 UTC
a018dc0 Reorganize logmsg_code and line-length fixes (#36183) * more processing of logmsg args to own function * respect 92 character limit 10 June 2020, 04:25:04 UTC
ed7332c Include Threads.foreach in documentation (#36218) 10 June 2020, 02:38:28 UTC
4e2fb5c Revert "Normalize (simplify) `UnionAll`s when used as type parameter" This reverts commit d20e34f16309328f1ac731db5b0fe57656f9fce2. Sorry! 09 June 2020, 12:13:41 UTC
d20e34f Normalize (simplify) `UnionAll`s when used as type parameter 09 June 2020, 11:54:32 UTC
36270e9 Improve the API of REPL.TerminalMenus (#35915) This overhaul of the `AbstractMenu` extension interface of `REPL.TerminalMenus` addresses several concerns: - Printing the "paging" navigation indicators was handled by TerminalMenus, but the subtype methods were expected to print the cursor indicator and, for multiple-selection menus, the selection status indicators in a manner that preserved alignment. There was no obvious reason for the inconsistency. - Printing these indicators relied on accessing a mutable private global variable in TerminalMenus. It was therefore not possible to use different settings simultaneously for two different menus (e.g. a main menu and its submenus). - The API required that subtype methods supply a list of strings for each menu-option when really it only needed to know how many options were available. This was particularly problematic for large, dynamic menus whose options might change and for which lists of options would have to be reallocated regularly but were then thrown away after checking their length. This deprecates the old interface in a backward-compatible manner, so is non-breaking. 09 June 2020, 07:34:51 UTC
9738e4b Refactor cache logic for easy replacement (#35831) * Refactor cache logic for easy replacement This is the next step in the line of work started by #33955, though a lot of enabling work towards this was previously done by Jameson in his codegen-norecursion branch. The basic thrust here is to allow external packages to manage their own cache of compiled code that may have been generated using entirely difference inference or compiler options. The GPU compilers are one such example, but there are several others, including generating code using offload compilers, such as XLA or compilers for secure computation. A lot of this is just moving code arround to make it clear exactly which parts of the code are accessing the internal code cache (which is now its own type to make it obvious when it's being accessed), as well as providing clear extension points for custom cache implementations. The second part is to refactor CodeInstance construction to separate construction and insertion into the internal cache (so it can be inserted into an external cache instead if desired). The last part of the change is to give cgparams another hook that lets the caller replace the cache lookup to be used by codegen. * Update base/compiler/cicache.jl Co-authored-by: Tim Besard <tim.besard@gmail.com> * Apply suggestions from code review Co-authored-by: Jameson Nash <vtjnash@gmail.com> * Rename always_cache_tree -> !allow_discard_tree Co-authored-by: Tim Besard <tim.besard@gmail.com> Co-authored-by: Jameson Nash <vtjnash@gmail.com> 09 June 2020, 03:10:38 UTC
d765e59 Remove unnecessary use of ans keyword from manual (#36202) * Remove unnecessary use of ans keyword from manual The ans keyword adds to the cognitive load for new users reading the manual, potentially distracting their focus from the examples. This commit replaces non essential uses of ans in the manual with clear variable assignments. * Fixes wraparound integer doctest from FAQ * Mention ans variable in Getting Started doc * Restore ans variable to Getting Started doc 09 June 2020, 02:02:22 UTC
a51015c Allow non-Function callables to be used in count(f, itr) (#36187) 08 June 2020, 23:27:09 UTC
e6eafce Revise-test: make sure all workers load Revise (#36124) This fixes the errors ``` julia> Base.runtests(["REPL", "cartesian"]; revise=true) ERROR: LoadError: On worker 2: UndefVarError: Revise not defined ``` and then later ``` julia> Base.runtests(["REPL", "cartesian"]; revise=true) ERROR: LoadError: On worker 2: UndefVarError: STDLIBS not defined ``` 08 June 2020, 22:46:05 UTC
a99a87c Add parse method for UUID (#36199) * Add parse method for UUID * Add test for UUID parse function * [skip ci] Add NEWS for UUID parse function 08 June 2020, 22:19:24 UTC
d57c648 fix #36196, failure to give `expected "end"` error in parser (#36198) 08 June 2020, 22:19:01 UTC
cb41bbb in inference, disallow 3-element Unions if one elt is abstract (#36200) 08 June 2020, 22:16:15 UTC
0e062e9 Fix Broadcasting of Bidiagonal (#35281) 08 June 2020, 20:14:42 UTC
07385ab Define convert for UniformScaling (#36193) 08 June 2020, 16:02:04 UTC
back to top