Vinícius Müller
07ff933f78
Assert on compiler warnings content rather than format ( #12679 )
2023-06-20 12:17:51 +02:00
José Valim
47a5e30155
Make IO.binwrite consistent with IO.write
2023-06-19 15:27:12 +02:00
José Valim
fcc743c47f
Simplify whitespace prunning
2023-06-19 13:29:54 +02:00
Vinícius Müller
0da6662b5e
Improvide diagnostics on lexer exceptions ( #12670 )
2023-06-19 11:07:59 +02:00
Vinícius Müller
b7d3a29db8
Assert on error message rather than format ( #12675 )
2023-06-15 20:06:10 +02:00
sabiwara
44c18a3894
Consistently use backticks when documenting boolean returns ( #12671 )
2023-06-14 19:25:55 -04:00
Vinícius Müller
cba29235ab
Improve @file attribute docs ( #12668 )
2023-06-14 13:10:01 +02:00
sabiwara
2f4a3138cd
Fix slicing MapSet with stepped range ( #12667 )
2023-06-14 12:03:45 +02:00
sabiwara
666c26a789
Add missing typespec for Code.eval_quoted_with_env/4 ( #12665 )
2023-06-14 18:04:00 +09:00
sabiwara
858dd1706b
Name arguments in Macro.Env functions docs ( #12664 )
2023-06-14 17:54:33 +09:00
Vinícius Müller
24883a476c
Use british spelling when referring to elixir behaviour ( #12663 )
2023-06-14 10:25:43 +02:00
José Valim
04b6cd342c
Improve error message for invalid module attribute usage, closes #12656
2023-06-13 16:54:01 +02:00
Vinícius Müller
e2d09bcb6d
Enable column on unused variable test ( #12660 )
2023-06-13 16:37:30 +02:00
José Valim
9041fca941
Fix Path suite on Windows
2023-06-13 15:29:04 +02:00
José Valim
8f43be2ca6
Do not deprecate relative paths, instead make sure the paths are proper
2023-06-13 15:08:03 +02:00
Wojtek Mach
ec0d3d7b19
Add offline Windows installer to releases ( #12640 )
2023-06-12 12:51:28 +02:00
José Valim
bacea2cef6
Keep capture operator on container cursor to quoted
2023-06-12 10:43:51 +02:00
Vinícius Müller
97873b87c9
Remove useless assertions in warnings_test ( #12649 )
2023-06-11 16:54:29 +02:00
Vinícius Müller
2f6e763ee5
Emit unknown remote call warning with columns ( #12646 )
2023-06-11 14:29:22 +02:00
Vinícius Müller
486eb46795
Refactor warning_tests to assert on warning position ( #12647 )
2023-06-11 11:56:18 +02:00
Vinícius Müller
1f79973768
Add column on unknown remote calls ( #12641 )
2023-06-10 19:31:02 +02:00
Vinícius Müller
ee3263e02f
Check columns by default on warnings tests ( #12643 )
2023-06-10 14:49:37 +02:00
José Valim
3509fd9631
Optimize IO.warn with Macro.Env
2023-06-10 13:24:21 +02:00
Vinícius Müller
34f54c0cea
Pass column info through meta_location and env_format ( #12639 )
2023-06-09 19:24:34 +02:00
José Valim
7711aa1919
Improve heredoc warning
2023-06-08 16:14:55 +02:00
pnezis
0872ee5444
Support parent relative paths in Path.relative_to ( #12628 )
2023-06-07 17:45:07 +02:00
José Valim
3521675e75
Mark functions as generated in Docs chunk
2023-06-07 13:12:10 +02:00
Vinícius Müller
e1beb778c4
Fix binary match UTF-16 doctest ( #12635 )
2023-06-05 17:53:21 +02:00
José Valim
9eb39bfe58
Improve utf-modifier docs, closes #12634
2023-06-05 13:47:55 +02:00
José Valim
e624c9c25a
Expand dots in relative_to and deprecate relative cwd ( #12632 )
...
The function already assumes there are no symlinks,
so expanding dots does not add additional uncertainty.
2023-06-05 09:17:39 +02:00
José Valim
9967cbc49e
Clarify docs of Path.wildcard and Path.safe_relative_to
2023-06-04 12:21:13 +02:00
José Valim
3930858c3b
Optimize dot expansion in paths ( #12631 )
2023-06-04 12:18:38 +02:00
José Valim
d7c6edbe78
Deprecate negative steps in slice and date operations
2023-06-03 20:44:00 +02:00
José Valim
edc2326130
Start v1.16-dev
2023-06-03 20:27:23 +02:00
June Kelly
6531fc205b
Fix typo in Kernel/Structural-comparison docs ( #12630 )
2023-06-03 18:19:43 +02:00
Wojtek Mach
1e3341382f
Fix Macro.to_string/1 and ExUnit diffs for multi-letter sigils ( #12627 )
2023-06-01 16:17:51 +02:00
Wojtek Mach
aef0879665
Fix import m, only: :sigils for multi-letter sigils ( #12626 )
2023-06-01 14:46:55 +02:00
Asad Shakeel
926bfe8494
Fix MapSet reference in docs ( #12625 )
2023-06-01 00:24:12 +02:00
Wojtek Mach
f54fb127ad
Add missing doc since ( #12623 )
...
Courtesy of https://github.com/wojtekmach/app_manifest . :)
2023-05-31 10:36:40 +02:00
José Valim
3b77086073
Define "nutrition facts" for "use SomeModule" ( #12613 )
...
One common concern about using Elixir libraries
is that "use SomeModule" does not make clear how
it impacts the caller. Most of the time those
changes are minor but it is impossible to know
without traversing the source code.
This pull request suggests defining a summary
alongside each module that succintly explains
the impact of using it.
This is documented as best practice in our guides
and we added the note to all of Elixir modules.
2023-05-29 09:33:21 +02:00
Zach Allaun
ea185b82f3
Add Module.get_last_attribute/3 ( #12611 )
2023-05-27 21:32:52 +02:00
José Valim
7454333fd0
Require pin variable when accessing variable inside binary size in match, closes #12588
2023-05-26 16:35:36 +02:00
Łukasz Samson
7a01165c51
Add missing compiler option ( #12602 )
2023-05-25 17:56:55 +02:00
sabiwara
404b53b82e
Fix spec and example for Code.compiler_options/1 ( #12603 )
2023-05-25 22:37:35 +09:00
sabiwara
6564e3d2c0
Use process dict directly ( #12599 )
2023-05-25 21:07:48 +09:00
sabiwara
4fc5b77c40
Code.with_diagnostics/2 formats paths as relative ( #12590 )
...
* Code.with_diagnostics/2 formats paths as relative
* Fix in :elixir_errors instead
* Fix it in parallel checker too
2023-05-25 20:07:09 +09:00
José Valim
d4d7c8bcfd
Raise when macros are given to dialyzer, closes #12597
2023-05-25 11:38:23 +02:00
José Valim
ecdf684381
Reduce footprint of tasks
...
Tasks were launched with proc_lib, which added
additional processing on boot. We removed the
proc_lib layer, which has the benefit of removing
the double logging (which only happened on tasks
but not any other behaviour).
2023-05-25 09:23:16 +02:00
Vinícius Müller
536dcb36e5
Include column in unused alias and imports warning messages ( #12593 )
2023-05-24 10:59:20 +02:00
José Valim
5480491dc5
Include column information in unused variable warning, closes #12591
2023-05-23 20:31:49 +02:00