Commit Graph
11149 Commits
Author SHA1 Message Date
José Valim 2c54554f18 Add discard_threshold to Logger (#7193) 2018-01-11 10:07:10 +01:00
José Valim 17d83390d5 Fetch new dependencies on mix deps.update, closes #7194 2018-01-10 11:38:40 +01:00
José Valim f4895fe149 Remove leftover inspect 2018-01-10 09:41:35 +01:00
José Valim 8c93e315ec Allow :macros and :includes to be given to Record.extract, closes #7195 2018-01-10 09:33:09 +01:00
Devon Estes 33548632eb Add additional documentation for assert_in_delta and refute_in_delta (#7191) 2018-01-09 15:08:04 +01:00
José Valim d222b98971 Fix precedence of & in regards to =, closes #7188 2018-01-09 14:13:45 +01:00
Marcin Szczepaniak b0e72f1e6d Simplify recursion in Integer.digits (#7190) 2018-01-09 14:01:29 +01:00
José Valim 0db0b85f52 Consider case ignorable characters on Greek downcasing, closes #7149
Note this does not impact the runtime cost of other downcasing
operations. The final beam file grew only in 8kb.
2018-01-09 13:59:13 +01:00
Devon Estes 6496bf1b4e Change assert_in_delta better handle a delta of 0 (#7189)
Previously if the two values that we were checking were within a given
delta were equal, they would fail if the expected delta was `0`.
2018-01-09 13:12:25 +01:00
Andrea Leopardi 69bef590cf Fix a typo in a heredoc-related warning
[ci skip]
2018-01-08 14:23:39 +01:00
José Valim 49cf54762d Remove unecessary digit/undigit clauses, closes #7187 2018-01-07 22:23:52 +01:00
José Valim 05b87dc665 Remove : from mix path helpers to avoid issues on Windows 2018-01-07 22:13:15 +01:00
José Valim 56b6d2894a Warn if heredoc is outdented, closes #7174 2018-01-07 17:46:42 +01:00
José Valim a66717af68 Do not autogenerate docs for defdelegate
This would cause code with multiple clauses where the last
one is a delegate to contain the wrong documentation.
2018-01-06 23:26:34 +01:00
José Valim e89d6c7618 Hint the node@host format in --remsh error, closes #7170 2018-01-06 14:23:53 +01:00
José Valim ead747ee0f Raise if imported dependencies have not been checked out on mix format 2018-01-05 18:44:29 +01:00
Frank Hunleth d96919352d Fix inspect for non-decimal negative integers (#7181)
Before:

iex> inspect(-1, base: :hex)
"0x-1"

After:

iex> inspect(-1, base: :hex)
"-0x1"

This change also applies to the octal and binary base options.
2018-01-05 18:44:17 +01:00
José Valim 6e8c275e6c Revert "Attempt to soft_purge modules, closes #7047"
Soft purging modules was badfun/badarg errors when
invoking left over anonymous functions.
2018-01-05 17:22:20 +01:00
José Valim 0c4ba5b653 Properly handle :erlang.element in Exception blame 2018-01-05 17:22:20 +01:00
Aaron Tinio 0e2906680f Fix typo (#7178) 2018-01-05 08:36:50 +01:00
José Valim f85e490cb3 Rearrange equals and inserts for shorter diff scripts
Closes #7169.
2018-01-02 23:06:52 +01:00
Wojtek Mach c5180fca12 Add @impl true to StringIO & IEx.Pry (#7167) 2018-01-01 18:27:31 +01:00
Wojtek Mach 15390df55c Don't mention deprecated {Map,Keyword}.replace/3 in docs (#7166) 2018-01-01 16:58:58 +01:00
Wojtek Mach 7a653fc824 Autolink to calendar types 2018-01-01 12:35:21 +01:00
Wojtek Mach e2bb0f97a5 Autolink sigils 2018-01-01 12:35:21 +01:00
Wojtek Mach 2d10d022f8 Autolink operators 2018-01-01 12:35:21 +01:00
José Valim 08eb97021d Do not leak variables during optimizations, closes #7161 2018-01-01 12:04:15 +01:00
Xavier Noria 659392641e s/when/after/ in Application.stop/1 docs [ci skip] (#7164) 2018-01-01 11:45:36 +01:00
Angelika Tyborska 20ed657366 Fix Application start and start_phase spec (#7153)
Related Erlang documentation:
http://erlang.org/doc/apps/kernel/application.html#Module:start-2
http://erlang.org/doc/apps/kernel/application.html#Module:start_phase-3
http://erlang.org/doc/apps/kernel/application.html#type-start_type
2017-12-30 18:50:09 +01:00
José Valim 3db9d7e224 Organize struct name matching in map_test 2017-12-30 18:42:45 +01:00
José Valim 241bd72c59 Improve docs for matching macro arguments on break!
See #7155.
2017-12-30 18:36:13 +01:00
Donald Little 2337d11ecb Return right side expression value on struct matching (#7160) 2017-12-30 18:35:40 +01:00
Daniel Kempkens 7715afd3b1 Fix Supervisor.child_spec() type (#7157) 2017-12-29 21:54:30 +01:00
José Valim 5723d95e6e Clear up deprecations page 2017-12-27 13:12:33 +01:00
Tomasz Marek Sulima f3949bf353 Make formatting options and task options clearer (#7150) 2017-12-27 09:34:38 +01:00
José Valim 56413f3a42 Remove deprecation warnings 2017-12-26 23:18:18 +01:00
José Valim 3f95b4a17d Improvements to greek handling of downcase, closes #7149 2017-12-26 23:11:17 +01:00
José Valim a12d8ec342 Store expanded expressions in defguard, closes #7147 2017-12-26 00:06:28 +01:00
Mohnish G J 64fbdc5b48 Explicitly specify :infinity as a :limit in IO.inspect (#7146) 2017-12-25 17:14:31 +01:00
José Valim 4723634641 Add new deprecation and CHANGELOG info 2017-12-25 10:10:33 +01:00
José Valim b37cce6ff5 Fixes to readme and deprecation pages 2017-12-25 10:05:16 +01:00
José Valim 9ba92ac6bb Fix clean command for erlang-based compiler tasks 2017-12-24 23:22:07 +01:00
Andrea Leopardi 56b81ffc4d Hard-deprecate some things for 1.7 (#7139) 2017-12-24 21:32:56 +01:00
José Valim b79968281b Clarify :async option 2017-12-24 16:38:51 +01:00
José Valim 7546071235 Update deprecations table, closes #7137 2017-12-24 12:16:26 +01:00
José Valim 49212cacdb Ensure we can still receive [term()] in start_child spec, closes #7138 2017-12-24 12:16:21 +01:00
José Valim 1e3522b202 Revert "Add support for supervisor fun to Task.Supervisor.async_stream/* (#6552)"
This reverts commit 753a26dcc0.
2017-12-23 20:01:32 +01:00
José Valim fc32f5734f Add advice regards deprecations 2017-12-23 19:46:51 +01:00
José Valim b37e8a3637 Start v1.7 2017-12-23 19:40:30 +01:00
José Valim 19dd4db45a Ensure old manifests can be upgraded 2017-12-23 19:26:52 +01:00