Commit Graph
11824 Commits
Author SHA1 Message Date
José Valim f1ad48181e Trace on definition callbacks, closes #14427 2025-04-26 08:42:56 +02:00
José Valim c20222ba0b Trace on load functions, see #14427 2025-04-26 08:42:56 +02:00
Dmitry Kleymenov 9c5612150a Add doctests to Kernel module (#14450) 2025-04-26 08:54:55 +09:00
Steffen Deusch 0fb90f1c1d Add String.count/2 (#14448) 2025-04-25 15:38:29 +02:00
Dmitry Kleymenov 075b8cae4a Rewrite SpecialForms doc examples as doctests (#14435) 2025-04-25 22:22:31 +09:00
Markus Krogemann e967d58273 Fix typo (#14447) 2025-04-23 08:36:48 +02:00
José Valim 920a6a0a42 Consistenly apply timeouts across suites (#14444)
Closes #14443.
2025-04-18 12:11:12 +02:00
Yves Orton 82ccb94953 File.LinkError - swap order of new and existing in error message (#14441) 2025-04-17 09:39:28 +02:00
Jean Klingler 97ee6b05b7 Optimize valid32? and hex_valid32? (#14436) 2025-04-13 16:58:02 +09:00
Jean Klingler 7c9e350f89 Optimize valid64? and url_valid64? (#14434) 2025-04-13 15:59:29 +09:00
Jean Klingler d4f3445477 Inline function in Base.valid16? implementation (#14433) 2025-04-13 15:59:15 +09:00
Dmitry Kleymenov 769737ed67 Change first doctest for case/2 (#14432) 2025-04-13 08:43:13 +09:00
Jean Klingler fecd6e3650 Optimize Base.valid16?/2 (#14429) 2025-04-12 15:51:28 +09:00
Jean Klingler 30711a7243 Optimize Base.decode* (#14430) 2025-04-12 15:49:01 +09:00
Dmitry Kleymenov dfb7dbef4c Make doctests from code texts for case/2 (#14423) 2025-04-12 06:12:50 +02:00
Andrea Leopardi a47dc197f2 Improve docs for t:Calendar.microsecond/0 (#14426) 2025-04-11 20:00:26 +02:00
Andrea Leopardi fdbc664334 Add Base.valid{n}?/2 functions (#14417) 2025-04-11 08:59:46 +02:00
José Valim 7ca67e93b3 Clarify unquote(kv)() docs, closes #14422 2025-04-10 19:48:49 +02:00
Dmitry Kleymenov c00e6fc838 Add clarification for stacktrace doc (#14421) 2025-04-10 14:51:42 +02:00
José Valim 32f7646eb4 Add block_keyword_or_binary_operator to Code.Fragment (#14414) 2025-04-08 12:06:24 +02:00
Panagiotis Nezis 9449df83c3 Improve coverage for Keyword.delete_first/2 (#14412) 2025-04-08 11:49:03 +02:00
José Valim 247fd711cf Emit trace events for super calls, closes #14395 2025-04-08 09:45:11 +02:00
José Valim bb8761a3c7 Properly track imported function calls in tracer
Closes #13878.
2025-04-08 09:25:20 +02:00
José Valim 78eb659e08 Fix typo 2025-04-08 08:40:33 +02:00
Michał Łępicki 12a3552ec4 Fix Inspect.Algebra.next_break_fits/1 spec (#14410) 2025-04-08 08:22:46 +02:00
José Valim 59a53861fa Skip CLI and bootstrap modules from coverage (#14408) 2025-04-08 08:22:26 +02:00
José Valim d581f7ae26 Improve coverage for several protocol implementations (#14409) 2025-04-07 23:27:50 +02:00
José Valim 51fbf997cb Replace IO.ANSI.Sequence by anonymous function 2025-04-07 22:59:43 +02:00
José Valim 10cc7e995e Ensure more deprecated functionality is removed from coverage 2025-04-07 22:54:20 +02:00
Jonatan Männchen f3e8ceb5aa Implement Test Coverage Reporting (#14343) 2025-04-07 22:37:01 +02:00
Jonatan Männchen c0ba8a1ee9 Use Test Modules in tests instead of Elixir built-in modules (#14383) 2025-04-07 16:11:37 +02:00
José Valim 468228a236 Add :indentation to Code.string_to_quoted/2 (#14406) 2025-04-07 16:02:01 +02:00
José Valim f628d9563b Add optimistic/pessimistic groups to Inspect.Algebra (#14403)
This is a simplified implementation of next_break_fits
with fewer corner cases.
2025-04-07 15:07:38 +02:00
Dmitry Kleymenov 93a4a0f697 Add doctest for unquote_splicing in block context (#14404) 2025-04-07 09:09:15 +02:00
José Valim 207f5aaa16 mix format 2025-04-06 23:17:00 +02:00
José Valim 148135988c Fix flex break at group end 2025-04-06 23:14:30 +02:00
José Valim 10ea380727 Clarify infer signatures as of now 2025-04-06 10:40:10 +02:00
Yves Orton ff684076bd Add Regex.to_embed/2 (#14379)
to_embed(regex,strict) returns an embeddable representation of regex.
For instance ~r/foo/i can be represented as ~r/(?i-msx:foo)/.

If the option :strict is true (the default) then it will throw an
ArgumentError if the regex was compiled with an option/modifier which
cannot be represented as an embeddable pattern.  If :strict is false
then any unembeddable options will be silently ignored.  This may be
perfectly reasonable, for intance the wrapped pattern may be compiled
with the same modifiers as the pattern, or reusing the pattern without
the unembeddable modifiers may not change its semantics.
2025-04-05 15:25:27 +02:00
Nathan LongandJosé Valim 1c05790a39 Add quick Registry example to GenServer docs (#14368)
Co-authored-by: José Valim <jose.valim@gmail.com>
2025-04-05 11:10:51 +02:00
Andrea Leopardi 3e22d208f1 Add a couple of types to PartitionSupervisor (#14396) 2025-04-05 10:59:57 +02:00
Jean Klingler be17d71e45 Allow optional: :all when deriving Inspect (#14400)
* Allow optional: :all when deriving Inspect

* Improve error message when passing a non-list
2025-04-05 16:58:13 +09:00
Stefan Schmiedl a93ce0886a Fix typos in IO documentation (#14398)
Closes #14397.
2025-04-05 09:21:30 +02:00
Jean Klingler 068015e0f8 Add more docs about :optional in Inspect (#14399) 2025-04-05 16:18:40 +09:00
José Valim 25f063e085 Do not crash on nested bitstrings 2025-04-03 11:50:12 +02:00
Dmitry Kleymenov 2e3b8127f8 Fix doc for text-base match operator (#14388) 2025-04-02 10:25:06 +02:00
Dmitry Kleymenov c215c42c45 Fix deprecation warnings for regex in module attributes (#14387) 2025-04-01 21:03:37 +02:00
José Valim aca578bb88 Add a note about native code in mix releases, closes #14386 2025-04-01 18:49:54 +02:00
José Valim 624ae0c9a2 Recompile regexes when escaped from module attributes (#14381) 2025-03-30 16:13:02 +02:00
José Valim 5a6735e9d9 Consider distance to previous comment in comment metadata, closes #14375 2025-03-28 11:18:59 +01:00
José Valim a555900d87 Update mermaid version 2025-03-28 07:44:35 +01:00