José Valim
74f09347d5
Allow both sink and source to be given to mix xref graph
2020-08-18 12:59:22 +02:00
José Valim
82c4c3616b
Deprecate Exception.exception?/1 and Regex.regex?/1
2020-08-17 09:54:13 +02:00
José Valim
2d6e7a6364
Expand ordering explanation
2020-08-17 09:25:39 +02:00
Vini Brasil
f11ca077ec
Add since doc to String#myers_difference/2 ( #10268 )
2020-08-15 15:07:22 +02:00
Adriano Mitre
0b51e0129e
Make child specification docs more accurate ( #10267 )
2020-08-15 10:29:05 +02:00
Todd Resudek
0914d1d312
Add @since to System.os_time, System.schedulers and System.schedulers_online ( #10266 )
2020-08-14 21:38:00 +02:00
José Valim
403a5c1725
Also touch root manifest on will_recompile for umbrellas
...
This solves an issue where compile.protocols would not
force recompile when executed at the umbrella root.
2020-08-14 15:47:21 +02:00
Dominika
a0cef3bdd7
Update string_to_quoted spec ( #10265 )
2020-08-14 14:54:14 +02:00
Eksperimental
df449805c8
Revise use of Note and Notice verbs ( #10264 )
2020-08-14 07:59:34 +02:00
Eksperimental
bc73ad46ef
Mention missing required key syntax in Typespecs page ( #10261 )
2020-08-13 09:47:07 +02:00
José Valim
e1e8f9afec
Add column information to SyntaxError and TokenMissingError
2020-08-12 20:14:31 +02:00
Eksperimental
0f61583978
Fix typo in test name ( #10258 )
2020-08-12 16:31:35 +02:00
José Valim
afa6d0c177
Add test for invalid tokenizer expressions
2020-08-12 14:18:13 +02:00
José Valim
c260957de5
Store dot_iex_path when restarting the evaluator
...
Closes #10257 .
2020-08-12 13:14:36 +02:00
José Valim
94fa4e5d19
Handle comments in EEx, closes #10256
2020-08-12 00:15:57 +02:00
marekzajac97
11ce4999c5
Fix not being able to escape "|" inside a table (docstring) ( #10254 )
2020-08-10 15:19:50 +02:00
Jeroen Visser
1c23624489
Fix since doc for mix cmd task ( #10252 )
2020-08-07 15:17:44 +02:00
José Valim
d332c78e3b
Improve docs for Kernel.var!, closes #10251
2020-08-06 08:05:40 +02:00
José Valim
ff9c76c95a
Do not crash when failing to eval/inspect structs, closes #10242
2020-08-02 17:14:41 +02:00
Tristan Sloughter
18515152d3
support rebar3 resource type git_subdir ( #10246 )
...
Related rebar3 PR which add git_subdir:
https://github.com/erlang/rebar3/pull/2239
2020-08-01 20:46:35 +02:00
Barna
70bcc1494d
Make sentence about log levels more clear ( #10243 )
2020-07-31 14:10:16 +02:00
Łukasz Jan Niemier
3b80c1b1e0
Properly handle GenServer message in logger translators ( #10209 )
...
When the logger report was in form of `%{label: term(), report: term()}`
the `report_cb` wasn't called and instead there was fall-back to the
"regular" formatter which could cause meaningless messages. This fixes
that by falling back to the "proper" `report_cb` in case when there was
no matching handler.
2020-07-28 16:39:17 +02:00
Henrik Nyh
ba1e45a08d
Add Access.at! ( #10193 )
2020-07-28 16:38:17 +02:00
Eksperimental
a19808942f
Fix Code.Typespec.spec_to_quoted/2 when union in %{__struct__:} is used ( #10238 )
...
Originally reported in ExDoc.
https://github.com/elixir-lang/ex_doc/issues/1239
Code.Typespec.spec_to_quoted/2 wouldn't know how to deal with a
map with __struct__ key that is not a module, such as in:
@spec foo(%{__struct__: Foo | Bar}) :: any()
2020-07-28 16:37:41 +02:00
Eksperimental
4fa9076e52
Use Path.relative_to_cwd/1 in file path for slowest test ( #10237 )
2020-07-27 21:45:15 +02:00
Eksperimental
21f7a719d8
Sort t:ExUnit.state/0 fields alphabetically ( #10236 )
2020-07-27 20:48:24 +02:00
Wojtek Mach
bfefb5590b
Document when :file was added to ExUnit.TestModule ( #10235 )
2020-07-27 19:43:31 +02:00
Eksperimental
0fb465bcc6
Additional changes to ExUnit trace ( #10234 )
...
- Include file:line to slowest test results.
Additionally it changes the order of the module, so it is consistent with the rest
of the results.
- Print line number while test is being executed.
- Sort struct and spec fields alphabetically.
Related: fbfc8d2fd04c97c7fbfe7e35a482f76b67fbe3a4, #10232
2020-07-27 19:40:34 +02:00
José Valim
9a12013ed0
Add file and line to ExUnit --trace, closes #10232
2020-07-27 17:22:51 +02:00
Eksperimental
cebfb83a7e
Rename "initial" argument to "default" in Dic and HashDict ( #10233 )
...
To be consistent with recently introduced changes: #10228 , #10223
2020-07-27 16:54:10 +02:00
José Valim
9cd30ce651
Update fetch_env application feedback, closes #10225
2020-07-27 09:50:59 +02:00
Diogo Magalhães Martins
c025240fb0
Fix ambiguity on Path.expand/1 docs ( #10231 )
2020-07-27 09:32:57 +02:00
José Valim
65deef3907
Do not warn when configuring Elixir app
...
All of Elixir public configs work at runtime.
2020-07-26 19:28:15 +02:00
Eksperimental
0a0ff7fa9a
Make spec clearer for update functions in Keywords ( #10228 )
...
Inspired by c1a538e4a8 (#10223 )
* Fixes the spec of Keyword.get_and_update!/3 that was missing the :pop return value for the update function
* It removes the concept of the "get" value and replaced it consistently with "current value"
* Renames "initial" argument to "default"
* Uses "existing value" when applicable
2020-07-23 21:10:04 +02:00
José Valim
97e8b0242d
Ensure reenabling a task from inside a child propagates up, closes #10227
2020-07-23 16:43:07 +02:00
KaFai
afb6e207a4
Fix bug of only taking first app option in mix cmd ( #10226 )
2020-07-23 09:48:29 +02:00
José Valim
562fd7cc2c
Conform www-url-encoded parsing to whatwg spec
...
See: https://url.spec.whatwg.org/#application/x-www-form-urlencoded
2020-07-23 09:27:29 +02:00
Eksperimental
c1a538e4a8
Make spec clearer for update functions in Map ( #10223 )
...
* It removes the concept of the "get" value
* Renames "initial" argument to "default"
* Makes use of the concept of "current value" which was already present in some
functions, and uses this in the examples and the specs consistently
2020-07-23 08:57:49 +02:00
Eksperimental
2013b4dc34
Improve Kernel documentation ( #10222 )
2020-07-22 20:22:58 +02:00
Oliver Severin Mulelid-Tynes
760cf2ccb6
Update Map.update example to use full lambda syntax on first example ( #10221 )
2020-07-22 19:08:30 +02:00
Eksperimental
512594c08a
Mention file:line in Already defined as ... error message ( #10219 )
2020-07-22 14:59:37 +02:00
Eksperimental
660fc86ede
More improvements to operator docs ( #10220 )
2020-07-22 14:44:12 +02:00
Eksperimental
7b27ffa7de
Improvements to operator functions and page ( #10218 )
2020-07-22 07:59:52 +02:00
José Valim
c56cc3df49
Fix suite
2020-07-21 10:22:55 +02:00
Eksperimental
b0b0f8e0fd
Improve keyword list definition and introduce the concept of key ( #10215 )
2020-07-21 09:56:31 +02:00
Eksperimental
d38a9b8112
Clarify use of Enum.member?/2 in in/2 operator ( #10216 )
2020-07-21 09:55:40 +02:00
Eksperimental
72f70de5fd
Improve Operators documentation ( #10217 )
...
- Use "less-than", "greater-than", and "equal to" operators. This the actual name used by Wikipedia and Unicode.
- Give a name to every operator in Kernel.
- Minor improvements here and there.
2020-07-21 09:54:44 +02:00
Eksperimental
5834b14433
Raise ArgumentError in Keyword.keys when list is not a keyword list ( #10214 )
...
Previously it would return something like this:
** (FunctionClauseError) no function clause matching in anonymous fn/1 in Keyword.keys/1
The following arguments were given to anonymous fn/1 in Keyword.keys/1:
# 1
{"fetch/2", {:fetch, 2}}
Closes #10010 , and it improves 3fd68ef62a
2020-07-21 09:52:29 +02:00
Eksperimental
d0ec4296ba
Small rewording in Supervisor.Spec ( #10212 )
2020-07-20 23:19:25 +02:00
Eksperimental
4822cb230c
Fix typo in comment ( #10211 )
2020-07-20 23:06:58 +02:00