José Valim
701a916349
Remove warning on record suite
2019-07-18 10:28:09 +02:00
José Valim
c3378e1e50
Preserve UTF8 encoding in release config files
...
Closes #9225
2019-07-18 10:26:02 +02:00
José Valim
c5bb01117e
Always recompile before running tasks from dependencies, closes #9190
2019-07-18 09:16:55 +02:00
José Valim
6ca20735ba
:start cannot be customized on use
2019-07-16 10:30:06 +02:00
Jason Axelson
f8a010d75e
Increase understandability of the tuple documentation ( #9226 )
...
[ci skip]
Since Elixir data structures are immutable, emphasize that creating a new tuple
is required. Also add a "result" binding to make it more clear that the last
line is being used as a result for later.
2019-07-16 10:21:37 +02:00
José Valim
b2dd33dded
Print relative paths in the formatter error
2019-07-15 13:26:35 +02:00
José Valim
74e698c0d9
Make sure reraise raises on invalid argument
...
It is documented that `:erlang.raise` may return
`:badarg` on bad arguments, so we need to wrap it
in an `:erlang.error` call.
Closes #9216 .
2019-07-15 13:21:09 +02:00
José Valim
0b0c7356d9
Raise readable error for mismatched sources, closes #9218
2019-07-15 13:09:35 +02:00
Allen Madsen
c26da1c590
Use Module.has_attribute?/2 in ExUnit.Case ( #9222 )
2019-07-15 10:14:20 +02:00
Allen Madsen
aa7883b404
Change :attributes to :warn_attributes for clarity (module bag table) ( #9223 )
2019-07-14 15:35:29 +02:00
Allen Madsen
3267622c42
Use Module.has_attribute?/2 ( #9214 )
2019-07-14 15:13:33 +02:00
Nevada James Start
a8f4f83a7b
Update description of formatter in Mix.Tasks.Test moduledoc ( #9224 )
2019-07-14 09:03:46 +02:00
Sebastiaan Andeweg
0dbc034160
Regex.split/3 documentation and tests for :include_captures and :parts ( #9220 )
2019-07-13 17:43:10 +02:00
José Valim
1e29a3d034
Revert "Adds &Kernel.identity/1 ( #9182 )"
...
Pending further mailing list discussion.
2019-07-12 21:39:23 +02:00
Alexey Nikitin
696f6d0583
Adds &Kernel.identity/1 ( #9182 )
2019-07-12 19:11:53 +02:00
Fernando Tapia Rico
563e493bd8
Minor improvements in the documentation for <<>>/1 ( #9217 )
...
[ci skip]
2019-07-12 17:11:29 +02:00
Eksperimental
48acd829f7
Add missing arity to reference to URI.encode_www_form/1 ( #9213 )
2019-07-11 09:47:39 +02:00
Eksperimental
9cd92ea2aa
Improve docs in URI ( #9215 )
2019-07-11 09:47:22 +02:00
Sven Gehring
8b4d24827e
Fix formatter removing nested parens in call on call ( #9211 )
2019-07-10 20:18:57 +02:00
José Valim
6f3825623d
Remove :caller_module from Mix.Tasks.Xref.calls/0
...
The way the information was computed was innacurate and
it would cause spurious entries in calls, leading to many
false positives. This information cannot be tracked
efficciently without slowing down the compiler, so the
caller_module has to be removed.
2019-07-10 19:32:02 +02:00
José Valim
6e77e4285f
Only run tests if epmd is available, closes #9167
2019-07-10 19:14:48 +02:00
Fernando Tapia Rico
2d74ec53c1
Remove duplicated entry in Module.ParallelChecker.all_exports() ( #9209 )
...
`{{:__info__, 1}, :def}` is always stored in the ETS table.
2019-07-10 11:33:22 +02:00
Eric Meadows-Jönsson
cf19c26eec
Use Code.compiler_options[:no_warn_undefined] ( #9207 )
...
Closes #9192 .
2019-07-09 22:22:39 +02:00
Eric Meadows-Jönsson
a3c3bc0f69
Add ExCk chunk ( #9203 )
2019-07-09 21:23:38 +02:00
Fernando Tapia Rico
d64be85082
Use :used instead of nil to express attr use ( #9206 )
2019-07-09 18:04:49 +02:00
Allen Madsen
6b01144636
Add Module.has_attribute?/2 ( #9200 )
2019-07-09 17:21:04 +02:00
José Valim
6e0a4d575e
Update CHANGELOG
2019-07-09 16:59:08 +02:00
José Valim
29042b6dde
Add since metadata to string_to_quoted options
2019-07-09 15:47:35 +02:00
Andrea Leopardi
b0387f9669
Improve the documentation for Logger ( #9205 )
2019-07-09 13:39:26 +02:00
Timmo Verlaan
50b03b9c72
Optimize binary pattern matching in Integer.parse ( #9201 )
...
Matching with is_binary once is a slight performance gain, only
noticeable on long numbers. It also makes the FunctionClauseError more
clear: `** (FunctionClauseError) no function clause matching in
Integer.parse/2` vs `** (FunctionClauseError) no function clause
matching in Integer.count_digits/2`
2019-07-07 14:07:30 +02:00
Andrew Summers
1145305882
Fix Keyword moduledoc typo ( #9197 )
2019-07-05 23:54:28 +02:00
Fernando Tapia Rico
03ad3f0922
Correct grammar in Atom docs
2019-07-05 12:28:41 +02:00
José Valim
f410cb13d1
Update to Unicode 12.1
2019-07-05 11:04:08 +02:00
José Valim
45ae6faeb5
Improve docs for built-in data types
2019-07-05 11:04:08 +02:00
Fernando Tapia Rico
86087d5f4b
Fix doctest in Code ( #9194 )
2019-07-05 09:34:19 +02:00
Fernando Tapia Rico
7a52a6ba0e
Do not emit undefined warnings in old Erlang/OTP versions ( #9193 )
2019-07-05 09:16:52 +02:00
José Valim
e5abc2d7da
Improve docs for built-in data types
2019-07-05 09:07:43 +02:00
Andrew Summers
18673a9773
Add mix deps.unlock --check-unused flag ( #9185 )
2019-07-04 22:25:20 +02:00
José Valim
2b98e56e0f
Line is not always available
2019-07-04 21:15:53 +02:00
Derek Kraan
153f745995
MIX_BUILD_PATH specifies only the build_path prefix
...
Fixes #9188 .
2019-07-04 14:40:22 +02:00
José Valim
4043b7811f
Clarify env var docs
2019-07-04 14:39:35 +02:00
José Valim
35bb14feb0
Improve docs for releases
...
Closes #9187 .
2019-07-04 09:38:55 +02:00
José Valim
3f976942c2
Avoid unicode codepoint computation for lower bytes
2019-07-04 09:38:55 +02:00
Allen Madsen
2827fe43a3
Add describe and module attributes ( #9181 )
2019-07-03 20:38:19 +02:00
Eric Meadows-Jönsson
ade3664a3a
Move deprecation check to group pass ( #9176 )
2019-07-03 09:56:35 +02:00
José Valim
d3908ed2e4
Run the formatter
2019-07-02 21:35:14 +02:00
José Valim
eaac22d56f
Support included applications, closes #9163
2019-07-02 21:20:41 +02:00
Andrea Leopardi
071025d946
Add test for @describetag outside of describe block ( #9180 )
2019-06-30 23:28:57 +02:00
Andrea Leopardi
4d2b142ce5
Slightly improve docs for ExUnit.Case
...
[ci skip]
2019-06-30 19:55:52 +02:00
Andrea Leopardi
ca3619a886
Minor improvements in the "mix release" docs
...
[ci skip]
2019-06-30 19:34:55 +02:00