https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
7fd07d9 Make `unique(f, itr)` and `unique!(f, itr)` faster (#30286) * Make `unique(f, itr)` and `unique!(f, itr)` faster Avoid creation of a `Set{Any}`. * Fix unique! for resizable OffsetVector (cherry picked from commit c2fb1dc7f1ce40bca76945422a4f62f07ae58d81) 10 December 2018, 13:20:38 UTC
ae33118 Fix armv7l compilation (#30253) * src/task.c: Use `bx` instead of `br` instruction on armv7l * Fix typo and incorrect initialization within `jl_getauxval` on armv7l. (cherry picked from commit d7c3926b85c9c4e5e31438d2974ef707c8456684) 09 December 2018, 00:37:59 UTC
1fc30b5 Add LinearAlgebra as test dependency to Distributed. (#30311) (cherry picked from commit a0bc8fdb7569aaf83a477e0ee59a2ef791a52756) 09 December 2018, 00:37:58 UTC
1af3b18 Fix makefile not removing libjulia-debugon windows (#30059) (cherry picked from commit bcca2504b082ccb9dd19eb3696f9fc6e547ccfd5) 09 December 2018, 00:37:58 UTC
36b60b7 fix #30303, escaping $ when showing Symbols (#30304) * fix #30303, escaping $ when showing Symbols * use repr instead of escape_string (cherry picked from commit f0b9499f5f311567ba4fda1bf14355009d592ff3) 09 December 2018, 00:37:57 UTC
797a24d Some more compat annotations (#30297) * Compat annotation for unique!(f, A), #30141. Compat annotation for rank(A; rtol=..., atol=...), #29926. * Update stdlib/LinearAlgebra/src/generic.jl (cherry picked from commit 4fc446f1790fe04e227ff96ab75a01d130e2d930) 07 December 2018, 23:29:23 UTC
b55b85c spawn/IO: supercharge the API (#30278) - Permit IOBuffer as an input/output, and automatically create a Pipe to feed to/from it. - Improved handling for using CmdRedirect on fd >= 3 - Allow any number of stdio handles to be passed to the child (including zero), not just precisely 0-2 - Clearer ownership expectations (less code duplication) in `_spawn` calls, ensuring we always call `setup_stdio` early and exactly once - Stop capturing all IO handles in Process.in/.out/.err Since usually we only have the child side of the handle at the point we were trying to set this, while we want this to be the parent handle. Instead, we now handle this at the caller level in the `open` method, which has better information and intent given for this. (To preserve the old behavior, we also include the old heuristic in `run` for setting these handles.) - Ensure that most of the code won't need to be specialized on every (stdin, stdout, stderr) tuple combination that gets used - Implement `open(::OS_HANDLE)` for taking ownership of a raw `fd` handle, and the corresponding constructors `PipeEndpoint(::OS_HANDLE)` and `TCP(::OS_HANDLE)` (such as may now be passed via CmdRedirect). 07 December 2018, 17:20:35 UTC
6e8f1b8 Use standard interface for Test.GenericArray (#30291) The previous implementation violated the standard AbstractArray interface and was, in some cases, a source of ambiguities. Since you have to load `Test` to use `detect_ambiguities`, this needs fixing. 07 December 2018, 09:42:33 UTC
87c5f36 Create new sparse matrix for R factor in sparse least square solve (#30289) instead of using a view to avoid slow fallback in back substitution. Fixes #30288 07 December 2018, 09:18:45 UTC
c130002 make `Vector{UInt8}(::String)` copy as documented. (#30295) closes #24388 07 December 2018, 08:12:06 UTC
1875947 `get(A::AbstractArray, (), default)` should get `A[]` (#30270) 07 December 2018, 06:34:06 UTC
0ff4253 fix forwarding of lowering errors in generated function code (#30285) 07 December 2018, 06:32:58 UTC
f8dee38 fix deleteat! for 0-length arrays (#30287) 07 December 2018, 06:32:21 UTC
cd7041e Fix find(in(b), a) to return cartesian indices for matrix a (#30226) For consistency with find(x -> in(b), a). Restrict function signatures for clarity, as a needs to support keys/pairs and these internal functions are only called on arrays and tuples. 07 December 2018, 06:27:38 UTC
5509306 Implement a hook in base for disabling threading (#30004) of libraries, use it to decouple Distributed from LinearAlgebra. 07 December 2018, 06:26:21 UTC
fcd031b Document more details on array assignment (#30092) * Followup to #29167. More carefully explain the scalar case, and lead with the shape of the indices to drive the discussion 06 December 2018, 21:57:43 UTC
55e95ad ArgumentError("stream is closed or unusable") -> IOError (#29274) Fix #29260 06 December 2018, 21:44:03 UTC
1c05d0c fix #28673, error for trying to allocate e.g. `Array{3}` (#30281) 06 December 2018, 19:14:26 UTC
4e97220 reorg compiler tests (#30280) - compiler/compiler => compiler/inference - move codegen and inline tests to compiler/ directory 06 December 2018, 19:14:05 UTC
9b6eb0d Remove duplicate type output with InexactError (close #29766) (#30283) 06 December 2018, 19:13:19 UTC
060d1bf Add relative and absolute tolerance for rank. (#29926) 06 December 2018, 18:58:58 UTC
0894208 remove unused some.jl from compiler image (#30279) 06 December 2018, 17:07:32 UTC
43c2207 fix #29828, make use of TypeError more consistent (#30272) 06 December 2018, 17:06:42 UTC
7caf13b fix #29829, better error for passing wrong type of keyword arg (#30274) 06 December 2018, 17:02:53 UTC
5cbbed3 Merge pull request #30141 from raghav9-97/solveissue Added unique!(f, itr) function 05 December 2018, 23:05:46 UTC
44817f0 Bring back NEWS to the manual (#30282) * Bring back NEWS.md to the manual. * Misc NEWS.md changes: - Separate out stdlib changes into separate headings. - Remove emtpy Compiler section. - Change Julia 1.1.0 to Julia 1.1 05 December 2018, 22:31:35 UTC
abafa90 implement #30151, accept filename in (de)serialize (#30267) 05 December 2018, 20:40:35 UTC
5fd7cfb fix #30122, bad type intersection involving NTuple and Vararg (#30265) 05 December 2018, 20:39:36 UTC
ff0acfe Add Sys.is* for all recognized kernels (#30249) We have `Sys.is*` for a subset of supported platforms, but not for all recognized kernels, e.g. FreeBSD, OpenBSD, etc. `Sys.isbsd` isn't specific enough in some cases, and `Sys.KERNEL === x` is inconsistent with other systems. 05 December 2018, 20:39:20 UTC
0e155bc add get method that accepts CartesianIndex (# 30259) (#30268) 05 December 2018, 19:24:21 UTC
f81123f Implement methods for kron with a Diagonal argument (#30232) * This implements methods for kron(::Diagonal, ::AbstractMatrix) and kron(::AbstractMatrix, ::Diagonal). These methods are typically twice as fast as the fallback methods when the other argument is a Matrix. * The test for the existing method for kron(::Diagonal, ::Diagonal) was missing the @test macro, probably inadvertently. I added the macro and checked that the test indeed passes. 05 December 2018, 19:19:58 UTC
6175bd9 Compat admonitions and NEWS for Julia 1.1 (#30230) Addition of NEWS and compat admonitions for important changes between Julia 1.0 and 1.1, including: - Custom .css-style for compat admonitions. - Information about compat annotations to CONTRIBUTING.md. - NEWS.md entry for PRs #30090, #30035, #30022, #29978, #29969, #29858, #29845, #29754, #29638, #29636, #29615, #29600, #29506, #29469, #29316, #29259, #29178, #29153, #29033, #28902, #28761, #28745, #28708, #28696, #29997, #28790, #29092, #29108, #29782 - Compat annotation for PRs #30090, #30013, #29978, #29890, #29858, #29827, #29754, #29679, #29636, #29623, #29600, #29440, #29316, #29259, #29178, #29157, #29153, #29033, #28902, #28878, #28761, #28708, #28156, #29733, #29670, #29997, #28790, #29092, #29108, #29782, #25278 - Documentation for broadcasting CartesianIndices (#30230). - Documentation for Base.julia_cmd(). - Documentation for colon constructor of CartesianIndices (#29440). - Documentation for ^(::Matrix, ::Number) and ^(::Number, ::Matrix). - Run NEWS-update.jl. Co-authored-by: Morten Piibeleht <morten.piibeleht@gmail.com> Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com> 05 December 2018, 09:42:24 UTC
6594acc fix #30114, specificity transitivity errors in convert methods (#30160) 05 December 2018, 02:29:32 UTC
49c4e09 perf: optimize append_any function (#30248) Reimplement a larger portion of the optimizations in jl_f__apply in the fallback function, so we can reduce the performance wall in more cases. General fix for #29133-like performance issues 05 December 2018, 01:30:51 UTC
2b0fec6 Merge pull request #30251 from JuliaLang/jn/re-coverage codegen,coverage: handle inlining info 05 December 2018, 01:30:21 UTC
b482b09 fix #30234, don't resolve bindings when tab-completing `using` (#30254) 05 December 2018, 00:41:48 UTC
92e82b6 Tests for UUID conversion methods (#30244) 04 December 2018, 22:19:34 UTC
13049f2 fix formatting in bullets for simdloop (#30261) 04 December 2018, 21:58:47 UTC
11c5680 speed up (de)serialization of Base bits types in abstract containers (#30221) helps #30148 04 December 2018, 19:17:14 UTC
7c03b12 Bump Pkg to 1.1-beta(ish) (#30257) * Fix doc-build for external stdlib docs. * Bump Pkg to v1.1-beta(ish). 04 December 2018, 19:09:38 UTC
5976236 Merge pull request #25278 from JuliaLang/rf/rand/fromtuples add rand(::Tuple) 04 December 2018, 15:09:52 UTC
d8558ee doc: fix typo for named regex capture group (#30237) 04 December 2018, 14:46:30 UTC
7920a2a NEWS and compat annotation for each(row|col|slice) #29749 (#30245) 04 December 2018, 07:53:50 UTC
7a5042a Add C-linkage to gc extensions for correct compiling in C++ (#30242) 03 December 2018, 21:21:46 UTC
4bc155a codegen,coverage: handle inlining info Previously, we were just blindly ignoring inlined_at information. This worked out usually OK with inlining disabled, but missed a lot of potentially good information otherwise, likely contributing to #28192. 03 December 2018, 20:55:54 UTC
7ea4542 make use of scientific notation for BigFloat consistent with other types (#29211) This switches to non-scientific notation when the scientific exponent would be in `-4:5`, as is the case for e.g. Float64. For example, `string(big(42.0))` is now `"42.0"`. 03 December 2018, 19:38:36 UTC
6b04291 Row and Column Iterator for Matrices (#29749) * first pass, sans tests * add test * refactor a bit * fix eltype to show views * fix whitespace * fix typo * rename [ci skip] * typofix [ci skip] * add eachslice() [ci skip] * eachcolumn => eachcol and a bit of error handling [ci skip] * feedback * fix whitespace * refactor eachslice; type-stable now? * git feedback * more git feedback * remove default for eachslice * add tests * prune eachrow eachcol exports and newline fix? * typo in exports * update docs for AbstractArray [ci skip] * Update test/arrayops.jl Co-Authored-By: arnavs <soodarnav01@gmail.com> * Update base/abstractarraymath.jl Co-Authored-By: arnavs <soodarnav01@gmail.com> * bikeshedding * Add missing backticks and improve message [ci skip] * add exports for eachcol, eachrow [ci skip] 03 December 2018, 18:02:37 UTC
15ce5ef oneunit of unitfull matrix should return a unitfull matrix (#30227) 03 December 2018, 17:38:40 UTC
a26031e Update libosxunwind to v0.0.5 (#30231) 03 December 2018, 17:16:00 UTC
4e44e8a Merge pull request #30046 from JuliaLang/jn/update-libuv2 update libuv to synchronize with v1.24.0 03 December 2018, 14:30:29 UTC
71748da Remove incorrect return in load_path_expand (#30224) This fixes a problem where Julia does not find and active project when the ~/.julia/environments/v#.# folder exist but does not contain a Project.toml file. 03 December 2018, 10:44:37 UTC
7614cec Fix code paths in anticodegen.c 02 December 2018, 23:15:17 UTC
d851fa5 Fix "duplicate definition of jl_typestack_t" error Certain versions of clang seem to dislike doing the typedef twice, so use a forward declaration and only one typedef. 02 December 2018, 23:15:17 UTC
413fc47 Detangle Slice and fix mixed-dimension in-place reductions (#28941) * Detangle Slice between whole dimensions and axes We use axes in many downstream computations that may not re-index directly into the original array, so we add a second type parameter to `Slice` that is turned on when converting `:` in indexing expressions -- and really only `SubArray` cares about. * Reduce allocations for in-place reductions and fix mixed-dimensionality edge-cases Alleviates #28928 but does not completely remove allocations due to the allocation of the view that gets passed to `map!`. * Introduce a whole new IdentityUnitRange that we will encourage offset array implementations to use instead of Base.Slice * Test that maximum! allocates less 01 December 2018, 19:14:48 UTC
ecd7291 Initialize the union selector of undefined upsilon nodes While we're guaranteed never to look at undefined values, we're not guaranteed that the type information can't change, which in the case of a union generates code to change the layout. As a result, we need to make sure to have the union selectors be valid (the actual data will be junk and no semantic operation will ever look at it, but it shouldn't be ouf of bounds). Ref #29152 01 December 2018, 14:27:26 UTC
5b827f5 Merge pull request #30076 from bramtayl/patch-1 Slight refactor to collection widening 01 December 2018, 04:59:11 UTC
d54f40d Update libgfortran name matching to include SOVERSION (#30135) This fixes the annoying re-copying of `libgfortran` every time on machines that have an SOVERSIONed filename. 01 December 2018, 01:36:00 UTC
3dd678f fix typo (#30209) - ccall :GetClipboardData failed should throw a `GetClipboardData` error 30 November 2018, 22:20:24 UTC
092657d sockets: support IDNA 2008 (punycode) in getaddrinfo Refs: https://github.com/libuv/libuv/pull/2046 30 November 2018, 22:16:17 UTC
586e636 libuv: upgrade to v2 master fork Now synchronized with v1.24.0 30 November 2018, 22:14:39 UTC
055da33 Merge pull request #30215 from blegat/ReverseEmptyStepRangeLen Fix reverse with empty StepRangeLen 30 November 2018, 22:12:09 UTC
245bc6d fix #21233, start REPL when script run with `-i` throws an error (#30199) 30 November 2018, 22:08:00 UTC
25f7537 Merge pull request #30213 from JuliaLang/ksh/alphaomega Test for first/lastness of reversed iterators 30 November 2018, 21:16:15 UTC
9d8fe1a Merge pull request #30214 from JuliaLang/ksh/zipcount Tests for size(Zip) and countfrom() 30 November 2018, 21:16:02 UTC
b409238 Fix reverse with empty StepRangeLen 30 November 2018, 17:07:46 UTC
ac0e75c Tests for size(Zip) and countfrom() 30 November 2018, 16:47:03 UTC
dd7d2f5 Test for first/lastness of reversed iterators 30 November 2018, 16:33:46 UTC
3ba74d6 LinearAlgebra: delete _rand_pm1! in favor of rand! 30 November 2018, 16:03:28 UTC
c271362 add rand(::Tuple) 30 November 2018, 16:03:25 UTC
80820ac Merge pull request #30019 from sebasguts/sg/ccall_docs Extended ccall documentation 30 November 2018, 14:26:40 UTC
b3cf152 reliable line numbers in code info printing (#29893) * code_llvm annotations: format prettier Use box-drawing characters and indentation to make the output readable more rapidly. * code_typed/code_lowered: format line-info similarly to code_llvm/code_native For consistency of user experience, reduce the variance in our IR printing across formats. This also now shows inlining and line number information even if the output device might not support color, which was previously impossible (a regression since v0.6). * code formatting: reduce inlining indentation Here we make the observation that it's somewhat common to have chains of methods of one function that recursively handle arguments in some fashion (for example, map-tuple or +). However, since they all have the same method name, it's possible to represent these on a single line. * code show: thread debuginfo verbosity parameter throughout APIs These levels are intended to roughly correspond approximately to compiler options -g0 (none) through -g2 (including local variables). Currently we do not implement the ability to represent local variable information, so the default is to only show line number information suitable for identifying the source line of a given statement (but not the types). * code formatting: enable color usage Only for Julia IR, for now. Later, this should be threaded into code_llvm and enabled there also. I chose green for new nodes (like new life), and used yellow for metadata (because the strong contrast helps to hide it visually, and similar to sticky notes), and used grey for basic blocks (because they are minor information), and used cyan/gray/Base.warn_color() for type information (because that's what we've always used). 30 November 2018, 14:24:06 UTC
ef496b0 Two documentation updates (#30049) * `require` takes to arguments * `jl_new_uniontype` does not exist anymore 30 November 2018, 09:55:02 UTC
795591f Merge pull request #30164 from JuliaLang/teh/bcast_axis_promotion Use only safe axis types for Broadcast.combine_axes 30 November 2018, 09:05:23 UTC
a87860a Revert "Update libosxunwind to v0.0.4 (#30153)" (#30203) This reverts commit 5221fedef9320d5aebac8dffdef5e249c84298be. A bad interaction between libosxunwind's Makefiles and Julia's makefiles broke this for newer macs, see https://github.com/JuliaLang/julia/pull/30153 for more details. 30 November 2018, 08:22:36 UTC
6bfe947 avoid jl_arrayunset in dicts with bitstypes; add some more @inbounds (#30113) * avoid jl_arrayunset in dicts with bitstypes; add some more @inbounds * also skip jl_arrayunset for isbitsunion * amend typo 30 November 2018, 02:56:26 UTC
67bba81 add `@locals` macro for obtaining dictionary of local vars and values (#29733) implements #29366 30 November 2018, 02:51:26 UTC
7ba6c82 Implement get! and get for IdDict with a callable default (#30187) Fixes #30165 30 November 2018, 02:49:16 UTC
e4f408e fix #29429, make local-sparam conflict an error instead of warning (#30184) 29 November 2018, 21:59:51 UTC
4b270b1 Fix issue with Git Credential Manager for Windows (#30195) - Ignores additional whitespace when reading in credentials. - Warn when encountering unknown attributes. Should allow for more graceful failures in the future if the protocol is extended. 29 November 2018, 21:49:41 UTC
3f8c311 Tests for float conversions with many leading zeros (#30020) 29 November 2018, 20:42:13 UTC
2b688c3 Tests for prev/this/nextind with Integer args (#30193) 29 November 2018, 20:39:59 UTC
5221fed Update libosxunwind to v0.0.4 (#30153) Fixes #29912. 29 November 2018, 20:22:58 UTC
8012ba1 fix #29781, disallow spaces in broadcast calls (#30182) 29 November 2018, 20:17:59 UTC
15f649c fix #29968, qualify macro names in parsing int literals and cmds (#30181) 29 November 2018, 20:16:52 UTC
9cc759f add some 1.1 NEWS (#30183) [ci skip] [av skip] 29 November 2018, 20:14:54 UTC
4ee464e fix Rational -> BigFloat rounding (#30189) 29 November 2018, 19:43:36 UTC
caea73d Make randperm and randcycle use the argument's type. (#29670) Remove tests for eltype being `Int`. This is potentially controversial as it may break things, but I did not see it documented anywhere as part of the API. 29 November 2018, 19:35:11 UTC
89a2c08 don't print `Type{Vararg}` in type errors, since that expr is invalid (#30180) 29 November 2018, 19:16:49 UTC
2ec5560 inference: fix a mistake with ssa_def_expr usage (#30179) Uses of this function previously assumed that all Slots were SSA. Fortunately, we now just have one user (post #29935) and it has very simple requirements so we can check conservatively for this case without loss of (much) accuracy. 29 November 2018, 17:01:08 UTC
a50d5af fix #29885, make grisu digit buffer task-local (#29907) 28 November 2018, 20:23:27 UTC
d4c6d16 Allow boolean parsing of strings containing 0 and 1 (#29997) 28 November 2018, 20:17:04 UTC
f1a41e2 Merge pull request #30166 from JuliaLang/tb/restore_globalunique Don't restore globalUnique. 28 November 2018, 19:28:12 UTC
a2a440e fix #30062, need front-end error for invalid multiple update lhs (#30069) 28 November 2018, 18:09:35 UTC
f24711c Do not allow THIN SPACE U+2009 as an operator suffix (#30158) 28 November 2018, 17:47:21 UTC
437d87c [AllocOpt] Track deleted instructions It was possible for the instruction contained in first_safepoint to be delted, causing use-after-free problems later. Use a WeakVH rather than a raw Instruction* to null-out the entry when the Instruction gets deleted. In the future we may want to pay closer attention to live ranges to avoid this problem entirely. Fixes #30116 28 November 2018, 15:30:45 UTC
065d0f5 Merge pull request #30149 from JuliaLang/teh/fix_28611 Use ReshapedArray for isbitsunion arrays (fixes #28611) 28 November 2018, 13:53:45 UTC
402c747 Merge pull request #30102 from JuliaLang/nl/findminmax Fix findmin/findmax to return cartesian indices for BitMatrix 28 November 2018, 11:41:41 UTC
076ea45 Fix Matrix(QRSparseQ) constructor (#26392) * Fix Matrix(QRSparseQ) constructor Fixes #26367 * Make sure that size(Q, i) definition covers HessenbergQ 28 November 2018, 10:04:02 UTC
9c8560f Add news for #30159 (#30169) 28 November 2018, 08:29:41 UTC
a9161d9 Fix findmin/findmax to return cartesian indices for BitMatrix For consistency with other AbstractArray types. The call to keys is optimized out by the compiler for vectors thanks to @inbounds. 28 November 2018, 08:26:55 UTC
back to top