Commit Graph
11224 Commits
Author SHA1 Message Date
Tangui fcc7ea20ef Implement Duration.to_iso8601/1 (#13604) 2024-05-28 23:52:17 +02:00
Theodor Fiedler 29fb214f14 Support plus sign prefix in Calendar.ISO.parse_duration/1 (#13613) 2024-05-28 21:12:47 +02:00
Theodor Fiedler 420a939f1b Support negative period prefix in Calendar.ISO.parse_duration/1 (#13608) 2024-05-27 23:05:41 +02:00
Łukasz Samson 642cc79bb7 Keep position meta on & capture special variables in expanded AST (#13607) 2024-05-27 21:31:04 +02:00
Theodor Fiedler ae5be3106f Add Duration.from_iso8601/1 (#13473) 2024-05-27 11:47:38 +02:00
José Valim 47079bc0b2 Add more deprecations scheduled to v1.18 2024-05-26 21:44:10 +02:00
José Valim 19406b1f55 Add Keyword.intersect/2-3 2024-05-26 10:58:54 +02:00
José Valim 1b6c31a0eb Avoid the number of duplicate traces on imports 2024-05-25 11:10:22 +02:00
José Valim 1508494761 Remove assert_no_clauses check as we already handle -> 2024-05-25 10:55:42 +02:00
José Valim e29af5ac43 Avoid double tracing on captures 2024-05-25 10:47:57 +02:00
Juergen Braungardt 5957b0b274 Fix documentation of option :stderr_to_stdout for System.cmd (#13597) 2024-05-24 19:58:03 +02:00
José Valim 25e6ce4271 Add pending deprecations 2024-05-24 13:11:29 +02:00
José Valim 54b3736eac Remove --werl support 2024-05-24 12:46:21 +02:00
José Valim 5a4356fd56 Start Elixir v1.18 2024-05-24 12:43:13 +02:00
José Valim 582c4f304d Simplify use_stdio and remove output in test 2024-05-24 11:57:47 +02:00
kristofka 4e478b3752 Correctly Macro.escape :quote triplet without meta (#13594)
Closes #13593.
2024-05-24 11:33:03 +02:00
Antoine Bolvy 9651afab1e Add support for use_stdio option to System.shell and Mix.Shell.cmd (#13580) 2024-05-24 11:32:30 +02:00
José Valim 18db5220ce Check for exclamation marks on Windows (#13166)
Closes #13165.
2024-05-24 09:13:22 +02:00
José Valim ba579f1410 Use simpler solution for adjusting map line 2024-05-23 19:44:22 +02:00
José Valim f0e97d0bef Solve bootstrap issues on dynamic options to quote 2024-05-23 18:02:01 +02:00
José Valim 03d412f20e Handle bind_quoted with context correctly, closes #13590 2024-05-23 17:36:36 +02:00
José Valim f23434e31a Make term_to_binary on BEAM chunks deterministic 2024-05-22 13:33:51 +02:00
Andrew Zipperer 4b5ed57c2c Improve phrasing on keywords-and-maps.md (#13586) 2024-05-22 13:25:46 +02:00
José Valim e6c7720e05 Update CHANGELOG 2024-05-21 13:48:07 +02:00
José Valim 41cf575ec8 Hoist dynamic up on map creation (#13579) 2024-05-21 13:18:12 +02:00
Michał Łępicki 969be3466c Remove redundant case clause from Macro.Env.expand_require (#13577) 2024-05-20 21:55:42 +02:00
José Valim 37d36f8bd6 Do not expand bind_quoted expressions twice 2024-05-20 18:01:02 +02:00
José Valim 92e0e34a1e Respect line property when file is given, closes #13542 2024-05-20 17:10:11 +02:00
Tobias Pfeiffer fb3db59f7c Add use to the title of guide that introduces it (#13559) 2024-05-20 16:26:55 +02:00
José Valim 21921dc951 Simplify escaping logic by reducing the number of vars 2024-05-20 14:31:25 +02:00
José Valim a4429ac239 Do not crash on imports inside nested quotes, closes #13575 2024-05-20 13:13:07 +02:00
José Valim f9263fdc54 Do not crash on invalid imports metadata 2024-05-20 12:44:37 +02:00
José Valim 5f2f626a05 Do not raise on Macro.Env.expand_import, closes #13573 2024-05-20 10:55:18 +02:00
AhmedandAhmed 7e87e3f2ee Remove "section" duplicate on docs (#13571)
Co-authored-by: Ahmed <73728149+AhmedMudkip@users.noreply.github.com>
2024-05-18 12:22:03 +02:00
Łukasz Samson 64d6d3d345 Fix typo in meta key name in elixir_quote (#13570)
It seems the bug has been introduced in df64d5c6a1 (and 169595f534) where `import` meta has been renamed to `imports` but some places were missed
This bug was present since 1.14.0
2024-05-18 10:38:31 +02:00
Jean Klingler d11b41f65a Revert alias shadowing warning due to false positives (#13568)
* Revert "Fix false positive with nested shadowed alias (#13564)"

This reverts commit 8dc94db457.

* Revert "Warn on unused shadowed aliases (#13550)"

This reverts commit d1b3063050.
2024-05-18 17:00:13 +09:00
José Valim 93a1dba83a Fix linting, deepen the pros 2024-05-18 00:02:50 +02:00
José Valim 004308fb39 Provide guidelines around control flow 2024-05-17 20:07:59 +02:00
José Valim 87e090e54b Address warning during bootstrap 2024-05-17 17:52:31 +02:00
José Valim 11a493ec4a Further optimize from_gregorian_seconds by inlining more code 2024-05-17 15:50:23 +02:00
Bryan Paxton 496cb2c892 Add support for sigils containing integers (#13448) 2024-05-17 12:40:02 +02:00
Jean Klingler 8dc94db457 Fix false positive with nested shadowed alias (#13564) 2024-05-17 08:13:19 +09:00
José Valim 1d0f0a8614 Optimize days_in_previous_years 2024-05-15 15:42:32 +02:00
José Valim 7638bc8f88 Optimize from_gregorian_seconds 2024-05-15 15:22:23 +02:00
José Valim 19d3aeedf7 Mention module attributes as compile-time constants 2024-05-15 11:35:05 +02:00
Jean Klingler a2e154310c Refactor boolean logic to use Enum.all?/2 instead of throwing (#13560) 2024-05-15 14:31:20 +09:00
felipe stival 6f84158bae Improve IO.inspect/2 docs with regards to devices (#13561)
- Mention it prints to the standard output
- Refer to `IO.inspect/3` for printing in other devices
2024-05-15 09:25:54 +09:00
José Valim d7ea2fa2e4 Handle cursor completion inside fn/rescue/catch/else/after 2024-05-14 17:04:57 +02:00
José Valim fb0356372c Return default value for persisted attributes, closes #13558 2024-05-14 13:17:18 +02:00
王恒 ed4cc33e11 Add warning prompt for File write operations (#13557) 2024-05-14 09:17:06 +02:00