Commit Graph
7070 Commits
Author SHA1 Message Date
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
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
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 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
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
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
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
Andrea Leopardi 56b81ffc4d Hard-deprecate some things for 1.7 (#7139) 2017-12-24 21:32:56 +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 48f5b7cc3b Add more headings to Application docs 2017-12-23 13:48:44 +01:00
José Valim e79b59bd9c Provide better error messages for contextual operators
Such as | and ::

Closes #6835
2017-12-23 10:27:28 +01:00
José Valim f3ffcd2a5a Expand reraise/2 without code injection similar to raise/1 2017-12-22 17:17:25 +01:00
José Valim 242240fa1a Format protocol dialyzer test 2017-12-22 13:38:03 +01:00
José Valim d83ccdb419 Ensure no dialyzer warnings after protocol consolidation, closes #7107 2017-12-22 12:36:24 +01:00
José Valim bff1664d05 Do not move comments from first argument of no parens calls, closes #7130 2017-12-22 11:27:32 +01:00
José Valim af7f6a34c7 Optimize MapSet collectable 2017-12-21 14:30:53 +01:00
José Valim c78b98972c Add mix xref deprecated 2017-12-21 11:10:18 +01:00
Gustavo Saiani a2dd7aceff Fix typo in the documentation for String.split/3 (#7127)
[ci skip]
2017-12-20 13:26:41 +01:00
José Valim 8fd0141297 Optimize String.downcase/1
Thanks to @michalmuskala for feedback and review.
2017-12-20 12:58:17 +01:00
José Valim f589d40876 Format string.ex and improve upcase coverage 2017-12-20 12:13:25 +01:00
José Valim 2a6a545b8b Provide :greek and :ascii mappings in String upcase/downcase/capitalize
Closes #7105.
2017-12-20 11:54:06 +01:00