Commit Graph
9324 Commits
Author SHA1 Message Date
Eksperimental 14afabb7c8 Fix typo (#10979) 2021-05-14 07:38:51 +02:00
José Valim 2d5141d69d Specify how we track OTP versions 2021-05-13 09:17:10 +02:00
José Valim 480c19cb5b Respect keywords in access in code formatter 2021-05-11 12:37:58 +02:00
José Valim a5caf4bf56 Require Erlang/OTP 22+ 2021-05-06 19:20:14 +02:00
José Valim 767e3479df Require Erlang/OTP 22+ 2021-05-06 19:14:44 +02:00
Eksperimental 863c49899c Update Enum.{random, shuffle}/1 docs to OTP 22 (#10848) 2021-05-06 19:14:30 +02:00
José Valim 5467b4e335 Remove TODOs related to Erlang/OTP 22+ 2021-05-06 19:14:26 +02:00
Eksperimental f71f37e43d Remove Integer.to_string/1 and Integer.to_charlist/1 (#8777)
They are not needed, since they are covered by their /2 version.
2021-05-06 19:14:18 +02:00
Wojtek Mach ff96fa2834 Add @doc since to System.shell/2 (#10967) 2021-05-06 09:08:07 +02:00
José Valim 49bc4fc0ea Add System.shell/2 (#10965) 2021-05-05 21:05:05 +02:00
Adam Rutkowski fe3c393c3f Disallow streaming with max_concurrency=0 (#10966) 2021-05-05 21:05:05 +02:00
Eksperimental 22f2fa9ddc Add missing backtick in Code.cursor_context/2 (#10943) 2021-04-22 15:32:56 +02:00
Wojtek Mach 148cdcec14 Update Code.cursor_context/2 docs (#10931) 2021-04-20 12:37:46 +02:00
Wojtek Mach c13335ffd4 Add Module.reserved_attributes/0 (#10926) 2021-04-20 12:37:46 +02:00
José Valim d85d13fb28 Code.cursor_context/2 (#10915) 2021-04-20 12:37:46 +02:00
Eksperimental 0b4eb72609 Fix table in Operators page (#10930)
It was broken due to the changes in d9a23d0d38
2021-04-20 09:09:07 +02:00
José Valim a83fddb3c8 Do not crash on Path.absname(c:) (#10919) 2021-04-17 22:05:58 +02:00
José Valim 81d04d80fa Make sure we traverse all files when looking for definitions 2021-04-12 13:15:12 +02:00
sabiwara 02d0567f05 Fix regression in Enum.dedup/1 (#10886) 2021-04-09 13:18:14 +02:00
José Valim 381991149c Explicitly mention relative and absolute URIs, closes #10884 2021-04-08 08:17:28 +02:00
José Valim 7e2b22402c Do not ignore unimplemented function headers from used modules 2021-04-07 18:52:47 +02:00
José Valim 3df04b23f9 Temporarily defdelegate and defexception inside protocols 2021-04-05 10:17:16 +02:00
Wojtek Mach 8c4bed23e6 Use docs canonical version in all built-in apps (#10872)
Before:

https://hexdocs.pm/elixir/1.12.0-rc.0/changelog.html contains links like:

  - [`Mix.install/2`](https://hexdocs.pm/mix/Mix.html#install/2)

which currently 404.

After:

https://hexdocs.pm/elixir/1.12.0-rc.0/changelog.html would contain:

  - [`Mix.install/2`](https://hexdocs.pm/mix/1.12/Mix.html#install/2)

See demo: http://wojtekmach.pl/docs/elixir/1.12/elixir/changelog.html
2021-04-04 09:56:18 +02:00
Enrico Rivarola 56e01f151b Sync unicode data to Unicode 13.0.0 (#10866) 2021-04-03 17:49:48 +02:00
Eksperimental 171caface8 Update Unicode upgrade instructions (#10862) 2021-04-03 17:49:48 +02:00
Eksperimental b2a04575c3 Update Unicode to version 13.0.0 (#10861) 2021-04-03 17:48:38 +02:00
José Valim 64fca3cdb1 Clarifications to Calendar.ISO 2021-04-03 15:02:42 +02:00
José Valim 415d4647c4 Remove invalid escaping of sigils, closes #10864 2021-04-02 23:14:38 +02:00
Eksperimental 91344a24a8 Format source code with new rules 2021-04-01 09:48:05 +02:00
Eksperimental 5fbdee2714 Quote range operator atom
This commit has only the actual changes
Add tests for quoted range operator
2021-04-01 09:48:05 +02:00
Eksperimental 832fbce136 Fix grammar in Range docs (#10851)
- Use "with a step of X"
- Replace usage of "start" and "stop" with "first" and "last"
2021-03-30 18:51:06 +02:00
Wojtek Mach 94096055ad Update compatibility-and-deprecations.md (#10846) 2021-03-30 15:02:27 +02:00
José Valim 02e9b898c4 More range copyedit 2021-03-30 14:44:50 +02:00
Eksperimental 1c01996c29 Copyedit Range specs and docs (#10845) 2021-03-30 14:44:50 +02:00
Eksperimental 103db3a2ef Simplify specs in Range by introducing t:limit/0 (#10844) 2021-03-30 14:26:40 +02:00
José Valim 6f95bf274f Use types were appropriate in Range 2021-03-30 14:14:10 +02:00
Kelvin Stinghen 7210ab2fbd Keeping underscore between digits on Macro.camelize/1 (#10843)
Closes #10839
2021-03-30 13:42:45 +02:00
Eksperimental 174b77150e Use one-based var names in Types (#10824)
In the same fashion as generated arguments 30373382ec
2021-03-30 13:42:41 +02:00
José Valim 1dd09cb0bc Document ranges structs are read-only 2021-03-30 12:02:32 +02:00
José Valim 203cb4bb6f Add Registry.values/3 2021-03-30 11:43:50 +02:00
Łukasz Jan Niemier 8ff5c76b9c Set correct value returned by get_fun/2 callback (#10842)
By looking at source of `Access.all/0` it seems that returned value by
this function is `container()` instead of tuple `{val, container()}`.
2021-03-30 11:08:44 +02:00
José Valim 51de0e09a7 Add line numbers of first expression to lists 2021-03-30 11:08:44 +02:00
José Valim 9b38e4ed07 Remove Range.empty?/1 2021-03-30 09:22:33 +02:00
Eksperimental 2d40ad09d1 Simplify Range's step error message (#10835) 2021-03-29 23:34:55 +02:00
Eksperimental 00d1bc6765 Update range definition (#10834)
Ranges are no longer exclusively a consecutive sequence of integers.
2021-03-29 23:34:51 +02:00
Eksperimental 544466a4d1 Fix t:Range.t/2 (#10833)
We need to be explicit and define the step field, otherwise IEx and ExDoc will spec it as "term()"

    (1)> t Range.t/2
    @type t(first, last) :: %Range{first: first, last: last, step: term()
2021-03-29 22:35:48 +02:00
José Valim 385d2cd54a Prepare v1.12 for release 2021-03-29 17:44:50 +02:00
José Valim de8e4f1bee Optimize Stream.zip and Stream.zip_with with only lists 2021-03-29 11:00:25 +02:00
José Valim cd18fc7afd Remove Enum.zip_reduce_while, as it is equivalent to Stream.zip+Enum.reduce_while 2021-03-29 10:45:26 +02:00
José Valim 2f49952d2f Clean up docs 2021-03-29 10:28:25 +02:00