Commit Graph
11215 Commits
Author SHA1 Message Date
Theodor Fiedler 79c19dcb04 Add Duration.from_iso8601/1 (#13473) 2024-05-27 11:48:07 +02:00
José Valim 772c7b0884 Add Keyword.intersect/2-3 2024-05-26 10:59:18 +02:00
José Valim 73d7762563 Avoid double tracing on captures 2024-05-25 11:13:29 +02:00
Juergen Braungardt d74e6314e4 Fix documentation of option :stderr_to_stdout for System.cmd (#13597) 2024-05-24 19:58:12 +02:00
José Valim 27b6ea82ae Branch out v1.17 2024-05-24 12:37:32 +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
Michał Łępicki e5bbc7374b Remove duplicated is_integer in Calendar.ISO.valid_date?/3 (#13556) 2024-05-13 22:24:06 +02:00
Jean Klingler 1fec26dfea Explain keyword spec syntax in typespecs reference (#13553) 2024-05-12 20:58:35 +09:00
Jean Klingler 67983c0f09 Improve specs and docs for the Regex module (#13552) 2024-05-12 17:23:17 +09:00
Cocoa 3d7f4dddbf Allow Date to accept year outside of -9999..9999 range (#13551) 2024-05-11 11:33:38 +02:00
José Valim 4226a8aaa2 Sync default value for Regex 2024-05-10 17:43:24 +02:00
Jean Klingler d1b3063050 Warn on unused shadowed aliases (#13550) 2024-05-10 22:28:12 +09:00
José Valim 203baf36af Raise on left-over __cursor__ 2024-05-10 15:17:35 +02:00
Kevin Schweikert ae3581647b Correct link for replacing gen_event blog (#13547) 2024-05-09 09:54:28 +02:00
Andrea Leopardi 91e71e6c8a Link to ! docs in Kernel.send/2 (#13545) 2024-05-08 14:26:14 +02:00